77# --------------------------------------------------------------------------
88
99from copy import deepcopy
10- from typing import TYPE_CHECKING
10+ from typing import Any , Optional , TYPE_CHECKING
1111
12+ from azure .core .rest import HttpRequest , HttpResponse
1213from azure .mgmt .core import ARMPipelineClient
1314from msrest import Deserializer , Serializer
1415
1516from . import models
1617from ._configuration import EventGridManagementClientConfiguration
17- from .operations import DomainTopicsOperations , DomainsOperations , EventSubscriptionsOperations , ExtensionTopicsOperations , Operations , PrivateEndpointConnectionsOperations , PrivateLinkResourcesOperations , SystemTopicEventSubscriptionsOperations , SystemTopicsOperations , TopicTypesOperations , TopicsOperations
18+ from .operations import ChannelsOperations , DomainEventSubscriptionsOperations , DomainTopicEventSubscriptionsOperations , DomainTopicsOperations , DomainsOperations , EventChannelsOperations , EventSubscriptionsOperations , ExtensionTopicsOperations , Operations , PartnerConfigurationsOperations , PartnerDestinationsOperations , PartnerNamespacesOperations , PartnerRegistrationsOperations , PartnerTopicEventSubscriptionsOperations , PartnerTopicsOperations , PrivateEndpointConnectionsOperations , PrivateLinkResourcesOperations , SystemTopicEventSubscriptionsOperations , SystemTopicsOperations , TopicEventSubscriptionsOperations , TopicTypesOperations , TopicsOperations , VerifiedPartnersOperations
1819
1920if TYPE_CHECKING :
2021 # pylint: disable=unused-import,ungrouped-imports
21- from typing import Any , Optional
22-
2322 from azure .core .credentials import TokenCredential
24- from azure .core .rest import HttpRequest , HttpResponse
2523
26- class EventGridManagementClient ( object ) :
24+ class EventGridManagementClient :
2725 """Azure EventGrid Management Client.
2826
27+ :ivar channels: ChannelsOperations operations
28+ :vartype channels: azure.mgmt.eventgrid.operations.ChannelsOperations
2929 :ivar domains: DomainsOperations operations
3030 :vartype domains: azure.mgmt.eventgrid.operations.DomainsOperations
3131 :ivar domain_topics: DomainTopicsOperations operations
3232 :vartype domain_topics: azure.mgmt.eventgrid.operations.DomainTopicsOperations
33+ :ivar event_channels: EventChannelsOperations operations
34+ :vartype event_channels: azure.mgmt.eventgrid.operations.EventChannelsOperations
3335 :ivar event_subscriptions: EventSubscriptionsOperations operations
3436 :vartype event_subscriptions: azure.mgmt.eventgrid.operations.EventSubscriptionsOperations
37+ :ivar domain_topic_event_subscriptions: DomainTopicEventSubscriptionsOperations operations
38+ :vartype domain_topic_event_subscriptions:
39+ azure.mgmt.eventgrid.operations.DomainTopicEventSubscriptionsOperations
40+ :ivar topic_event_subscriptions: TopicEventSubscriptionsOperations operations
41+ :vartype topic_event_subscriptions:
42+ azure.mgmt.eventgrid.operations.TopicEventSubscriptionsOperations
43+ :ivar domain_event_subscriptions: DomainEventSubscriptionsOperations operations
44+ :vartype domain_event_subscriptions:
45+ azure.mgmt.eventgrid.operations.DomainEventSubscriptionsOperations
3546 :ivar system_topic_event_subscriptions: SystemTopicEventSubscriptionsOperations operations
3647 :vartype system_topic_event_subscriptions:
3748 azure.mgmt.eventgrid.operations.SystemTopicEventSubscriptionsOperations
49+ :ivar partner_topic_event_subscriptions: PartnerTopicEventSubscriptionsOperations operations
50+ :vartype partner_topic_event_subscriptions:
51+ azure.mgmt.eventgrid.operations.PartnerTopicEventSubscriptionsOperations
3852 :ivar operations: Operations operations
3953 :vartype operations: azure.mgmt.eventgrid.operations.Operations
40- :ivar topics: TopicsOperations operations
41- :vartype topics: azure.mgmt.eventgrid.operations.TopicsOperations
54+ :ivar partner_configurations: PartnerConfigurationsOperations operations
55+ :vartype partner_configurations:
56+ azure.mgmt.eventgrid.operations.PartnerConfigurationsOperations
57+ :ivar partner_destinations: PartnerDestinationsOperations operations
58+ :vartype partner_destinations: azure.mgmt.eventgrid.operations.PartnerDestinationsOperations
59+ :ivar partner_namespaces: PartnerNamespacesOperations operations
60+ :vartype partner_namespaces: azure.mgmt.eventgrid.operations.PartnerNamespacesOperations
61+ :ivar partner_registrations: PartnerRegistrationsOperations operations
62+ :vartype partner_registrations: azure.mgmt.eventgrid.operations.PartnerRegistrationsOperations
63+ :ivar partner_topics: PartnerTopicsOperations operations
64+ :vartype partner_topics: azure.mgmt.eventgrid.operations.PartnerTopicsOperations
4265 :ivar private_endpoint_connections: PrivateEndpointConnectionsOperations operations
4366 :vartype private_endpoint_connections:
4467 azure.mgmt.eventgrid.operations.PrivateEndpointConnectionsOperations
4568 :ivar private_link_resources: PrivateLinkResourcesOperations operations
4669 :vartype private_link_resources: azure.mgmt.eventgrid.operations.PrivateLinkResourcesOperations
4770 :ivar system_topics: SystemTopicsOperations operations
4871 :vartype system_topics: azure.mgmt.eventgrid.operations.SystemTopicsOperations
72+ :ivar topics: TopicsOperations operations
73+ :vartype topics: azure.mgmt.eventgrid.operations.TopicsOperations
4974 :ivar extension_topics: ExtensionTopicsOperations operations
5075 :vartype extension_topics: azure.mgmt.eventgrid.operations.ExtensionTopicsOperations
5176 :ivar topic_types: TopicTypesOperations operations
5277 :vartype topic_types: azure.mgmt.eventgrid.operations.TopicTypesOperations
78+ :ivar verified_partners: VerifiedPartnersOperations operations
79+ :vartype verified_partners: azure.mgmt.eventgrid.operations.VerifiedPartnersOperations
5380 :param credential: Credential needed for the client to connect to Azure.
5481 :type credential: ~azure.core.credentials.TokenCredential
5582 :param subscription_id: Subscription credentials that uniquely identify a Microsoft Azure
@@ -63,38 +90,48 @@ class EventGridManagementClient(object):
6390
6491 def __init__ (
6592 self ,
66- credential , # type: "TokenCredential"
67- subscription_id , # type: str
68- base_url = "https://management.azure.com" , # type: str
69- ** kwargs # type: Any
70- ):
71- # type: (...) -> None
93+ credential : "TokenCredential" ,
94+ subscription_id : str ,
95+ base_url : str = "https://management.azure.com" ,
96+ ** kwargs : Any
97+ ) -> None :
7298 self ._config = EventGridManagementClientConfiguration (credential = credential , subscription_id = subscription_id , ** kwargs )
7399 self ._client = ARMPipelineClient (base_url = base_url , config = self ._config , ** kwargs )
74100
75101 client_models = {k : v for k , v in models .__dict__ .items () if isinstance (v , type )}
76102 self ._serialize = Serializer (client_models )
77103 self ._deserialize = Deserializer (client_models )
78104 self ._serialize .client_side_validation = False
105+ self .channels = ChannelsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
79106 self .domains = DomainsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
80107 self .domain_topics = DomainTopicsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
108+ self .event_channels = EventChannelsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
81109 self .event_subscriptions = EventSubscriptionsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
110+ self .domain_topic_event_subscriptions = DomainTopicEventSubscriptionsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
111+ self .topic_event_subscriptions = TopicEventSubscriptionsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
112+ self .domain_event_subscriptions = DomainEventSubscriptionsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
82113 self .system_topic_event_subscriptions = SystemTopicEventSubscriptionsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
114+ self .partner_topic_event_subscriptions = PartnerTopicEventSubscriptionsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
83115 self .operations = Operations (self ._client , self ._config , self ._serialize , self ._deserialize )
84- self .topics = TopicsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
116+ self .partner_configurations = PartnerConfigurationsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
117+ self .partner_destinations = PartnerDestinationsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
118+ self .partner_namespaces = PartnerNamespacesOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
119+ self .partner_registrations = PartnerRegistrationsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
120+ self .partner_topics = PartnerTopicsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
85121 self .private_endpoint_connections = PrivateEndpointConnectionsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
86122 self .private_link_resources = PrivateLinkResourcesOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
87123 self .system_topics = SystemTopicsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
124+ self .topics = TopicsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
88125 self .extension_topics = ExtensionTopicsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
89126 self .topic_types = TopicTypesOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
127+ self .verified_partners = VerifiedPartnersOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
90128
91129
92130 def _send_request (
93131 self ,
94132 request , # type: HttpRequest
95- ** kwargs # type: Any
96- ):
97- # type: (...) -> HttpResponse
133+ ** kwargs : Any
134+ ) -> HttpResponse :
98135 """Runs the network request through the client's chained policies.
99136
100137 >>> from azure.core.rest import HttpRequest
0 commit comments