express_route_cross_connection_peerings
Creates, updates, deletes, gets or lists a express_route_cross_connection_peerings
resource.
Overview
Name | express_route_cross_connection_peerings |
Type | Resource |
Id | azure.network.express_route_cross_connection_peerings |
Fields
- vw_express_route_cross_connection_peerings
- express_route_cross_connection_peerings
Name | Datatype | Description |
---|---|---|
id | text | Resource ID. |
name | text | The name of the resource that is unique within a resource group. This name can be used to access the resource. |
azure_asn | text | field from the properties object |
crossConnectionName | text | field from the properties object |
etag | text | A unique read-only string that changes whenever the resource is updated. |
gateway_manager_etag | text | field from the properties object |
ipv6_peering_config | text | field from the properties object |
last_modified_by | text | field from the properties object |
microsoft_peering_config | text | field from the properties object |
peer_asn | text | field from the properties object |
peeringName | text | field from the properties object |
peering_type | text | field from the properties object |
primary_azure_port | text | field from the properties object |
primary_peer_address_prefix | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
secondary_azure_port | text | field from the properties object |
secondary_peer_address_prefix | text | field from the properties object |
shared_key | text | field from the properties object |
state | text | field from the properties object |
subscriptionId | text | field from the properties object |
vlan_id | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
id | string | Resource ID. |
name | string | The name of the resource that is unique within a resource group. This name can be used to access the resource. |
etag | string | A unique read-only string that changes whenever the resource is updated. |
properties | object | Properties of express route cross connection peering. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | crossConnectionName, peeringName, resourceGroupName, subscriptionId | Gets the specified peering for the ExpressRouteCrossConnection. |
list | SELECT | crossConnectionName, resourceGroupName, subscriptionId | Gets all peerings in a specified ExpressRouteCrossConnection. |
create_or_update | INSERT | crossConnectionName, peeringName, resourceGroupName, subscriptionId | Creates or updates a peering in the specified ExpressRouteCrossConnection. |
delete | DELETE | crossConnectionName, peeringName, resourceGroupName, subscriptionId | Deletes the specified peering from the ExpressRouteCrossConnection. |
SELECT
examples
Gets all peerings in a specified ExpressRouteCrossConnection.
- vw_express_route_cross_connection_peerings
- express_route_cross_connection_peerings
SELECT
id,
name,
azure_asn,
crossConnectionName,
etag,
gateway_manager_etag,
ipv6_peering_config,
last_modified_by,
microsoft_peering_config,
peer_asn,
peeringName,
peering_type,
primary_azure_port,
primary_peer_address_prefix,
provisioning_state,
resourceGroupName,
secondary_azure_port,
secondary_peer_address_prefix,
shared_key,
state,
subscriptionId,
vlan_id
FROM azure.network.vw_express_route_cross_connection_peerings
WHERE crossConnectionName = '{{ crossConnectionName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
etag,
properties
FROM azure.network.express_route_cross_connection_peerings
WHERE crossConnectionName = '{{ crossConnectionName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new express_route_cross_connection_peerings
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.network.express_route_cross_connection_peerings (
crossConnectionName,
peeringName,
resourceGroupName,
subscriptionId,
properties,
name,
id
)
SELECT
'{{ crossConnectionName }}',
'{{ peeringName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ name }}',
'{{ id }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: peeringType
value: []
- name: state
value: []
- name: azureASN
value: integer
- name: peerASN
value: integer
- name: primaryPeerAddressPrefix
value: string
- name: secondaryPeerAddressPrefix
value: string
- name: primaryAzurePort
value: string
- name: secondaryAzurePort
value: string
- name: sharedKey
value: string
- name: vlanId
value: integer
- name: microsoftPeeringConfig
value:
- name: advertisedPublicPrefixes
value:
- string
- name: advertisedCommunities
value:
- string
- name: advertisedPublicPrefixesState
value: string
- name: legacyMode
value: integer
- name: customerASN
value: integer
- name: routingRegistryName
value: string
- name: provisioningState
value: []
- name: gatewayManagerEtag
value: string
- name: lastModifiedBy
value: string
- name: ipv6PeeringConfig
value:
- name: primaryPeerAddressPrefix
value: string
- name: secondaryPeerAddressPrefix
value: string
- name: routeFilter
value:
- name: id
value: string
- name: state
value: string
- name: name
value: string
- name: etag
value: string
- name: id
value: string
DELETE
example
Deletes the specified express_route_cross_connection_peerings
resource.
/*+ delete */
DELETE FROM azure.network.express_route_cross_connection_peerings
WHERE crossConnectionName = '{{ crossConnectionName }}'
AND peeringName = '{{ peeringName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';