次の方法で共有


Get-AzServiceFabricManagedClusterApplicationTypeVersion

Service Fabric マネージド アプリケーションの種類のバージョンの詳細を取得します。 ARM でデプロイされたアプリケーションの種類のバージョンのみがサポートされます。

構文

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

説明

このコマンドレットを使用して、指定したリソース グループとクラスター内のマネージド アプリケーションの種類のバージョンの詳細を取得します。

例 1

$resourceGroupName = "testRG"
$clusterName = "testCluster"
$appTypeName = "testAppType"
$appTypeVersion = "v1"
Get-AzServiceFabricManagedClusterApplicationTypeVersion -ResourceGroupName $resourceGroupName -ClusterName $clusterName -Name $appTypeName -Version $appTypeVersion

この例では、マネージド アプリケーションの種類 "testAppType" とバージョン "v1" を取得します。リソースが見つからない場合は、例外がスローされます。

例 2

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

この例では、指定したクラスターと種類で定義されているマネージド アプリケーションの種類のバージョンの一覧を取得します。

例 3

$resourceId = "/subscriptions/13ad2c84-84fa-4798-ad71-e70c07af873f/resourcegroups/testRG/providers/Microsoft.ServiceFabric/managedClusters/testCluster/applicationTypes/testAppType/versions/v1"
Get-AzServiceFabricManagedClusterApplicationTypeVersion -ResourceId $resourceId

この例では、指定された ARM リソース ID を使用してマネージド アプリケーションの種類のバージョンの詳細を取得します。リソースが見つからない場合は、例外がスローされます。

パラメーター

-ClusterName

クラスターの名前を指定します。

型:String
配置:1
規定値:None
必須:True
パイプライン入力を受け取る:True
ワイルドカード文字を受け取る:False

-DefaultProfile

Azure との通信に使用される資格情報、アカウント、テナント、サブスクリプション。

型:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
配置:Named
規定値:None
必須:False
パイプライン入力を受け取る:False
ワイルドカード文字を受け取る:False

-Name

マネージド アプリケーションの種類の名前を指定します。

型:String
Aliases:ApplicationTypeName
配置:2
規定値:None
必須:True
パイプライン入力を受け取る:True
ワイルドカード文字を受け取る:False

-ResourceGroupName

リソース グループの名前を指定します。

型:String
配置:0
規定値:None
必須:True
パイプライン入力を受け取る:True
ワイルドカード文字を受け取る:False

-ResourceId

マネージド アプリケーションの種類のバージョンの Arm ResourceId。

型:String
配置:Named
規定値:None
必須:True
パイプライン入力を受け取る:True
ワイルドカード文字を受け取る:False

-Version

マネージド アプリケーションの種類のバージョンを指定します。

型:String
Aliases:ApplicationTypeVersion
配置:3
規定値:None
必須:True
パイプライン入力を受け取る:True
ワイルドカード文字を受け取る:False

入力

出力