Get Storage instance
Returns the details of a single Storage instance
Authentication
Authorization Bearer
Bearer authentication of the form Bearer <token>, where token is your
auth token.
Path parameters
project_name string Required
storage_name string Required
Response
200 A single Storage instance
kindstringOptional
The kind of record.
Metadata about the storage instance.
Show 8 propertiesHide 8 properties
createdstringOptionalformat: date-time
The time when the resource was created
createdBystringOptionalformat: uuid
ID of the user who created the resource
createdByEmailstringOptional
Email of the user who created the resource
idstringRequiredformat: uuid
The ID of the resource
namestringOptional
The name of the resource
updatedstringOptionalformat: date-time
The time when the resource was last updated
updatedBystringOptionalformat: uuid
ID of the user who last updated the resource
updatedByEmailstringOptional
Email of the user who last updated the resource
specobjectRequired
The specification of the storage instance.
Show 3 variantsHide 3 variants
Discriminated by type. Select one variant:
Microsoft.StorageobjectAzureStorageSpecRead
The credential for the Azure Storage Account
Show 3 propertiesHide 3 properties
sasTokenstringRequiredpattern: ^\?([a-z]+=[^&]+)(&[a-z]+=[^&]+)+$
SAS Token for Azure Storage Account, including leading ?
signedExpirystringRequiredformat: date-time
The expiry time of the token.
signedStartstring or nullRequiredformat: date-time
The start time of the token.
descriptionstring or nullRequired
Description of the storage.
Optional settings for a Private Link. Set it to null to remove the Private Link.
Show 4 propertiesHide 4 properties
requestMessagestringRequired0-140 characters
A message passed to the owner of the remote resource with this connection request.
This field cannot be modified, only set during creation.
resourceGroupNamestringRequired1-90 characters
The name of the resource group containing the storage account
This field cannot be modified, only set during creation.
storageAccountNamestringRequired3-24 characters
The name of the storage account. The full Azure ID would be '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{storageAccountName}'
This field cannot be modified, only set during creation.
subscriptionIdstringRequiredformat: uuid
The ID of the Azure subscription containing the storage account
This field cannot be modified, only set during creation.
regionstring or nullRequired
Storage region.
typeenumRequired
The type of storage.
This field cannot be modified, only set during creation.
Allowed values:Microsoft.StorageAWS.S3Google.Storage
urlstringRequired
HTTP(S) URL required for access to the storage.
This field cannot be modified, only set during creation.
AWS.S3objectAWSStorageSpecRead
bucketNamestringRequiredpattern: ^(?!.*\.\.)[a-z0-9][-a-z0-9.]{1,61}[a-z0-9]$
The name of the AWS S3 bucket.
This field cannot be modified, only set during creation.
The credential for the AWS S3 bucket. Required at creation.
Show 2 propertiesHide 2 properties
accessKeyIdstringRequiredpattern: ^A[KS]IA[0-9A-Z]{16}$
The access key ID for the bucket.
secretAccessKeystringRequiredpattern: ^[A-Za-z0-9+/=]{40}$
The secret access key for the bucket.
descriptionstring or nullRequired
Description of the storage.
regionstring or nullRequired
Storage region.
typeenumRequired
The type of storage.
This field cannot be modified, only set during creation.
Allowed values:Microsoft.StorageAWS.S3Google.Storage
urlstringRequired
The URL of the S3 bucket
Google.StorageobjectGoogleStorageSpecRead
bucketNamestringRequired2-256 characters
The name of the Google Storage bucket.
This field cannot be modified, only set during creation.
The credential for the Google Storage bucket. Required at creation.
Show 1 propertyHide 1 property
gacmap from strings to stringRequired
Google Application Credentials in JSON format.
You can generate this from the command line with
Or download it from the GCP console.
You can generate this from the command line with
gcloud iam service-accounts keys create key.json --iam-account=<service_account>@<project>.iam.gserviceaccount.comOr download it from the GCP console.
Show value schemaHide value schema
[any key]string
descriptionstring or nullRequired
Description of the storage.
regionstring or nullRequired
Storage region.
typeenumRequired
The type of storage.
This field cannot be modified, only set during creation.
Allowed values:Microsoft.StorageAWS.S3Google.Storage
Additional status information regarding the storage instance.
Show 2 propertiesHide 2 properties
activeCredentialIdstring or nullRequiredformat: uuid
The ID of the active credential for this storage.
privateLinkServiceConnectionStatusenumOptional
The state of the Azure Private Connection, if enabled.
Allowed values:CreatingPendingReadyRunningDeletingDeleted
Errors
400 Bad Request
Pertinent information about the error
Show 3 propertiesHide 3 properties
codestringRequired
The error code.
detailstringRequired
The error message.
extraDetailmap from strings to anyOptional
Extra information regarding this error.
Show value schemaHide value schema
[any key]any
refstringRequired
A reference to the request that caused the error.
statusintegerRequired
The HTTP status code
401 Unauthorized
Pertinent information about the error
Show 3 propertiesHide 3 properties
codestringRequired
The error code.
detailstringRequired
The error message.
extraDetailmap from strings to anyOptional
Extra information regarding this error.
Show value schemaHide value schema
[any key]any
refstringRequired
A reference to the request that caused the error.
statusintegerRequired
The HTTP status code
403 Forbidden
Pertinent information about the error
Show 3 propertiesHide 3 properties
codestringRequired
The error code.
detailstringRequired
The error message.
extraDetailmap from strings to anyOptional
Extra information regarding this error.
Show value schemaHide value schema
[any key]any
refstringRequired
A reference to the request that caused the error.
statusintegerRequired
The HTTP status code
404 Not Found
Pertinent information about the error
Show 3 propertiesHide 3 properties
codestringRequired
The error code.
detailstringRequired
The error message.
extraDetailmap from strings to anyOptional
Extra information regarding this error.
Show value schemaHide value schema
[any key]any
refstringRequired
A reference to the request that caused the error.
statusintegerRequired
The HTTP status code
429 Too Many Requests
Pertinent information about the error
Show 3 propertiesHide 3 properties
codestringRequired
The error code.
detailstringRequired
The error message.
extraDetailmap from strings to anyOptional
Extra information regarding this error.
Show value schemaHide value schema
[any key]any
refstringRequired
A reference to the request that caused the error.
statusintegerRequired
The HTTP status code
500 Internal Server Error
Pertinent information about the error
Show 3 propertiesHide 3 properties
codestringRequired
The error code.
detailstringRequired
The error message.
extraDetailmap from strings to anyOptional
Extra information regarding this error.
Show value schemaHide value schema
[any key]any
refstringRequired
A reference to the request that caused the error.
statusintegerRequired
The HTTP status code