Update-AzServiceFabricReliability
Update the reliability tier of the primary node type in a cluster.
Syntax
Update-AzServiceFabricReliability
[-ResourceGroupName] <String>
[-Name] <String>
-ReliabilityLevel <ReliabilityLevel>
[-AutoAddNode]
[-NodeType <String>]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Use Update-AzServiceFabricReliability to update reliability of the primary node type in a cluster.
Examples
Example 1
Update-AzServiceFabricReliability -ResourceGroupName 'Group1' -Name 'Contoso01SFCluster' -ReliabilityLevel Silver
This command changes the reliability tier of the primary node type to silver.
Example 2
Update the reliability tier of the primary node type in a cluster. (autogenerated)
Update-AzServiceFabricReliability -AutoAddNode -Name 'Contoso01SFCluster' -ReliabilityLevel None -ResourceGroupName 'Group1'
Parameters
-AutoAddNode
Add node count automatically when changing reliability
Type: | SwitchParameter |
Aliases: | Auto |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-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 |
-Name
Specify the name of the cluster
Type: | String |
Aliases: | ClusterName |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-NodeType
Specify Service Fabric node type name. This setting is only required if there are multiple primary node types.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ReliabilityLevel
Reliability tier
Type: | ReliabilityLevel |
Aliases: | Level |
Accepted values: | None, Bronze, Silver, Gold, Platinum |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ResourceGroupName
Specify the name of the resource group.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
Outputs
Azure PowerShell