CreateDomainDetails

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

Bases: object

The parameters for creating a domain.

Methods

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

Attributes

compartment_id [Required] Gets the compartment_id of this CreateDomainDetails.
defined_tags Gets the defined_tags of this CreateDomainDetails.
domain_name [Required] Gets the domain_name of this CreateDomainDetails.
freeform_tags Gets the freeform_tags of this CreateDomainDetails.
is_governance_enabled Gets the is_governance_enabled of this CreateDomainDetails.
subscription_email Gets the subscription_email of this CreateDomainDetails.
__init__(**kwargs)

Initializes a new CreateDomainDetails 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 CreateDomainDetails.
  • domain_name (str) – The value to assign to the domain_name property of this CreateDomainDetails.
  • subscription_email (str) – The value to assign to the subscription_email property of this CreateDomainDetails.
  • is_governance_enabled (bool) – The value to assign to the is_governance_enabled property of this CreateDomainDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateDomainDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateDomainDetails.
compartment_id

[Required] Gets the compartment_id of this CreateDomainDetails. OCID of the tenancy.

Returns:The compartment_id of this CreateDomainDetails.
Return type:str
defined_tags

Gets the defined_tags of this CreateDomainDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns:The defined_tags of this CreateDomainDetails.
Return type:dict(str, dict(str, object))
domain_name

[Required] Gets the domain_name of this CreateDomainDetails. The domain name.

Returns:The domain_name of this CreateDomainDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateDomainDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns:The freeform_tags of this CreateDomainDetails.
Return type:dict(str, str)
is_governance_enabled

Gets the is_governance_enabled of this CreateDomainDetails. Indicates whether governance should be enabled for this domain. Defaults to false.

Returns:The is_governance_enabled of this CreateDomainDetails.
Return type:bool
subscription_email

Gets the subscription_email of this CreateDomainDetails. The email to notify the user, and that the ONS subscription will be created with.

Returns:The subscription_email of this CreateDomainDetails.
Return type:str