Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
Register-AzEdgeZonesExtendedZone
- Preview
- Module:
- Az.EdgeZones Module
This cmdlet is part of a Preview module. Preview versions aren't recommended for use in production environments. For more information, see https://aka.ms/azps-refstatus.
Registers a subscription for an Extended Zone
Syntax
Register (Default)
Register-AzEdgeZonesExtendedZone
-Name <String>
[-SubscriptionId <String>]
[-DefaultProfile <PSObject>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
RegisterViaIdentity
Register-AzEdgeZonesExtendedZone
-InputObject <IEdgeZonesIdentity>
[-DefaultProfile <PSObject>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Registers a subscription for an Extended Zone
Examples
Example 1: Register subscription for an Azure Extended Zone
Register-AzEdgeZonesExtendedZone -Name losangeles
DisplayName : Los Angeles
Geography : usa
GeographyGroup : US
HomeLocation : westus
Id : /subscriptions/2027ff61-4414-4aa3-bd20-170c46f69b19/providers/Microsoft.EdgeZones/extendedZones/losangeles
Latitude : 34.058414
Longitude : -118.23537
Name : losangeles
ProvisioningState : Succeeded
RegionCategory : Other
RegionType : Physical
RegionalDisplayName : (US) Los Angeles
RegistrationState : PendingRegister
ResourceGroupName :
SystemDataCreatedAt :
SystemDataCreatedBy :
SystemDataCreatedByType :
SystemDataLastModifiedAt :
SystemDataLastModifiedBy :
SystemDataLastModifiedByType :
Type : Microsoft.EdgeZones/extendedZones
This command register subscription for an Azure Extended Zone
Parameters
-Confirm
Prompts you for confirmation before running the cmdlet.
Parameter properties
| Type: | SwitchParameter |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
| Aliases: | cf |
Parameter sets
-DefaultProfile
The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
Parameter properties
| Type: | PSObject |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
| Aliases: | AzureRMContext, AzureCredential |
Parameter sets
-InputObject
Identity Parameter
Parameter properties
| Type: | IEdgeZonesIdentity |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
-Name
The name of the ExtendedZone
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
| Aliases: | ExtendedZoneName |
Parameter sets
-SubscriptionId
The ID of the target subscription. The value must be an UUID.
Parameter properties
| Type: | String |
| Default value: | (Get-AzContext).Subscription.Id |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Parameter properties
| Type: | SwitchParameter |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
| Aliases: | wi |
Parameter sets
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Inputs
IEdgeZonesIdentity
Outputs
IExtendedZone
Azure PowerShell
Feedback
Was this page helpful?
