CreateDelegationSubscriptionDetails¶
- class oci.delegate_access_control.models.CreateDelegationSubscriptionDetails(**kwargs)¶
Bases:
objectDetails for creating the Delegation Subscription.
Attributes:
A constant which can be used with the subscribed_service_type property of a CreateDelegationSubscriptionDetails.
A constant which can be used with the subscribed_service_type property of a CreateDelegationSubscriptionDetails.
A constant which can be used with the subscribed_service_type property of a CreateDelegationSubscriptionDetails.
[Required] Gets the compartment_id of this CreateDelegationSubscriptionDetails.
Gets the defined_tags of this CreateDelegationSubscriptionDetails.
Gets the description of this CreateDelegationSubscriptionDetails.
Gets the freeform_tags of this CreateDelegationSubscriptionDetails.
[Required] Gets the service_provider_id of this CreateDelegationSubscriptionDetails.
[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_MANAGED_SOFTWARE_UPDATES = 'MANAGED_SOFTWARE_UPDATES'¶
A constant which can be used with the subscribed_service_type property of a CreateDelegationSubscriptionDetails. This constant has a value of “MANAGED_SOFTWARE_UPDATES”
- 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”, “MANAGED_SOFTWARE_UPDATES”
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.
- property compartment_id¶
[Required] Gets the compartment_id of this CreateDelegationSubscriptionDetails. The OCID of the compartment that contains the Delegation Subscription.
- Returns
The compartment_id of this CreateDelegationSubscriptionDetails.
- Return type
str
- property defined_tags¶
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))
- property description¶
Gets the description of this CreateDelegationSubscriptionDetails. Description of the Delegation Subscription.
- Returns
The description of this CreateDelegationSubscriptionDetails.
- Return type
str
- property freeform_tags¶
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)
- property 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
- property 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”, “MANAGED_SOFTWARE_UPDATES”
- Returns
The subscribed_service_type of this CreateDelegationSubscriptionDetails.
- Return type
str