16
16
from ._configuration import EventGridManagementClientConfiguration
17
17
from ._serialization import Deserializer , Serializer
18
18
from .operations import (
19
+ CaCertificatesOperations ,
19
20
ChannelsOperations ,
21
+ ClientGroupsOperations ,
22
+ ClientsOperations ,
20
23
DomainEventSubscriptionsOperations ,
21
24
DomainTopicEventSubscriptionsOperations ,
22
25
DomainTopicsOperations ,
23
26
DomainsOperations ,
24
27
EventSubscriptionsOperations ,
25
28
ExtensionTopicsOperations ,
29
+ NamespaceTopicEventSubscriptionsOperations ,
30
+ NamespaceTopicsOperations ,
31
+ NamespacesOperations ,
26
32
Operations ,
27
33
PartnerConfigurationsOperations ,
34
+ PartnerDestinationsOperations ,
28
35
PartnerNamespacesOperations ,
29
36
PartnerRegistrationsOperations ,
30
37
PartnerTopicEventSubscriptionsOperations ,
31
38
PartnerTopicsOperations ,
39
+ PermissionBindingsOperations ,
32
40
PrivateEndpointConnectionsOperations ,
33
41
PrivateLinkResourcesOperations ,
34
42
SystemTopicEventSubscriptionsOperations ,
35
43
SystemTopicsOperations ,
36
44
TopicEventSubscriptionsOperations ,
45
+ TopicSpacesOperations ,
37
46
TopicTypesOperations ,
38
47
TopicsOperations ,
39
48
VerifiedPartnersOperations ,
47
56
class EventGridManagementClient : # pylint: disable=client-accepts-api-version-keyword,too-many-instance-attributes
48
57
"""Azure EventGrid Management Client.
49
58
59
+ :ivar ca_certificates: CaCertificatesOperations operations
60
+ :vartype ca_certificates: azure.mgmt.eventgrid.operations.CaCertificatesOperations
50
61
:ivar channels: ChannelsOperations operations
51
62
:vartype channels: azure.mgmt.eventgrid.operations.ChannelsOperations
63
+ :ivar client_groups: ClientGroupsOperations operations
64
+ :vartype client_groups: azure.mgmt.eventgrid.operations.ClientGroupsOperations
65
+ :ivar clients: ClientsOperations operations
66
+ :vartype clients: azure.mgmt.eventgrid.operations.ClientsOperations
52
67
:ivar domains: DomainsOperations operations
53
68
:vartype domains: azure.mgmt.eventgrid.operations.DomainsOperations
54
69
:ivar domain_topics: DomainTopicsOperations operations
55
70
:vartype domain_topics: azure.mgmt.eventgrid.operations.DomainTopicsOperations
71
+ :ivar domain_topic_event_subscriptions: DomainTopicEventSubscriptionsOperations operations
72
+ :vartype domain_topic_event_subscriptions:
73
+ azure.mgmt.eventgrid.operations.DomainTopicEventSubscriptionsOperations
56
74
:ivar topic_event_subscriptions: TopicEventSubscriptionsOperations operations
57
75
:vartype topic_event_subscriptions:
58
76
azure.mgmt.eventgrid.operations.TopicEventSubscriptionsOperations
@@ -61,37 +79,48 @@ class EventGridManagementClient: # pylint: disable=client-accepts-api-version-k
61
79
azure.mgmt.eventgrid.operations.DomainEventSubscriptionsOperations
62
80
:ivar event_subscriptions: EventSubscriptionsOperations operations
63
81
:vartype event_subscriptions: azure.mgmt.eventgrid.operations.EventSubscriptionsOperations
64
- :ivar domain_topic_event_subscriptions: DomainTopicEventSubscriptionsOperations operations
65
- :vartype domain_topic_event_subscriptions:
66
- azure.mgmt.eventgrid.operations.DomainTopicEventSubscriptionsOperations
67
82
:ivar system_topic_event_subscriptions: SystemTopicEventSubscriptionsOperations operations
68
83
:vartype system_topic_event_subscriptions:
69
84
azure.mgmt.eventgrid.operations.SystemTopicEventSubscriptionsOperations
85
+ :ivar namespace_topic_event_subscriptions: NamespaceTopicEventSubscriptionsOperations
86
+ operations
87
+ :vartype namespace_topic_event_subscriptions:
88
+ azure.mgmt.eventgrid.operations.NamespaceTopicEventSubscriptionsOperations
70
89
:ivar partner_topic_event_subscriptions: PartnerTopicEventSubscriptionsOperations operations
71
90
:vartype partner_topic_event_subscriptions:
72
91
azure.mgmt.eventgrid.operations.PartnerTopicEventSubscriptionsOperations
92
+ :ivar namespaces: NamespacesOperations operations
93
+ :vartype namespaces: azure.mgmt.eventgrid.operations.NamespacesOperations
94
+ :ivar namespace_topics: NamespaceTopicsOperations operations
95
+ :vartype namespace_topics: azure.mgmt.eventgrid.operations.NamespaceTopicsOperations
73
96
:ivar operations: Operations operations
74
97
:vartype operations: azure.mgmt.eventgrid.operations.Operations
75
- :ivar topics: TopicsOperations operations
76
- :vartype topics: azure.mgmt.eventgrid.operations.TopicsOperations
77
98
:ivar partner_configurations: PartnerConfigurationsOperations operations
78
99
:vartype partner_configurations:
79
100
azure.mgmt.eventgrid.operations.PartnerConfigurationsOperations
101
+ :ivar partner_destinations: PartnerDestinationsOperations operations
102
+ :vartype partner_destinations: azure.mgmt.eventgrid.operations.PartnerDestinationsOperations
80
103
:ivar partner_namespaces: PartnerNamespacesOperations operations
81
104
:vartype partner_namespaces: azure.mgmt.eventgrid.operations.PartnerNamespacesOperations
82
105
:ivar partner_registrations: PartnerRegistrationsOperations operations
83
106
:vartype partner_registrations: azure.mgmt.eventgrid.operations.PartnerRegistrationsOperations
84
107
:ivar partner_topics: PartnerTopicsOperations operations
85
108
:vartype partner_topics: azure.mgmt.eventgrid.operations.PartnerTopicsOperations
109
+ :ivar permission_bindings: PermissionBindingsOperations operations
110
+ :vartype permission_bindings: azure.mgmt.eventgrid.operations.PermissionBindingsOperations
86
111
:ivar private_endpoint_connections: PrivateEndpointConnectionsOperations operations
87
112
:vartype private_endpoint_connections:
88
113
azure.mgmt.eventgrid.operations.PrivateEndpointConnectionsOperations
89
114
:ivar private_link_resources: PrivateLinkResourcesOperations operations
90
115
:vartype private_link_resources: azure.mgmt.eventgrid.operations.PrivateLinkResourcesOperations
91
116
:ivar system_topics: SystemTopicsOperations operations
92
117
:vartype system_topics: azure.mgmt.eventgrid.operations.SystemTopicsOperations
118
+ :ivar topics: TopicsOperations operations
119
+ :vartype topics: azure.mgmt.eventgrid.operations.TopicsOperations
93
120
:ivar extension_topics: ExtensionTopicsOperations operations
94
121
:vartype extension_topics: azure.mgmt.eventgrid.operations.ExtensionTopicsOperations
122
+ :ivar topic_spaces: TopicSpacesOperations operations
123
+ :vartype topic_spaces: azure.mgmt.eventgrid.operations.TopicSpacesOperations
95
124
:ivar topic_types: TopicTypesOperations operations
96
125
:vartype topic_types: azure.mgmt.eventgrid.operations.TopicTypesOperations
97
126
:ivar verified_partners: VerifiedPartnersOperations operations
@@ -103,8 +132,8 @@ class EventGridManagementClient: # pylint: disable=client-accepts-api-version-k
103
132
:type subscription_id: str
104
133
:param base_url: Service URL. Default value is "https://management.azure.com".
105
134
:type base_url: str
106
- :keyword api_version: Api Version. Default value is "2022 -06-15 ". Note that overriding this
107
- default value may result in unsupported behavior.
135
+ :keyword api_version: Api Version. Default value is "2023 -06-01-preview ". Note that overriding
136
+ this default value may result in unsupported behavior.
108
137
:paramtype api_version: str
109
138
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
110
139
Retry-After header is present.
@@ -120,15 +149,21 @@ def __init__(
120
149
self ._config = EventGridManagementClientConfiguration (
121
150
credential = credential , subscription_id = subscription_id , ** kwargs
122
151
)
123
- self ._client = ARMPipelineClient (base_url = base_url , config = self ._config , ** kwargs )
152
+ self ._client : ARMPipelineClient = ARMPipelineClient (base_url = base_url , config = self ._config , ** kwargs )
124
153
125
154
client_models = {k : v for k , v in _models .__dict__ .items () if isinstance (v , type )}
126
155
self ._serialize = Serializer (client_models )
127
156
self ._deserialize = Deserializer (client_models )
128
157
self ._serialize .client_side_validation = False
158
+ self .ca_certificates = CaCertificatesOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
129
159
self .channels = ChannelsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
160
+ self .client_groups = ClientGroupsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
161
+ self .clients = ClientsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
130
162
self .domains = DomainsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
131
163
self .domain_topics = DomainTopicsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
164
+ self .domain_topic_event_subscriptions = DomainTopicEventSubscriptionsOperations (
165
+ self ._client , self ._config , self ._serialize , self ._deserialize
166
+ )
132
167
self .topic_event_subscriptions = TopicEventSubscriptionsOperations (
133
168
self ._client , self ._config , self ._serialize , self ._deserialize
134
169
)
@@ -138,37 +173,48 @@ def __init__(
138
173
self .event_subscriptions = EventSubscriptionsOperations (
139
174
self ._client , self ._config , self ._serialize , self ._deserialize
140
175
)
141
- self .domain_topic_event_subscriptions = DomainTopicEventSubscriptionsOperations (
176
+ self .system_topic_event_subscriptions = SystemTopicEventSubscriptionsOperations (
142
177
self ._client , self ._config , self ._serialize , self ._deserialize
143
178
)
144
- self .system_topic_event_subscriptions = SystemTopicEventSubscriptionsOperations (
179
+ self .namespace_topic_event_subscriptions = NamespaceTopicEventSubscriptionsOperations (
145
180
self ._client , self ._config , self ._serialize , self ._deserialize
146
181
)
147
182
self .partner_topic_event_subscriptions = PartnerTopicEventSubscriptionsOperations (
148
183
self ._client , self ._config , self ._serialize , self ._deserialize
149
184
)
185
+ self .namespaces = NamespacesOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
186
+ self .namespace_topics = NamespaceTopicsOperations (
187
+ self ._client , self ._config , self ._serialize , self ._deserialize
188
+ )
150
189
self .operations = Operations (self ._client , self ._config , self ._serialize , self ._deserialize )
151
- self .topics = TopicsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
152
190
self .partner_configurations = PartnerConfigurationsOperations (
153
191
self ._client , self ._config , self ._serialize , self ._deserialize
154
192
)
193
+ self .partner_destinations = PartnerDestinationsOperations (
194
+ self ._client , self ._config , self ._serialize , self ._deserialize
195
+ )
155
196
self .partner_namespaces = PartnerNamespacesOperations (
156
197
self ._client , self ._config , self ._serialize , self ._deserialize
157
198
)
158
199
self .partner_registrations = PartnerRegistrationsOperations (
159
200
self ._client , self ._config , self ._serialize , self ._deserialize
160
201
)
161
202
self .partner_topics = PartnerTopicsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
203
+ self .permission_bindings = PermissionBindingsOperations (
204
+ self ._client , self ._config , self ._serialize , self ._deserialize
205
+ )
162
206
self .private_endpoint_connections = PrivateEndpointConnectionsOperations (
163
207
self ._client , self ._config , self ._serialize , self ._deserialize
164
208
)
165
209
self .private_link_resources = PrivateLinkResourcesOperations (
166
210
self ._client , self ._config , self ._serialize , self ._deserialize
167
211
)
168
212
self .system_topics = SystemTopicsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
213
+ self .topics = TopicsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
169
214
self .extension_topics = ExtensionTopicsOperations (
170
215
self ._client , self ._config , self ._serialize , self ._deserialize
171
216
)
217
+ self .topic_spaces = TopicSpacesOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
172
218
self .topic_types = TopicTypesOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
173
219
self .verified_partners = VerifiedPartnersOperations (
174
220
self ._client , self ._config , self ._serialize , self ._deserialize
@@ -203,5 +249,5 @@ def __enter__(self) -> "EventGridManagementClient":
203
249
self ._client .__enter__ ()
204
250
return self
205
251
206
- def __exit__ (self , * exc_details ) -> None :
252
+ def __exit__ (self , * exc_details : Any ) -> None :
207
253
self ._client .__exit__ (* exc_details )
0 commit comments