New-AzureAvailabilitySet
New-AzureAvailabilitySet
Creates an Azure availability set.
Syntax
Parameter Set: Default
New-AzureAvailabilitySet [-ResourceGroupName] <String> [-Name] <String> [-Location] <String> [[-PlatformUpdateDomainCount] <Nullable [System.Int32]> ] [[-PlatformFaultDomainCount] <Nullable [System.Int32]> ] [-Profile <AzureProfile> ] [ <CommonParameters>]
Detailed Description
The New-AzureAvailabilitySet cmdlet creates an Azure availability set.
Parameters
-Location<String>
Specifies the location for the availability set.
Aliases |
none |
Required? |
true |
Position? |
3 |
Default Value |
none |
Accept Pipeline Input? |
true(ByPropertyName) |
Accept Wildcard Characters? |
false |
-Name<String>
Specifies a name for the availability set.
Aliases |
ResourceName,AvailabilitySetName |
Required? |
true |
Position? |
2 |
Default Value |
none |
Accept Pipeline Input? |
true(ByPropertyName) |
Accept Wildcard Characters? |
false |
-PlatformFaultDomainCount<Nullable [System.Int32]>
Specifies the platform fault domain count.
Aliases |
none |
Required? |
false |
Position? |
5 |
Default Value |
none |
Accept Pipeline Input? |
true(ByPropertyName) |
Accept Wildcard Characters? |
false |
-PlatformUpdateDomainCount<Nullable [System.Int32]>
Specifies the platform update domain count.
Aliases |
none |
Required? |
false |
Position? |
4 |
Default Value |
none |
Accept Pipeline Input? |
true(ByPropertyName) |
Accept Wildcard Characters? |
false |
-Profile<AzureProfile>
Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-ResourceGroupName<String>
Specifies the name of a resource group.
Aliases |
none |
Required? |
true |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
true(ByPropertyName) |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
Examples
Example 1: Create an availability set
This command creates an availability set named AvailablitySet03 in the resource group named ResourceGroup11.
New-AzureAvailabilitySet -ResourceGroupName "ResourceGroup11" -Name "AvailabilitySet03" -Location "West US"