Skip to main content

extended_zones

Creates, updates, deletes, gets or lists an extended_zones resource.

Overview

Nameextended_zones
TypeResource
Idazure.edge_zones.extended_zones

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
displayNamestringDisplay name of the Azure Extended Zone. Required.
geographystringGeography of the Azure Extended Zone. Required.
geographyGroupstringThe Geography Group of the Azure Extended Zone. Required.
homeLocationstringThe Home Location of the Azure Extended Zone. Required.
latitudestringThe Latitude of the Azure Extended Zone. Required.
longitudestringThe Longitude of the Azure Extended Zone. Required.
provisioningStatestringStatus of the last operation performed by the subscription on the Edge Zone resource. Known values are: "Succeeded", "Failed", "Canceled", "Provisioning", "Updating", "Deleting", and "Accepted". (Succeeded, Failed, Canceled, Provisioning, Updating, Deleting, Accepted)
regionCategorystringCategory of region for the Azure Extended Zone. Required.
regionTypestringType of region for the Azure Extended Zone. Required.
regionalDisplayNamestringRegional display name of the Azure Extended Zone. Required.
registrationStatestringIndicates the Azure Extended Zone registration’s approval status. Known values are: "NotRegistered", "PendingRegister", "Registered", and "PendingUnregister". (NotRegistered, PendingRegister, Registered, PendingUnregister)
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectextended_zone_name, subscription_idGets an Azure Extended Zone for a subscription.
list_by_subscriptionselectsubscription_idLists the Azure Extended Zones available to a subscription.
registerexecextended_zone_name, subscription_idRegisters a subscription for an Extended Zone.
unregisterexecextended_zone_name, subscription_idUnregisters a subscription for an Extended Zone.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
extended_zone_namestringThe name of the ExtendedZone. Required.
subscription_idstring

SELECT examples

Gets an Azure Extended Zone for a subscription.

SELECT
id,
name,
displayName,
geography,
geographyGroup,
homeLocation,
latitude,
longitude,
provisioningState,
regionCategory,
regionType,
regionalDisplayName,
registrationState,
systemData,
type
FROM azure.edge_zones.extended_zones
WHERE extended_zone_name = '{{ extended_zone_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

Lifecycle Methods

Registers a subscription for an Extended Zone.

EXEC azure.edge_zones.extended_zones.register 
@extended_zone_name='{{ extended_zone_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;