ActivateSubscriptionDetails¶
- class oci.self.models.ActivateSubscriptionDetails(**kwargs)¶
Bases:
objectRequest model for activating a subscription. Contains necessary details to perform the activation.
Methods:
__init__(**kwargs)Initializes a new ActivateSubscriptionDetails object with values from keyword arguments.
Attributes:
Gets the defined_tags of this ActivateSubscriptionDetails.
Gets the freeform_tags of this ActivateSubscriptionDetails.
[Required] Gets the product_id of this ActivateSubscriptionDetails.
- __init__(**kwargs)¶
Initializes a new ActivateSubscriptionDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
product_id (str) – The value to assign to the product_id property of this ActivateSubscriptionDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ActivateSubscriptionDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ActivateSubscriptionDetails.
- property defined_tags¶
Gets the defined_tags of this ActivateSubscriptionDetails. 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 ActivateSubscriptionDetails.
- Return type
dict(str, dict(str, object))
- property freeform_tags¶
Gets the freeform_tags of this ActivateSubscriptionDetails. 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 ActivateSubscriptionDetails.
- Return type
dict(str, str)
- property product_id¶
[Required] Gets the product_id of this ActivateSubscriptionDetails. The unique identifier of the marketplace product listing.
- Returns
The product_id of this ActivateSubscriptionDetails.
- Return type
str