New-​Azure​Rm​Availability​Set

Creates an Azure availability set.

Syntax

New-AzureRmAvailabilitySet
   [-ResourceGroupName] <String>
   [-Name] <String>
   [-Location] <String>
   [[-PlatformUpdateDomainCount] <Int32>]
   [[-PlatformFaultDomainCount] <Int32>]
   [-Managed]
   [-Sku <String>]
   [<CommonParameters>]

Description

The New-AzureRmAvailabilitySet cmdlet creates an Azure availability set.

Examples

Example 1: Create an availability set

PS C:\>New-AzureRmAvailabilitySet -ResourceGroupName "ResourceGroup11" -Name "AvailabilitySet03" -Location "West US"

This command creates an availability set named AvailablitySet03 in the resource group named ResourceGroup11.

Required Parameters

-Location

Specifies the location for the availability set.

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

Specifies a name for the availability set.

Type:String
Aliases:ResourceName, AvailabilitySetName
Position:2
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-ResourceGroupName

Specifies the name of a resource group.

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

Optional Parameters

-Managed

Managed Availability Set

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-PlatformFaultDomainCount

Specifies the platform fault domain count.

Type:Int32
Position:5
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-PlatformUpdateDomainCount

Specifies the platform update domain count.

Type:Int32
Position:4
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Sku

The Name of Sku

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