Skip to content

Commit

Permalink
CodeGen from PR 12591 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
fix readme Configuration Tags for eventhub (Azure#12591)
  • Loading branch information
SDKAuto committed Feb 22, 2021
1 parent aea802d commit 0a87992
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 79 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ def __init__(
super(EventHubManagementClient, 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 = '2018-01-01-preview'
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class ConsumerGroupsOperations(object):
:param config: Configuration of service client.
:param serializer: An object model serializer.
:param deserializer: An object model deserializer.
:ivar api_version: Client API Version. Constant value: "2017-04-01".
:ivar api_version: Client API Version. Constant value: "2018-01-01-preview".
"""

models = models
Expand All @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer):
self._client = client
self._serialize = serializer
self._deserialize = deserializer
self.api_version = "2017-04-01"
self.api_version = "2018-01-01-preview"

self.config = config

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class DisasterRecoveryConfigsOperations(object):
:param config: Configuration of service client.
:param serializer: An object model serializer.
:param deserializer: An object model deserializer.
:ivar api_version: Client API Version. Constant value: "2017-04-01".
:ivar api_version: Client API Version. Constant value: "2018-01-01-preview".
"""

models = models
Expand All @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer):
self._client = client
self._serialize = serializer
self._deserialize = deserializer
self.api_version = "2017-04-01"
self.api_version = "2018-01-01-preview"

self.config = config

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class EventHubsOperations(object):
:param config: Configuration of service client.
:param serializer: An object model serializer.
:param deserializer: An object model deserializer.
:ivar api_version: Client API Version. Constant value: "2017-04-01".
:ivar api_version: Client API Version. Constant value: "2018-01-01-preview".
"""

models = models
Expand All @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer):
self._client = client
self._serialize = serializer
self._deserialize = deserializer
self.api_version = "2017-04-01"
self.api_version = "2018-01-01-preview"

self.config = config

Expand Down
Loading

0 comments on commit 0a87992

Please sign in to comment.