Skip to main content

external_networks

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

Overview

Nameexternal_networks
TypeResource
Idazure.managed_network_fabric.external_networks

Fields

NameDatatypeDescription
administrative_statetextfield from the properties object
annotationtextfield from the properties object
configuration_statetextfield from the properties object
export_route_policytextfield from the properties object
export_route_policy_idtextfield from the properties object
externalNetworkNametextfield from the properties object
import_route_policytextfield from the properties object
import_route_policy_idtextfield from the properties object
l3IsolationDomainNametextfield from the properties object
network_to_network_interconnect_idtextfield from the properties object
option_a_propertiestextfield from the properties object
option_b_propertiestextfield from the properties object
peering_optiontextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTexternalNetworkName, l3IsolationDomainName, resourceGroupName, subscriptionIdImplements ExternalNetworks GET method.
list_by_l3_isolation_domainSELECTl3IsolationDomainName, resourceGroupName, subscriptionIdImplements External Networks list by resource group GET method.
createINSERTexternalNetworkName, l3IsolationDomainName, resourceGroupName, subscriptionId, data__propertiesCreates ExternalNetwork PUT method.
deleteDELETEexternalNetworkName, l3IsolationDomainName, resourceGroupName, subscriptionIdImplements ExternalNetworks DELETE method.
updateUPDATEexternalNetworkName, l3IsolationDomainName, resourceGroupName, subscriptionIdAPI to update certain properties of the ExternalNetworks resource.

SELECT examples

Implements External Networks list by resource group GET method.

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 }}';

INSERT example

Use the following StackQL query and manifest file to create a new external_networks resource.

/*+ create */
INSERT INTO azure.managed_network_fabric.external_networks (
externalNetworkName,
l3IsolationDomainName,
resourceGroupName,
subscriptionId,
data__properties,
properties
)
SELECT
'{{ externalNetworkName }}',
'{{ l3IsolationDomainName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}'
;

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 }}';