CreateSubscriptionMappingDetails

class oci.tenant_manager_control_plane.models.CreateSubscriptionMappingDetails(**kwargs)

Bases: object

CreateSubscriptionMappingDetails contains subscription and compartment identified by the tenancy, and OCID information.

Methods

__init__(**kwargs) Initializes a new CreateSubscriptionMappingDetails object with values from keyword arguments.

Attributes

compartment_id [Required] Gets the compartment_id of this CreateSubscriptionMappingDetails.
subscription_id [Required] Gets the subscription_id of this CreateSubscriptionMappingDetails.
__init__(**kwargs)

Initializes a new CreateSubscriptionMappingDetails 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 CreateSubscriptionMappingDetails.
  • subscription_id (str) – The value to assign to the subscription_id property of this CreateSubscriptionMappingDetails.
compartment_id

[Required] Gets the compartment_id of this CreateSubscriptionMappingDetails. OCID of the compartment. Always a tenancy OCID.

Returns:The compartment_id of this CreateSubscriptionMappingDetails.
Return type:str
subscription_id

[Required] Gets the subscription_id of this CreateSubscriptionMappingDetails. OCID of subscription.

Returns:The subscription_id of this CreateSubscriptionMappingDetails.
Return type:str