Skip to content

Commit

Permalink
[AutoPR eventgrid/resource-manager] Event Grid 2019-01-01 API Version…
Browse files Browse the repository at this point in the history
…: Swagger and related test examples (#4055)

* Generated from aef05ab1bf75b3331eaeecbba38705866d5c1e2c

fix readme files to reflect correct location to eventgrid json file for stable version

* Generated from c8169048866420898f9778405cd1d435b33828b1

fix text
  • Loading branch information
AutorestCI authored Dec 17, 2018
1 parent 26c2e0b commit d5f9879
Show file tree
Hide file tree
Showing 66 changed files with 27 additions and 3,097 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
from msrest import Serializer, Deserializer
from msrestazure import AzureConfiguration
from .version import VERSION
from .operations.domains_operations import DomainsOperations
from .operations.domain_topics_operations import DomainTopicsOperations
from .operations.event_subscriptions_operations import EventSubscriptionsOperations
from .operations.operations import Operations
from .operations.topics_operations import TopicsOperations
Expand Down Expand Up @@ -62,10 +60,6 @@ class EventGridManagementClient(SDKClient):
:ivar config: Configuration for client.
:vartype config: EventGridManagementClientConfiguration
:ivar domains: Domains operations
:vartype domains: azure.mgmt.eventgrid.operations.DomainsOperations
:ivar domain_topics: DomainTopics operations
:vartype domain_topics: azure.mgmt.eventgrid.operations.DomainTopicsOperations
:ivar event_subscriptions: EventSubscriptions operations
:vartype event_subscriptions: azure.mgmt.eventgrid.operations.EventSubscriptionsOperations
:ivar operations: Operations operations
Expand All @@ -92,14 +86,10 @@ 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 = '2018-09-15-preview'
self.api_version = '2019-01-01'
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_subscriptions = EventSubscriptionsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.operations = Operations(
Expand Down
76 changes: 0 additions & 76 deletions azure-mgmt-eventgrid/azure/mgmt/eventgrid/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,31 +10,12 @@
# --------------------------------------------------------------------------

try:
from .input_schema_mapping_py3 import InputSchemaMapping
from .domain_py3 import Domain
from .domain_update_parameters_py3 import DomainUpdateParameters
from .domain_shared_access_keys_py3 import DomainSharedAccessKeys
from .domain_regenerate_key_request_py3 import DomainRegenerateKeyRequest
from .domain_topic_py3 import DomainTopic
from .event_subscription_destination_py3 import EventSubscriptionDestination
from .advanced_filter_py3 import AdvancedFilter
from .event_subscription_filter_py3 import EventSubscriptionFilter
from .retry_policy_py3 import RetryPolicy
from .dead_letter_destination_py3 import DeadLetterDestination
from .resource_py3 import Resource
from .number_in_advanced_filter_py3 import NumberInAdvancedFilter
from .storage_blob_dead_letter_destination_py3 import StorageBlobDeadLetterDestination
from .number_not_in_advanced_filter_py3 import NumberNotInAdvancedFilter
from .number_less_than_advanced_filter_py3 import NumberLessThanAdvancedFilter
from .number_greater_than_advanced_filter_py3 import NumberGreaterThanAdvancedFilter
from .number_less_than_or_equals_advanced_filter_py3 import NumberLessThanOrEqualsAdvancedFilter
from .number_greater_than_or_equals_advanced_filter_py3 import NumberGreaterThanOrEqualsAdvancedFilter
from .bool_equals_advanced_filter_py3 import BoolEqualsAdvancedFilter
from .string_in_advanced_filter_py3 import StringInAdvancedFilter
from .string_not_in_advanced_filter_py3 import StringNotInAdvancedFilter
from .string_begins_with_advanced_filter_py3 import StringBeginsWithAdvancedFilter
from .string_ends_with_advanced_filter_py3 import StringEndsWithAdvancedFilter
from .string_contains_advanced_filter_py3 import StringContainsAdvancedFilter
from .web_hook_event_subscription_destination_py3 import WebHookEventSubscriptionDestination
from .event_hub_event_subscription_destination_py3 import EventHubEventSubscriptionDestination
from .storage_queue_event_subscription_destination_py3 import StorageQueueEventSubscriptionDestination
Expand All @@ -44,9 +25,6 @@
from .event_subscription_full_url_py3 import EventSubscriptionFullUrl
from .operation_info_py3 import OperationInfo
from .operation_py3 import Operation
from .json_field_py3 import JsonField
from .json_field_with_default_py3 import JsonFieldWithDefault
from .json_input_schema_mapping_py3 import JsonInputSchemaMapping
from .tracked_resource_py3 import TrackedResource
from .topic_py3 import Topic
from .topic_update_parameters_py3 import TopicUpdateParameters
Expand All @@ -55,31 +33,12 @@
from .event_type_py3 import EventType
from .topic_type_info_py3 import TopicTypeInfo
except (SyntaxError, ImportError):
from .input_schema_mapping import InputSchemaMapping
from .domain import Domain
from .domain_update_parameters import DomainUpdateParameters
from .domain_shared_access_keys import DomainSharedAccessKeys
from .domain_regenerate_key_request import DomainRegenerateKeyRequest
from .domain_topic import DomainTopic
from .event_subscription_destination import EventSubscriptionDestination
from .advanced_filter import AdvancedFilter
from .event_subscription_filter import EventSubscriptionFilter
from .retry_policy import RetryPolicy
from .dead_letter_destination import DeadLetterDestination
from .resource import Resource
from .number_in_advanced_filter import NumberInAdvancedFilter
from .storage_blob_dead_letter_destination import StorageBlobDeadLetterDestination
from .number_not_in_advanced_filter import NumberNotInAdvancedFilter
from .number_less_than_advanced_filter import NumberLessThanAdvancedFilter
from .number_greater_than_advanced_filter import NumberGreaterThanAdvancedFilter
from .number_less_than_or_equals_advanced_filter import NumberLessThanOrEqualsAdvancedFilter
from .number_greater_than_or_equals_advanced_filter import NumberGreaterThanOrEqualsAdvancedFilter
from .bool_equals_advanced_filter import BoolEqualsAdvancedFilter
from .string_in_advanced_filter import StringInAdvancedFilter
from .string_not_in_advanced_filter import StringNotInAdvancedFilter
from .string_begins_with_advanced_filter import StringBeginsWithAdvancedFilter
from .string_ends_with_advanced_filter import StringEndsWithAdvancedFilter
from .string_contains_advanced_filter import StringContainsAdvancedFilter
from .web_hook_event_subscription_destination import WebHookEventSubscriptionDestination
from .event_hub_event_subscription_destination import EventHubEventSubscriptionDestination
from .storage_queue_event_subscription_destination import StorageQueueEventSubscriptionDestination
Expand All @@ -89,59 +48,32 @@
from .event_subscription_full_url import EventSubscriptionFullUrl
from .operation_info import OperationInfo
from .operation import Operation
from .json_field import JsonField
from .json_field_with_default import JsonFieldWithDefault
from .json_input_schema_mapping import JsonInputSchemaMapping
from .tracked_resource import TrackedResource
from .topic import Topic
from .topic_update_parameters import TopicUpdateParameters
from .topic_shared_access_keys import TopicSharedAccessKeys
from .topic_regenerate_key_request import TopicRegenerateKeyRequest
from .event_type import EventType
from .topic_type_info import TopicTypeInfo
from .domain_paged import DomainPaged
from .domain_topic_paged import DomainTopicPaged
from .event_subscription_paged import EventSubscriptionPaged
from .operation_paged import OperationPaged
from .topic_paged import TopicPaged
from .event_type_paged import EventTypePaged
from .topic_type_info_paged import TopicTypeInfoPaged
from .event_grid_management_client_enums import (
DomainProvisioningState,
InputSchema,
EventSubscriptionProvisioningState,
EventDeliverySchema,
TopicProvisioningState,
ResourceRegionType,
TopicTypeProvisioningState,
)

__all__ = [
'InputSchemaMapping',
'Domain',
'DomainUpdateParameters',
'DomainSharedAccessKeys',
'DomainRegenerateKeyRequest',
'DomainTopic',
'EventSubscriptionDestination',
'AdvancedFilter',
'EventSubscriptionFilter',
'RetryPolicy',
'DeadLetterDestination',
'Resource',
'NumberInAdvancedFilter',
'StorageBlobDeadLetterDestination',
'NumberNotInAdvancedFilter',
'NumberLessThanAdvancedFilter',
'NumberGreaterThanAdvancedFilter',
'NumberLessThanOrEqualsAdvancedFilter',
'NumberGreaterThanOrEqualsAdvancedFilter',
'BoolEqualsAdvancedFilter',
'StringInAdvancedFilter',
'StringNotInAdvancedFilter',
'StringBeginsWithAdvancedFilter',
'StringEndsWithAdvancedFilter',
'StringContainsAdvancedFilter',
'WebHookEventSubscriptionDestination',
'EventHubEventSubscriptionDestination',
'StorageQueueEventSubscriptionDestination',
Expand All @@ -151,27 +83,19 @@
'EventSubscriptionFullUrl',
'OperationInfo',
'Operation',
'JsonField',
'JsonFieldWithDefault',
'JsonInputSchemaMapping',
'TrackedResource',
'Topic',
'TopicUpdateParameters',
'TopicSharedAccessKeys',
'TopicRegenerateKeyRequest',
'EventType',
'TopicTypeInfo',
'DomainPaged',
'DomainTopicPaged',
'EventSubscriptionPaged',
'OperationPaged',
'TopicPaged',
'EventTypePaged',
'TopicTypeInfoPaged',
'DomainProvisioningState',
'InputSchema',
'EventSubscriptionProvisioningState',
'EventDeliverySchema',
'TopicProvisioningState',
'ResourceRegionType',
'TopicTypeProvisioningState',
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit d5f9879

Please sign in to comment.