Skip to main content

storage_appliances

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

Overview

Namestorage_appliances
TypeResource
Idazure.nexus.storage_appliances

Fields

The following fields are returned by SELECT queries:

The resource has been successfully retrieved.

NameDatatypeDescription
extendedLocationobjectThe extended location of the cluster associated with the resource. (title: ExtendedLocation represents the Azure custom location where the resource will be created.)
locationstringThe geo-location where the resource lives
propertiesobjectThe list of the resource properties. (title: StorageApplianceProperties represents the properties of the storage appliance.)
tagsobjectResource tags.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, storageApplianceNameGet properties of the provided storage appliance.
list_by_resource_groupselectsubscriptionId, resourceGroupNameGet a list of storage appliances in the provided resource group.
list_by_subscriptionselectsubscriptionIdGet a list of storage appliances in the provided subscription.
create_or_updateinsertsubscriptionId, resourceGroupName, storageApplianceName, data__extendedLocation, data__propertiesCreate a new storage appliance or update the properties of the existing one.
All customer initiated requests will be rejected as the life cycle of this resource is managed by the system.
updateupdatesubscriptionId, resourceGroupName, storageApplianceNameUpdate properties of the provided storage appliance, or update tags associated with the storage appliance Properties and tag updates can be done independently.
deletedeletesubscriptionId, resourceGroupName, storageApplianceNameDelete the provided storage appliance.
All customer initiated requests will be rejected as the life cycle of this resource is managed by the system.
disable_remote_vendor_managementexecsubscriptionId, resourceGroupName, storageApplianceNameDisable remote vendor management of the provided storage appliance.
enable_remote_vendor_managementexecsubscriptionId, resourceGroupName, storageApplianceNameEnable remote vendor management of the provided storage appliance.

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
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
storageApplianceNamestringThe name of the storage appliance.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Get properties of the provided storage appliance.

SELECT
extendedLocation,
location,
properties,
tags
FROM azure.nexus.storage_appliances
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND storageApplianceName = '{{ storageApplianceName }}' -- required
;

INSERT examples

Create a new storage appliance or update the properties of the existing one.
All customer initiated requests will be rejected as the life cycle of this resource is managed by the system.

INSERT INTO azure.nexus.storage_appliances (
data__extendedLocation,
data__properties,
data__tags,
data__location,
subscriptionId,
resourceGroupName,
storageApplianceName
)
SELECT
'{{ extendedLocation }}' /* required */,
'{{ properties }}' /* required */,
'{{ tags }}',
'{{ location }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ storageApplianceName }}'
RETURNING
extendedLocation,
location,
properties,
tags
;

UPDATE examples

Update properties of the provided storage appliance, or update tags associated with the storage appliance Properties and tag updates can be done independently.

UPDATE azure.nexus.storage_appliances
SET
data__properties = '{{ properties }}',
data__tags = '{{ tags }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND storageApplianceName = '{{ storageApplianceName }}' --required
RETURNING
extendedLocation,
location,
properties,
tags;

DELETE examples

Delete the provided storage appliance.
All customer initiated requests will be rejected as the life cycle of this resource is managed by the system.

DELETE FROM azure.nexus.storage_appliances
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND storageApplianceName = '{{ storageApplianceName }}' --required
;

Lifecycle Methods

Disable remote vendor management of the provided storage appliance.

EXEC azure.nexus.storage_appliances.disable_remote_vendor_management 
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@storageApplianceName='{{ storageApplianceName }}' --required
;