你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Get-AzImportExportLocation
Returns the details about a location to which you can ship the disks associated with an import or export job. A location is an Azure region.
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
Returns the details about a location to which you can ship the disks associated with an import or export job. A location is an Azure region.
Examples
Example 1: Get all Azure region location details with default context
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
This cmdlet gets all Azure region location details with default context.
Example 2: Get Azure region location details by location name
Get-AzImportExportLocation -Name eastus
Name Type
---- ----
East US Microsoft.ImportExport/locations
This cmdlet gets Azure region location details by location name.
Example 3: Get Azure region location details by identity
$Id = "/providers/Microsoft.ImportExport/locations/eastus"
Get-AzImportExportLocation -InputObject $Id
Name Type
---- ----
East US Microsoft.ImportExport/locations
This cmdlet lists gets Azure region location details by identity.
Parameters
-AcceptLanguage
Specifies the preferred language for the response.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DefaultProfile
The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
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
The name of the location. For example, West US or westus.
Type: | String |
Aliases: | LocationName |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |