ListRegionSubscriptions
get
/20160918/tenancies/{tenancy_id}/regionSubscriptions
Lists the region subscriptions for the specified tenancy.
Request
Supported Media Types
- application/json
Path Parameters
-
tenancyId(required): string
The OCID of the tenancy.
Response
Supported Media Types
- application/json
200 Response
The list has been retrieved.
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
Root Schema : schema
Type:
Show Source
array
-
Array of:
object 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. To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator.
Nested Schema : RegionSubscription
Type:
object
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. To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator.
Show Source
-
isHomeRegion(required):
boolean
Indicates if the region is the home region or not.
-
regionKey(required):
string
Minimum Length:
1
Maximum Length:16
The region's key. Example: PHX -
regionName(required):
string
Minimum Length:
1
Maximum Length:16
The region's name. Example: us-phoenix-1 -
status(required):
string
Allowed Values:
[ "READY", "IN_PROGRESS" ]
The region subscription status.
400 Response
Bad Request
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
Root Schema : Error
Type:
object
The properties that define an error.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing..Example:
UnknownError
-
message(required):
string
A human-readable error string.Example:
error validating payload
401 Response
Unauthorized
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
Root Schema : Error
Type:
object
The properties that define an error.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing..Example:
UnknownError
-
message(required):
string
A human-readable error string.Example:
error validating payload
404 Response
Not Found
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
Root Schema : Error
Type:
object
The properties that define an error.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing..Example:
UnknownError
-
message(required):
string
A human-readable error string.Example:
error validating payload
500 Response
Internal Server Error
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
Root Schema : Error
Type:
object
The properties that define an error.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing..Example:
UnknownError
-
message(required):
string
A human-readable error string.Example:
error validating payload
Default Response
An error has occurred.
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
Root Schema : Error
Type:
object
The properties that define an error.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing..Example:
UnknownError
-
message(required):
string
A human-readable error string.Example:
error validating payload