You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Az.ServiceFabric] Renamed Remove-AzServiceFabricManagedNodeType parameter sets to use "Remove" instead of "Delete" for consistency with cmdlet name. (#28518)
Copy file name to clipboardExpand all lines: src/ServiceFabric/ServiceFabric/Commands/ManagedClusters/NodeTypes/RemoveAzServiceFabricManagedNodeType.cs
HelpMessage="Using this flag will force the removal even if service fabric is unable to disable the nodes. Use with caution as this might cause data loss if stateful workloads are running on the nodes, or might bring the cluster down if there are not enough seed nodes after the opearion.")]
HelpMessage="Using this flag will force the removal even if service fabric is unable to disable the nodes. Use with caution as this might cause data loss if stateful workloads are running on the nodes, or might bring the cluster down if there are not enough seed nodes after the opearion.")]
HelpMessage="Using this flag will force the removal even if service fabric is unable to disable the nodes. Use with caution as this might cause data loss if stateful workloads are running on the nodes, or might bring the cluster down if there are not enough seed nodes after the opearion.")]
90
90
publicSwitchParameterForceRemoveNode{get;set;}
91
91
@@ -105,10 +105,10 @@ public override void ExecuteCmdlet()
105
105
this.SetParams();
106
106
switch(ParameterSetName)
107
107
{
108
-
caseDeleteNodeByName:
109
-
caseDeleteNodeByObj:
110
-
caseDeleteNodeById:
111
-
if(ShouldProcess(target:this.Name,action:string.Format("Delete node(s) {0}, from node type {1} on cluster {2}",string.Join(", ",this.NodeName),this.Name,this.ClusterName)))
108
+
caseRemoveNodeByName:
109
+
caseRemoveNodeByObj:
110
+
caseRemoveNodeById:
111
+
if(ShouldProcess(target:this.Name,action:string.Format("Remove node(s) {0}, from node type {1} on cluster {2}",string.Join(", ",this.NodeName),this.Name,this.ClusterName)))
@@ -123,9 +123,9 @@ public override void ExecuteCmdlet()
123
123
124
124
break;
125
125
126
-
caseDeleteNodeTypeByName:
127
-
caseDeleteNodeTypeByObj:
128
-
caseDeleteNodeTypeById:
126
+
caseRemoveNodeTypeByName:
127
+
caseRemoveNodeTypeByObj:
128
+
caseRemoveNodeTypeById:
129
129
if(ShouldProcess(target:this.Name,action:string.Format("Remove node type: {0} on cluster {1}, resource group {2}",this.Name,this.ClusterName,this.ResourceGroupName)))
0 commit comments