Show / Hide Table of Contents

Class CreateChildTenancyDetails

The parameters for creating a child tenancy.

Inheritance
object
CreateChildTenancyDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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.

SubscriptionId

Declaration
[JsonProperty(PropertyName = "subscriptionId")]
public string SubscriptionId { get; set; }
Property Value
Type Description
string

OCID of the subscription that needs to be assigned to the child tenancy.

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

In this article
Back to top