Get-AzServiceFabricManagedCluster
Get the managed cluster resource details.
Syntax
Get-AzServiceFabricManagedCluster
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzServiceFabricManagedCluster
[-ResourceGroupName] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzServiceFabricManagedCluster
[-ResourceGroupName] <String>
[-Name] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Get the managed cluster resource details.
Examples
Example 1
$rgName = "testRG"
$clusterName = "testCluster"
Get-AzServiceFabricManagedCluster -ResourceGroupName $rgName -Name $clusterName
Get cluster details.
Example 2
$rgName = "testRG"
Get-AzServiceFabricManagedCluster -ResourceGroupName $rgName
Get list of clusters under the specified resource group.
Example 3
Get-AzServiceFabricManagedCluster
Get list of clusters under the current subscription.
Parameters
-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 |
-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 |