ExpressRouteConnectionsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:express_route_connections> attribute.
- Inheritance
-
builtins.objectExpressRouteConnectionsOperations
Constructor
ExpressRouteConnectionsOperations(*args, **kwargs)
Methods
begin_create_or_update |
Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit. |
begin_delete |
Deletes a connection to a ExpressRoute circuit. |
get |
Gets the specified ExpressRouteConnection. |
list |
Lists ExpressRouteConnections. |
begin_create_or_update
Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit.
begin_create_or_update(resource_group_name: str, express_route_gateway_name: str, connection_name: str, put_express_route_connection_parameters: _models.ExpressRouteConnection, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.ExpressRouteConnection]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. Required. |
express_route_gateway_name
Required
|
The name of the ExpressRoute gateway. Required. |
connection_name
Required
|
The name of the connection subresource. Required. |
put_express_route_connection_parameters
Required
|
Parameters required in an ExpressRouteConnection PUT operation. Is either a ExpressRouteConnection type or a IO[bytes] type. Required. |
Returns
Type | Description |
---|---|
An instance of LROPoller that returns either ExpressRouteConnection or the result of cls(response) |
Exceptions
Type | Description |
---|---|
begin_delete
Deletes a connection to a ExpressRoute circuit.
begin_delete(resource_group_name: str, express_route_gateway_name: str, connection_name: str, **kwargs: Any) -> LROPoller[None]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. Required. |
express_route_gateway_name
Required
|
The name of the ExpressRoute gateway. Required. |
connection_name
Required
|
The name of the connection subresource. Required. |
Returns
Type | Description |
---|---|
An instance of LROPoller that returns either None or the result of cls(response) |
Exceptions
Type | Description |
---|---|
get
Gets the specified ExpressRouteConnection.
get(resource_group_name: str, express_route_gateway_name: str, connection_name: str, **kwargs: Any) -> ExpressRouteConnection
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. Required. |
express_route_gateway_name
Required
|
The name of the ExpressRoute gateway. Required. |
connection_name
Required
|
The name of the ExpressRoute connection. Required. |
Returns
Type | Description |
---|---|
ExpressRouteConnection or the result of cls(response) |
Exceptions
Type | Description |
---|---|
list
Lists ExpressRouteConnections.
list(resource_group_name: str, express_route_gateway_name: str, **kwargs: Any) -> ExpressRouteConnectionList
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. Required. |
express_route_gateway_name
Required
|
The name of the ExpressRoute gateway. Required. |
Returns
Type | Description |
---|---|
ExpressRouteConnectionList or the result of cls(response) |
Exceptions
Type | Description |
---|---|
Attributes
models
models = <module 'azure.mgmt.network.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\network\\models\\__init__.py'>
Azure SDK for Python