SubscriptionToken¶
-
class
oci.self.models.SubscriptionToken(**kwargs)¶ Bases:
objectThe base 64 encoded JWT token which is mapped to a particular subscription.
Methods
__init__(**kwargs)Initializes a new SubscriptionToken object with values from keyword arguments. Attributes
defined_tagsGets the defined_tags of this SubscriptionToken. freeform_tagsGets the freeform_tags of this SubscriptionToken. subscription_idGets the subscription_id of this SubscriptionToken. system_tagsGets the system_tags of this SubscriptionToken. token[Required] Gets the token of this SubscriptionToken. -
__init__(**kwargs)¶ Initializes a new SubscriptionToken object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - token (str) – The value to assign to the token property of this SubscriptionToken.
- subscription_id (str) – The value to assign to the subscription_id property of this SubscriptionToken.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this SubscriptionToken.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this SubscriptionToken.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this SubscriptionToken.
Gets the defined_tags of this SubscriptionToken. 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 SubscriptionToken. Return type: dict(str, dict(str, object))
Gets the freeform_tags of this SubscriptionToken. 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 SubscriptionToken. Return type: dict(str, str)
-
subscription_id¶ Gets the subscription_id of this SubscriptionToken. The unique identifier for the subscription within a specific compartment.
Returns: The subscription_id of this SubscriptionToken. Return type: str
Gets the system_tags of this SubscriptionToken. 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 SubscriptionToken. Return type: dict(str, dict(str, object))
-
token¶ [Required] Gets the token of this SubscriptionToken. JWT token of subscriptions.
Returns: The token of this SubscriptionToken. Return type: str
-