Modifier

Partager via


Get-AzServiceFabricManagedClusterApplicationType

Get Service Fabric managed application type details. Only supports ARM deployed application types.

Syntax

Get-AzServiceFabricManagedClusterApplicationType
   [-ResourceGroupName] <String>
   [-ClusterName] <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzServiceFabricManagedClusterApplicationType
   [-ResourceGroupName] <String>
   [-ClusterName] <String>
   [-Name] <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzServiceFabricManagedClusterApplicationType
   -ResourceId <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

Use this cmdlet to get the managed application type details in the specified resource group and cluster.

Examples

Example 1

$resourceGroupName = "testRG"
$clusterName = "testCluster"
$appTypeName = "testAppType"
Get-AzServiceFabricManagedClusterApplicationType -ResourceGroupName $resourceGroupName -ClusterName $clusterName -Name $appTypeName

This example will get the managed application type details with the parameters specified, if it doesn't find the resource it will throw an exception.

Example 2

$resourceGroupName = "testRG"
$clusterName = "testCluster"
Get-AzServiceFabricManagedClusterApplicationType -ResourceGroupName $resourceGroupName -ClusterName $clusterName

This example will get a list of the managed application types defined under the specified cluster.

Example 3

$resourceId = "/subscriptions/a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/resourcegroups/testRG/providers/Microsoft.ServiceFabric/managedClusters/testCluster/applicationTypes/testAppType"
Get-AzServiceFabricManagedClusterApplicationType -ResourceId $resourceId

This example will get the managed application type details with the ARM Resource ID specified, if it doesn't find the resource it will throw an exception.

Parameters

-ClusterName

Specify the name of the cluster.

Type:String
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-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 managed application type

Type:String
Aliases:ApplicationTypeName
Position:2
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

-ResourceId

Arm ResourceId of the managed application type.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

Inputs

String

Outputs

PSManagedApplicationType