CreateChildTenancyDetails

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

Bases: object

The parameters for creating a child tenancy.

Attributes

GOVERNANCE_STATUS_OPTED_IN A constant which can be used with the governance_status property of a CreateChildTenancyDetails.
GOVERNANCE_STATUS_OPTED_OUT A constant which can be used with the governance_status property of a CreateChildTenancyDetails.
admin_email [Required] Gets the admin_email of this CreateChildTenancyDetails.
compartment_id [Required] Gets the compartment_id of this CreateChildTenancyDetails.
governance_status Gets the governance_status of this CreateChildTenancyDetails.
home_region [Required] Gets the home_region of this CreateChildTenancyDetails.
policy_name Gets the policy_name of this CreateChildTenancyDetails.
tenancy_name [Required] Gets the tenancy_name of this CreateChildTenancyDetails.

Methods

__init__(**kwargs) Initializes a new CreateChildTenancyDetails object with values from keyword arguments.
GOVERNANCE_STATUS_OPTED_IN = 'OPTED_IN'

A constant which can be used with the governance_status property of a CreateChildTenancyDetails. This constant has a value of “OPTED_IN”

GOVERNANCE_STATUS_OPTED_OUT = 'OPTED_OUT'

A constant which can be used with the governance_status property of a CreateChildTenancyDetails. This constant has a value of “OPTED_OUT”

__init__(**kwargs)

Initializes a new CreateChildTenancyDetails 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 CreateChildTenancyDetails.
  • tenancy_name (str) – The value to assign to the tenancy_name property of this CreateChildTenancyDetails.
  • home_region (str) – The value to assign to the home_region property of this CreateChildTenancyDetails.
  • admin_email (str) – The value to assign to the admin_email property of this CreateChildTenancyDetails.
  • policy_name (str) – The value to assign to the policy_name property of this CreateChildTenancyDetails.
  • governance_status (str) – The value to assign to the governance_status property of this CreateChildTenancyDetails. Allowed values for this property are: “OPTED_IN”, “OPTED_OUT”
admin_email

[Required] Gets the admin_email of this CreateChildTenancyDetails. Email address of the child tenancy administrator.

Returns:The admin_email of this CreateChildTenancyDetails.
Return type:str
compartment_id

[Required] Gets the compartment_id of this CreateChildTenancyDetails. The tenancy ID of the parent tenancy.

Returns:The compartment_id of this CreateChildTenancyDetails.
Return type:str
governance_status

Gets the governance_status of this CreateChildTenancyDetails. The governance status of the child tenancy.

Allowed values for this property are: “OPTED_IN”, “OPTED_OUT”

Returns:The governance_status of this CreateChildTenancyDetails.
Return type:str
home_region

[Required] Gets the home_region of this CreateChildTenancyDetails. The home region to use for the child tenancy. This must be a region where the parent tenancy is subscribed.

Returns:The home_region of this CreateChildTenancyDetails.
Return type:str
policy_name

Gets the policy_name of this CreateChildTenancyDetails. The name to use for the administrator policy in the child tenancy. Must contain only letters and underscores.

Returns:The policy_name of this CreateChildTenancyDetails.
Return type:str
tenancy_name

[Required] Gets the tenancy_name of this CreateChildTenancyDetails. The tenancy name to use for the child tenancy.

Returns:The tenancy_name of this CreateChildTenancyDetails.
Return type:str