Class Tenancy
The root compartment that contains all of your organization's compartments and other
Oracle Cloud Infrastructure cloud resources. When you sign up for Oracle Cloud Infrastructure,
Oracle creates a tenancy for your company, which is a secure and isolated partition
where you can create, organize, and administer your cloud resources.
To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized,
talk to an administrator. If you're an administrator who needs to write policies to give users access,
see Get Started with Policies.
Inherited Members
Namespace: Oci.IdentityService.Models
Assembly: OCI.DotNetSDK.Identity.dll
Syntax
public class Tenancy
Properties
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations": {"CostCenter": "42"}} |
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | The description of the tenancy. |
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"} |
HomeRegionKey
Declaration
[JsonProperty(PropertyName = "homeRegionKey")]
public string HomeRegionKey { get; set; }
Property Value
Type | Description |
---|---|
string | The region key for the tenancy's home region. For the full list of supported regions, see
Regions and Availability Domains.
|
Id
Declaration
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the tenancy. |
Name
Declaration
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the tenancy. |
UpiIdcsCompatibilityLayerEndpoint
Declaration
[JsonProperty(PropertyName = "upiIdcsCompatibilityLayerEndpoint")]
public string UpiIdcsCompatibilityLayerEndpoint { get; set; }
Property Value
Type | Description |
---|---|
string | Url which refers to the UPI IDCS compatibility layer endpoint configured for this Tenant's home region. |