1// +build go1.13
2
3// Copyright (c) Microsoft Corporation. All rights reserved.
4// Licensed under the MIT License. See License.txt in the project root for license information.
5// Code generated by Microsoft (R) AutoRest Code Generator.
6// Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
8package azartifacts
9
10import (
11	"context"
12	"net/http"
13	"time"
14)
15
16// ActivityRunsQueryResponseResponse is the response envelope for operations that return a ActivityRunsQueryResponse type.
17type ActivityRunsQueryResponseResponse struct {
18	// A list activity runs.
19	ActivityRunsQueryResponse *ActivityRunsQueryResponse
20
21	// RawResponse contains the underlying HTTP response.
22	RawResponse *http.Response
23}
24
25// AddDataFlowToDebugSessionResponseResponse is the response envelope for operations that return a AddDataFlowToDebugSessionResponse type.
26type AddDataFlowToDebugSessionResponseResponse struct {
27	// Response body structure for starting data flow debug session.
28	AddDataFlowToDebugSessionResponse *AddDataFlowToDebugSessionResponse
29
30	// RawResponse contains the underlying HTTP response.
31	RawResponse *http.Response
32}
33
34// BigDataPoolResourceInfoListResultResponse is the response envelope for operations that return a BigDataPoolResourceInfoListResult type.
35type BigDataPoolResourceInfoListResultResponse struct {
36	// Collection of Big Data pool information
37	BigDataPoolResourceInfoListResult *BigDataPoolResourceInfoListResult
38
39	// RawResponse contains the underlying HTTP response.
40	RawResponse *http.Response
41}
42
43// BigDataPoolResourceInfoResponse is the response envelope for operations that return a BigDataPoolResourceInfo type.
44type BigDataPoolResourceInfoResponse struct {
45	// A Big Data pool
46	BigDataPoolResourceInfo *BigDataPoolResourceInfo
47
48	// RawResponse contains the underlying HTTP response.
49	RawResponse *http.Response
50}
51
52// CreateDataFlowDebugSessionResponsePollerResponse is the response envelope for operations that asynchronously return a CreateDataFlowDebugSessionResponse
53// type.
54type CreateDataFlowDebugSessionResponsePollerResponse struct {
55	// PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received
56	PollUntilDone func(ctx context.Context, frequency time.Duration) (CreateDataFlowDebugSessionResponseResponse, error)
57
58	// Poller contains an initialized poller.
59	Poller CreateDataFlowDebugSessionResponsePoller
60
61	// RawResponse contains the underlying HTTP response.
62	RawResponse *http.Response
63}
64
65// CreateDataFlowDebugSessionResponseResponse is the response envelope for operations that return a CreateDataFlowDebugSessionResponse type.
66type CreateDataFlowDebugSessionResponseResponse struct {
67	// Response body structure for creating data flow debug session.
68	CreateDataFlowDebugSessionResponse *CreateDataFlowDebugSessionResponse
69
70	// RawResponse contains the underlying HTTP response.
71	RawResponse *http.Response
72}
73
74// CreateRunResponseResponse is the response envelope for operations that return a CreateRunResponse type.
75type CreateRunResponseResponse struct {
76	// Response body with a run identifier.
77	CreateRunResponse *CreateRunResponse
78
79	// RawResponse contains the underlying HTTP response.
80	RawResponse *http.Response
81}
82
83// DataFlowDebugCommandResponsePollerResponse is the response envelope for operations that asynchronously return a DataFlowDebugCommandResponse type.
84type DataFlowDebugCommandResponsePollerResponse struct {
85	// PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received
86	PollUntilDone func(ctx context.Context, frequency time.Duration) (DataFlowDebugCommandResponseResponse, error)
87
88	// Poller contains an initialized poller.
89	Poller DataFlowDebugCommandResponsePoller
90
91	// RawResponse contains the underlying HTTP response.
92	RawResponse *http.Response
93}
94
95// DataFlowDebugCommandResponseResponse is the response envelope for operations that return a DataFlowDebugCommandResponse type.
96type DataFlowDebugCommandResponseResponse struct {
97	// Response body structure of data flow result for data preview, statistics or expression preview.
98	DataFlowDebugCommandResponse *DataFlowDebugCommandResponse
99
100	// RawResponse contains the underlying HTTP response.
101	RawResponse *http.Response
102}
103
104// DataFlowListResponseResponse is the response envelope for operations that return a DataFlowListResponse type.
105type DataFlowListResponseResponse struct {
106	// A list of data flow resources.
107	DataFlowListResponse *DataFlowListResponse
108
109	// RawResponse contains the underlying HTTP response.
110	RawResponse *http.Response
111}
112
113// DataFlowResourcePollerResponse is the response envelope for operations that asynchronously return a DataFlowResource type.
114type DataFlowResourcePollerResponse struct {
115	// PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received
116	PollUntilDone func(ctx context.Context, frequency time.Duration) (DataFlowResourceResponse, error)
117
118	// Poller contains an initialized poller.
119	Poller DataFlowResourcePoller
120
121	// RawResponse contains the underlying HTTP response.
122	RawResponse *http.Response
123}
124
125// DataFlowResourceResponse is the response envelope for operations that return a DataFlowResource type.
126type DataFlowResourceResponse struct {
127	// Data flow resource type.
128	DataFlowResource *DataFlowResource
129
130	// RawResponse contains the underlying HTTP response.
131	RawResponse *http.Response
132}
133
134// DatasetListResponseResponse is the response envelope for operations that return a DatasetListResponse type.
135type DatasetListResponseResponse struct {
136	// A list of dataset resources.
137	DatasetListResponse *DatasetListResponse
138
139	// RawResponse contains the underlying HTTP response.
140	RawResponse *http.Response
141}
142
143// DatasetResourcePollerResponse is the response envelope for operations that asynchronously return a DatasetResource type.
144type DatasetResourcePollerResponse struct {
145	// PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received
146	PollUntilDone func(ctx context.Context, frequency time.Duration) (DatasetResourceResponse, error)
147
148	// Poller contains an initialized poller.
149	Poller DatasetResourcePoller
150
151	// RawResponse contains the underlying HTTP response.
152	RawResponse *http.Response
153}
154
155// DatasetResourceResponse is the response envelope for operations that return a DatasetResource type.
156type DatasetResourceResponse struct {
157	// Dataset resource type.
158	DatasetResource *DatasetResource
159
160	// RawResponse contains the underlying HTTP response.
161	RawResponse *http.Response
162}
163
164// GitHubAccessTokenResponseResponse is the response envelope for operations that return a GitHubAccessTokenResponse type.
165type GitHubAccessTokenResponseResponse struct {
166	GitHubAccessTokenResponse *GitHubAccessTokenResponse
167
168	// RawResponse contains the underlying HTTP response.
169	RawResponse *http.Response
170}
171
172// HTTPPollerResponse contains the asynchronous HTTP response from the call to the service endpoint.
173type HTTPPollerResponse struct {
174	// PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received
175	PollUntilDone func(ctx context.Context, frequency time.Duration) (*http.Response, error)
176
177	// Poller contains an initialized poller.
178	Poller HTTPPoller
179
180	// RawResponse contains the underlying HTTP response.
181	RawResponse *http.Response
182}
183
184// IntegrationRuntimeListResponseResponse is the response envelope for operations that return a IntegrationRuntimeListResponse type.
185type IntegrationRuntimeListResponseResponse struct {
186	// A list of integration runtime resources.
187	IntegrationRuntimeListResponse *IntegrationRuntimeListResponse
188
189	// RawResponse contains the underlying HTTP response.
190	RawResponse *http.Response
191}
192
193// IntegrationRuntimeResourceResponse is the response envelope for operations that return a IntegrationRuntimeResource type.
194type IntegrationRuntimeResourceResponse struct {
195	// Integration runtime resource type.
196	IntegrationRuntimeResource *IntegrationRuntimeResource
197
198	// RawResponse contains the underlying HTTP response.
199	RawResponse *http.Response
200}
201
202// LibraryListResponseResponse is the response envelope for operations that return a LibraryListResponse type.
203type LibraryListResponseResponse struct {
204	// A list of Library resources.
205	LibraryListResponse *LibraryListResponse
206
207	// RawResponse contains the underlying HTTP response.
208	RawResponse *http.Response
209}
210
211// LibraryResourceInfoPollerResponse is the response envelope for operations that asynchronously return a LibraryResourceInfo type.
212type LibraryResourceInfoPollerResponse struct {
213	// PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received
214	PollUntilDone func(ctx context.Context, frequency time.Duration) (LibraryResourceInfoResponse, error)
215
216	// Poller contains an initialized poller.
217	Poller LibraryResourceInfoPoller
218
219	// RawResponse contains the underlying HTTP response.
220	RawResponse *http.Response
221}
222
223// LibraryResourceInfoResponse is the response envelope for operations that return a LibraryResourceInfo type.
224type LibraryResourceInfoResponse struct {
225	// Library resource info
226	LibraryResourceInfo *LibraryResourceInfo
227
228	// RawResponse contains the underlying HTTP response.
229	RawResponse *http.Response
230}
231
232// LibraryResourceResponse is the response envelope for operations that return a LibraryResource type.
233type LibraryResourceResponse struct {
234	// Library response details
235	LibraryResource *LibraryResource
236
237	// RawResponse contains the underlying HTTP response.
238	RawResponse *http.Response
239}
240
241// LinkedServiceListResponseResponse is the response envelope for operations that return a LinkedServiceListResponse type.
242type LinkedServiceListResponseResponse struct {
243	// A list of linked service resources.
244	LinkedServiceListResponse *LinkedServiceListResponse
245
246	// RawResponse contains the underlying HTTP response.
247	RawResponse *http.Response
248}
249
250// LinkedServiceResourcePollerResponse is the response envelope for operations that asynchronously return a LinkedServiceResource type.
251type LinkedServiceResourcePollerResponse struct {
252	// PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received
253	PollUntilDone func(ctx context.Context, frequency time.Duration) (LinkedServiceResourceResponse, error)
254
255	// Poller contains an initialized poller.
256	Poller LinkedServiceResourcePoller
257
258	// RawResponse contains the underlying HTTP response.
259	RawResponse *http.Response
260}
261
262// LinkedServiceResourceResponse is the response envelope for operations that return a LinkedServiceResource type.
263type LinkedServiceResourceResponse struct {
264	// Linked service resource type.
265	LinkedServiceResource *LinkedServiceResource
266
267	// RawResponse contains the underlying HTTP response.
268	RawResponse *http.Response
269}
270
271// NotebookListResponseResponse is the response envelope for operations that return a NotebookListResponse type.
272type NotebookListResponseResponse struct {
273	// A list of Notebook resources.
274	NotebookListResponse *NotebookListResponse
275
276	// RawResponse contains the underlying HTTP response.
277	RawResponse *http.Response
278}
279
280// NotebookResourcePollerResponse is the response envelope for operations that asynchronously return a NotebookResource type.
281type NotebookResourcePollerResponse struct {
282	// PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received
283	PollUntilDone func(ctx context.Context, frequency time.Duration) (NotebookResourceResponse, error)
284
285	// Poller contains an initialized poller.
286	Poller NotebookResourcePoller
287
288	// RawResponse contains the underlying HTTP response.
289	RawResponse *http.Response
290}
291
292// NotebookResourceResponse is the response envelope for operations that return a NotebookResource type.
293type NotebookResourceResponse struct {
294	// Notebook resource type.
295	NotebookResource *NotebookResource
296
297	// RawResponse contains the underlying HTTP response.
298	RawResponse *http.Response
299}
300
301// OperationResultResponse is the response envelope for operations that return a OperationResult type.
302type OperationResultResponse struct {
303	// Operation status for the operation
304	OperationResult *OperationResult
305
306	// RawResponse contains the underlying HTTP response.
307	RawResponse *http.Response
308}
309
310// PipelineListResponseResponse is the response envelope for operations that return a PipelineListResponse type.
311type PipelineListResponseResponse struct {
312	// A list of pipeline resources.
313	PipelineListResponse *PipelineListResponse
314
315	// RawResponse contains the underlying HTTP response.
316	RawResponse *http.Response
317}
318
319// PipelineResourcePollerResponse is the response envelope for operations that asynchronously return a PipelineResource type.
320type PipelineResourcePollerResponse struct {
321	// PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received
322	PollUntilDone func(ctx context.Context, frequency time.Duration) (PipelineResourceResponse, error)
323
324	// Poller contains an initialized poller.
325	Poller PipelineResourcePoller
326
327	// RawResponse contains the underlying HTTP response.
328	RawResponse *http.Response
329}
330
331// PipelineResourceResponse is the response envelope for operations that return a PipelineResource type.
332type PipelineResourceResponse struct {
333	// Pipeline resource type.
334	PipelineResource *PipelineResource
335
336	// RawResponse contains the underlying HTTP response.
337	RawResponse *http.Response
338}
339
340// PipelineRunResponse is the response envelope for operations that return a PipelineRun type.
341type PipelineRunResponse struct {
342	// Information about a pipeline run.
343	PipelineRun *PipelineRun
344
345	// RawResponse contains the underlying HTTP response.
346	RawResponse *http.Response
347}
348
349// PipelineRunsQueryResponseResponse is the response envelope for operations that return a PipelineRunsQueryResponse type.
350type PipelineRunsQueryResponseResponse struct {
351	// A list pipeline runs.
352	PipelineRunsQueryResponse *PipelineRunsQueryResponse
353
354	// RawResponse contains the underlying HTTP response.
355	RawResponse *http.Response
356}
357
358// QueryDataFlowDebugSessionsResponseResponse is the response envelope for operations that return a QueryDataFlowDebugSessionsResponse type.
359type QueryDataFlowDebugSessionsResponseResponse struct {
360	// A list of active debug sessions.
361	QueryDataFlowDebugSessionsResponse *QueryDataFlowDebugSessionsResponse
362
363	// RawResponse contains the underlying HTTP response.
364	RawResponse *http.Response
365}
366
367// SQLPoolInfoListResultResponse is the response envelope for operations that return a SQLPoolInfoListResult type.
368type SQLPoolInfoListResultResponse struct {
369	// RawResponse contains the underlying HTTP response.
370	RawResponse *http.Response
371
372	// List of SQL pools
373	SQLPoolInfoListResult *SQLPoolInfoListResult
374}
375
376// SQLPoolResponse is the response envelope for operations that return a SQLPool type.
377type SQLPoolResponse struct {
378	// RawResponse contains the underlying HTTP response.
379	RawResponse *http.Response
380
381	// A SQL Analytics pool
382	SQLPool *SQLPool
383}
384
385// SQLScriptResourcePollerResponse is the response envelope for operations that asynchronously return a SQLScriptResource type.
386type SQLScriptResourcePollerResponse struct {
387	// PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received
388	PollUntilDone func(ctx context.Context, frequency time.Duration) (SQLScriptResourceResponse, error)
389
390	// Poller contains an initialized poller.
391	Poller SQLScriptResourcePoller
392
393	// RawResponse contains the underlying HTTP response.
394	RawResponse *http.Response
395}
396
397// SQLScriptResourceResponse is the response envelope for operations that return a SQLScriptResource type.
398type SQLScriptResourceResponse struct {
399	// RawResponse contains the underlying HTTP response.
400	RawResponse *http.Response
401
402	// Sql Script resource type.
403	SQLScriptResource *SQLScriptResource
404}
405
406// SQLScriptsListResponseResponse is the response envelope for operations that return a SQLScriptsListResponse type.
407type SQLScriptsListResponseResponse struct {
408	// RawResponse contains the underlying HTTP response.
409	RawResponse *http.Response
410
411	// A list of sql scripts resources.
412	SQLScriptsListResponse *SQLScriptsListResponse
413}
414
415// SparkBatchJobPollerResponse is the response envelope for operations that asynchronously return a SparkBatchJob type.
416type SparkBatchJobPollerResponse struct {
417	// PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received
418	PollUntilDone func(ctx context.Context, frequency time.Duration) (SparkBatchJobResponse, error)
419
420	// Poller contains an initialized poller.
421	Poller SparkBatchJobPoller
422
423	// RawResponse contains the underlying HTTP response.
424	RawResponse *http.Response
425}
426
427// SparkBatchJobResponse is the response envelope for operations that return a SparkBatchJob type.
428type SparkBatchJobResponse struct {
429	// RawResponse contains the underlying HTTP response.
430	RawResponse   *http.Response
431	SparkBatchJob *SparkBatchJob
432}
433
434// SparkJobDefinitionResourcePollerResponse is the response envelope for operations that asynchronously return a SparkJobDefinitionResource type.
435type SparkJobDefinitionResourcePollerResponse struct {
436	// PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received
437	PollUntilDone func(ctx context.Context, frequency time.Duration) (SparkJobDefinitionResourceResponse, error)
438
439	// Poller contains an initialized poller.
440	Poller SparkJobDefinitionResourcePoller
441
442	// RawResponse contains the underlying HTTP response.
443	RawResponse *http.Response
444}
445
446// SparkJobDefinitionResourceResponse is the response envelope for operations that return a SparkJobDefinitionResource type.
447type SparkJobDefinitionResourceResponse struct {
448	// RawResponse contains the underlying HTTP response.
449	RawResponse *http.Response
450
451	// Spark job definition resource type.
452	SparkJobDefinitionResource *SparkJobDefinitionResource
453}
454
455// SparkJobDefinitionsListResponseResponse is the response envelope for operations that return a SparkJobDefinitionsListResponse type.
456type SparkJobDefinitionsListResponseResponse struct {
457	// RawResponse contains the underlying HTTP response.
458	RawResponse *http.Response
459
460	// A list of spark job definitions resources.
461	SparkJobDefinitionsListResponse *SparkJobDefinitionsListResponse
462}
463
464// TriggerListResponseResponse is the response envelope for operations that return a TriggerListResponse type.
465type TriggerListResponseResponse struct {
466	// RawResponse contains the underlying HTTP response.
467	RawResponse *http.Response
468
469	// A list of trigger resources.
470	TriggerListResponse *TriggerListResponse
471}
472
473// TriggerResourcePollerResponse is the response envelope for operations that asynchronously return a TriggerResource type.
474type TriggerResourcePollerResponse struct {
475	// PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received
476	PollUntilDone func(ctx context.Context, frequency time.Duration) (TriggerResourceResponse, error)
477
478	// Poller contains an initialized poller.
479	Poller TriggerResourcePoller
480
481	// RawResponse contains the underlying HTTP response.
482	RawResponse *http.Response
483}
484
485// TriggerResourceResponse is the response envelope for operations that return a TriggerResource type.
486type TriggerResourceResponse struct {
487	// RawResponse contains the underlying HTTP response.
488	RawResponse *http.Response
489
490	// Trigger resource type.
491	TriggerResource *TriggerResource
492}
493
494// TriggerRunsQueryResponseResponse is the response envelope for operations that return a TriggerRunsQueryResponse type.
495type TriggerRunsQueryResponseResponse struct {
496	// RawResponse contains the underlying HTTP response.
497	RawResponse *http.Response
498
499	// A list of trigger runs.
500	TriggerRunsQueryResponse *TriggerRunsQueryResponse
501}
502
503// TriggerSubscriptionOperationStatusPollerResponse is the response envelope for operations that asynchronously return a TriggerSubscriptionOperationStatus
504// type.
505type TriggerSubscriptionOperationStatusPollerResponse struct {
506	// PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received
507	PollUntilDone func(ctx context.Context, frequency time.Duration) (TriggerSubscriptionOperationStatusResponse, error)
508
509	// Poller contains an initialized poller.
510	Poller TriggerSubscriptionOperationStatusPoller
511
512	// RawResponse contains the underlying HTTP response.
513	RawResponse *http.Response
514}
515
516// TriggerSubscriptionOperationStatusResponse is the response envelope for operations that return a TriggerSubscriptionOperationStatus type.
517type TriggerSubscriptionOperationStatusResponse struct {
518	// RawResponse contains the underlying HTTP response.
519	RawResponse *http.Response
520
521	// Defines the response of a trigger subscription operation.
522	TriggerSubscriptionOperationStatus *TriggerSubscriptionOperationStatus
523}
524
525// WorkspaceResponse is the response envelope for operations that return a Workspace type.
526type WorkspaceResponse struct {
527	// RawResponse contains the underlying HTTP response.
528	RawResponse *http.Response
529
530	// A workspace
531	Workspace *Workspace
532}
533