你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Get-AzHostSize
Get List of possible Host Sizes.
Syntax
Get-AzHostSize
[-ResourceGroupName] <String>
[-HostGroupName] <String>
[[-HostName] <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Get List of possible Host Sizes.
Examples
Example 1
Get-AzHostSize -ResourceGroupName $resourceGroupName -HostGroupName $hostGroupName -HostName $hostName
Dsv3-Type1
This command return the possible host sizes.
Parameters
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with Azure.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-HostGroupName
The name of the Host Group.
Type: | String |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-HostName
The name of the Dedicated Host.
Type: | String |
Aliases: | Name |
Position: | 2 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ResourceGroupName
Name of Resource Group.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Inputs
Outputs
List<T>[[System.String, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]