Skip to content

Commit

Permalink
T1 eventgrid 2021 02 23 (Azure#16869)
Browse files Browse the repository at this point in the history
* CodeGen from PR 12767 in Azure/azure-rest-api-specs
EventGrid: Fix multiple linter and swagger correctness/completeness issues for latest preview and stable API versions (Azure#12767)

* fix example

* Fix multiple linter and swagger correctness/completeness issues for latest preview and stable api version

* Fix format

* fix examples

* fix validation model errors

* fix validation model errors

* fix example

* remove default

* revert 2020-06 changes

* fix eventgrid swagger file with multiple linter and correctness fixes

* fix 2020-06-01 stable swagger

* fix 2020-06-01 stable swagger -- part 2

* fix format

* fix prettier check

* additional format fix

* fix examples and wrong response code

* fix validator

* fix validator

Co-authored-by: Ashraf Hamad <ahamad@ntdev.microsoft.com>

* test,version,CHANGELOG

* fix changelog and version

Co-authored-by: SDKAuto <sdkautomation@microsoft.com>
Co-authored-by: Ashraf Hamad <ahamad@ntdev.microsoft.com>
Co-authored-by: Yan Zhang (WICRESOFT NORTH AMERICA LTD) <v-yanzhang@microsoft.com>
  • Loading branch information
4 people authored Feb 23, 2021
1 parent 660aba5 commit b74b486
Show file tree
Hide file tree
Showing 25 changed files with 7,820 additions and 195 deletions.
41 changes: 41 additions & 0 deletions sdk/eventgrid/azure-mgmt-eventgrid/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,46 @@
# Release History

## 3.0.0rc9 (2021-02-23)

**Features**

- Model WebHookEventSubscriptionDestination has a new parameter delivery_attribute_mappings
- Model ServiceBusTopicEventSubscriptionDestination has a new parameter delivery_attribute_mappings
- Model EventSubscriptionFilter has a new parameter enable_advanced_filtering_on_arrays
- Model EventSubscriptionUpdateParameters has a new parameter dead_letter_with_resource_identity
- Model EventSubscriptionUpdateParameters has a new parameter delivery_with_resource_identity
- Model HybridConnectionEventSubscriptionDestination has a new parameter delivery_attribute_mappings
- Model StorageQueueEventSubscriptionDestination has a new parameter queue_message_time_to_live_in_seconds
- Model EventSubscription has a new parameter system_data
- Model EventSubscription has a new parameter delivery_with_resource_identity
- Model EventSubscription has a new parameter dead_letter_with_resource_identity
- Model DomainTopic has a new parameter system_data
- Model ServiceBusQueueEventSubscriptionDestination has a new parameter delivery_attribute_mappings
- Model TopicUpdateParameters has a new parameter identity
- Model TopicUpdateParameters has a new parameter sku
- Model AzureFunctionEventSubscriptionDestination has a new parameter delivery_attribute_mappings
- Model DomainUpdateParameters has a new parameter identity
- Model DomainUpdateParameters has a new parameter sku
- Model Topic has a new parameter system_data
- Model Topic has a new parameter identity
- Model Topic has a new parameter kind
- Model Topic has a new parameter extended_location
- Model Topic has a new parameter sku
- Model TopicTypeInfo has a new parameter supported_scopes_for_source
- Model EventHubEventSubscriptionDestination has a new parameter delivery_attribute_mappings
- Model Domain has a new parameter system_data
- Model Domain has a new parameter identity
- Model Domain has a new parameter sku
- Added operation EventSubscriptionsOperations.get_delivery_attributes
- Added operation group PartnerRegistrationsOperations
- Added operation group PartnerNamespacesOperations
- Added operation group PartnerTopicEventSubscriptionsOperations
- Added operation group SystemTopicEventSubscriptionsOperations
- Added operation group ExtensionTopicsOperations
- Added operation group PartnerTopicsOperations
- Added operation group SystemTopicsOperations
- Added operation group EventChannelsOperations

## 3.0.0rc8 (2020-06-05)

**Breaking changes**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,19 @@
from ._configuration import EventGridManagementClientConfiguration
from .operations import DomainsOperations
from .operations import DomainTopicsOperations
from .operations import EventChannelsOperations
from .operations import EventSubscriptionsOperations
from .operations import SystemTopicEventSubscriptionsOperations
from .operations import PartnerTopicEventSubscriptionsOperations
from .operations import Operations
from .operations import TopicsOperations
from .operations import PartnerNamespacesOperations
from .operations import PartnerRegistrationsOperations
from .operations import PartnerTopicsOperations
from .operations import PrivateEndpointConnectionsOperations
from .operations import PrivateLinkResourcesOperations
from .operations import SystemTopicsOperations
from .operations import TopicsOperations
from .operations import ExtensionTopicsOperations
from .operations import TopicTypesOperations
from . import models

Expand All @@ -34,16 +42,32 @@ class EventGridManagementClient(SDKClient):
:vartype domains: azure.mgmt.eventgrid.operations.DomainsOperations
:ivar domain_topics: DomainTopics operations
:vartype domain_topics: azure.mgmt.eventgrid.operations.DomainTopicsOperations
:ivar event_channels: EventChannels operations
:vartype event_channels: azure.mgmt.eventgrid.operations.EventChannelsOperations
:ivar event_subscriptions: EventSubscriptions operations
:vartype event_subscriptions: azure.mgmt.eventgrid.operations.EventSubscriptionsOperations
:ivar system_topic_event_subscriptions: SystemTopicEventSubscriptions operations
:vartype system_topic_event_subscriptions: azure.mgmt.eventgrid.operations.SystemTopicEventSubscriptionsOperations
:ivar partner_topic_event_subscriptions: PartnerTopicEventSubscriptions operations
:vartype partner_topic_event_subscriptions: azure.mgmt.eventgrid.operations.PartnerTopicEventSubscriptionsOperations
:ivar operations: Operations operations
:vartype operations: azure.mgmt.eventgrid.operations.Operations
:ivar topics: Topics operations
:vartype topics: azure.mgmt.eventgrid.operations.TopicsOperations
:ivar partner_namespaces: PartnerNamespaces operations
:vartype partner_namespaces: azure.mgmt.eventgrid.operations.PartnerNamespacesOperations
:ivar partner_registrations: PartnerRegistrations operations
:vartype partner_registrations: azure.mgmt.eventgrid.operations.PartnerRegistrationsOperations
:ivar partner_topics: PartnerTopics operations
:vartype partner_topics: azure.mgmt.eventgrid.operations.PartnerTopicsOperations
:ivar private_endpoint_connections: PrivateEndpointConnections operations
:vartype private_endpoint_connections: azure.mgmt.eventgrid.operations.PrivateEndpointConnectionsOperations
:ivar private_link_resources: PrivateLinkResources operations
:vartype private_link_resources: azure.mgmt.eventgrid.operations.PrivateLinkResourcesOperations
:ivar system_topics: SystemTopics operations
:vartype system_topics: azure.mgmt.eventgrid.operations.SystemTopicsOperations
:ivar topics: Topics operations
:vartype topics: azure.mgmt.eventgrid.operations.TopicsOperations
:ivar extension_topics: ExtensionTopics operations
:vartype extension_topics: azure.mgmt.eventgrid.operations.ExtensionTopicsOperations
:ivar topic_types: TopicTypes operations
:vartype topic_types: azure.mgmt.eventgrid.operations.TopicTypesOperations
Expand All @@ -64,23 +88,39 @@ def __init__(
super(EventGridManagementClient, 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-06-01'
self.api_version = '2020-10-15-preview'
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

self.domains = DomainsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.domain_topics = DomainTopicsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.event_channels = EventChannelsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.event_subscriptions = EventSubscriptionsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.system_topic_event_subscriptions = SystemTopicEventSubscriptionsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.partner_topic_event_subscriptions = PartnerTopicEventSubscriptionsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.operations = Operations(
self._client, self.config, self._serialize, self._deserialize)
self.topics = TopicsOperations(
self.partner_namespaces = PartnerNamespacesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.partner_registrations = PartnerRegistrationsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.partner_topics = PartnerTopicsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.private_endpoint_connections = PrivateEndpointConnectionsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.private_link_resources = PrivateLinkResourcesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.system_topics = SystemTopicsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.topics = TopicsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.extension_topics = ExtensionTopicsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.topic_types = TopicTypesOperations(
self._client, self.config, self._serialize, self._deserialize)
Loading

0 comments on commit b74b486

Please sign in to comment.