Get-AzNetworkCloudRackSku

Get the properties of the provided rack SKU.

Syntax

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

Description

Get the properties of the provided rack SKU.

Examples

Example 1: List rack SKUs by subscription

Get-AzNetworkCloudRackSku -SubscriptionId subscriptionId

Name                          SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy SystemDataLastModifiedByType ResourceGroupName
----                          ------------------- ------------------- ----------------------- ------------------------ ------------------------ ---------------------------- -----------------
rackSkuName                     07/10/2023 16:09:59 user1               User                    07/10/2023 16:20:31     user2                       User                     resourceGroupName

This command lists all rack SKUs by subscription.

Example 2: Get rack SKU

Get-AzNetworkCloudRackSku -Name rackSkuName -SubscriptionId subscriptionId

Name                         SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy SystemDataLastModifiedByType ResourceGroupName
----                         ------------------- ------------------- ----------------------- ------------------------ ------------------------ ---------------------------- -----------------
rackSkuName                     07/10/2023 16:09:59 user1               User                    07/10/2023 16:20:31     user2                       User                    resourceGroupName

This command gets a rack SKU.

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 rack SKU.

Type:String
Aliases:RackSkuName
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

IRackSku