Class CreateChildTenancyDetails
The parameters for creating a child tenancy.
Inherited Members
Namespace: Oci.TenantmanagercontrolplaneService.Models
Assembly: OCI.DotNetSDK.Tenantmanagercontrolplane.dll
Syntax
public class CreateChildTenancyDetails
Properties
AdminEmail
Declaration
[Required(ErrorMessage = "AdminEmail is required.")]
[JsonProperty(PropertyName = "adminEmail")]
public string AdminEmail { get; set; }
Property Value
Type | Description |
---|---|
string | Email address of the child tenancy administrator. |
Remarks
Required
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The tenancy ID of the parent tenancy. |
Remarks
Required
GovernanceStatus
Declaration
[JsonProperty(PropertyName = "governanceStatus")]
[JsonConverter(typeof(StringEnumConverter))]
public GovernanceStatus? GovernanceStatus { get; set; }
Property Value
Type | Description |
---|---|
GovernanceStatus? | The governance status of the child tenancy. |
HomeRegion
Declaration
[Required(ErrorMessage = "HomeRegion is required.")]
[JsonProperty(PropertyName = "homeRegion")]
public string HomeRegion { get; set; }
Property Value
Type | Description |
---|---|
string | The home region to use for the child tenancy. This must be a region where the parent tenancy is subscribed. |
Remarks
Required
PolicyName
Declaration
[JsonProperty(PropertyName = "policyName")]
public string PolicyName { get; set; }
Property Value
Type | Description |
---|---|
string | The name to use for the administrator policy in the child tenancy. Must contain only letters and underscores. |
TenancyName
Declaration
[Required(ErrorMessage = "TenancyName is required.")]
[JsonProperty(PropertyName = "tenancyName")]
public string TenancyName { get; set; }
Property Value
Type | Description |
---|---|
string | The tenancy name to use for the child tenancy. |
Remarks
Required