Get-AzImportExportLocation
傳回您可以寄送與匯入或匯出作業相關聯之磁碟之位置的詳細數據。 位置是 Azure 區域。
Syntax
Get-AzImportExportLocation
[-AcceptLanguage <String>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzImportExportLocation
-Name <String>
[-AcceptLanguage <String>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzImportExportLocation
-InputObject <IImportExportIdentity>
[-AcceptLanguage <String>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
傳回您可以寄送與匯入或匯出作業相關聯之磁碟之位置的詳細數據。 位置是 Azure 區域。
範例
範例 1:使用預設內容取得所有 Azure 區域位置詳細數據
Get-AzImportExportLocation
Name Type
---- ----
Australia East Microsoft.ImportExport/locations
Australia Southeast Microsoft.ImportExport/locations
Brazil South Microsoft.ImportExport/locations
Canada Central Microsoft.ImportExport/locations
Canada East Microsoft.ImportExport/locations
...
West Central US Microsoft.ImportExport/locations
West Europe Microsoft.ImportExport/locations
West India Microsoft.ImportExport/locations
West US Microsoft.ImportExport/locations
West US 2 Microsoft.ImportExport/locations
此 Cmdlet 會取得具有預設內容的所有 Azure 區域位置詳細數據。
範例 2:依位置名稱取得 Azure 區域位置詳細數據
Get-AzImportExportLocation -Name eastus
Name Type
---- ----
East US Microsoft.ImportExport/locations
此 Cmdlet 會依位置名稱取得 Azure 區域位置詳細數據。
範例 3:依身分識別取得 Azure 區域位置詳細數據
$Id = "/providers/Microsoft.ImportExport/locations/eastus"
Get-AzImportExportLocation -InputObject $Id
Name Type
---- ----
East US Microsoft.ImportExport/locations
此 Cmdlet 會依身分識別取得 Azure 區域位置詳細數據。
參數
-AcceptLanguage
指定回應的慣用語言。
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DefaultProfile
DefaultProfile 參數無法運作。 如果針對不同的訂用帳戶執行 Cmdlet,請使用 SubscriptionId 參數。
Type: | PSObject |
Aliases: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
Type: | IImportExportIdentity |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
位置的名稱。 例如,美國西部或 westus。
Type: | String |
Aliases: | LocationName |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
輸入
輸出
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應