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

NameDatatypeDescription
administrator_credentialstextfield from the properties object
capacitytextfield from the properties object
capacity_usedtextfield from the properties object
cluster_idtextfield from the properties object
detailed_statustextfield from the properties object
detailed_status_messagetextfield from the properties object
extended_locationtextfield from the properties object
locationtextThe geo-location where the resource lives
management_ipv4_addresstextfield from the properties object
manufacturertextfield from the properties object
modeltextfield from the properties object
provisioning_statetextfield from the properties object
rack_idtextfield from the properties object
rack_slottextfield from the properties object
remote_vendor_management_featuretextfield from the properties object
remote_vendor_management_statustextfield from the properties object
resourceGroupNametextfield from the properties object
secret_rotation_statustextfield from the properties object
serial_numbertextfield from the properties object
storageApplianceNametextfield from the properties object
storage_appliance_sku_idtextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.
versiontextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, storageApplianceName, subscriptionIdGet properties of the provided storage appliance.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdGet a list of storage appliances in the provided resource group.
list_by_subscriptionSELECTsubscriptionIdGet a list of storage appliances in the provided subscription.
create_or_updateINSERTresourceGroupName, storageApplianceName, subscriptionId, 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.
deleteDELETEresourceGroupName, storageApplianceName, subscriptionIdDelete the provided storage appliance.
All customer initiated requests will be rejected as the life cycle of this resource is managed by the system.
updateUPDATEresourceGroupName, storageApplianceName, subscriptionIdUpdate properties of the provided storage appliance, or update tags associated with the storage appliance Properties and tag updates can be done independently.
disable_remote_vendor_managementEXECresourceGroupName, storageApplianceName, subscriptionIdDisable remote vendor management of the provided storage appliance.
enable_remote_vendor_managementEXECresourceGroupName, storageApplianceName, subscriptionIdEnable remote vendor management of the provided storage appliance.

SELECT examples

Get a list of storage appliances in the provided subscription.

SELECT
administrator_credentials,
capacity,
capacity_used,
cluster_id,
detailed_status,
detailed_status_message,
extended_location,
location,
management_ipv4_address,
manufacturer,
model,
provisioning_state,
rack_id,
rack_slot,
remote_vendor_management_feature,
remote_vendor_management_status,
resourceGroupName,
secret_rotation_status,
serial_number,
storageApplianceName,
storage_appliance_sku_id,
subscriptionId,
tags,
version
FROM azure.nexus.vw_storage_appliances
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

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

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

UPDATE example

Updates a storage_appliances resource.

/*+ update */
UPDATE azure.nexus.storage_appliances
SET
properties = '{{ properties }}',
tags = '{{ tags }}'
WHERE
resourceGroupName = '{{ resourceGroupName }}'
AND storageApplianceName = '{{ storageApplianceName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified storage_appliances resource.

/*+ delete */
DELETE FROM azure.nexus.storage_appliances
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND storageApplianceName = '{{ storageApplianceName }}'
AND subscriptionId = '{{ subscriptionId }}';