VnetConnectionsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:vnet_connections> attribute.
Constructor
VnetConnectionsOperations(*args, **kwargs)
Methods
| begin_delete |
Delete a VnetConnection. |
| create_or_update |
Create or update a VnetConnection. |
| get |
Get the properties of a VnetConnection. |
| list_by_sandbox_group |
List all VnetConnections in the specified SandboxGroup. |
begin_delete
Delete a VnetConnection.
begin_delete(resource_group_name: str, sandbox_group_name: str, vnet_connection_name: str, **kwargs: Any) -> LROPoller[None]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
sandbox_group_name
Required
|
The name of the SandboxGroup. Required. |
|
vnet_connection_name
Required
|
The name of the VnetConnection. Required. |
Returns
| Type | Description |
|---|---|
|
An instance of LROPoller that returns None |
Exceptions
| Type | Description |
|---|---|
create_or_update
Create or update a VnetConnection.
create_or_update(resource_group_name: str, sandbox_group_name: str, vnet_connection_name: str, resource: _models.VnetConnection, *, content_type: str = 'application/json', **kwargs: Any) -> _models.VnetConnection
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
sandbox_group_name
Required
|
The name of the SandboxGroup. Required. |
|
vnet_connection_name
Required
|
The name of the VnetConnection. Required. |
|
resource
Required
|
Resource create parameters. Is either a VnetConnection type or a IO[bytes] type. Required. |
Returns
| Type | Description |
|---|---|
|
VnetConnection. The VnetConnection is compatible with MutableMapping |
Exceptions
| Type | Description |
|---|---|
get
Get the properties of a VnetConnection.
get(resource_group_name: str, sandbox_group_name: str, vnet_connection_name: str, **kwargs: Any) -> VnetConnection
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
sandbox_group_name
Required
|
The name of the SandboxGroup. Required. |
|
vnet_connection_name
Required
|
The name of the VnetConnection. Required. |
Returns
| Type | Description |
|---|---|
|
VnetConnection. The VnetConnection is compatible with MutableMapping |
Exceptions
| Type | Description |
|---|---|
list_by_sandbox_group
List all VnetConnections in the specified SandboxGroup.
list_by_sandbox_group(resource_group_name: str, sandbox_group_name: str, **kwargs: Any) -> ItemPaged[VnetConnection]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
sandbox_group_name
Required
|
The name of the SandboxGroup. Required. |
Returns
| Type | Description |
|---|---|
|
An iterator like instance of VnetConnection |
Exceptions
| Type | Description |
|---|---|