< Back

Add-AzureRmServiceFabricNodeType

Tue Jan 29, 2019 10:07 pm

NAME Add-AzureRmServiceFabricNodeType



SYNOPSIS

Add a new node type to the existing cluster.





SYNTAX

Add-AzureRmServiceFabricNodeType [-ResourceGroupName] <String> [-Name] <String> -Capacity <Int32> [-DefaultProfile <IAzureContextContainer>]

[-DurabilityLevel {Bronze | Silver | Gold}] -NodeType <String> [-Tier <String>] -VmPassword <SecureString> [-VmSku <String>] -VmUserName <String>

[-Confirm] [-WhatIf] [<CommonParameters>]





DESCRIPTION

Add a new node type to a existing cluster.





PARAMETERS

-Capacity <Int32>

Capacity



Required? true

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-DurabilityLevel <DurabilityLevel>

Specify the durability level of the NodeType.



Required? false

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-Name <String>

Specify the name of the cluster.



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-NodeType <String>

The node type name.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-ResourceGroupName <String>

Specify the name of the resource group.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Tier <String>

Vm Sku Tier.



Required? false

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-VmPassword <SecureString>

The password of login to the Vm.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-VmSku <String>

The sku name.



Required? false

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-VmUserName <String>

The user name for login to Vm.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

Shows what would happen if the cmdlet runs. The cmdlet is not run.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

System.String

System.Int32





OUTPUTS

System.Object







NOTES









Example 1



PS c:\\> $pwd = ConvertTo-SecureString -String 'Password$123456' -AsPlainText -Force

PS C:\\> Add-AzureRmServiceFabricNodeType -ResourceGroupName 'Group1' -Name 'Contoso01SFCluster' -NodeType 'n2' -Capacity 5 -VmUserName 'adminName'

-VmPassword $pwd



This command will add a new NodeType 'n2' with capacity of 5, and the vm admin name is 'adminName'.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... icnodetype