Retrieves information about a namespace.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cr:GetNamespace |
get |
*Namespace
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the instance. |
cri-kmsiwlxxdcva**** |
| NamespaceName |
string |
No |
The name of the namespace. |
test |
| NamespaceId |
string |
No |
The ID of the namespace. |
crn-tiw8t3f8i5lta**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
DefaultRepoType
deprecated
|
string |
The default repository type. Valid values:
|
PUBLIC |
| NamespaceId |
string |
The ID of the namespace. |
crn-tiw8t3f8i5lt**** |
| NamespaceStatus |
string |
The status of the namespace. Valid values:
|
NORMAL |
| RequestId |
string |
The request ID. |
E4BC9E21-8AA5-4582-83C1-C1209AB8196F |
| Code |
string |
The response code. |
success |
| InstanceId |
string |
The ID of the instance. |
cri-kmsiwlxxdcva**** |
| AutoCreateRepo |
boolean |
Indicates whether automatic repository creation is enabled. |
true |
| IsSuccess |
boolean |
Indicates whether the request succeeded. |
true |
| NamespaceName |
string |
The name of the namespace. |
test |
| ResourceGroupId |
string |
The ID of the resource group. |
rg-acfmv36i4is**** |
| DefaultRepoConfiguration |
RepoConfiguration |
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.