Get-AzNetAppFilesAccount
取得 Azure NetApp Files (ANF) 帳戶的詳細數據。
語法
Get-AzNetAppFilesAccount
-ResourceGroupName <String>
[-Name <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzNetAppFilesAccount
-ResourceId <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Get-AzNetAppFilesAccount Cmdlet 會取得 ANF 帳戶的詳細數據。
範例
範例 1:取得 ANF 帳戶
Get-AzNetAppFilesAccount -ResourceGroupName "MyRG" -Name "MyAnfAccount"
Location : westus2
Id : /subscriptions/mySubs/resourceGroups/MyRG/providers/Microsoft.NetApp/netAppAccounts/MyAnfAccount
Name : MyAnfAccount
Type : Microsoft.NetApp/netAppAccounts
Tags :
ProvisioningState : Succeeded
此命令會取得名為 MyAnfAccount 的帳戶。
參數
-DefaultProfile
用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。
類型: | IAzureContextContainer |
別名: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-Name
ANF 帳戶的名稱
類型: | String |
別名: | AccountName |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-ResourceGroupName
ANF 帳戶的資源群組
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-ResourceId
ANF 帳戶的資源標識碼
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |