ManagedVirtualNetworksOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

DataFactoryManagementClient's

<xref:managed_virtual_networks> attribute.

Inheritance
builtins.object
ManagedVirtualNetworksOperations

Constructor

ManagedVirtualNetworksOperations(*args, **kwargs)

Methods

create_or_update

Creates or updates a managed Virtual Network.

get

Gets a managed Virtual Network.

list_by_factory

Lists managed Virtual Networks.

create_or_update

Creates or updates a managed Virtual Network.

async create_or_update(resource_group_name: str, factory_name: str, managed_virtual_network_name: str, managed_virtual_network: azure.mgmt.datafactory.models._models_py3.ManagedVirtualNetworkResource, if_match: Optional[str] = None, **kwargs: Any) -> azure.mgmt.datafactory.models._models_py3.ManagedVirtualNetworkResource

Parameters

resource_group_name
str
Required

The resource group name.

factory_name
str
Required

The factory name.

managed_virtual_network_name
str
Required

Managed virtual network name.

managed_virtual_network
ManagedVirtualNetworkResource
Required

Managed Virtual Network resource definition.

if_match
str
Required

ETag 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. Default value is None.

cls
callable

A custom type or function that will be passed the direct response

Returns

ManagedVirtualNetworkResource, or the result of cls(response)

Return type

Exceptions

get

Gets a managed Virtual Network.

async get(resource_group_name: str, factory_name: str, managed_virtual_network_name: str, if_none_match: Optional[str] = None, **kwargs: Any) -> azure.mgmt.datafactory.models._models_py3.ManagedVirtualNetworkResource

Parameters

resource_group_name
str
Required

The resource group name.

factory_name
str
Required

The factory name.

managed_virtual_network_name
str
Required

Managed virtual network name.

if_none_match
str
Required

ETag 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. Default value is None.

cls
callable

A custom type or function that will be passed the direct response

Returns

ManagedVirtualNetworkResource, or the result of cls(response)

Return type

Exceptions

list_by_factory

Lists managed Virtual Networks.

list_by_factory(resource_group_name: str, factory_name: str, **kwargs: Any) -> AsyncIterable[azure.mgmt.datafactory.models._models_py3.ManagedVirtualNetworkListResponse]

Parameters

resource_group_name
str
Required

The resource group name.

factory_name
str
Required

The factory name.

cls
callable

A custom type or function that will be passed the direct response

Returns

An iterator like instance of either ManagedVirtualNetworkListResponse or the result of cls(response)

Return type

Exceptions

Attributes

models

models = <module 'azure.mgmt.datafactory.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\datafactory\\models\\__init__.py'>