Skip to main content

storage_account_credentials

Creates, updates, deletes, gets or lists a storage_account_credentials resource.

Overview

Namestorage_account_credentials
TypeResource
Idazure.data_box_edge.storage_account_credentials

Fields

NameDatatypeDescription
idtextThe path ID that uniquely identifies the object.
nametextThe object name.
account_keytextfield from the properties object
account_typetextfield from the properties object
aliastextfield from the properties object
blob_domain_nametextfield from the properties object
connection_stringtextfield from the properties object
deviceNametextfield from the properties object
resourceGroupNametextfield from the properties object
ssl_statustextfield from the properties object
storage_account_idtextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
typetextThe hierarchical type of the object.
user_nametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTdeviceName, name, resourceGroupName, subscriptionIdGets the properties of the specified storage account credential.
list_by_data_box_edge_deviceSELECTdeviceName, resourceGroupName, subscriptionId
create_or_updateINSERTdeviceName, name, resourceGroupName, subscriptionId, data__propertiesCreates or updates the storage account credential.
deleteDELETEdeviceName, name, resourceGroupName, subscriptionIdDeletes the storage account credential.

SELECT examples

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 }}';

INSERT example

Use the following StackQL query and manifest file to create a new storage_account_credentials resource.

/*+ 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 }}'
;

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 }}';