Get-​Azure​Rm​Iot​Hub​Valid​Sku

Gets all valid skus that this IotHub can transition to.

Syntax

Get-AzureRmIotHubValidSku
   [-ResourceGroupName] <String>
   [-Name] <String>
   [<CommonParameters>]

Description

Gets all the valid skus that this IotHub can transition to. An IotHub cannot transition between free and the paid skus and vice versa. You will have to delete and recreate the iothub if you want to achieve this.

Examples

Example 1 Get the valid skus

PS C:\> Get-AzureRmIotHubValidSku -ResourceGroupName "myresourcegroup" -Name "myiothub"

Gets a list of all skus for the IotHub named "myiothub"

Required Parameters

-Name

Name of hte IoT hub.

Type:String
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-ResourceGroupName

Name of the resource group.

Type:String
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Inputs

System.String

Outputs

System.Collections.Generic.IList`1[[Microsoft.Azure.Commands.Management.IotHub.Models.PSIotHubSkuDescription, Microsoft.Azure.Commands.IotHub, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]