Get-AzNetworkCloudStorageAppliance

Get properties of the provided storage appliance.

Syntax

Get-AzNetworkCloudStorageAppliance
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzNetworkCloudStorageAppliance
   -Name <String>
   -ResourceGroupName <String>
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzNetworkCloudStorageAppliance
   -ResourceGroupName <String>
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzNetworkCloudStorageAppliance
   -InputObject <INetworkCloudIdentity>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

Description

Get properties of the provided storage appliance.

Examples

Example 1: List storage appliances by subscription

Get-AzNetworkCloudStorageAppliance -SubscriptionId subscriptionId

Location Name                SystemDataCreatedAt SystemDataCreatedBy  SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy  SystemDataLastModifiedByType ResourceGroupName
-------- ----                ------------------- -------------------  ----------------------- ------------------------ ------------------------  ---------------------------- -----------------
westus3  storage-appliance     07/12/2023 10:42:00 user1                   Application            07/12/2023 12:58:10      user2                      Application                resourceGroup
eastus   storage-appliance     11/03/2022 16:59:20 user1                   Application            12/09/2022 19:46:26      user2                      Application                resourceGroup

This command lists all storage appliances in the subscription.

Example 2: List storage appliances by resource group

Get-AzNetworkCloudStorageAppliance -ResourceGroupName resourceGroup -SubscriptionId subscriptionId

Location Name                SystemDataCreatedAt SystemDataCreatedBy  SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy  SystemDataLastModifiedByType ResourceGroupName
-------- ----                ------------------- -------------------  ----------------------- ------------------------ ------------------------  ---------------------------- -----------------
westus3  storage-appliance     07/12/2023 10:42:00 user1                   Application            07/12/2023 12:58:10      user2                      Application                resourceGroup
eastus   storage-appliance     11/03/2022 16:59:20 user1                   Application            12/09/2022 19:46:26      user2                      Application                resourceGroup

This command lists all storage appliances in the ResourceGroup.

Example 3: Get storage appliance

Get-AzNetworkCloudStorageAppliance -Name storageApplianceName -SubscriptionId subscriptionId -ResourceGroupName resourceGroup

Location Name                SystemDataCreatedAt SystemDataCreatedBy  SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy  SystemDataLastModifiedByType ResourceGroupName
-------- ----                ------------------- -------------------  ----------------------- ------------------------ ------------------------  ---------------------------- -----------------
westus3  storage-appliance     07/12/2023 10:42:00 user1                   Application            07/12/2023 12:58:10      user2                      Application                resourceGroup

This command gets a storage appliance by its name.

Parameters

-DefaultProfile

The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.

Type:PSObject
Aliases:AzureRMContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-InputObject

Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

Type:INetworkCloudIdentity
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Name

The name of the storage appliance.

Type:String
Aliases:StorageApplianceName
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ResourceGroupName

The name of the resource group. The name is case insensitive.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-SubscriptionId

The ID of the target subscription. The value must be an UUID.

Type:String[]
Position:Named
Default value:(Get-AzContext).Subscription.Id
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

INetworkCloudIdentity

Outputs

IStorageAppliance