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