Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regenerated peering #10805

Merged
merged 12 commits into from
Apr 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions sdk/peering/azure-mgmt-peering/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# Release History

## 0.2.0 (2020-04-12)

**Features**

- Model PeeringServicePrefix has a new parameter peering_service_prefix_key
- Model PeerAsn has a new parameter peer_contact_detail
- Model PeeringService has a new parameter sku
- Added operation group RegisteredPrefixesOperations
- Added operation group PeeringServiceCountriesOperations
- Added operation group RegisteredAsnsOperations

**Breaking changes**

- Operation LegacyPeeringsOperations.list has a new signature
- Operation PrefixesOperations.create_or_update has a new signature
- Operation PeeringServiceLocationsOperations.list has a new signature
- Model PeerAsn no longer has parameter peer_contact_info

## 0.1.0rc2 (2019-10-24)

**Breaking changes**
Expand Down
30 changes: 11 additions & 19 deletions sdk/peering/azure-mgmt-peering/README.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,21 @@
## Microsoft Azure SDK for Python
# Microsoft Azure SDK for Python

This is the Microsoft Azure Peering Management Client Library.
This package has been tested with Python 2.7, 3.5, 3.6, 3.7 and 3.8.
For a more complete view of Azure libraries, see the [Github repo](https://github.com/Azure/azure-sdk-for-python/)

Azure Resource Manager (ARM) is the next generation of management APIs
that replace the old Azure Service Management (ASM).

This package has been tested with Python 2.7, 3.5, 3.6 and 3.7.
# Usage

For the older Azure Service Management (ASM) libraries, see
[azure-servicemanagement-legacy](https://pypi.python.org/pypi/azure-servicemanagement-legacy)
library.
For code examples, see [Peering Management](https://docs.microsoft.com/python/api/overview/azure/)
on docs.microsoft.com.

For a more complete set of Azure libraries, see the
[azure](https://pypi.python.org/pypi/azure) bundle package.

## Usage
# Provide Feedback

For code examples, see [Peering
Management](https://docs.microsoft.com/python/api/overview/azure/) on
docs.microsoft.com.

## Provide Feedback

If you encounter any bugs or have suggestions, please file an issue in
the [Issues](https://github.com/Azure/azure-sdk-for-python/issues)
If you encounter any bugs or have suggestions, please file an issue in the
[Issues](https://github.com/Azure/azure-sdk-for-python/issues)
section of the project.

![image](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-peering%2FREADME.png)

![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-peering%2FREADME.png)
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@
from .operations import Operations
from .operations import PeerAsnsOperations
from .operations import PeeringLocationsOperations
from .operations import RegisteredAsnsOperations
from .operations import RegisteredPrefixesOperations
from .operations import PeeringsOperations
from .operations import PeeringServiceCountriesOperations
from .operations import PeeringServiceLocationsOperations
from .operations import PrefixesOperations
from .operations import PeeringServiceProvidersOperations
Expand All @@ -40,8 +43,14 @@ class PeeringManagementClient(PeeringManagementClientOperationsMixin, SDKClient)
:vartype peer_asns: azure.mgmt.peering.operations.PeerAsnsOperations
:ivar peering_locations: PeeringLocations operations
:vartype peering_locations: azure.mgmt.peering.operations.PeeringLocationsOperations
:ivar registered_asns: RegisteredAsns operations
:vartype registered_asns: azure.mgmt.peering.operations.RegisteredAsnsOperations
:ivar registered_prefixes: RegisteredPrefixes operations
:vartype registered_prefixes: azure.mgmt.peering.operations.RegisteredPrefixesOperations
:ivar peerings: Peerings operations
:vartype peerings: azure.mgmt.peering.operations.PeeringsOperations
:ivar peering_service_countries: PeeringServiceCountries operations
:vartype peering_service_countries: azure.mgmt.peering.operations.PeeringServiceCountriesOperations
:ivar peering_service_locations: PeeringServiceLocations operations
:vartype peering_service_locations: azure.mgmt.peering.operations.PeeringServiceLocationsOperations
:ivar prefixes: Prefixes operations
Expand All @@ -66,7 +75,7 @@ def __init__(
super(PeeringManagementClient, self).__init__(self.config.credentials, self.config)

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self.api_version = '2019-09-01-preview'
self.api_version = '2020-01-01-preview'
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

Expand All @@ -78,8 +87,14 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.peering_locations = PeeringLocationsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.registered_asns = RegisteredAsnsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.registered_prefixes = RegisteredPrefixesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.peerings = PeeringsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.peering_service_countries = PeeringServiceCountriesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.peering_service_locations = PeeringServiceLocationsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.prefixes = PrefixesOperations(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
try:
from ._models_py3 import BgpSession
from ._models_py3 import CheckServiceProviderAvailabilityInput
from ._models_py3 import ContactInfo
from ._models_py3 import ContactDetail
from ._models_py3 import DirectConnection
from ._models_py3 import DirectPeeringFacility
from ._models_py3 import ErrorResponse, ErrorResponseException
Expand All @@ -28,19 +28,23 @@
from ._models_py3 import PeeringLocationPropertiesExchange
from ._models_py3 import PeeringPropertiesDirect
from ._models_py3 import PeeringPropertiesExchange
from ._models_py3 import PeeringRegisteredAsn
from ._models_py3 import PeeringRegisteredPrefix
from ._models_py3 import PeeringService
from ._models_py3 import PeeringServiceCountry
from ._models_py3 import PeeringServiceLocation
from ._models_py3 import PeeringServicePrefix
from ._models_py3 import PeeringServicePrefixEvent
from ._models_py3 import PeeringServiceProvider
from ._models_py3 import PeeringServiceSku
from ._models_py3 import PeeringSku
from ._models_py3 import Resource
from ._models_py3 import ResourceTags
from ._models_py3 import SubResource
except (SyntaxError, ImportError):
from ._models import BgpSession
from ._models import CheckServiceProviderAvailabilityInput
from ._models import ContactInfo
from ._models import ContactDetail
from ._models import DirectConnection
from ._models import DirectPeeringFacility
from ._models import ErrorResponse, ErrorResponseException
Expand All @@ -56,11 +60,15 @@
from ._models import PeeringLocationPropertiesExchange
from ._models import PeeringPropertiesDirect
from ._models import PeeringPropertiesExchange
from ._models import PeeringRegisteredAsn
from ._models import PeeringRegisteredPrefix
from ._models import PeeringService
from ._models import PeeringServiceCountry
from ._models import PeeringServiceLocation
from ._models import PeeringServicePrefix
from ._models import PeeringServicePrefixEvent
from ._models import PeeringServiceProvider
from ._models import PeeringServiceSku
from ._models import PeeringSku
from ._models import Resource
from ._models import ResourceTags
Expand All @@ -69,12 +77,14 @@
from ._paged_models import PeerAsnPaged
from ._paged_models import PeeringLocationPaged
from ._paged_models import PeeringPaged
from ._paged_models import PeeringRegisteredAsnPaged
from ._paged_models import PeeringRegisteredPrefixPaged
from ._paged_models import PeeringServiceCountryPaged
from ._paged_models import PeeringServiceLocationPaged
from ._paged_models import PeeringServicePaged
from ._paged_models import PeeringServicePrefixPaged
from ._paged_models import PeeringServiceProviderPaged
from ._peering_management_client_enums import (
Name,
Tier,
Family,
Size,
Expand All @@ -85,6 +95,7 @@
SessionStateV6,
DirectPeeringType,
ProvisioningState,
Role,
ValidationState,
PrefixValidationState,
LearnedType,
Expand All @@ -93,7 +104,7 @@
__all__ = [
'BgpSession',
'CheckServiceProviderAvailabilityInput',
'ContactInfo',
'ContactDetail',
'DirectConnection',
'DirectPeeringFacility',
'ErrorResponse', 'ErrorResponseException',
Expand All @@ -109,11 +120,15 @@
'PeeringLocationPropertiesExchange',
'PeeringPropertiesDirect',
'PeeringPropertiesExchange',
'PeeringRegisteredAsn',
'PeeringRegisteredPrefix',
'PeeringService',
'PeeringServiceCountry',
'PeeringServiceLocation',
'PeeringServicePrefix',
'PeeringServicePrefixEvent',
'PeeringServiceProvider',
'PeeringServiceSku',
'PeeringSku',
'Resource',
'ResourceTags',
Expand All @@ -122,11 +137,13 @@
'OperationPaged',
'PeerAsnPaged',
'PeeringLocationPaged',
'PeeringRegisteredAsnPaged',
'PeeringRegisteredPrefixPaged',
'PeeringServiceCountryPaged',
'PeeringServiceLocationPaged',
'PeeringServicePrefixPaged',
'PeeringServiceProviderPaged',
'PeeringServicePaged',
'Name',
'Tier',
'Family',
'Size',
Expand All @@ -137,6 +154,7 @@
'SessionStateV6',
'DirectPeeringType',
'ProvisioningState',
'Role',
'ValidationState',
'PrefixValidationState',
'LearnedType',
Expand Down
Loading