Id

class oci.os_management_hub.models.Id(**kwargs)

Bases: object

Id and name of a resource to simplify the display for the user.

Methods

__init__(**kwargs) Initializes a new Id object with values from keyword arguments.

Attributes

display_name [Required] Gets the display_name of this Id.
id [Required] Gets the id of this Id.
__init__(**kwargs)

Initializes a new Id object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • id (str) – The value to assign to the id property of this Id.
  • display_name (str) – The value to assign to the display_name property of this Id.
display_name

[Required] Gets the display_name of this Id. User-friendly name.

Returns:The display_name of this Id.
Return type:str
id

[Required] Gets the id of this Id. The OCID of the resource that is immutable on creation.

Returns:The id of this Id.
Return type:str