Skip to content

Commit

Permalink
Aladdin generated examples for ServiceFabric (#13297)
Browse files Browse the repository at this point in the history
* Add new examples to ServiceFabric
	- Add new examples to the following modules:
		ServiceFabric

* Fix typo in existing examples.

Co-authored-by: Maoliang Huang <[email protected]>
  • Loading branch information
aladdindoc and kceiw authored Oct 26, 2020
1 parent 953a377 commit 496fe86
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Use **Remove-AzServiceFabricNode** to remove nodes from a specific node type fro

### Example 1
```powershell
PS c:> Remove-AzServiceFabricNode -ResourceGroupName 'Group1' -Name 'Contoso01SFCluster' -NodeTypeName 'nt1' -NumberOfNodesToRemove 2
PS c:> Remove-AzServiceFabricNode -ResourceGroupName 'Group1' -Name 'Contoso01SFCluster' -NodeType 'nt1' -NumberOfNodesToRemove 2
```

This command will remove 2 nodes from the NodeType 'nt1'.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,21 @@ Use **Update-AzServiceFabricReliability** to update reliability of the primary n
## EXAMPLES

### Example 1
```
```powershell
PS c:> 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)

<!-- Aladdin Generated Example -->
```powershell
Update-AzServiceFabricReliability -AutoAddNode -Name 'Contoso01SFCluster' -ReliabilityLevel None -ResourceGroupName 'Group1'
```

## PARAMETERS

### -AutoAddNode
Expand Down

0 comments on commit 496fe86

Please sign in to comment.