共用方式為


Get-AzNetAppFilesNetworkSiblingSet

取得網路同層級集的詳細數據

語法

Get-AzNetAppFilesNetworkSiblingSet
   -Location <String>
   -SubnetId <String>
   -NetworkSiblingSetId <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

取得指定網路同層級集的詳細數據。

範例

範例 1

$retrievedVolume = Get-AzNetAppFilesVolume -ResourceGroupName "MyRG" -AccountName "MyAnfAccount" -PoolName "MyAnfPool" -Name "MyAnfVolume"
Get-AzNetAppFilesNetworkSiblingSet -Location "westus" -NetworkSiblingSetId "$retrievedVolume.NetworkSiblingSetId" -SubnetId "mysubnet"

此範例會取得磁碟區,然後使用該磁碟區 NetworkSiblingSetId 屬性來取得該網路同層級取得的詳細數據。

參數

-DefaultProfile

用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。

類型:IAzureContextContainer
別名:AzContext, AzureRmContext, AzureCredential
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-Location

資源的位置

類型:String
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-NetworkSiblingSetId

網路同層級設定子網中共用網路資源的磁碟區群組標識碼。

類型:String
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-SubnetId

委派子網的 Azure 資源 URI。 必須具有委派Microsoft.NetApp/volumes。 範例 /subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.Network/virtualNetworks/testVnet/subnets/{mySubnet}

類型:String
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

輸入

None

輸出