Skip to content

Commit

Permalink
CodeGen from PR 13862 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Update all schemas.md files (Azure#13862)
  • Loading branch information
SDKAuto committed Apr 9, 2021
1 parent 977bfe9 commit 262101d
Show file tree
Hide file tree
Showing 23 changed files with 714 additions and 107 deletions.
1 change: 1 addition & 0 deletions sdk/peering/azure-mgmt-peering/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
include _meta.json
recursive-include tests *.py *.yaml
include *.md
include azure/__init__.py
Expand Down
8 changes: 8 additions & 0 deletions sdk/peering/azure-mgmt-peering/_meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"autorest": "V2",
"use": "@microsoft.azure/autorest.python@~4.0.71",
"commit": "e9605b17939f7f9a74c78bcee61a6f0bb37a55e8",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/peering/resource-manager/readme.md --keep-version-file --multiapi --no-async --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --use=@microsoft.azure/autorest.python@~4.0.71 --version=V2",
"readme": "specification/peering/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,15 @@

from ._configuration import PeeringManagementClientConfiguration
from .operations import PeeringManagementClientOperationsMixin
from .operations import CdnPeeringPrefixesOperations
from .operations import LegacyPeeringsOperations
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 ReceivedRoutesOperations
from .operations import PeeringServiceCountriesOperations
from .operations import PeeringServiceLocationsOperations
from .operations import PrefixesOperations
Expand All @@ -35,6 +37,8 @@ class PeeringManagementClient(PeeringManagementClientOperationsMixin, SDKClient)
:ivar config: Configuration for client.
:vartype config: PeeringManagementClientConfiguration
:ivar cdn_peering_prefixes: CdnPeeringPrefixes operations
:vartype cdn_peering_prefixes: azure.mgmt.peering.operations.CdnPeeringPrefixesOperations
:ivar legacy_peerings: LegacyPeerings operations
:vartype legacy_peerings: azure.mgmt.peering.operations.LegacyPeeringsOperations
:ivar operations: Operations operations
Expand All @@ -49,6 +53,8 @@ class PeeringManagementClient(PeeringManagementClientOperationsMixin, SDKClient)
:vartype registered_prefixes: azure.mgmt.peering.operations.RegisteredPrefixesOperations
:ivar peerings: Peerings operations
:vartype peerings: azure.mgmt.peering.operations.PeeringsOperations
:ivar received_routes: ReceivedRoutes operations
:vartype received_routes: azure.mgmt.peering.operations.ReceivedRoutesOperations
:ivar peering_service_countries: PeeringServiceCountries operations
:vartype peering_service_countries: azure.mgmt.peering.operations.PeeringServiceCountriesOperations
:ivar peering_service_locations: PeeringServiceLocations operations
Expand All @@ -75,10 +81,12 @@ 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 = '2020-01-01-preview'
self.api_version = '2021-01-01'
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

self.cdn_peering_prefixes = CdnPeeringPrefixesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.legacy_peerings = LegacyPeeringsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.operations = Operations(
Expand All @@ -93,6 +101,8 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.peerings = PeeringsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.received_routes = ReceivedRoutesOperations(
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(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@

try:
from ._models_py3 import BgpSession
from ._models_py3 import CdnPeeringPrefix
from ._models_py3 import CheckServiceProviderAvailabilityInput
from ._models_py3 import ContactDetail
from ._models_py3 import DirectConnection
from ._models_py3 import DirectPeeringFacility
from ._models_py3 import ErrorDetail
from ._models_py3 import ErrorResponse, ErrorResponseException
from ._models_py3 import ExchangeConnection
from ._models_py3 import ExchangePeeringFacility
Expand All @@ -28,6 +30,7 @@
from ._models_py3 import PeeringLocationPropertiesExchange
from ._models_py3 import PeeringPropertiesDirect
from ._models_py3 import PeeringPropertiesExchange
from ._models_py3 import PeeringReceivedRoute
from ._models_py3 import PeeringRegisteredAsn
from ._models_py3 import PeeringRegisteredPrefix
from ._models_py3 import PeeringService
Expand All @@ -43,10 +46,12 @@
from ._models_py3 import SubResource
except (SyntaxError, ImportError):
from ._models import BgpSession
from ._models import CdnPeeringPrefix
from ._models import CheckServiceProviderAvailabilityInput
from ._models import ContactDetail
from ._models import DirectConnection
from ._models import DirectPeeringFacility
from ._models import ErrorDetail
from ._models import ErrorResponse, ErrorResponseException
from ._models import ExchangeConnection
from ._models import ExchangePeeringFacility
Expand All @@ -60,6 +65,7 @@
from ._models import PeeringLocationPropertiesExchange
from ._models import PeeringPropertiesDirect
from ._models import PeeringPropertiesExchange
from ._models import PeeringReceivedRoute
from ._models import PeeringRegisteredAsn
from ._models import PeeringRegisteredPrefix
from ._models import PeeringService
Expand All @@ -73,10 +79,12 @@
from ._models import Resource
from ._models import ResourceTags
from ._models import SubResource
from ._paged_models import CdnPeeringPrefixPaged
from ._paged_models import OperationPaged
from ._paged_models import PeerAsnPaged
from ._paged_models import PeeringLocationPaged
from ._paged_models import PeeringPaged
from ._paged_models import PeeringReceivedRoutePaged
from ._paged_models import PeeringRegisteredAsnPaged
from ._paged_models import PeeringRegisteredPrefixPaged
from ._paged_models import PeeringServiceCountryPaged
Expand All @@ -103,10 +111,12 @@

__all__ = [
'BgpSession',
'CdnPeeringPrefix',
'CheckServiceProviderAvailabilityInput',
'ContactDetail',
'DirectConnection',
'DirectPeeringFacility',
'ErrorDetail',
'ErrorResponse', 'ErrorResponseException',
'ExchangeConnection',
'ExchangePeeringFacility',
Expand All @@ -120,6 +130,7 @@
'PeeringLocationPropertiesExchange',
'PeeringPropertiesDirect',
'PeeringPropertiesExchange',
'PeeringReceivedRoute',
'PeeringRegisteredAsn',
'PeeringRegisteredPrefix',
'PeeringService',
Expand All @@ -133,12 +144,14 @@
'Resource',
'ResourceTags',
'SubResource',
'CdnPeeringPrefixPaged',
'PeeringPaged',
'OperationPaged',
'PeerAsnPaged',
'PeeringLocationPaged',
'PeeringRegisteredAsnPaged',
'PeeringRegisteredPrefixPaged',
'PeeringReceivedRoutePaged',
'PeeringServiceCountryPaged',
'PeeringServiceLocationPaged',
'PeeringServicePrefixPaged',
Expand Down
Loading

0 comments on commit 262101d

Please sign in to comment.