DelegationSubscription

class oci.delegate_access_control.models.DelegationSubscription(**kwargs)

Bases: object

Details of the Delegation Subscription.

Attributes

LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a DelegationSubscription.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a DelegationSubscription.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a DelegationSubscription.
LIFECYCLE_STATE_DELETING A constant which can be used with the lifecycle_state property of a DelegationSubscription.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a DelegationSubscription.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a DelegationSubscription.
SUBSCRIBED_SERVICE_TYPE_ASSISTED_PATCHING A constant which can be used with the subscribed_service_type property of a DelegationSubscription.
SUBSCRIBED_SERVICE_TYPE_TROUBLESHOOTING A constant which can be used with the subscribed_service_type property of a DelegationSubscription.
compartment_id Gets the compartment_id of this DelegationSubscription.
defined_tags Gets the defined_tags of this DelegationSubscription.
description Gets the description of this DelegationSubscription.
display_name Gets the display_name of this DelegationSubscription.
freeform_tags Gets the freeform_tags of this DelegationSubscription.
id [Required] Gets the id of this DelegationSubscription.
lifecycle_state Gets the lifecycle_state of this DelegationSubscription.
lifecycle_state_details Gets the lifecycle_state_details of this DelegationSubscription.
service_provider_id [Required] Gets the service_provider_id of this DelegationSubscription.
subscribed_service_type [Required] Gets the subscribed_service_type of this DelegationSubscription.
system_tags Gets the system_tags of this DelegationSubscription.
time_created Gets the time_created of this DelegationSubscription.
time_updated Gets the time_updated of this DelegationSubscription.

Methods

__init__(**kwargs) Initializes a new DelegationSubscription object with values from keyword arguments.
LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a DelegationSubscription. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a DelegationSubscription. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a DelegationSubscription. This constant has a value of “DELETED”

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a DelegationSubscription. This constant has a value of “DELETING”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a DelegationSubscription. This constant has a value of “FAILED”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a DelegationSubscription. This constant has a value of “UPDATING”

SUBSCRIBED_SERVICE_TYPE_ASSISTED_PATCHING = 'ASSISTED_PATCHING'

A constant which can be used with the subscribed_service_type property of a DelegationSubscription. This constant has a value of “ASSISTED_PATCHING”

SUBSCRIBED_SERVICE_TYPE_TROUBLESHOOTING = 'TROUBLESHOOTING'

A constant which can be used with the subscribed_service_type property of a DelegationSubscription. This constant has a value of “TROUBLESHOOTING”

__init__(**kwargs)

Initializes a new DelegationSubscription 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 DelegationSubscription.
  • compartment_id (str) – The value to assign to the compartment_id property of this DelegationSubscription.
  • display_name (str) – The value to assign to the display_name property of this DelegationSubscription.
  • service_provider_id (str) – The value to assign to the service_provider_id property of this DelegationSubscription.
  • description (str) – The value to assign to the description property of this DelegationSubscription.
  • subscribed_service_type (str) – The value to assign to the subscribed_service_type property of this DelegationSubscription. Allowed values for this property are: “TROUBLESHOOTING”, “ASSISTED_PATCHING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this DelegationSubscription. Allowed values for this property are: “CREATING”, “ACTIVE”, “UPDATING”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • lifecycle_state_details (str) – The value to assign to the lifecycle_state_details property of this DelegationSubscription.
  • time_created (datetime) – The value to assign to the time_created property of this DelegationSubscription.
  • time_updated (datetime) – The value to assign to the time_updated property of this DelegationSubscription.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this DelegationSubscription.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this DelegationSubscription.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this DelegationSubscription.
compartment_id

Gets the compartment_id of this DelegationSubscription. The OCID of the compartment that contains the Delegation Subscription.

Returns:The compartment_id of this DelegationSubscription.
Return type:str
defined_tags

Gets the defined_tags of this DelegationSubscription. 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 DelegationSubscription.
Return type:dict(str, dict(str, object))
description

Gets the description of this DelegationSubscription. Description of the Delegation Subscription.

Returns:The description of this DelegationSubscription.
Return type:str
display_name

Gets the display_name of this DelegationSubscription. Display name

Returns:The display_name of this DelegationSubscription.
Return type:str
freeform_tags

Gets the freeform_tags of this DelegationSubscription. 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 DelegationSubscription.
Return type:dict(str, str)
id

[Required] Gets the id of this DelegationSubscription. Unique identifier for the Delegation Subscription.

Returns:The id of this DelegationSubscription.
Return type:str
lifecycle_state

Gets the lifecycle_state of this DelegationSubscription. The current lifecycle state of the Service Provider.

Allowed values for this property are: “CREATING”, “ACTIVE”, “UPDATING”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this DelegationSubscription.
Return type:str
lifecycle_state_details

Gets the lifecycle_state_details of this DelegationSubscription. Description of the current lifecycle state in more detail.

Returns:The lifecycle_state_details of this DelegationSubscription.
Return type:str
service_provider_id

[Required] Gets the service_provider_id of this DelegationSubscription. Unique identifier of the Service Provider.

Returns:The service_provider_id of this DelegationSubscription.
Return type:str
subscribed_service_type

[Required] Gets the subscribed_service_type of this DelegationSubscription. Subscribed Service Provider Service Type.

Allowed values for this property are: “TROUBLESHOOTING”, “ASSISTED_PATCHING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The subscribed_service_type of this DelegationSubscription.
Return type:str
system_tags

Gets the system_tags of this DelegationSubscription. System tags for this resource. Each key is predefined and scoped to a namespace.

Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns:The system_tags of this DelegationSubscription.
Return type:dict(str, dict(str, object))
time_created

Gets the time_created of this DelegationSubscription. Time when the Service Provider was created expressed in RFC 3339 timestamp format, e.g. ‘2020-05-22T21:10:29.600Z’

Returns:The time_created of this DelegationSubscription.
Return type:datetime
time_updated

Gets the time_updated of this DelegationSubscription. Time when the Service Provider was last modified expressed in RFC 3339 timestamp format, e.g. ‘2020-05-22T21:10:29.600Z’

Returns:The time_updated of this DelegationSubscription.
Return type:datetime