Skip to main content

storage_appliances

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

Overview

Namestorage_appliances
TypeResource
Idazure_extras.network_cloud.storage_appliances

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
administratorCredentialsobjectThe credentials of the administrative interface on this storage appliance. Required.
caCertificateobjectThe CA certificate information issued by the platform for connecting to TLS interfaces for the storage appliance. Callers add this certificate to their trusted CA store to allow secure communication with the storage appliance.
capacityintegerThe total capacity of the storage appliance. Measured in GiB.
capacityUsedintegerThe amount of storage consumed. Measured in GiB.
clusterIdstringThe resource ID of the cluster this storage appliance is associated with.
detailedStatusstringThe detailed status of the storage appliance. Known values are: "Available", "Degraded", "Error", and "Provisioning". (Available, Degraded, Error, Provisioning)
detailedStatusMessagestringThe descriptive message about the current detailed status.
etagstring"If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.").
expansionShelvesarrayThe list of expansion shelves connected to the storage appliance.
extendedLocationobjectThe extended location of the resource. This property is required when creating the resource. Required.
locationstringThe geo-location where the resource lives. Required.
managementIpv4AddressstringThe endpoint for the management interface of the storage appliance.
manufacturerstringThe manufacturer of the storage appliance.
modelstringThe model of the storage appliance.
monitoringConfigurationStatusobjectThe monitoring configuration status of the storage appliance.
provisioningStatestringThe provisioning state of the storage appliance. Known values are: "Succeeded", "Failed", "Canceled", "Provisioning", and "Accepted". (Succeeded, Failed, Canceled, Provisioning, Accepted)
rackIdstringThe resource ID of the rack where this storage appliance resides. Required.
rackSlotintegerThe slot the storage appliance is in the rack based on the BOM configuration. Required.
remoteVendorManagementFeaturestringThe indicator of whether the storage appliance supports remote vendor management. Known values are: "Supported" and "Unsupported". (Supported, Unsupported)
remoteVendorManagementStatusstringThe indicator of whether the remote vendor management feature is enabled or disabled, or unsupported if it is an unsupported feature. Known values are: "Enabled", "Disabled", and "Unsupported". (Enabled, Disabled, Unsupported)
secretRotationStatusarrayThe list of statuses that represent secret rotation activity.
serialNumberstringThe serial number for the storage appliance. Required.
storageApplianceSkuIdstringThe SKU for the storage appliance. Required.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
tagsobjectResource tags.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
versionstringThe version of the storage appliance.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, storage_appliance_name, subscription_idGet properties of the provided storage appliance.
list_by_resource_groupselectresource_group_name, subscription_id$top, $skipTokenGet a list of storage appliances in the provided resource group.
list_by_subscriptionselectsubscription_id$top, $skipTokenGet a list of storage appliances in the provided subscription.
create_or_updateinsertresource_group_name, storage_appliance_name, subscription_id, location, properties, extendedLocationCreate 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.
updateupdateresource_group_name, storage_appliance_name, subscription_idUpdate properties of the provided storage appliance, or update tags associated with the storage appliance Properties and tag updates can be done independently.
create_or_updatereplaceresource_group_name, storage_appliance_name, subscription_id, location, properties, extendedLocationCreate 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.
deletedeleteresource_group_name, storage_appliance_name, subscription_idDelete 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_managementexecresource_group_name, storage_appliance_name, subscription_idDisable remote vendor management of the provided storage appliance.
enable_remote_vendor_managementexecresource_group_name, storage_appliance_name, subscription_idEnable remote vendor management of the provided storage appliance.
run_read_commandsexecresource_group_name, storage_appliance_name, subscription_id, commands, limitTimeSecondsRun one or more read-only commands on 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
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
storage_appliance_namestringThe name of the storage appliance. Required.
subscription_idstring
$skipTokenstringThe opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets. Default value is None.
$topintegerThe maximum number of resources to return from the operation. Example: '$top=10'. Default value is None.

SELECT examples

Get properties of the provided storage appliance.

SELECT
id,
name,
administratorCredentials,
caCertificate,
capacity,
capacityUsed,
clusterId,
detailedStatus,
detailedStatusMessage,
etag,
expansionShelves,
extendedLocation,
location,
managementIpv4Address,
manufacturer,
model,
monitoringConfigurationStatus,
provisioningState,
rackId,
rackSlot,
remoteVendorManagementFeature,
remoteVendorManagementStatus,
secretRotationStatus,
serialNumber,
storageApplianceSkuId,
systemData,
tags,
type,
version
FROM azure_extras.network_cloud.storage_appliances
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND storage_appliance_name = '{{ storage_appliance_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- 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_extras.network_cloud.storage_appliances (
tags,
location,
properties,
extendedLocation,
resource_group_name,
storage_appliance_name,
subscription_id
)
SELECT
'{{ tags }}',
'{{ location }}' /* required */,
'{{ properties }}' /* required */,
'{{ extendedLocation }}' /* required */,
'{{ resource_group_name }}',
'{{ storage_appliance_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
etag,
extendedLocation,
location,
properties,
systemData,
tags,
type
;

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_extras.network_cloud.storage_appliances
SET
properties = '{{ properties }}',
tags = '{{ tags }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND storage_appliance_name = '{{ storage_appliance_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
etag,
extendedLocation,
location,
properties,
systemData,
tags,
type;

REPLACE 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.

REPLACE azure_extras.network_cloud.storage_appliances
SET
tags = '{{ tags }}',
location = '{{ location }}',
properties = '{{ properties }}',
extendedLocation = '{{ extendedLocation }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND storage_appliance_name = '{{ storage_appliance_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
AND location = '{{ location }}' --required
AND properties = '{{ properties }}' --required
AND extendedLocation = '{{ extendedLocation }}' --required
RETURNING
id,
name,
etag,
extendedLocation,
location,
properties,
systemData,
tags,
type;

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_extras.network_cloud.storage_appliances
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND storage_appliance_name = '{{ storage_appliance_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;

Lifecycle Methods

Disable remote vendor management of the provided storage appliance.

EXEC azure_extras.network_cloud.storage_appliances.disable_remote_vendor_management 
@resource_group_name='{{ resource_group_name }}' --required,
@storage_appliance_name='{{ storage_appliance_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;