Skip to main content

prefixes

Creates, updates, deletes, gets or lists a prefixes resource.

Overview

Nameprefixes
TypeResource
Idazure.peering.prefixes

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe ID of the resource.
namestringThe name of the resource.
learnedTypestringThe prefix learned type. Known values are: "None", "ViaPartner", and "ViaSession".
prefixstringValid route prefix.
prefixValidationStatestringThe prefix validation state. Known values are: "None", "Invalid", "Verified", "Failed", "Pending", and "Unknown".
provisioningStatestringThe provisioning state of the resource. Known values are: "Succeeded", "Updating", "Deleting", and "Failed".
typestringThe type of the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_by_peering_serviceselectresource_group_name, peering_service_name, subscription_idLists the peerings prefix in the resource group.

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
peering_service_namestringThe peering service name. Required.
resource_group_namestringThe resource group name. Required.
subscription_idstring

SELECT examples

Lists the peerings prefix in the resource group.

SELECT
id,
name,
learnedType,
prefix,
prefixValidationState,
provisioningState,
type
FROM azure.peering.prefixes
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND peering_service_name = '{{ peering_service_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;