express_route_cross_connections
Creates, updates, deletes, gets or lists a express_route_cross_connections
resource.
Overview
Name | express_route_cross_connections |
Type | Resource |
Id | azure.network.express_route_cross_connections |
Fields
- vw_express_route_cross_connections
- express_route_cross_connections
Name | Datatype | Description |
---|---|---|
id | text | Resource ID. |
name | text | Resource name. |
bandwidth_in_mbps | 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. |
express_route_circuit | text | field from the properties object |
location | text | Resource location. |
peering_location | text | field from the properties object |
peerings | text | field from the properties object |
primary_azure_port | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
s_tag | text | field from the properties object |
secondary_azure_port | text | field from the properties object |
service_provider_notes | text | field from the properties object |
service_provider_provisioning_state | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Resource tags. |
type | text | Resource type. |
Name | Datatype | Description |
---|---|---|
id | string | Resource ID. |
name | string | Resource name. |
etag | string | A unique read-only string that changes whenever the resource is updated. |
location | string | Resource location. |
properties | object | Properties of ExpressRouteCrossConnection. |
tags | object | Resource tags. |
type | string | Resource type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | crossConnectionName, resourceGroupName, subscriptionId | Gets details about the specified ExpressRouteCrossConnection. |
list | SELECT | subscriptionId | Retrieves all the ExpressRouteCrossConnections in a subscription. |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | Retrieves all the ExpressRouteCrossConnections in a resource group. |
create_or_update | INSERT | crossConnectionName, resourceGroupName, subscriptionId | Update the specified ExpressRouteCrossConnection. |
update_tags | EXEC | crossConnectionName, resourceGroupName, subscriptionId | Updates an express route cross connection tags. |
SELECT
examples
Retrieves all the ExpressRouteCrossConnections in a subscription.
- vw_express_route_cross_connections
- express_route_cross_connections
SELECT
id,
name,
bandwidth_in_mbps,
crossConnectionName,
etag,
express_route_circuit,
location,
peering_location,
peerings,
primary_azure_port,
provisioning_state,
resourceGroupName,
s_tag,
secondary_azure_port,
service_provider_notes,
service_provider_provisioning_state,
subscriptionId,
tags,
type
FROM azure.network.vw_express_route_cross_connections
WHERE subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
etag,
location,
properties,
tags,
type
FROM azure.network.express_route_cross_connections
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new express_route_cross_connections
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.network.express_route_cross_connections (
crossConnectionName,
resourceGroupName,
subscriptionId,
properties,
id,
location,
tags
)
SELECT
'{{ crossConnectionName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ id }}',
'{{ location }}',
'{{ tags }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: primaryAzurePort
value: string
- name: secondaryAzurePort
value: string
- name: sTag
value: integer
- name: peeringLocation
value: string
- name: bandwidthInMbps
value: integer
- name: expressRouteCircuit
value:
- name: id
value: string
- name: serviceProviderProvisioningState
value: []
- name: serviceProviderNotes
value: string
- name: provisioningState
value: []
- name: peerings
value:
- - 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: 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
- name: etag
value: string
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: location
value: string
- name: tags
value: object