external_networks
Creates, updates, deletes, gets or lists a external_networks
resource.
Overview
Name | external_networks |
Type | Resource |
Id | azure.managed_network_fabric.external_networks |
Fields
- vw_external_networks
- external_networks
Name | Datatype | Description |
---|---|---|
administrative_state | text | field from the properties object |
annotation | text | field from the properties object |
configuration_state | text | field from the properties object |
export_route_policy | text | field from the properties object |
export_route_policy_id | text | field from the properties object |
externalNetworkName | text | field from the properties object |
import_route_policy | text | field from the properties object |
import_route_policy_id | text | field from the properties object |
l3IsolationDomainName | text | field from the properties object |
network_to_network_interconnect_id | text | field from the properties object |
option_a_properties | text | field from the properties object |
option_b_properties | text | field from the properties object |
peering_option | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | External Network Properties. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | externalNetworkName, l3IsolationDomainName, resourceGroupName, subscriptionId | Implements ExternalNetworks GET method. |
list_by_l3_isolation_domain | SELECT | l3IsolationDomainName, resourceGroupName, subscriptionId | Implements External Networks list by resource group GET method. |
create | INSERT | externalNetworkName, l3IsolationDomainName, resourceGroupName, subscriptionId, data__properties | Creates ExternalNetwork PUT method. |
delete | DELETE | externalNetworkName, l3IsolationDomainName, resourceGroupName, subscriptionId | Implements ExternalNetworks DELETE method. |
update | UPDATE | externalNetworkName, l3IsolationDomainName, resourceGroupName, subscriptionId | API to update certain properties of the ExternalNetworks resource. |
SELECT
examples
Implements External Networks list by resource group GET method.
- vw_external_networks
- external_networks
SELECT
administrative_state,
annotation,
configuration_state,
export_route_policy,
export_route_policy_id,
externalNetworkName,
import_route_policy,
import_route_policy_id,
l3IsolationDomainName,
network_to_network_interconnect_id,
option_a_properties,
option_b_properties,
peering_option,
provisioning_state,
resourceGroupName,
subscriptionId
FROM azure.managed_network_fabric.vw_external_networks
WHERE l3IsolationDomainName = '{{ l3IsolationDomainName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
properties
FROM azure.managed_network_fabric.external_networks
WHERE l3IsolationDomainName = '{{ l3IsolationDomainName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new external_networks
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.managed_network_fabric.external_networks (
externalNetworkName,
l3IsolationDomainName,
resourceGroupName,
subscriptionId,
data__properties,
properties
)
SELECT
'{{ externalNetworkName }}',
'{{ l3IsolationDomainName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: annotation
value: string
- name: networkToNetworkInterconnectId
value: []
- name: importRoutePolicyId
value: []
- name: importRoutePolicy
value: []
- name: exportRoutePolicy
value: []
- name: peeringOption
value: []
- name: optionBProperties
value:
- name: importRouteTargets
value:
- string
- name: exportRouteTargets
value:
- string
- name: routeTargets
value:
- name: importIpv4RouteTargets
value:
- string
- name: importIpv6RouteTargets
value:
- string
- name: exportIpv4RouteTargets
value:
- string
- name: exportIpv6RouteTargets
value:
- string
- name: optionAProperties
value: object
- name: configurationState
value: []
- name: provisioningState
value: []
- name: administrativeState
value: []
UPDATE
example
Updates a external_networks
resource.
/*+ update */
UPDATE azure.managed_network_fabric.external_networks
SET
properties = '{{ properties }}'
WHERE
externalNetworkName = '{{ externalNetworkName }}'
AND l3IsolationDomainName = '{{ l3IsolationDomainName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
DELETE
example
Deletes the specified external_networks
resource.
/*+ delete */
DELETE FROM azure.managed_network_fabric.external_networks
WHERE externalNetworkName = '{{ externalNetworkName }}'
AND l3IsolationDomainName = '{{ l3IsolationDomainName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';