CreateLifecycleProfileDetails

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

Bases: CreateProfileDetails

Provides the information used to create a lifecycle environment registration profile.

Attributes:

PROFILE_TYPE_GROUP

A constant which can be used with the profile_type property of a CreateProfileDetails.

PROFILE_TYPE_LIFECYCLE

A constant which can be used with the profile_type property of a CreateProfileDetails.

PROFILE_TYPE_SOFTWARESOURCE

A constant which can be used with the profile_type property of a CreateProfileDetails.

PROFILE_TYPE_STATION

A constant which can be used with the profile_type property of a CreateProfileDetails.

PROFILE_TYPE_UBUNTU_STANDALONE

A constant which can be used with the profile_type property of a CreateProfileDetails.

PROFILE_TYPE_WINDOWS_STANDALONE

A constant which can be used with the profile_type property of a CreateProfileDetails.

compartment_id

[Required] Gets the compartment_id of this CreateProfileDetails.

defined_tags

Gets the defined_tags of this CreateProfileDetails.

description

Gets the description of this CreateProfileDetails.

display_name

[Required] Gets the display_name of this CreateProfileDetails.

freeform_tags

Gets the freeform_tags of this CreateProfileDetails.

is_default_profile

Gets the is_default_profile of this CreateProfileDetails.

lifecycle_stage_id

[Required] Gets the lifecycle_stage_id of this CreateLifecycleProfileDetails.

management_station_id

Gets the management_station_id of this CreateProfileDetails.

profile_type

[Required] Gets the profile_type of this CreateProfileDetails.

registration_type

Gets the registration_type of this CreateProfileDetails.

Methods:

__init__(**kwargs)

Initializes a new CreateLifecycleProfileDetails object with values from keyword arguments.

get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

PROFILE_TYPE_GROUP = 'GROUP'

A constant which can be used with the profile_type property of a CreateProfileDetails. This constant has a value of “GROUP”

PROFILE_TYPE_LIFECYCLE = 'LIFECYCLE'

A constant which can be used with the profile_type property of a CreateProfileDetails. This constant has a value of “LIFECYCLE”

PROFILE_TYPE_SOFTWARESOURCE = 'SOFTWARESOURCE'

A constant which can be used with the profile_type property of a CreateProfileDetails. This constant has a value of “SOFTWARESOURCE”

PROFILE_TYPE_STATION = 'STATION'

A constant which can be used with the profile_type property of a CreateProfileDetails. This constant has a value of “STATION”

PROFILE_TYPE_UBUNTU_STANDALONE = 'UBUNTU_STANDALONE'

A constant which can be used with the profile_type property of a CreateProfileDetails. This constant has a value of “UBUNTU_STANDALONE”

PROFILE_TYPE_WINDOWS_STANDALONE = 'WINDOWS_STANDALONE'

A constant which can be used with the profile_type property of a CreateProfileDetails. This constant has a value of “WINDOWS_STANDALONE”

__init__(**kwargs)

Initializes a new CreateLifecycleProfileDetails object with values from keyword arguments. The default value of the profile_type attribute of this class is LIFECYCLE and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

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

  • compartment_id (str) – The value to assign to the compartment_id property of this CreateLifecycleProfileDetails.

  • description (str) – The value to assign to the description property of this CreateLifecycleProfileDetails.

  • management_station_id (str) – The value to assign to the management_station_id property of this CreateLifecycleProfileDetails.

  • profile_type (str) – The value to assign to the profile_type property of this CreateLifecycleProfileDetails. Allowed values for this property are: “SOFTWARESOURCE”, “GROUP”, “LIFECYCLE”, “STATION”, “WINDOWS_STANDALONE”, “UBUNTU_STANDALONE”

  • registration_type (str) – The value to assign to the registration_type property of this CreateLifecycleProfileDetails.

  • is_default_profile (bool) – The value to assign to the is_default_profile property of this CreateLifecycleProfileDetails.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateLifecycleProfileDetails.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateLifecycleProfileDetails.

  • lifecycle_stage_id (str) – The value to assign to the lifecycle_stage_id property of this CreateLifecycleProfileDetails.

property compartment_id

[Required] Gets the compartment_id of this CreateProfileDetails. The OCID of the compartment that contains the registration profile.

Returns

The compartment_id of this CreateProfileDetails.

Return type

str

property defined_tags

Gets the defined_tags of this CreateProfileDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}

Returns

The defined_tags of this CreateProfileDetails.

Return type

dict(str, dict(str, object))

property description

Gets the description of this CreateProfileDetails. User-specified description of the registration profile.

Returns

The description of this CreateProfileDetails.

Return type

str

property display_name

[Required] Gets the display_name of this CreateProfileDetails. A user-friendly name. Must be unique and you can change the name later. Avoid entering confidential information.

Returns

The display_name of this CreateProfileDetails.

Return type

str

property freeform_tags

Gets the freeform_tags of this CreateProfileDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}

Returns

The freeform_tags of this CreateProfileDetails.

Return type

dict(str, str)

static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

property is_default_profile

Gets the is_default_profile of this CreateProfileDetails. Indicates if the profile is set as the default. There is exactly one default profile for a specified architecture, OS family, registration type, and vendor. When registering an instance with the corresonding characteristics, the default profile is used, unless another profile is specified.

Returns

The is_default_profile of this CreateProfileDetails.

Return type

bool

property lifecycle_stage_id

[Required] Gets the lifecycle_stage_id of this CreateLifecycleProfileDetails. The OCID of the lifecycle stage that the instance will be associated with.

Returns

The lifecycle_stage_id of this CreateLifecycleProfileDetails.

Return type

str

property management_station_id

Gets the management_station_id of this CreateProfileDetails. description: The OCID of the management station to associate with an instance once registered. This is used when creating a profile for non-OCI instances.

Returns

The management_station_id of this CreateProfileDetails.

Return type

str

property profile_type

[Required] Gets the profile_type of this CreateProfileDetails. The type of profile.

Allowed values for this property are: “SOFTWARESOURCE”, “GROUP”, “LIFECYCLE”, “STATION”, “WINDOWS_STANDALONE”, “UBUNTU_STANDALONE”

Returns

The profile_type of this CreateProfileDetails.

Return type

str

property registration_type

Gets the registration_type of this CreateProfileDetails. The type of instance to register.

Returns

The registration_type of this CreateProfileDetails.

Return type

str