@@ -51,9 +51,18 @@ class AuthorizationManagementClient(MultiApiClientMixin, SDKClient):
5151 LATEST_PROFILE = ProfileDefinition ({
5252 _PROFILE_TAG : {
5353 None : DEFAULT_API_VERSION ,
54+ 'access_review_default_settings' : '2018-05-01-preview' ,
55+ 'access_review_instance' : '2018-05-01-preview' ,
56+ 'access_review_instance_decisions' : '2018-05-01-preview' ,
57+ 'access_review_instance_my_decisions' : '2018-05-01-preview' ,
58+ 'access_review_instances' : '2018-05-01-preview' ,
59+ 'access_review_instances_assigned_for_my_approval' : '2018-05-01-preview' ,
60+ 'access_review_schedule_definitions' : '2018-05-01-preview' ,
61+ 'access_review_schedule_definitions_assigned_for_my_approval' : '2018-05-01-preview' ,
5462 'classic_administrators' : '2015-07-01' ,
5563 'deny_assignments' : '2018-07-01-preview' ,
5664 'global_administrator' : '2015-07-01' ,
65+ 'operations' : '2018-05-01-preview' ,
5766 'permissions' : '2018-01-01-preview' ,
5867 'provider_operations_metadata' : '2018-01-01-preview' ,
5968 'role_definitions' : '2018-01-01-preview' ,
@@ -81,6 +90,7 @@ def models(cls, api_version=DEFAULT_API_VERSION):
8190 * 2015-06-01: :mod:`v2015_06_01.models<azure.mgmt.authorization.v2015_06_01.models>`
8291 * 2015-07-01: :mod:`v2015_07_01.models<azure.mgmt.authorization.v2015_07_01.models>`
8392 * 2018-01-01-preview: :mod:`v2018_01_01_preview.models<azure.mgmt.authorization.v2018_01_01_preview.models>`
93+ * 2018-05-01-preview: :mod:`v2018_05_01_preview.models<azure.mgmt.authorization.v2018_05_01_preview.models>`
8494 * 2018-07-01-preview: :mod:`v2018_07_01_preview.models<azure.mgmt.authorization.v2018_07_01_preview.models>`
8595 * 2018-09-01-preview: :mod:`v2018_09_01_preview.models<azure.mgmt.authorization.v2018_09_01_preview.models>`
8696 * 2020-04-01-preview: :mod:`v2020_04_01_preview.models<azure.mgmt.authorization.v2020_04_01_preview.models>`
@@ -94,6 +104,9 @@ def models(cls, api_version=DEFAULT_API_VERSION):
94104 elif api_version == '2018-01-01-preview' :
95105 from .v2018_01_01_preview import models
96106 return models
107+ elif api_version == '2018-05-01-preview' :
108+ from .v2018_05_01_preview import models
109+ return models
97110 elif api_version == '2018-07-01-preview' :
98111 from .v2018_07_01_preview import models
99112 return models
@@ -105,6 +118,110 @@ def models(cls, api_version=DEFAULT_API_VERSION):
105118 return models
106119 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
107120
121+ @property
122+ def access_review_default_settings (self ):
123+ """Instance depends on the API version:
124+
125+ * 2018-05-01-preview: :class:`AccessReviewDefaultSettingsOperations<azure.mgmt.authorization.v2018_05_01_preview.operations.AccessReviewDefaultSettingsOperations>`
126+ """
127+ api_version = self ._get_api_version ('access_review_default_settings' )
128+ if api_version == '2018-05-01-preview' :
129+ from .v2018_05_01_preview .operations import AccessReviewDefaultSettingsOperations as OperationClass
130+ else :
131+ raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
132+ return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
133+
134+ @property
135+ def access_review_instance (self ):
136+ """Instance depends on the API version:
137+
138+ * 2018-05-01-preview: :class:`AccessReviewInstanceOperations<azure.mgmt.authorization.v2018_05_01_preview.operations.AccessReviewInstanceOperations>`
139+ """
140+ api_version = self ._get_api_version ('access_review_instance' )
141+ if api_version == '2018-05-01-preview' :
142+ from .v2018_05_01_preview .operations import AccessReviewInstanceOperations as OperationClass
143+ else :
144+ raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
145+ return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
146+
147+ @property
148+ def access_review_instance_decisions (self ):
149+ """Instance depends on the API version:
150+
151+ * 2018-05-01-preview: :class:`AccessReviewInstanceDecisionsOperations<azure.mgmt.authorization.v2018_05_01_preview.operations.AccessReviewInstanceDecisionsOperations>`
152+ """
153+ api_version = self ._get_api_version ('access_review_instance_decisions' )
154+ if api_version == '2018-05-01-preview' :
155+ from .v2018_05_01_preview .operations import AccessReviewInstanceDecisionsOperations as OperationClass
156+ else :
157+ raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
158+ return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
159+
160+ @property
161+ def access_review_instance_my_decisions (self ):
162+ """Instance depends on the API version:
163+
164+ * 2018-05-01-preview: :class:`AccessReviewInstanceMyDecisionsOperations<azure.mgmt.authorization.v2018_05_01_preview.operations.AccessReviewInstanceMyDecisionsOperations>`
165+ """
166+ api_version = self ._get_api_version ('access_review_instance_my_decisions' )
167+ if api_version == '2018-05-01-preview' :
168+ from .v2018_05_01_preview .operations import AccessReviewInstanceMyDecisionsOperations as OperationClass
169+ else :
170+ raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
171+ return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
172+
173+ @property
174+ def access_review_instances (self ):
175+ """Instance depends on the API version:
176+
177+ * 2018-05-01-preview: :class:`AccessReviewInstancesOperations<azure.mgmt.authorization.v2018_05_01_preview.operations.AccessReviewInstancesOperations>`
178+ """
179+ api_version = self ._get_api_version ('access_review_instances' )
180+ if api_version == '2018-05-01-preview' :
181+ from .v2018_05_01_preview .operations import AccessReviewInstancesOperations as OperationClass
182+ else :
183+ raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
184+ return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
185+
186+ @property
187+ def access_review_instances_assigned_for_my_approval (self ):
188+ """Instance depends on the API version:
189+
190+ * 2018-05-01-preview: :class:`AccessReviewInstancesAssignedForMyApprovalOperations<azure.mgmt.authorization.v2018_05_01_preview.operations.AccessReviewInstancesAssignedForMyApprovalOperations>`
191+ """
192+ api_version = self ._get_api_version ('access_review_instances_assigned_for_my_approval' )
193+ if api_version == '2018-05-01-preview' :
194+ from .v2018_05_01_preview .operations import AccessReviewInstancesAssignedForMyApprovalOperations as OperationClass
195+ else :
196+ raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
197+ return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
198+
199+ @property
200+ def access_review_schedule_definitions (self ):
201+ """Instance depends on the API version:
202+
203+ * 2018-05-01-preview: :class:`AccessReviewScheduleDefinitionsOperations<azure.mgmt.authorization.v2018_05_01_preview.operations.AccessReviewScheduleDefinitionsOperations>`
204+ """
205+ api_version = self ._get_api_version ('access_review_schedule_definitions' )
206+ if api_version == '2018-05-01-preview' :
207+ from .v2018_05_01_preview .operations import AccessReviewScheduleDefinitionsOperations as OperationClass
208+ else :
209+ raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
210+ return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
211+
212+ @property
213+ def access_review_schedule_definitions_assigned_for_my_approval (self ):
214+ """Instance depends on the API version:
215+
216+ * 2018-05-01-preview: :class:`AccessReviewScheduleDefinitionsAssignedForMyApprovalOperations<azure.mgmt.authorization.v2018_05_01_preview.operations.AccessReviewScheduleDefinitionsAssignedForMyApprovalOperations>`
217+ """
218+ api_version = self ._get_api_version ('access_review_schedule_definitions_assigned_for_my_approval' )
219+ if api_version == '2018-05-01-preview' :
220+ from .v2018_05_01_preview .operations import AccessReviewScheduleDefinitionsAssignedForMyApprovalOperations as OperationClass
221+ else :
222+ raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
223+ return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
224+
108225 @property
109226 def classic_administrators (self ):
110227 """Instance depends on the API version:
@@ -147,6 +264,19 @@ def global_administrator(self):
147264 raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
148265 return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
149266
267+ @property
268+ def operations (self ):
269+ """Instance depends on the API version:
270+
271+ * 2018-05-01-preview: :class:`Operations<azure.mgmt.authorization.v2018_05_01_preview.operations.Operations>`
272+ """
273+ api_version = self ._get_api_version ('operations' )
274+ if api_version == '2018-05-01-preview' :
275+ from .v2018_05_01_preview .operations import Operations as OperationClass
276+ else :
277+ raise NotImplementedError ("APIVersion {} is not available" .format (api_version ))
278+ return OperationClass (self ._client , self .config , Serializer (self ._models_dict (api_version )), Deserializer (self ._models_dict (api_version )))
279+
150280 @property
151281 def permissions (self ):
152282 """Instance depends on the API version:
0 commit comments