ExpressRouteCircuitPeeringsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:express_route_circuit_peerings> attribute.
- Inheritance
-
builtins.objectExpressRouteCircuitPeeringsOperations
Constructor
ExpressRouteCircuitPeeringsOperations(*args, **kwargs)
Methods
begin_create_or_update |
Creates or updates a peering in the specified express route circuits. |
begin_delete |
Deletes the specified peering from the specified express route circuit. |
get |
Gets the specified peering for the express route circuit. |
list |
Gets all peerings in a specified express route circuit. |
begin_create_or_update
Creates or updates a peering in the specified express route circuits.
begin_create_or_update(resource_group_name: str, circuit_name: str, peering_name: str, peering_parameters: _models.ExpressRouteCircuitPeering, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.ExpressRouteCircuitPeering]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. Required. |
circuit_name
Required
|
The name of the express route circuit. Required. |
peering_name
Required
|
The name of the peering. Required. |
peering_parameters
Required
|
Parameters supplied to the create or update express route circuit peering operation. Is either a ExpressRouteCircuitPeering type or a IO[bytes] type. Required. |
Returns
Type | Description |
---|---|
An instance of LROPoller that returns either ExpressRouteCircuitPeering or the result of cls(response) |
Exceptions
Type | Description |
---|---|
begin_delete
Deletes the specified peering from the specified express route circuit.
begin_delete(resource_group_name: str, circuit_name: str, peering_name: str, **kwargs: Any) -> LROPoller[None]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. Required. |
circuit_name
Required
|
The name of the express route circuit. Required. |
peering_name
Required
|
The name of the peering. 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 peering for the express route circuit.
get(resource_group_name: str, circuit_name: str, peering_name: str, **kwargs: Any) -> ExpressRouteCircuitPeering
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. Required. |
circuit_name
Required
|
The name of the express route circuit. Required. |
peering_name
Required
|
The name of the peering. Required. |
Returns
Type | Description |
---|---|
ExpressRouteCircuitPeering or the result of cls(response) |
Exceptions
Type | Description |
---|---|
list
Gets all peerings in a specified express route circuit.
list(resource_group_name: str, circuit_name: str, **kwargs: Any) -> Iterable[ExpressRouteCircuitPeering]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. Required. |
circuit_name
Required
|
The name of the express route circuit. Required. |
Returns
Type | Description |
---|---|
An iterator like instance of either ExpressRouteCircuitPeering 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