Skip to main content

managed_virtual_networks

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

Overview

Namemanaged_virtual_networks
TypeResource
Idazure.data_factory.managed_virtual_networks

Fields

NameDatatypeDescription
idtextThe resource identifier.
nametextThe resource name.
aliastextfield from the properties object
etagtextEtag identifies change in the resource.
factoryNametextfield from the properties object
managedVirtualNetworkNametextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
typetextThe resource type.
vnet_idtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTfactoryName, managedVirtualNetworkName, resourceGroupName, subscriptionIdGets a managed Virtual Network.
list_by_factorySELECTfactoryName, resourceGroupName, subscriptionIdLists managed Virtual Networks.
create_or_updateINSERTfactoryName, managedVirtualNetworkName, resourceGroupName, subscriptionId, data__propertiesCreates or updates a managed Virtual Network.

SELECT examples

Lists managed Virtual Networks.

SELECT
id,
name,
alias,
etag,
factoryName,
managedVirtualNetworkName,
resourceGroupName,
subscriptionId,
type,
vnet_id
FROM azure.data_factory.vw_managed_virtual_networks
WHERE factoryName = '{{ factoryName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.data_factory.managed_virtual_networks (
factoryName,
managedVirtualNetworkName,
resourceGroupName,
subscriptionId,
data__properties,
properties
)
SELECT
'{{ factoryName }}',
'{{ managedVirtualNetworkName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}'
;