azure.mgmt.peering.operations module¶
-
class
azure.mgmt.peering.operations.
CdnPeeringPrefixesOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
PeeringManagementClient
’scdn_peering_prefixes
attribute.-
list
(peering_location: str, **kwargs: Any) → Iterable[azure.mgmt.peering.models._models_py3.CdnPeeringPrefix][source]¶ Lists all of the advertised prefixes for the specified peering location.
-
models
= <module 'azure.mgmt.peering.models' from '/mnt/vss/_work/1/s/sdk/peering/azure-mgmt-peering/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/peering/models/__init__.py'>¶
-
-
class
azure.mgmt.peering.operations.
ConnectionMonitorTestsOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
PeeringManagementClient
’sconnection_monitor_tests
attribute.-
create_or_update
(resource_group_name: str, peering_service_name: str, connection_monitor_test_name: str, connection_monitor_test: _models.ConnectionMonitorTest, *, content_type: str = "'application/json'", **kwargs: Any) → _models.ConnectionMonitorTest[source]¶ -
create_or_update
(resource_group_name: str, peering_service_name: str, connection_monitor_test_name: str, connection_monitor_test: IO, *, content_type: str = "'application/json'", **kwargs: Any) → _models.ConnectionMonitorTest Creates or updates a connection monitor test with the specified name under the given subscription, resource group and peering service.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
peering_service_name (str) – The name of the peering service. Required.
connection_monitor_test_name (str) – The name of the connection monitor test. Required.
connection_monitor_test (ConnectionMonitorTest or IO) – The properties needed to create a connection monitor test. Is either a model type or a IO type. Required.
- Keyword Arguments
- Returns
ConnectionMonitorTest or the result of cls(response)
- Return type
- Raises
-
delete
(resource_group_name: str, peering_service_name: str, connection_monitor_test_name: str, **kwargs: Any) → None[source]¶ Deletes an existing connection monitor test with the specified name under the given subscription, resource group and peering service.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
None or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, peering_service_name: str, connection_monitor_test_name: str, **kwargs: Any) → azure.mgmt.peering.models._models_py3.ConnectionMonitorTest[source]¶ Gets an existing connection monitor test with the specified name under the given subscription, resource group and peering service.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
ConnectionMonitorTest or the result of cls(response)
- Return type
- Raises
-
list_by_peering_service
(resource_group_name: str, peering_service_name: str, **kwargs: Any) → Iterable[azure.mgmt.peering.models._models_py3.ConnectionMonitorTest][source]¶ Lists all connection monitor tests under the given subscription, resource group and peering service.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either ConnectionMonitorTest or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.peering.models' from '/mnt/vss/_work/1/s/sdk/peering/azure-mgmt-peering/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/peering/models/__init__.py'>¶
-
-
class
azure.mgmt.peering.operations.
LegacyPeeringsOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
PeeringManagementClient
’slegacy_peerings
attribute.-
list
(peering_location: str, kind: Union[str, azure.mgmt.peering.models._peering_management_client_enums.LegacyPeeringsKind], asn: Optional[int] = None, direct_peering_type: Optional[Union[str, azure.mgmt.peering.models._peering_management_client_enums.DirectPeeringType]] = None, **kwargs: Any) → Iterable[azure.mgmt.peering.models._models_py3.Peering][source]¶ Lists all of the legacy peerings under the given subscription matching the specified kind and location.
- Parameters
peering_location (str) – The location of the peering. Required.
kind (str or LegacyPeeringsKind) – The kind of the peering. Known values are: “Direct” and “Exchange”. Required.
asn (int) – The ASN number associated with a legacy peering. Default value is None.
direct_peering_type (str or DirectPeeringType) – The direct peering type. Known values are: “Edge”, “Transit”, “Cdn”, “Internal”, “Ix”, “IxRs”, “Voice”, and “EdgeZoneForOperators”. Default value is None.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either Peering or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.peering.models' from '/mnt/vss/_work/1/s/sdk/peering/azure-mgmt-peering/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/peering/models/__init__.py'>¶
-
-
class
azure.mgmt.peering.operations.
LookingGlassOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
PeeringManagementClient
’slooking_glass
attribute.-
invoke
(command: Union[str, azure.mgmt.peering.models._peering_management_client_enums.LookingGlassCommand], source_type: Union[str, azure.mgmt.peering.models._peering_management_client_enums.LookingGlassSourceType], source_location: str, destination_ip: str, **kwargs: Any) → azure.mgmt.peering.models._models_py3.LookingGlassOutput[source]¶ Run looking glass functionality.
- Parameters
command (str or LookingGlassCommand) – The command to be executed: ping, traceroute, bgpRoute. Known values are: “Traceroute”, “Ping”, and “BgpRoute”. Required.
source_type (str or LookingGlassSourceType) – The type of the source: Edge site or Azure Region. Known values are: “EdgeSite” and “AzureRegion”. Required.
source_location (str) – The location of the source. Required.
destination_ip (str) – The IP address of the destination. Required.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
LookingGlassOutput or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.peering.models' from '/mnt/vss/_work/1/s/sdk/peering/azure-mgmt-peering/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/peering/models/__init__.py'>¶
-
-
class
azure.mgmt.peering.operations.
Operations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
PeeringManagementClient
’soperations
attribute.-
list
(**kwargs: Any) → Iterable[azure.mgmt.peering.models._models_py3.Operation][source]¶ Lists all of the available API operations for peering resources.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either Operation or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.peering.models' from '/mnt/vss/_work/1/s/sdk/peering/azure-mgmt-peering/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/peering/models/__init__.py'>¶
-
-
class
azure.mgmt.peering.operations.
PeerAsnsOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
PeeringManagementClient
’speer_asns
attribute.-
create_or_update
(peer_asn_name: str, peer_asn: _models.PeerAsn, *, content_type: str = "'application/json'", **kwargs: Any) → _models.PeerAsn[source]¶ -
create_or_update
(peer_asn_name: str, peer_asn: IO, *, content_type: str = "'application/json'", **kwargs: Any) → _models.PeerAsn Creates a new peer ASN or updates an existing peer ASN with the specified name under the given subscription.
- Parameters
- Keyword Arguments
- Returns
PeerAsn or the result of cls(response)
- Return type
- Raises
-
delete
(peer_asn_name: str, **kwargs: Any) → None[source]¶ Deletes an existing peer ASN with the specified name under the given subscription.
-
get
(peer_asn_name: str, **kwargs: Any) → azure.mgmt.peering.models._models_py3.PeerAsn[source]¶ Gets the peer ASN with the specified name under the given subscription.
-
list_by_subscription
(**kwargs: Any) → Iterable[azure.mgmt.peering.models._models_py3.PeerAsn][source]¶ Lists all of the peer ASNs under the given subscription.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either PeerAsn or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.peering.models' from '/mnt/vss/_work/1/s/sdk/peering/azure-mgmt-peering/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/peering/models/__init__.py'>¶
-
-
class
azure.mgmt.peering.operations.
PeeringLocationsOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
PeeringManagementClient
’speering_locations
attribute.-
list
(kind: Union[str, azure.mgmt.peering.models._peering_management_client_enums.PeeringLocationsKind], direct_peering_type: Optional[Union[str, azure.mgmt.peering.models._peering_management_client_enums.PeeringLocationsDirectPeeringType]] = None, **kwargs: Any) → Iterable[azure.mgmt.peering.models._models_py3.PeeringLocation][source]¶ Lists all of the available peering locations for the specified kind of peering.
- Parameters
kind (str or PeeringLocationsKind) – The kind of the peering. Known values are: “Direct” and “Exchange”. Required.
direct_peering_type (str or PeeringLocationsDirectPeeringType) – The type of direct peering. Known values are: “Edge”, “Transit”, “Cdn”, “Internal”, “Ix”, “IxRs”, “Voice”, and “EdgeZoneForOperators”. Default value is None.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either PeeringLocation or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.peering.models' from '/mnt/vss/_work/1/s/sdk/peering/azure-mgmt-peering/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/peering/models/__init__.py'>¶
-
-
class
azure.mgmt.peering.operations.
PeeringManagementClientOperationsMixin
[source]¶ Bases:
azure.mgmt.peering._vendor.PeeringManagementClientMixinABC
-
check_service_provider_availability
(check_service_provider_availability_input: _models.CheckServiceProviderAvailabilityInput, *, content_type: str = "'application/json'", **kwargs: Any) → Union[str, _models.Enum0][source]¶ -
check_service_provider_availability
(check_service_provider_availability_input: IO, *, content_type: str = "'application/json'", **kwargs: Any) → Union[str, _models.Enum0] Checks if the peering service provider is present within 1000 miles of customer’s location.
- Parameters
check_service_provider_availability_input (CheckServiceProviderAvailabilityInput or IO) – The CheckServiceProviderAvailabilityInput indicating customer location and service provider. Is either a model type or a IO type. Required.
- Keyword Arguments
- Returns
Enum0 or the result of cls(response)
- Return type
- Raises
-
-
class
azure.mgmt.peering.operations.
PeeringServiceCountriesOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
PeeringManagementClient
’speering_service_countries
attribute.-
list
(**kwargs: Any) → Iterable[azure.mgmt.peering.models._models_py3.PeeringServiceCountry][source]¶ Lists all of the available countries for peering service.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either PeeringServiceCountry or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.peering.models' from '/mnt/vss/_work/1/s/sdk/peering/azure-mgmt-peering/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/peering/models/__init__.py'>¶
-
-
class
azure.mgmt.peering.operations.
PeeringServiceLocationsOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
PeeringManagementClient
’speering_service_locations
attribute.-
list
(country: Optional[str] = None, **kwargs: Any) → Iterable[azure.mgmt.peering.models._models_py3.PeeringServiceLocation][source]¶ Lists all of the available locations for peering service.
- Parameters
country (str) – The country of interest, in which the locations are to be present. Default value is None.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either PeeringServiceLocation or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.peering.models' from '/mnt/vss/_work/1/s/sdk/peering/azure-mgmt-peering/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/peering/models/__init__.py'>¶
-
-
class
azure.mgmt.peering.operations.
PeeringServiceProvidersOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
PeeringManagementClient
’speering_service_providers
attribute.-
list
(**kwargs: Any) → Iterable[azure.mgmt.peering.models._models_py3.PeeringServiceProvider][source]¶ Lists all of the available peering service locations for the specified kind of peering.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either PeeringServiceProvider or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.peering.models' from '/mnt/vss/_work/1/s/sdk/peering/azure-mgmt-peering/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/peering/models/__init__.py'>¶
-
-
class
azure.mgmt.peering.operations.
PeeringServicesOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
PeeringManagementClient
’speering_services
attribute.-
create_or_update
(resource_group_name: str, peering_service_name: str, peering_service: _models.PeeringService, *, content_type: str = "'application/json'", **kwargs: Any) → _models.PeeringService[source]¶ -
create_or_update
(resource_group_name: str, peering_service_name: str, peering_service: IO, *, content_type: str = "'application/json'", **kwargs: Any) → _models.PeeringService Creates a new peering service or updates an existing peering with the specified name under the given subscription and resource group.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
peering_service_name (str) – The name of the peering service. Required.
peering_service (PeeringService or IO) – The properties needed to create or update a peering service. Is either a model type or a IO type. Required.
- Keyword Arguments
- Returns
PeeringService or the result of cls(response)
- Return type
- Raises
-
delete
(resource_group_name: str, peering_service_name: str, **kwargs: Any) → None[source]¶ Deletes an existing peering service with the specified name under the given subscription and resource group.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
None or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, peering_service_name: str, **kwargs: Any) → azure.mgmt.peering.models._models_py3.PeeringService[source]¶ Gets an existing peering service with the specified name under the given subscription and resource group.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
PeeringService or the result of cls(response)
- Return type
- Raises
-
initialize_connection_monitor
(**kwargs: Any) → None[source]¶ Initialize Peering Service for Connection Monitor functionality.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
None or the result of cls(response)
- Return type
- Raises
-
list_by_resource_group
(resource_group_name: str, **kwargs: Any) → Iterable[azure.mgmt.peering.models._models_py3.PeeringService][source]¶ Lists all of the peering services under the given subscription and resource group.
-
list_by_subscription
(**kwargs: Any) → Iterable[azure.mgmt.peering.models._models_py3.PeeringService][source]¶ Lists all of the peerings under the given subscription.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either PeeringService or the result of cls(response)
- Return type
- Raises
-
update
(resource_group_name: str, peering_service_name: str, tags: _models.ResourceTags, *, content_type: str = "'application/json'", **kwargs: Any) → _models.PeeringService[source]¶ -
update
(resource_group_name: str, peering_service_name: str, tags: IO, *, content_type: str = "'application/json'", **kwargs: Any) → _models.PeeringService Updates tags for a peering service with the specified name under the given subscription and resource group.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
peering_service_name (str) – The name of the peering service. Required.
tags (ResourceTags or IO) – The resource tags. Is either a model type or a IO type. Required.
- Keyword Arguments
- Returns
PeeringService or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.peering.models' from '/mnt/vss/_work/1/s/sdk/peering/azure-mgmt-peering/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/peering/models/__init__.py'>¶
-
-
class
azure.mgmt.peering.operations.
PeeringsOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
PeeringManagementClient
’speerings
attribute.-
create_or_update
(resource_group_name: str, peering_name: str, peering: _models.Peering, *, content_type: str = "'application/json'", **kwargs: Any) → _models.Peering[source]¶ -
create_or_update
(resource_group_name: str, peering_name: str, peering: IO, *, content_type: str = "'application/json'", **kwargs: Any) → _models.Peering Creates a new peering or updates an existing peering with the specified name under the given subscription and resource group.
- Parameters
- Keyword Arguments
- Returns
Peering or the result of cls(response)
- Return type
- Raises
-
delete
(resource_group_name: str, peering_name: str, **kwargs: Any) → None[source]¶ Deletes an existing peering with the specified name under the given subscription and resource group.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
None or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, peering_name: str, **kwargs: Any) → azure.mgmt.peering.models._models_py3.Peering[source]¶ Gets an existing peering with the specified name under the given subscription and resource group.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
Peering or the result of cls(response)
- Return type
- Raises
-
list_by_resource_group
(resource_group_name: str, **kwargs: Any) → Iterable[azure.mgmt.peering.models._models_py3.Peering][source]¶ Lists all of the peerings under the given subscription and resource group.
-
list_by_subscription
(**kwargs: Any) → Iterable[azure.mgmt.peering.models._models_py3.Peering][source]¶ Lists all of the peerings under the given subscription.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either Peering or the result of cls(response)
- Return type
- Raises
-
update
(resource_group_name: str, peering_name: str, tags: _models.ResourceTags, *, content_type: str = "'application/json'", **kwargs: Any) → _models.Peering[source]¶ -
update
(resource_group_name: str, peering_name: str, tags: IO, *, content_type: str = "'application/json'", **kwargs: Any) → _models.Peering Updates tags for a peering with the specified name under the given subscription and resource group.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
peering_name (str) – The name of the peering. Required.
tags (ResourceTags or IO) – The resource tags. Is either a model type or a IO type. Required.
- Keyword Arguments
- Returns
Peering or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.peering.models' from '/mnt/vss/_work/1/s/sdk/peering/azure-mgmt-peering/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/peering/models/__init__.py'>¶
-
-
class
azure.mgmt.peering.operations.
PrefixesOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
PeeringManagementClient
’sprefixes
attribute.-
create_or_update
(resource_group_name: str, peering_service_name: str, prefix_name: str, peering_service_prefix: _models.PeeringServicePrefix, *, content_type: str = "'application/json'", **kwargs: Any) → _models.PeeringServicePrefix[source]¶ -
create_or_update
(resource_group_name: str, peering_service_name: str, prefix_name: str, peering_service_prefix: IO, *, content_type: str = "'application/json'", **kwargs: Any) → _models.PeeringServicePrefix Creates a new prefix with the specified name under the given subscription, resource group and peering service.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
peering_service_name (str) – The name of the peering service. Required.
prefix_name (str) – The name of the prefix. Required.
peering_service_prefix (PeeringServicePrefix or IO) – The properties needed to create a prefix. Is either a model type or a IO type. Required.
- Keyword Arguments
- Returns
PeeringServicePrefix or the result of cls(response)
- Return type
- Raises
-
delete
(resource_group_name: str, peering_service_name: str, prefix_name: str, **kwargs: Any) → None[source]¶ Deletes an existing prefix with the specified name under the given subscription, resource group and peering service.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
None or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, peering_service_name: str, prefix_name: str, expand: Optional[str] = None, **kwargs: Any) → azure.mgmt.peering.models._models_py3.PeeringServicePrefix[source]¶ Gets an existing prefix with the specified name under the given subscription, resource group and peering service.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
PeeringServicePrefix or the result of cls(response)
- Return type
- Raises
-
list_by_peering_service
(resource_group_name: str, peering_service_name: str, expand: Optional[str] = None, **kwargs: Any) → Iterable[azure.mgmt.peering.models._models_py3.PeeringServicePrefix][source]¶ Lists all prefixes under the given subscription, resource group and peering service.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either PeeringServicePrefix or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.peering.models' from '/mnt/vss/_work/1/s/sdk/peering/azure-mgmt-peering/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/peering/models/__init__.py'>¶
-
-
class
azure.mgmt.peering.operations.
ReceivedRoutesOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
PeeringManagementClient
’sreceived_routes
attribute.-
list_by_peering
(resource_group_name: str, peering_name: str, prefix: Optional[str] = None, as_path: Optional[str] = None, origin_as_validation_state: Optional[str] = None, rpki_validation_state: Optional[str] = None, skip_token: Optional[str] = None, **kwargs: Any) → Iterable[azure.mgmt.peering.models._models_py3.PeeringReceivedRoute][source]¶ Lists the prefixes received over the specified peering under the given subscription and resource group.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
peering_name (str) – The name of the peering. Required.
prefix (str) – The optional prefix that can be used to filter the routes. Default value is None.
as_path (str) – The optional AS path that can be used to filter the routes. Default value is None.
origin_as_validation_state (str) – The optional origin AS validation state that can be used to filter the routes. Default value is None.
rpki_validation_state (str) – The optional RPKI validation state that can be used to filter the routes. Default value is None.
skip_token (str) – The optional page continuation token that is used in the event of paginated result. Default value is None.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either PeeringReceivedRoute or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.peering.models' from '/mnt/vss/_work/1/s/sdk/peering/azure-mgmt-peering/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/peering/models/__init__.py'>¶
-
-
class
azure.mgmt.peering.operations.
RegisteredAsnsOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
PeeringManagementClient
’sregistered_asns
attribute.-
create_or_update
(resource_group_name: str, peering_name: str, registered_asn_name: str, registered_asn: _models.PeeringRegisteredAsn, *, content_type: str = "'application/json'", **kwargs: Any) → _models.PeeringRegisteredAsn[source]¶ -
create_or_update
(resource_group_name: str, peering_name: str, registered_asn_name: str, registered_asn: IO, *, content_type: str = "'application/json'", **kwargs: Any) → _models.PeeringRegisteredAsn Creates a new registered ASN with the specified name under the given subscription, resource group and peering.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
peering_name (str) – The name of the peering. Required.
registered_asn_name (str) – The name of the ASN. Required.
registered_asn (PeeringRegisteredAsn or IO) – The properties needed to create a registered ASN. Is either a model type or a IO type. Required.
- Keyword Arguments
- Returns
PeeringRegisteredAsn or the result of cls(response)
- Return type
- Raises
-
delete
(resource_group_name: str, peering_name: str, registered_asn_name: str, **kwargs: Any) → None[source]¶ Deletes an existing registered ASN with the specified name under the given subscription, resource group and peering.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
None or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, peering_name: str, registered_asn_name: str, **kwargs: Any) → azure.mgmt.peering.models._models_py3.PeeringRegisteredAsn[source]¶ Gets an existing registered ASN with the specified name under the given subscription, resource group and peering.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
PeeringRegisteredAsn or the result of cls(response)
- Return type
- Raises
-
list_by_peering
(resource_group_name: str, peering_name: str, **kwargs: Any) → Iterable[azure.mgmt.peering.models._models_py3.PeeringRegisteredAsn][source]¶ Lists all registered ASNs under the given subscription, resource group and peering.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either PeeringRegisteredAsn or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.peering.models' from '/mnt/vss/_work/1/s/sdk/peering/azure-mgmt-peering/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/peering/models/__init__.py'>¶
-
-
class
azure.mgmt.peering.operations.
RegisteredPrefixesOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
PeeringManagementClient
’sregistered_prefixes
attribute.-
create_or_update
(resource_group_name: str, peering_name: str, registered_prefix_name: str, registered_prefix: _models.PeeringRegisteredPrefix, *, content_type: str = "'application/json'", **kwargs: Any) → _models.PeeringRegisteredPrefix[source]¶ -
create_or_update
(resource_group_name: str, peering_name: str, registered_prefix_name: str, registered_prefix: IO, *, content_type: str = "'application/json'", **kwargs: Any) → _models.PeeringRegisteredPrefix Creates a new registered prefix with the specified name under the given subscription, resource group and peering.
- Parameters
resource_group_name (str) – The name of the resource group. Required.
peering_name (str) – The name of the peering. Required.
registered_prefix_name (str) – The name of the registered prefix. Required.
registered_prefix (PeeringRegisteredPrefix or IO) – The properties needed to create a registered prefix. Is either a model type or a IO type. Required.
- Keyword Arguments
- Returns
PeeringRegisteredPrefix or the result of cls(response)
- Return type
- Raises
-
delete
(resource_group_name: str, peering_name: str, registered_prefix_name: str, **kwargs: Any) → None[source]¶ Deletes an existing registered prefix with the specified name under the given subscription, resource group and peering.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
None or the result of cls(response)
- Return type
- Raises
-
get
(resource_group_name: str, peering_name: str, registered_prefix_name: str, **kwargs: Any) → azure.mgmt.peering.models._models_py3.PeeringRegisteredPrefix[source]¶ Gets an existing registered prefix with the specified name under the given subscription, resource group and peering.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
PeeringRegisteredPrefix or the result of cls(response)
- Return type
- Raises
-
list_by_peering
(resource_group_name: str, peering_name: str, **kwargs: Any) → Iterable[azure.mgmt.peering.models._models_py3.PeeringRegisteredPrefix][source]¶ Lists all registered prefixes under the given subscription, resource group and peering.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either PeeringRegisteredPrefix or the result of cls(response)
- Return type
- Raises
-
validate
(resource_group_name: str, peering_name: str, registered_prefix_name: str, **kwargs: Any) → azure.mgmt.peering.models._models_py3.PeeringRegisteredPrefix[source]¶ Validates an existing registered prefix with the specified name under the given subscription, resource group and peering.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
PeeringRegisteredPrefix or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.peering.models' from '/mnt/vss/_work/1/s/sdk/peering/azure-mgmt-peering/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/peering/models/__init__.py'>¶
-
-
class
azure.mgmt.peering.operations.
RpUnbilledPrefixesOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
PeeringManagementClient
’srp_unbilled_prefixes
attribute.-
list
(resource_group_name: str, peering_name: str, consolidate: Optional[bool] = None, **kwargs: Any) → Iterable[azure.mgmt.peering.models._models_py3.RpUnbilledPrefix][source]¶ Lists all of the RP unbilled prefixes for the specified peering.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either RpUnbilledPrefix or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.peering.models' from '/mnt/vss/_work/1/s/sdk/peering/azure-mgmt-peering/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/peering/models/__init__.py'>¶
-