Skip to main content

containers

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

Overview

Namecontainers
TypeResource
Idazure.data_box_edge.containers

Fields

NameDatatypeDescription
idtextThe path ID that uniquely identifies the object.
nametextThe object name.
containerNametextfield from the properties object
container_statustextfield from the properties object
created_date_timetextfield from the properties object
data_formattextfield from the properties object
deviceNametextfield from the properties object
refresh_detailstextfield from the properties object
resourceGroupNametextfield from the properties object
storageAccountNametextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
typetextThe hierarchical type of the object.

Methods

NameAccessible byRequired ParamsDescription
getSELECTcontainerName, deviceName, resourceGroupName, storageAccountName, subscriptionId
list_by_storage_accountSELECTdeviceName, resourceGroupName, storageAccountName, subscriptionId
create_or_updateINSERTcontainerName, deviceName, resourceGroupName, storageAccountName, subscriptionId, data__properties
deleteDELETEcontainerName, deviceName, resourceGroupName, storageAccountName, subscriptionIdDeletes the container on the Data Box Edge/Data Box Gateway device.
refreshEXECcontainerName, deviceName, resourceGroupName, storageAccountName, subscriptionId

SELECT examples

SELECT
id,
name,
containerName,
container_status,
created_date_time,
data_format,
deviceName,
refresh_details,
resourceGroupName,
storageAccountName,
subscriptionId,
system_data,
type
FROM azure.data_box_edge.vw_containers
WHERE deviceName = '{{ deviceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND storageAccountName = '{{ storageAccountName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.data_box_edge.containers (
containerName,
deviceName,
resourceGroupName,
storageAccountName,
subscriptionId,
data__properties,
properties
)
SELECT
'{{ containerName }}',
'{{ deviceName }}',
'{{ resourceGroupName }}',
'{{ storageAccountName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}'
;

DELETE example

Deletes the specified containers resource.

/*+ delete */
DELETE FROM azure.data_box_edge.containers
WHERE containerName = '{{ containerName }}'
AND deviceName = '{{ deviceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND storageAccountName = '{{ storageAccountName }}'
AND subscriptionId = '{{ subscriptionId }}';