Skip to content

Commit

Permalink
Generated from 497f37d011e45d90e7a5f190b1326ec89e2719c8
Browse files Browse the repository at this point in the history
Merge pull request #6 from Khushboo-Baheti/master

merge
  • Loading branch information
SDK Automation committed Feb 24, 2020
1 parent a25a803 commit 04e62be
Show file tree
Hide file tree
Showing 20 changed files with 1,233 additions and 98 deletions.
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

0 comments on commit 04e62be

Please sign in to comment.