CreateDelegationSubscriptionDetails¶
-
class
oci.delegate_access_control.models.
CreateDelegationSubscriptionDetails
(**kwargs)¶ Bases:
object
Details for creating the Delegation Subscription.
Attributes
SUBSCRIBED_SERVICE_TYPE_ASSISTED_PATCHING
A constant which can be used with the subscribed_service_type property of a CreateDelegationSubscriptionDetails. SUBSCRIBED_SERVICE_TYPE_TROUBLESHOOTING
A constant which can be used with the subscribed_service_type property of a CreateDelegationSubscriptionDetails. compartment_id
[Required] Gets the compartment_id of this CreateDelegationSubscriptionDetails. defined_tags
Gets the defined_tags of this CreateDelegationSubscriptionDetails. description
Gets the description of this CreateDelegationSubscriptionDetails. freeform_tags
Gets the freeform_tags of this CreateDelegationSubscriptionDetails. service_provider_id
[Required] Gets the service_provider_id of this CreateDelegationSubscriptionDetails. subscribed_service_type
[Required] Gets the subscribed_service_type of this CreateDelegationSubscriptionDetails. Methods
__init__
(**kwargs)Initializes a new CreateDelegationSubscriptionDetails object with values from keyword arguments. -
SUBSCRIBED_SERVICE_TYPE_ASSISTED_PATCHING
= 'ASSISTED_PATCHING'¶ A constant which can be used with the subscribed_service_type property of a CreateDelegationSubscriptionDetails. 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 CreateDelegationSubscriptionDetails. This constant has a value of “TROUBLESHOOTING”
-
__init__
(**kwargs)¶ Initializes a new CreateDelegationSubscriptionDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - compartment_id (str) – The value to assign to the compartment_id property of this CreateDelegationSubscriptionDetails.
- service_provider_id (str) – The value to assign to the service_provider_id property of this CreateDelegationSubscriptionDetails.
- description (str) – The value to assign to the description property of this CreateDelegationSubscriptionDetails.
- subscribed_service_type (str) – The value to assign to the subscribed_service_type property of this CreateDelegationSubscriptionDetails. Allowed values for this property are: “TROUBLESHOOTING”, “ASSISTED_PATCHING”
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateDelegationSubscriptionDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateDelegationSubscriptionDetails.
-
compartment_id
¶ [Required] Gets the compartment_id of this CreateDelegationSubscriptionDetails. The OCID of the compartment that contains the Delegation Control.
Returns: The compartment_id of this CreateDelegationSubscriptionDetails. Return type: str
Gets the defined_tags of this CreateDelegationSubscriptionDetails. 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 CreateDelegationSubscriptionDetails. Return type: dict(str, dict(str, object))
-
description
¶ Gets the description of this CreateDelegationSubscriptionDetails. Description of the Delegation Subscription.
Returns: The description of this CreateDelegationSubscriptionDetails. Return type: str
Gets the freeform_tags of this CreateDelegationSubscriptionDetails. 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 CreateDelegationSubscriptionDetails. Return type: dict(str, str)
-
service_provider_id
¶ [Required] Gets the service_provider_id of this CreateDelegationSubscriptionDetails. Unique identifier of the Service Provider.
Returns: The service_provider_id of this CreateDelegationSubscriptionDetails. Return type: str
-
subscribed_service_type
¶ [Required] Gets the subscribed_service_type of this CreateDelegationSubscriptionDetails. Subscribed Service Provider Service Type.
Allowed values for this property are: “TROUBLESHOOTING”, “ASSISTED_PATCHING”
Returns: The subscribed_service_type of this CreateDelegationSubscriptionDetails. Return type: str
-