VirtualNetworkGatewayConnectionsOperations Class
VirtualNetworkGatewayConnectionsOperations async operations.
You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.
- Inheritance
-
builtins.objectVirtualNetworkGatewayConnectionsOperations
Constructor
VirtualNetworkGatewayConnectionsOperations(client, config, serializer, deserializer) -> None
Parameters
- client
Client for service requests.
- config
Configuration of service client.
- serializer
An object model serializer.
- deserializer
An object model deserializer.
Variables
- models
Alias to model classes used in this operation group.
Methods
| begin_create_or_update |
Creates or updates a virtual network gateway connection in the specified resource group. |
| begin_delete |
Deletes the specified virtual network Gateway connection. |
| begin_reset_shared_key |
The VirtualNetworkGatewayConnectionResetSharedKey operation resets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider. |
| begin_set_shared_key |
The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider. |
| begin_update_tags |
Updates a virtual network gateway connection tags. |
| get |
Gets the specified virtual network gateway connection by resource group. |
| get_shared_key |
The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual network gateway connection shared key through Network resource provider. |
| list |
The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections created. |
begin_create_or_update
Creates or updates a virtual network gateway connection in the specified resource group.
begin_create_or_update(resource_group_name: str, virtual_network_gateway_connection_name: str, parameters: azure.mgmt.network.v2017_09_01.models._models_py3.VirtualNetworkGatewayConnection, **kwargs) -> azure.core.polling._async_poller.AsyncLROPoller[_ForwardRef('models.VirtualNetworkGatewayConnection')]
Parameters
- virtual_network_gateway_connection_name
- str
The name of the virtual network gateway connection.
- parameters
- VirtualNetworkGatewayConnection
Parameters supplied to the create or update virtual network gateway connection operation.
- polling
- bool or AsyncPollingMethod
True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnection or the result of cls(response)
Return type
Exceptions
begin_delete
Deletes the specified virtual network Gateway connection.
begin_delete(resource_group_name: str, virtual_network_gateway_connection_name: str, **kwargs) -> azure.core.polling._async_poller.AsyncLROPoller[NoneType]
Parameters
- virtual_network_gateway_connection_name
- str
The name of the virtual network gateway connection.
- polling
- bool or AsyncPollingMethod
True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of AsyncLROPoller that returns either None or the result of cls(response)
Return type
Exceptions
begin_reset_shared_key
The VirtualNetworkGatewayConnectionResetSharedKey operation resets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider.
begin_reset_shared_key(resource_group_name: str, virtual_network_gateway_connection_name: str, parameters: azure.mgmt.network.v2017_09_01.models._models_py3.ConnectionResetSharedKey, **kwargs) -> azure.core.polling._async_poller.AsyncLROPoller[_ForwardRef('models.ConnectionResetSharedKey')]
Parameters
- virtual_network_gateway_connection_name
- str
The virtual network gateway connection reset shared key Name.
- parameters
- ConnectionResetSharedKey
Parameters supplied to the begin reset virtual network gateway connection shared key operation through network resource provider.
- polling
- bool or AsyncPollingMethod
True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of AsyncLROPoller that returns either ConnectionResetSharedKey or the result of cls(response)
Return type
Exceptions
begin_set_shared_key
The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider.
begin_set_shared_key(resource_group_name: str, virtual_network_gateway_connection_name: str, parameters: azure.mgmt.network.v2017_09_01.models._models_py3.ConnectionSharedKey, **kwargs) -> azure.core.polling._async_poller.AsyncLROPoller[_ForwardRef('models.ConnectionSharedKey')]
Parameters
- parameters
- ConnectionSharedKey
Parameters supplied to the Begin Set Virtual Network Gateway connection Shared key operation throughNetwork resource provider.
- polling
- bool or AsyncPollingMethod
True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of AsyncLROPoller that returns either ConnectionSharedKey or the result of cls(response)
Return type
Exceptions
begin_update_tags
Updates a virtual network gateway connection tags.
begin_update_tags(resource_group_name: str, virtual_network_gateway_connection_name: str, parameters: azure.mgmt.network.v2017_09_01.models._models_py3.TagsObject, **kwargs) -> azure.core.polling._async_poller.AsyncLROPoller[_ForwardRef('models.VirtualNetworkGatewayConnectionListEntity')]
Parameters
- virtual_network_gateway_connection_name
- str
The name of the virtual network gateway connection.
- parameters
- TagsObject
Parameters supplied to update virtual network gateway connection tags.
- polling
- bool or AsyncPollingMethod
True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of AsyncLROPoller that returns either VirtualNetworkGatewayConnectionListEntity or the result of cls(response)
Return type
Exceptions
get
Gets the specified virtual network gateway connection by resource group.
get(resource_group_name: str, virtual_network_gateway_connection_name: str, **kwargs) -> azure.mgmt.network.v2017_09_01.models._models_py3.VirtualNetworkGatewayConnection
Parameters
- virtual_network_gateway_connection_name
- str
The name of the virtual network gateway connection.
Returns
VirtualNetworkGatewayConnection, or the result of cls(response)
Return type
Exceptions
get_shared_key
The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual network gateway connection shared key through Network resource provider.
get_shared_key(resource_group_name: str, virtual_network_gateway_connection_name: str, **kwargs) -> azure.mgmt.network.v2017_09_01.models._models_py3.ConnectionSharedKey
Parameters
- virtual_network_gateway_connection_name
- str
The virtual network gateway connection shared key name.
Returns
ConnectionSharedKey, or the result of cls(response)
Return type
Exceptions
list
The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections created.
list(resource_group_name: str, **kwargs) -> typing.AsyncIterable[_ForwardRef('models.VirtualNetworkGatewayConnectionListResult')]
Parameters
Returns
An iterator like instance of either VirtualNetworkGatewayConnectionListResult or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.network.v2017_09_01.models' from 'c:\\repo\\venv\\lib\\site-packages\\azure\\mgmt\\network\\v2017_09_01\\models\\__init__.py'>
Feedback
Submit and view feedback for