Azure clients to create and manage ManagedClusters and NodeTypes from the command line.
The updated module with support for managed clusters will be released on 9/22/2020 S175. This is a provisional way of loading Az.ServiceFabric with managed clusters cmdlets before the official release is available.
-
Open a powershell window, download LoadModules.ps1 and run
New-Item -ItemType Directory sfmcClients cd sfmcClients Invoke-WebRequest -Uri "https://github.com/a-santamaria/ServiceFabricManagedClustersClients/blob/master/AzPowershellClient/LoadModules.ps1?raw=true" -OutFile LoadModules.ps1 .\LoadModules.ps1
LoadModules will download AzPackages.zip to the current folder, then it will extract it and load the modules
-
Close any powershell session that has loaded the moduels and open a new one, go to sfmcClients folder and run LoadModules.ps1 with -DownloadLatest
cd sfmcClients .\LoadModules.ps1 -DownloadLatest
• CRUD Managed Cluster
Command | Help Document |
---|---|
Create | New-AzServiceFabricManagedCluster.md |
Get | Get-AzServiceFabricManagedCluster.md |
Update | Set-AzServiceFabricManagedCluster.md |
Delete | Remove-AzServiceFabricManagedCluster.md |
• Managed Cluster Actions
Command | Help Document |
---|---|
Add Client Cert | Add-AzServiceFabricManagedClusterClientCertificate.md |
Remove Client Cert | Remove-AzServiceFabricManagedClusterClientCertificate.md |
• CRUD Managed Node type
Command | Help Document |
---|---|
Create | New-AzServiceFabricManagedNodeType.md |
Get | Get-AzServiceFabricManagedNodeType.md |
Update | Set-AzServiceFabricManagedNodeType.md |
Delete | Remove-AzServiceFabricManagedNodeType.md |
• Managed Node type Actions
Command | Help Document |
---|---|
Restart nodes | Restart-AzServiceFabricManagedNodeType.md |
Reimage nodes | Set-AzServiceFabricManagedNodeType.md -Reimage |
Delete nodes | Remove-AzServiceFabricManagedNodeType.md -NodeName |
Add Vm Cert Secret | Add-AzServiceFabricManagedNodeTypeVMSecret.md |
Add Vm Extension | Add-AzServiceFabricManagedNodeTypeVMExtension.md |
Delete Vm Extension | Remove-AzServiceFabricManagedNodeTypeVMExtension.md |
Coming soon. The updated module with support for managed clusters will be release on 09/22/2020.