storage_account_credentials
Creates, updates, deletes, gets or lists a storage_account_credentials
resource.
Overview
Name | storage_account_credentials |
Type | Resource |
Id | azure.data_box_edge.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 object name. |
account_key | text | field from the properties object |
account_type | text | field from the properties object |
alias | text | field from the properties object |
blob_domain_name | text | field from the properties object |
connection_string | text | field from the properties object |
deviceName | text | field from the properties object |
resourceGroupName | text | field from the properties object |
ssl_status | text | field from the properties object |
storage_account_id | text | field from the properties object |
subscriptionId | text | field from the properties object |
system_data | text | field from the properties object |
type | text | The hierarchical type of the object. |
user_name | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
id | string | The path ID that uniquely identifies the object. |
name | string | The object name. |
properties | object | The storage account credential properties. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
type | string | The hierarchical type of the object. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | deviceName, name, resourceGroupName, subscriptionId | Gets the properties of the specified storage account credential. |
list_by_data_box_edge_device | SELECT | deviceName, resourceGroupName, subscriptionId | |
create_or_update | INSERT | deviceName, name, resourceGroupName, subscriptionId, data__properties | Creates or updates the storage account credential. |
delete | DELETE | deviceName, name, resourceGroupName, subscriptionId | Deletes the storage account credential. |
SELECT
examples
- vw_storage_account_credentials
- storage_account_credentials
SELECT
id,
name,
account_key,
account_type,
alias,
blob_domain_name,
connection_string,
deviceName,
resourceGroupName,
ssl_status,
storage_account_id,
subscriptionId,
system_data,
type,
user_name
FROM azure.data_box_edge.vw_storage_account_credentials
WHERE deviceName = '{{ deviceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
properties,
systemData,
type
FROM azure.data_box_edge.storage_account_credentials
WHERE deviceName = '{{ deviceName }}'
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.data_box_edge.storage_account_credentials (
deviceName,
name,
resourceGroupName,
subscriptionId,
data__properties,
properties
)
SELECT
'{{ deviceName }}',
'{{ name }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: properties
value:
- name: alias
value: string
- name: userName
value: string
- name: accountKey
value:
- name: value
value: string
- name: encryptionCertThumbprint
value: string
- name: encryptionAlgorithm
value: string
- name: connectionString
value: string
- name: sslStatus
value: string
- name: blobDomainName
value: string
- name: accountType
value: string
- name: storageAccountId
value: string
- name: systemData
value:
- name: createdBy
value: string
- name: createdByType
value: string
- name: createdAt
value: string
- name: lastModifiedBy
value: string
- name: lastModifiedByType
value: string
- name: lastModifiedAt
value: string
DELETE
example
Deletes the specified storage_account_credentials
resource.
/*+ delete */
DELETE FROM azure.data_box_edge.storage_account_credentials
WHERE deviceName = '{{ deviceName }}'
AND name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';