storage_account_credentials
Creates, updates, deletes, gets or lists a storage_account_credentials
resource.
Overview
Name | storage_account_credentials |
Type | Resource |
Id | azure_extras.storsimple_8000_series.storage_account_credentials |
Fields
- vw_storage_account_credentials
- storage_account_credentials
Name | Datatype | Description |
---|---|---|
id | text | The path ID that uniquely identifies the object. |
name | text | The name of the object. |
access_key | text | field from the properties object |
end_point | text | field from the properties object |
kind | text | The Kind of the object. Currently only Series8000 is supported |
managerName | text | field from the properties object |
resourceGroupName | text | field from the properties object |
ssl_status | text | field from the properties object |
storageAccountCredentialName | text | field from the properties object |
subscriptionId | text | field from the properties object |
type | text | The hierarchical type of the object. |
volumes_count | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
id | string | The path ID that uniquely identifies the object. |
name | string | The name of the object. |
kind | string | The Kind of the object. Currently only Series8000 is supported |
properties | object | The storage account credential properties. |
type | string | The hierarchical type of the object. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | managerName, resourceGroupName, storageAccountCredentialName, subscriptionId | Gets the properties of the specified storage account credential name. |
list_by_manager | SELECT | managerName, resourceGroupName, subscriptionId | Gets all the storage account credentials in a manager. |
create_or_update | INSERT | managerName, resourceGroupName, storageAccountCredentialName, subscriptionId, data__properties | Creates or updates the storage account credential. |
delete | DELETE | managerName, resourceGroupName, storageAccountCredentialName, subscriptionId | Deletes the storage account credential. |
SELECT
examples
Gets all the storage account credentials in a manager.
- vw_storage_account_credentials
- storage_account_credentials
SELECT
id,
name,
access_key,
end_point,
kind,
managerName,
resourceGroupName,
ssl_status,
storageAccountCredentialName,
subscriptionId,
type,
volumes_count
FROM azure_extras.storsimple_8000_series.vw_storage_account_credentials
WHERE managerName = '{{ managerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
kind,
properties,
type
FROM azure_extras.storsimple_8000_series.storage_account_credentials
WHERE managerName = '{{ managerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new storage_account_credentials
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure_extras.storsimple_8000_series.storage_account_credentials (
managerName,
resourceGroupName,
storageAccountCredentialName,
subscriptionId,
data__properties,
kind,
properties
)
SELECT
'{{ managerName }}',
'{{ resourceGroupName }}',
'{{ storageAccountCredentialName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ kind }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: kind
value: string
- name: properties
value:
- name: endPoint
value: string
- name: sslStatus
value: string
- name: accessKey
value:
- name: value
value: string
- name: encryptionCertThumbprint
value: string
- name: encryptionAlgorithm
value: string
- name: volumesCount
value: integer
DELETE
example
Deletes the specified storage_account_credentials
resource.
/*+ delete */
DELETE FROM azure_extras.storsimple_8000_series.storage_account_credentials
WHERE managerName = '{{ managerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND storageAccountCredentialName = '{{ storageAccountCredentialName }}'
AND subscriptionId = '{{ subscriptionId }}';