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

The following fields are returned by SELECT queries:

OK.

NameDatatypeDescription
idstringThe resource identifier.
namestringThe resource name.
etagstringEtag identifies change in the resource.
propertiesobjectManaged Virtual Network properties.
typestringThe resource type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, factoryName, managedVirtualNetworkNameapi-version, If-None-MatchGets a managed Virtual Network.
list_by_factoryselectsubscriptionId, resourceGroupName, factoryNameapi-versionLists managed Virtual Networks.
create_or_updateinsertsubscriptionId, resourceGroupName, factoryName, managedVirtualNetworkName, data__propertiesapi-version, If-MatchCreates or updates a managed Virtual Network.

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
factoryNamestringThe factory name.
managedVirtualNetworkNamestringManaged virtual network name
resourceGroupNamestringThe resource group name.
subscriptionIdstringThe subscription identifier.
If-MatchstringETag of the managed Virtual Network entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update.
If-None-MatchstringETag of the managed Virtual Network entity. Should only be specified for get. If the ETag matches the existing entity tag, or if * was provided, then no content will be returned.
api-versionstringThe API version.

SELECT examples

Gets a managed Virtual Network.

SELECT
id,
name,
etag,
properties,
type
FROM azure.data_factory.managed_virtual_networks
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND factoryName = '{{ factoryName }}' -- required
AND managedVirtualNetworkName = '{{ managedVirtualNetworkName }}' -- required
AND api-version = '{{ api-version }}'
AND If-None-Match = '{{ If-None-Match }}'
;

INSERT examples

Creates or updates a managed Virtual Network.

INSERT INTO azure.data_factory.managed_virtual_networks (
data__properties,
subscriptionId,
resourceGroupName,
factoryName,
managedVirtualNetworkName,
api-version,
If-Match
)
SELECT
'{{ properties }}' /* required */,
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ factoryName }}',
'{{ managedVirtualNetworkName }}',
'{{ api-version }}',
'{{ If-Match }}'
RETURNING
id,
name,
etag,
properties,
type
;