13
13
from msrest import Serializer , Deserializer
14
14
from msrestazure import AzureConfiguration
15
15
from .version import VERSION
16
- from msrest .pipeline import ClientRawResponse
17
- from msrestazure .azure_exceptions import CloudError
18
- import uuid
19
16
from .operations .workflows_operations import WorkflowsOperations
20
17
from .operations .workflow_versions_operations import WorkflowVersionsOperations
21
18
from .operations .workflow_triggers_operations import WorkflowTriggersOperations
19
+ from .operations .workflow_version_triggers_operations import WorkflowVersionTriggersOperations
22
20
from .operations .workflow_trigger_histories_operations import WorkflowTriggerHistoriesOperations
23
21
from .operations .workflow_runs_operations import WorkflowRunsOperations
24
22
from .operations .workflow_run_actions_operations import WorkflowRunActionsOperations
25
23
from .operations .workflow_run_action_repetitions_operations import WorkflowRunActionRepetitionsOperations
26
- from .operations .workflow_run_action_scoped_repetitions_operations import WorkflowRunActionScopedRepetitionsOperations
24
+ from .operations .workflow_run_action_repetitions_request_histories_operations import WorkflowRunActionRepetitionsRequestHistoriesOperations
25
+ from .operations .workflow_run_action_request_histories_operations import WorkflowRunActionRequestHistoriesOperations
26
+ from .operations .workflow_run_action_scope_repetitions_operations import WorkflowRunActionScopeRepetitionsOperations
27
27
from .operations .workflow_run_operations import WorkflowRunOperations
28
28
from .operations .integration_accounts_operations import IntegrationAccountsOperations
29
29
from .operations .integration_account_assemblies_operations import IntegrationAccountAssembliesOperations
30
30
from .operations .integration_account_batch_configurations_operations import IntegrationAccountBatchConfigurationsOperations
31
- from .operations .schemas_operations import SchemasOperations
32
- from .operations .maps_operations import MapsOperations
33
- from .operations .partners_operations import PartnersOperations
34
- from .operations .agreements_operations import AgreementsOperations
35
- from .operations .certificates_operations import CertificatesOperations
36
- from .operations .sessions_operations import SessionsOperations
31
+ from .operations .integration_account_schemas_operations import IntegrationAccountSchemasOperations
32
+ from .operations .integration_account_maps_operations import IntegrationAccountMapsOperations
33
+ from .operations .integration_account_partners_operations import IntegrationAccountPartnersOperations
34
+ from .operations .integration_account_agreements_operations import IntegrationAccountAgreementsOperations
35
+ from .operations .integration_account_certificates_operations import IntegrationAccountCertificatesOperations
36
+ from .operations .integration_account_sessions_operations import IntegrationAccountSessionsOperations
37
+ from .operations .operations import Operations
37
38
from . import models
38
39
39
40
@@ -81,6 +82,8 @@ class LogicManagementClient(SDKClient):
81
82
:vartype workflow_versions: azure.mgmt.logic.operations.WorkflowVersionsOperations
82
83
:ivar workflow_triggers: WorkflowTriggers operations
83
84
:vartype workflow_triggers: azure.mgmt.logic.operations.WorkflowTriggersOperations
85
+ :ivar workflow_version_triggers: WorkflowVersionTriggers operations
86
+ :vartype workflow_version_triggers: azure.mgmt.logic.operations.WorkflowVersionTriggersOperations
84
87
:ivar workflow_trigger_histories: WorkflowTriggerHistories operations
85
88
:vartype workflow_trigger_histories: azure.mgmt.logic.operations.WorkflowTriggerHistoriesOperations
86
89
:ivar workflow_runs: WorkflowRuns operations
@@ -89,8 +92,12 @@ class LogicManagementClient(SDKClient):
89
92
:vartype workflow_run_actions: azure.mgmt.logic.operations.WorkflowRunActionsOperations
90
93
:ivar workflow_run_action_repetitions: WorkflowRunActionRepetitions operations
91
94
:vartype workflow_run_action_repetitions: azure.mgmt.logic.operations.WorkflowRunActionRepetitionsOperations
92
- :ivar workflow_run_action_scoped_repetitions: WorkflowRunActionScopedRepetitions operations
93
- :vartype workflow_run_action_scoped_repetitions: azure.mgmt.logic.operations.WorkflowRunActionScopedRepetitionsOperations
95
+ :ivar workflow_run_action_repetitions_request_histories: WorkflowRunActionRepetitionsRequestHistories operations
96
+ :vartype workflow_run_action_repetitions_request_histories: azure.mgmt.logic.operations.WorkflowRunActionRepetitionsRequestHistoriesOperations
97
+ :ivar workflow_run_action_request_histories: WorkflowRunActionRequestHistories operations
98
+ :vartype workflow_run_action_request_histories: azure.mgmt.logic.operations.WorkflowRunActionRequestHistoriesOperations
99
+ :ivar workflow_run_action_scope_repetitions: WorkflowRunActionScopeRepetitions operations
100
+ :vartype workflow_run_action_scope_repetitions: azure.mgmt.logic.operations.WorkflowRunActionScopeRepetitionsOperations
94
101
:ivar workflow_run_operations: WorkflowRunOperations operations
95
102
:vartype workflow_run_operations: azure.mgmt.logic.operations.WorkflowRunOperations
96
103
:ivar integration_accounts: IntegrationAccounts operations
@@ -99,18 +106,20 @@ class LogicManagementClient(SDKClient):
99
106
:vartype integration_account_assemblies: azure.mgmt.logic.operations.IntegrationAccountAssembliesOperations
100
107
:ivar integration_account_batch_configurations: IntegrationAccountBatchConfigurations operations
101
108
:vartype integration_account_batch_configurations: azure.mgmt.logic.operations.IntegrationAccountBatchConfigurationsOperations
102
- :ivar schemas: Schemas operations
103
- :vartype schemas: azure.mgmt.logic.operations.SchemasOperations
104
- :ivar maps: Maps operations
105
- :vartype maps: azure.mgmt.logic.operations.MapsOperations
106
- :ivar partners: Partners operations
107
- :vartype partners: azure.mgmt.logic.operations.PartnersOperations
108
- :ivar agreements: Agreements operations
109
- :vartype agreements: azure.mgmt.logic.operations.AgreementsOperations
110
- :ivar certificates: Certificates operations
111
- :vartype certificates: azure.mgmt.logic.operations.CertificatesOperations
112
- :ivar sessions: Sessions operations
113
- :vartype sessions: azure.mgmt.logic.operations.SessionsOperations
109
+ :ivar integration_account_schemas: IntegrationAccountSchemas operations
110
+ :vartype integration_account_schemas: azure.mgmt.logic.operations.IntegrationAccountSchemasOperations
111
+ :ivar integration_account_maps: IntegrationAccountMaps operations
112
+ :vartype integration_account_maps: azure.mgmt.logic.operations.IntegrationAccountMapsOperations
113
+ :ivar integration_account_partners: IntegrationAccountPartners operations
114
+ :vartype integration_account_partners: azure.mgmt.logic.operations.IntegrationAccountPartnersOperations
115
+ :ivar integration_account_agreements: IntegrationAccountAgreements operations
116
+ :vartype integration_account_agreements: azure.mgmt.logic.operations.IntegrationAccountAgreementsOperations
117
+ :ivar integration_account_certificates: IntegrationAccountCertificates operations
118
+ :vartype integration_account_certificates: azure.mgmt.logic.operations.IntegrationAccountCertificatesOperations
119
+ :ivar integration_account_sessions: IntegrationAccountSessions operations
120
+ :vartype integration_account_sessions: azure.mgmt.logic.operations.IntegrationAccountSessionsOperations
121
+ :ivar operations: Operations operations
122
+ :vartype operations: azure.mgmt.logic.operations.Operations
114
123
115
124
:param credentials: Credentials needed for the client to connect to Azure.
116
125
:type credentials: :mod:`A msrestazure Credentials
@@ -127,7 +136,7 @@ def __init__(
127
136
super (LogicManagementClient , self ).__init__ (self .config .credentials , self .config )
128
137
129
138
client_models = {k : v for k , v in models .__dict__ .items () if isinstance (v , type )}
130
- self .api_version = '2016-06 -01'
139
+ self .api_version = '2018-07 -01-preview '
131
140
self ._serialize = Serializer (client_models )
132
141
self ._deserialize = Deserializer (client_models )
133
142
@@ -137,6 +146,8 @@ def __init__(
137
146
self ._client , self .config , self ._serialize , self ._deserialize )
138
147
self .workflow_triggers = WorkflowTriggersOperations (
139
148
self ._client , self .config , self ._serialize , self ._deserialize )
149
+ self .workflow_version_triggers = WorkflowVersionTriggersOperations (
150
+ self ._client , self .config , self ._serialize , self ._deserialize )
140
151
self .workflow_trigger_histories = WorkflowTriggerHistoriesOperations (
141
152
self ._client , self .config , self ._serialize , self ._deserialize )
142
153
self .workflow_runs = WorkflowRunsOperations (
@@ -145,7 +156,11 @@ def __init__(
145
156
self ._client , self .config , self ._serialize , self ._deserialize )
146
157
self .workflow_run_action_repetitions = WorkflowRunActionRepetitionsOperations (
147
158
self ._client , self .config , self ._serialize , self ._deserialize )
148
- self .workflow_run_action_scoped_repetitions = WorkflowRunActionScopedRepetitionsOperations (
159
+ self .workflow_run_action_repetitions_request_histories = WorkflowRunActionRepetitionsRequestHistoriesOperations (
160
+ self ._client , self .config , self ._serialize , self ._deserialize )
161
+ self .workflow_run_action_request_histories = WorkflowRunActionRequestHistoriesOperations (
162
+ self ._client , self .config , self ._serialize , self ._deserialize )
163
+ self .workflow_run_action_scope_repetitions = WorkflowRunActionScopeRepetitionsOperations (
149
164
self ._client , self .config , self ._serialize , self ._deserialize )
150
165
self .workflow_run_operations = WorkflowRunOperations (
151
166
self ._client , self .config , self ._serialize , self ._deserialize )
@@ -155,75 +170,17 @@ def __init__(
155
170
self ._client , self .config , self ._serialize , self ._deserialize )
156
171
self .integration_account_batch_configurations = IntegrationAccountBatchConfigurationsOperations (
157
172
self ._client , self .config , self ._serialize , self ._deserialize )
158
- self .schemas = SchemasOperations (
173
+ self .integration_account_schemas = IntegrationAccountSchemasOperations (
159
174
self ._client , self .config , self ._serialize , self ._deserialize )
160
- self .maps = MapsOperations (
175
+ self .integration_account_maps = IntegrationAccountMapsOperations (
161
176
self ._client , self .config , self ._serialize , self ._deserialize )
162
- self .partners = PartnersOperations (
177
+ self .integration_account_partners = IntegrationAccountPartnersOperations (
163
178
self ._client , self .config , self ._serialize , self ._deserialize )
164
- self .agreements = AgreementsOperations (
179
+ self .integration_account_agreements = IntegrationAccountAgreementsOperations (
165
180
self ._client , self .config , self ._serialize , self ._deserialize )
166
- self .certificates = CertificatesOperations (
181
+ self .integration_account_certificates = IntegrationAccountCertificatesOperations (
167
182
self ._client , self .config , self ._serialize , self ._deserialize )
168
- self .sessions = SessionsOperations (
183
+ self .integration_account_sessions = IntegrationAccountSessionsOperations (
184
+ self ._client , self .config , self ._serialize , self ._deserialize )
185
+ self .operations = Operations (
169
186
self ._client , self .config , self ._serialize , self ._deserialize )
170
-
171
- def list_operations (
172
- self , custom_headers = None , raw = False , ** operation_config ):
173
- """Lists all of the available Logic REST API operations.
174
-
175
- :param dict custom_headers: headers that will be added to the request
176
- :param bool raw: returns the direct response alongside the
177
- deserialized response
178
- :param operation_config: :ref:`Operation configuration
179
- overrides<msrest:optionsforoperations>`.
180
- :return: An iterator like instance of Operation
181
- :rtype:
182
- ~azure.mgmt.logic.models.OperationPaged[~azure.mgmt.logic.models.Operation]
183
- :raises:
184
- :class:`ErrorResponseException<azure.mgmt.logic.models.ErrorResponseException>`
185
- """
186
- def internal_paging (next_link = None , raw = False ):
187
-
188
- if not next_link :
189
- # Construct URL
190
- url = self .list_operations .metadata ['url' ]
191
-
192
- # Construct parameters
193
- query_parameters = {}
194
- query_parameters ['api-version' ] = self ._serialize .query ("self.api_version" , self .api_version , 'str' )
195
-
196
- else :
197
- url = next_link
198
- query_parameters = {}
199
-
200
- # Construct headers
201
- header_parameters = {}
202
- header_parameters ['Content-Type' ] = 'application/json; charset=utf-8'
203
- if self .config .generate_client_request_id :
204
- header_parameters ['x-ms-client-request-id' ] = str (uuid .uuid1 ())
205
- if custom_headers :
206
- header_parameters .update (custom_headers )
207
- if self .config .accept_language is not None :
208
- header_parameters ['accept-language' ] = self ._serialize .header ("self.config.accept_language" , self .config .accept_language , 'str' )
209
-
210
- # Construct and send request
211
- request = self ._client .get (url , query_parameters )
212
- response = self ._client .send (
213
- request , header_parameters , stream = False , ** operation_config )
214
-
215
- if response .status_code not in [200 ]:
216
- raise models .ErrorResponseException (self ._deserialize , response )
217
-
218
- return response
219
-
220
- # Deserialize response
221
- deserialized = models .OperationPaged (internal_paging , self ._deserialize .dependencies )
222
-
223
- if raw :
224
- header_dict = {}
225
- client_raw_response = models .OperationPaged (internal_paging , self ._deserialize .dependencies , header_dict )
226
- return client_raw_response
227
-
228
- return deserialized
229
- list_operations .metadata = {'url' : '/providers/Microsoft.Logic/operations' }
0 commit comments