Skip to main content

file_containers

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

Overview

Namefile_containers
TypeResource
Idazure_stack.deployment_admin.file_containers

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringID of the resource.
namestringName of the resource.
locationstringLocation of the resource.
propertiesobjectFile Container properties
typestringType of Resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, fileContainerIdRetrieves the specific file container details.
listselectsubscriptionIdReturns an array of file containers.
createinsertsubscriptionId, fileContainerIdCreates a new file container.
deletedeletesubscriptionId, fileContainerIdDelete an existing file container.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
fileContainerIdstringThe file container identifier.
subscriptionIdstringSubscription credentials that uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

SELECT examples

Retrieves the specific file container details.

SELECT
id,
name,
location,
properties,
type
FROM azure_stack.deployment_admin.file_containers
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND fileContainerId = '{{ fileContainerId }}' -- required
;

INSERT examples

Creates a new file container.

INSERT INTO azure_stack.deployment_admin.file_containers (
data__properties,
subscriptionId,
fileContainerId
)
SELECT
'{{ properties }}',
'{{ subscriptionId }}',
'{{ fileContainerId }}'
RETURNING
id,
name,
location,
properties,
type
;

DELETE examples

Delete an existing file container.

DELETE FROM azure_stack.deployment_admin.file_containers
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND fileContainerId = '{{ fileContainerId }}' --required
;