VirtualNetworkTapsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:virtual_network_taps> attribute.
Constructor
VirtualNetworkTapsOperations(*args, **kwargs)
Methods
| begin_create_or_update |
Creates or updates a Virtual Network Tap. |
| begin_delete |
Deletes the specified virtual network tap. |
| get |
Gets information about the specified virtual network tap. |
| list_all |
Gets all the VirtualNetworkTaps in a subscription. |
| list_by_resource_group |
Gets all the VirtualNetworkTaps in a subscription. |
| update_tags |
Updates an VirtualNetworkTap tags. |
begin_create_or_update
Creates or updates a Virtual Network Tap.
begin_create_or_update(resource_group_name: str, tap_name: str, parameters: _models.VirtualNetworkTap, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.VirtualNetworkTap]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. Required. |
|
tap_name
Required
|
The name of the virtual network tap. Required. |
|
parameters
Required
|
Parameters supplied to the create or update virtual network tap operation. Is either a VirtualNetworkTap type or a IO[bytes] type. Required. |
Returns
| Type | Description |
|---|---|
|
An instance of LROPoller that returns either VirtualNetworkTap or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
begin_delete
Deletes the specified virtual network tap.
begin_delete(resource_group_name: str, tap_name: str, **kwargs: Any) -> LROPoller[None]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. Required. |
|
tap_name
Required
|
The name of the virtual network tap. Required. |
Returns
| Type | Description |
|---|---|
|
An instance of LROPoller that returns either None or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
get
Gets information about the specified virtual network tap.
get(resource_group_name: str, tap_name: str, **kwargs: Any) -> VirtualNetworkTap
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. Required. |
|
tap_name
Required
|
The name of virtual network tap. Required. |
Returns
| Type | Description |
|---|---|
|
VirtualNetworkTap or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
list_all
Gets all the VirtualNetworkTaps in a subscription.
list_all(**kwargs: Any) -> Iterable[VirtualNetworkTap]
Returns
| Type | Description |
|---|---|
|
An iterator like instance of either VirtualNetworkTap or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
list_by_resource_group
Gets all the VirtualNetworkTaps in a subscription.
list_by_resource_group(resource_group_name: str, **kwargs: Any) -> Iterable[VirtualNetworkTap]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. Required. |
Returns
| Type | Description |
|---|---|
|
An iterator like instance of either VirtualNetworkTap or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
update_tags
Updates an VirtualNetworkTap tags.
update_tags(resource_group_name: str, tap_name: str, tap_parameters: _models.TagsObject, *, content_type: str = 'application/json', **kwargs: Any) -> _models.VirtualNetworkTap
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. Required. |
|
tap_name
Required
|
The name of the tap. Required. |
|
tap_parameters
Required
|
Parameters supplied to update VirtualNetworkTap tags. Is either a TagsObject type or a IO[bytes] type. Required. |
Returns
| Type | Description |
|---|---|
|
VirtualNetworkTap or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
Attributes
models
models = <module 'azure.mgmt.network.models' from 'C:\\ToolCache\\Python\\3.11.9\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv177\\Lib\\site-packages\\azure\\mgmt\\network\\models\\__init__.py'>