Get-AzInterconnectGroupSubgroup

相互接続グループのサブグループを取得します。

構文

GetByNameParameterSet (既定)

Get-AzInterconnectGroupSubgroup
    -ResourceGroupName <String>
    -InterconnectGroupName <String>
    [-Name <String>]
    [-DefaultProfile <IAzureContextContainer>]
    [<CommonParameters>]

GetByResourceIdParameterSet

Get-AzInterconnectGroupSubgroup
    -ResourceId <String>
    [-DefaultProfile <IAzureContextContainer>]
    [<CommonParameters>]

説明

Get-AzInterconnectGroupSubgroup コマンドレットは、相互接続グループの 1 つ以上のサブグループを取得します。 サブグループは、プラットフォームによって作成および管理される読み取り専用の子リソースです。 名前が指定されていない場合は、相互接続グループのすべてのサブグループが返されます。

例

例 1: 相互接続グループのすべてのサブグループを一覧表示する

Get-AzInterconnectGroupSubgroup -ResourceGroupName "ResourceGroup01" -InterconnectGroupName "InterconnectGroup01"

このコマンドは、InterconnectGroup01 という名前の相互接続グループのすべてのサブグループを一覧表示します。

例 2: サブグループを名前で取得する

Get-AzInterconnectGroupSubgroup -ResourceGroupName "ResourceGroup01" -InterconnectGroupName "InterconnectGroup01" -Name "Subgroup01"

このコマンドは、InterconnectGroup01 という名前の相互接続グループのサブグループ 01 という名前のサブグループを取得します。

例 3: リソース ID でサブグループを取得する

Get-AzInterconnectGroupSubgroup -ResourceId "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ResourceGroup01/providers/Microsoft.Network/interconnectGroups/InterconnectGroup01/subgroups/Subgroup01"

このコマンドは、指定されたリソース ID で識別されるサブグループを取得します。

パラメーター

-DefaultProfile

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

パラメーターのプロパティ

型:IAzureContextContainer
規定値:None
ワイルドカードのサポート:False
DontShow:False
エイリアス:AzContext, AzureRmContext, AzureCredential

パラメーター セット

(All)
配置:Named
必須:False
パイプラインからの値:False
プロパティ名別のパイプラインからの値:False
残りの引数からの値:False

-InterconnectGroupName

相互接続グループの名前。

パラメーターのプロパティ

型:String
規定値:None
ワイルドカードのサポート:False
DontShow:False

パラメーター セット

GetByNameParameterSet
配置:Named
必須:True
パイプラインからの値:False
プロパティ名別のパイプラインからの値:True
残りの引数からの値:False

-Name

サブグループの名前。

パラメーターのプロパティ

型:String
規定値:None
ワイルドカードのサポート:True
DontShow:False
エイリアス:ResourceName, サブグループ名

パラメーター セット

GetByNameParameterSet
配置:Named
必須:False
パイプラインからの値:False
プロパティ名別のパイプラインからの値:True
残りの引数からの値:False

-ResourceGroupName

相互接続グループのリソース グループ名。

パラメーターのプロパティ

型:String
規定値:None
ワイルドカードのサポート:False
DontShow:False

パラメーター セット

GetByNameParameterSet
配置:Named
必須:True
パイプラインからの値:False
プロパティ名別のパイプラインからの値:True
残りの引数からの値:False

-ResourceId

サブグループのリソース ID。

パラメーターのプロパティ

型:String
規定値:None
ワイルドカードのサポート:False
DontShow:False
エイリアス:サブグループ Id

パラメーター セット

GetByResourceIdParameterSet
配置:Named
必須:True
パイプラインからの値:False
プロパティ名別のパイプラインからの値:True
残りの引数からの値:False

CommonParameters

このコマンドレットは、共通パラメーター -Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction、-WarningVariable をサポートします。 詳細については、about_CommonParametersを参照してください。

入力

String

出力

PSSubgroup