Skip to content

Commit 8dab18a

Browse files
committed
remove reimage example from Set-AzsSrviceFabricManagedNodetype, add warning to description of Invoke-AzServiceFabricReimageManagedNodetype
1 parent 547835f commit 8dab18a

File tree

3 files changed

+7
-17
lines changed

3 files changed

+7
-17
lines changed

src/ServiceFabric/ServiceFabric/help/Az.ServiceFabric.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Deallocate specific nodes from the node type.
7272
Redeploy nodes from the node type.
7373

7474
### [Invoke-AzServiceFabricReimageManagedNodeType](Invoke-AzServiceFabricReimageManagedNodeType.md)
75-
Reimage nodes from the node type.
75+
Reimage nodes from the node type. On reimage operation the service fabric nodes will be disabled before reimaging the vms and enabled them back again once they come back. If this is done on primary node types it might take a while as it might not reimage all the nodes at the same time. Use -ForceReimage to force the operation even if service fabric is unable to disable the nodes but use with caution as this might cause data loss if stateful workloads are running on the node.
7676

7777
### [New-AzServiceFabricApplication](New-AzServiceFabricApplication.md)
7878
Create new service fabric application under the specified resource group and cluster.
@@ -174,7 +174,7 @@ Update a service fabric managed application type version. This allows you to upd
174174
Update a managed service from the cluster. Only supports ARM deployed services.
175175

176176
### [Set-AzServiceFabricManagedNodeType](Set-AzServiceFabricManagedNodeType.md)
177-
Sets node type resource properties or run reimage actions on specific nodes of the node type with -Reimage parameter.
177+
Sets node type resource properties.
178178

179179
### [Set-AzServiceFabricSetting](Set-AzServiceFabricSetting.md)
180180
Add or update one or multiple Service Fabric settings to the cluster.

src/ServiceFabric/ServiceFabric/help/Invoke-AzServiceFabricReimageManagedNodeType.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ schema: 2.0.0
88
# Invoke-AzServiceFabricReimageManagedNodeType
99

1010
## SYNOPSIS
11-
Reimage nodes from the node type.
11+
Reimage nodes from the node type. On reimage operation the service fabric nodes will be disabled before reimaging the vms and enabled them back again once they come back. If this is done on primary node types it might take a while as it might not reimage all the nodes at the same time. Use -ForceReimage to force the operation even if service fabric is unable to disable the nodes but use with caution as this might cause data loss if stateful workloads are running on the node.
1212

1313
## SYNTAX
1414

@@ -19,7 +19,7 @@ Invoke-AzServiceFabricReimageManagedNodeType [-ResourceGroupName] <String> [-Clu
1919
```
2020

2121
## DESCRIPTION
22-
Reimage nodes from the node type. The nodes will be disabled, reimaged, then renabled.
22+
Reimage nodes from the node type. The nodes will be disabled, reimaged, then renabled. On reimage operation the service fabric nodes will be disabled before reimaging the vms and enabled them back again once they come back. If this is done on primary node types it might take a while as it might not reimage all the nodes at the same time. Use -ForceReimage to force the operation even if service fabric is unable to disable the nodes but use with caution as this might cause data loss if stateful workloads are running on the node.
2323

2424
## EXAMPLES
2525

src/ServiceFabric/ServiceFabric/help/Set-AzServiceFabricManagedNodeType.md

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ schema: 2.0.0
88
# Set-AzServiceFabricManagedNodeType
99

1010
## SYNOPSIS
11-
Sets node type resource properties or run reimage actions on specific nodes of the node type with -Reimage parameter.
11+
Sets node type resource properties.
1212

1313
## SYNTAX
1414

@@ -37,7 +37,7 @@ Set-AzServiceFabricManagedNodeType [-ResourceId] <String> [-AsJob] [-DefaultProf
3737
```
3838

3939
## DESCRIPTION
40-
Sets node type resource properties or run reimage actions on specific nodes of the node type with -Reimage parameter. On reimage operation the service fabric nodes will be disabled before reimaging the vms and enabled them back again once they come back. If this is done on primary node types it might take a while as it might not reimage all the nodes at the same time. Use -ForceReimage to force the operation even if service fabric is unable to disable the nodes but use with caution as this might cause data loss if stateful workloads are running on the node.
40+
Sets node type resource properties.
4141

4242
## EXAMPLES
4343

@@ -66,16 +66,6 @@ Update placement properties of the node type. This will overwrite older placemen
6666
$rgName = "testRG"
6767
$clusterName = "testCluster"
6868
$NodeTypeName = "nt1"
69-
Set-AzServiceFabricManagedNodeType -ResourceGroupName $rgName -ClusterName $clusterName -Name $NodeTypeName -Reimage -NodeName nt1_0, nt1_3
70-
```
71-
72-
Reimage node 0 and 3 on the node type.
73-
74-
### Example 4
75-
```powershell
76-
$rgName = "testRG"
77-
$clusterName = "testCluster"
78-
$NodeTypeName = "nt1"
7969
$nodeType = Get-AzServiceFabricManagedNodeType -ResourceGroupName $rgName -ClusterName $clusterName -Name $NodeTypeName
8070
8171
$nodeType.VmInstanceCount = 6
@@ -84,7 +74,7 @@ $nodeType | Set-AzServiceFabricManagedNodeType
8474

8575
Update the instance count of the node type, with piping.
8676

87-
### Example 5
77+
### Example 4
8878
```powershell
8979
$rgName = "testRG"
9080
$clusterName = "testCluster"

0 commit comments

Comments
 (0)