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