Skip to main content

external_networks

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

Overview

Nameexternal_networks
TypeResource
Idazure.managed_network_fabric.external_networks

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
propertiesobjectResource properties.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, l3IsolationDomainName, externalNetworkNameImplements ExternalNetworks GET method.
list_by_l3_isolation_domainselectsubscriptionId, resourceGroupName, l3IsolationDomainNameImplements External Networks list by resource group GET method.
createinsertsubscriptionId, resourceGroupName, l3IsolationDomainName, externalNetworkName, data__propertiesCreates ExternalNetwork PUT method.
updateupdatesubscriptionId, resourceGroupName, l3IsolationDomainName, externalNetworkNameAPI to update certain properties of the ExternalNetworks resource.
deletedeletesubscriptionId, resourceGroupName, l3IsolationDomainName, externalNetworkNameImplements ExternalNetworks DELETE method.

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
externalNetworkNamestringName of the External Network.
l3IsolationDomainNamestringName of the L3 Isolation Domain.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Implements ExternalNetworks GET method.

SELECT
properties
FROM azure.managed_network_fabric.external_networks
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND l3IsolationDomainName = '{{ l3IsolationDomainName }}' -- required
AND externalNetworkName = '{{ externalNetworkName }}' -- required
;

INSERT examples

Creates ExternalNetwork PUT method.

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

UPDATE examples

API to update certain properties of the ExternalNetworks resource.

UPDATE azure.managed_network_fabric.external_networks
SET
data__properties = '{{ properties }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND l3IsolationDomainName = '{{ l3IsolationDomainName }}' --required
AND externalNetworkName = '{{ externalNetworkName }}' --required
RETURNING
properties;

DELETE examples

Implements ExternalNetworks DELETE method.

DELETE FROM azure.managed_network_fabric.external_networks
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND l3IsolationDomainName = '{{ l3IsolationDomainName }}' --required
AND externalNetworkName = '{{ externalNetworkName }}' --required
;