Class RegionSubscription
An object that represents your tenancy's access to a particular region (i.e., a subscription), the status of that
access, and whether that region is the home region. For more information, see Managing Regions.
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 RegionSubscription
Properties
IsHomeRegion
Declaration
[Required(ErrorMessage = "IsHomeRegion is required.")]
[JsonProperty(PropertyName = "isHomeRegion")]
public bool? IsHomeRegion { get; set; }
Property Value
Type | Description |
---|---|
bool? | Indicates if the region is the home region or not. |
Remarks
Required
RegionKey
Declaration
[Required(ErrorMessage = "RegionKey is required.")]
[JsonProperty(PropertyName = "regionKey")]
public string RegionKey { get; set; }
Property Value
Type | Description |
---|---|
string | The region's key. See Regions and Availability Domains
for the full list of supported 3-letter region codes.
|
Remarks
Required
RegionName
Declaration
[Required(ErrorMessage = "RegionName is required.")]
[JsonProperty(PropertyName = "regionName")]
public string RegionName { get; set; }
Property Value
Type | Description |
---|---|
string | The region's name. See Regions and Availability Domains
for the full list of supported region names.
|
Remarks
Required
Status
Declaration
[Required(ErrorMessage = "Status is required.")]
[JsonProperty(PropertyName = "status")]
[JsonConverter(typeof(ResponseEnumConverter))]
public RegionSubscription.StatusEnum? Status { get; set; }
Property Value
Type | Description |
---|---|
RegionSubscription.StatusEnum? | The region subscription status. |
Remarks
Required