Skip to main content

storage_account_credentials

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

Overview

Namestorage_account_credentials
TypeResource
Idazure_extras.storsimple_1200_series.storage_account_credentials

Fields

NameDatatypeDescription
idtextThe identifier.
nametextThe name.
access_keytextfield from the properties object
cloud_typetextfield from the properties object
credentialNametextfield from the properties object
enable_ssltextfield from the properties object
end_pointtextfield from the properties object
locationtextfield from the properties object
logintextfield from the properties object
managerNametextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
typetextThe type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTcredentialName, managerName, resourceGroupName, subscriptionIdReturns the properties of the specified storage account credential name.
list_by_managerSELECTmanagerName, resourceGroupName, subscriptionIdRetrieves all the storage account credentials in a manager.
create_or_updateINSERTcredentialName, managerName, resourceGroupName, subscriptionId, data__propertiesCreates or updates the storage account credential
deleteDELETEcredentialName, managerName, resourceGroupName, subscriptionIdDeletes the storage account credential

SELECT examples

Retrieves all the storage account credentials in a manager.

SELECT
id,
name,
access_key,
cloud_type,
credentialName,
enable_ssl,
end_point,
location,
login,
managerName,
resourceGroupName,
subscriptionId,
type
FROM azure_extras.storsimple_1200_series.vw_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.

/*+ create */
INSERT INTO azure_extras.storsimple_1200_series.storage_account_credentials (
credentialName,
managerName,
resourceGroupName,
subscriptionId,
data__properties,
properties
)
SELECT
'{{ credentialName }}',
'{{ managerName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}'
;

DELETE example

Deletes the specified storage_account_credentials resource.

/*+ delete */
DELETE FROM azure_extras.storsimple_1200_series.storage_account_credentials
WHERE credentialName = '{{ credentialName }}'
AND managerName = '{{ managerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';