/
response_types.go
447 lines (367 loc) · 18.7 KB
/
response_types.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
//go:build go1.18
// +build go1.18
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator. DO NOT EDIT.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
package armdataprotection
// BackupInstancesClientAdhocBackupResponse contains the response from method BackupInstancesClient.BeginAdhocBackup.
type BackupInstancesClientAdhocBackupResponse struct {
// Operation Job Extended Info
OperationJobExtendedInfo
}
// BackupInstancesClientCreateOrUpdateResponse contains the response from method BackupInstancesClient.BeginCreateOrUpdate.
type BackupInstancesClientCreateOrUpdateResponse struct {
// BackupInstance Resource
BackupInstanceResource
}
// BackupInstancesClientDeleteResponse contains the response from method BackupInstancesClient.BeginDelete.
type BackupInstancesClientDeleteResponse struct {
// placeholder for future response values
}
// BackupInstancesClientGetBackupInstanceOperationResultResponse contains the response from method BackupInstancesClient.GetBackupInstanceOperationResult.
type BackupInstancesClientGetBackupInstanceOperationResultResponse struct {
// BackupInstance Resource
BackupInstanceResource
}
// BackupInstancesClientGetResponse contains the response from method BackupInstancesClient.Get.
type BackupInstancesClientGetResponse struct {
// BackupInstance Resource
BackupInstanceResource
}
// BackupInstancesClientListResponse contains the response from method BackupInstancesClient.NewListPager.
type BackupInstancesClientListResponse struct {
// BackupInstance Resource list response
BackupInstanceResourceList
}
// BackupInstancesClientResumeBackupsResponse contains the response from method BackupInstancesClient.BeginResumeBackups.
type BackupInstancesClientResumeBackupsResponse struct {
// placeholder for future response values
}
// BackupInstancesClientResumeProtectionResponse contains the response from method BackupInstancesClient.BeginResumeProtection.
type BackupInstancesClientResumeProtectionResponse struct {
// placeholder for future response values
}
// BackupInstancesClientStopProtectionResponse contains the response from method BackupInstancesClient.BeginStopProtection.
type BackupInstancesClientStopProtectionResponse struct {
// placeholder for future response values
}
// BackupInstancesClientSuspendBackupsResponse contains the response from method BackupInstancesClient.BeginSuspendBackups.
type BackupInstancesClientSuspendBackupsResponse struct {
// placeholder for future response values
}
// BackupInstancesClientSyncBackupInstanceResponse contains the response from method BackupInstancesClient.BeginSyncBackupInstance.
type BackupInstancesClientSyncBackupInstanceResponse struct {
// placeholder for future response values
}
// BackupInstancesClientTriggerCrossRegionRestoreResponse contains the response from method BackupInstancesClient.BeginTriggerCrossRegionRestore.
type BackupInstancesClientTriggerCrossRegionRestoreResponse struct {
// Operation Job Extended Info
OperationJobExtendedInfo
}
// BackupInstancesClientTriggerRehydrateResponse contains the response from method BackupInstancesClient.BeginTriggerRehydrate.
type BackupInstancesClientTriggerRehydrateResponse struct {
// placeholder for future response values
}
// BackupInstancesClientTriggerRestoreResponse contains the response from method BackupInstancesClient.BeginTriggerRestore.
type BackupInstancesClientTriggerRestoreResponse struct {
// Operation Job Extended Info
OperationJobExtendedInfo
}
// BackupInstancesClientValidateCrossRegionRestoreResponse contains the response from method BackupInstancesClient.BeginValidateCrossRegionRestore.
type BackupInstancesClientValidateCrossRegionRestoreResponse struct {
// Operation Job Extended Info
OperationJobExtendedInfo
}
// BackupInstancesClientValidateForBackupResponse contains the response from method BackupInstancesClient.BeginValidateForBackup.
type BackupInstancesClientValidateForBackupResponse struct {
// Operation Job Extended Info
OperationJobExtendedInfo
}
// BackupInstancesClientValidateForRestoreResponse contains the response from method BackupInstancesClient.BeginValidateForRestore.
type BackupInstancesClientValidateForRestoreResponse struct {
// Operation Job Extended Info
OperationJobExtendedInfo
}
// BackupPoliciesClientCreateOrUpdateResponse contains the response from method BackupPoliciesClient.CreateOrUpdate.
type BackupPoliciesClientCreateOrUpdateResponse struct {
// BaseBackupPolicy resource
BaseBackupPolicyResource
}
// BackupPoliciesClientDeleteResponse contains the response from method BackupPoliciesClient.Delete.
type BackupPoliciesClientDeleteResponse struct {
// placeholder for future response values
}
// BackupPoliciesClientGetResponse contains the response from method BackupPoliciesClient.Get.
type BackupPoliciesClientGetResponse struct {
// BaseBackupPolicy resource
BaseBackupPolicyResource
}
// BackupPoliciesClientListResponse contains the response from method BackupPoliciesClient.NewListPager.
type BackupPoliciesClientListResponse struct {
// List of BaseBackupPolicy resources
BaseBackupPolicyResourceList
}
// BackupVaultOperationResultsClientGetResponse contains the response from method BackupVaultOperationResultsClient.Get.
type BackupVaultOperationResultsClientGetResponse struct {
// Backup Vault Resource
BackupVaultResource
// AzureAsyncOperation contains the information returned from the Azure-AsyncOperation header response.
AzureAsyncOperation *string
// Location contains the information returned from the Location header response.
Location *string
// RetryAfter contains the information returned from the Retry-After header response.
RetryAfter *int32
}
// BackupVaultsClientCheckNameAvailabilityResponse contains the response from method BackupVaultsClient.CheckNameAvailability.
type BackupVaultsClientCheckNameAvailabilityResponse struct {
// CheckNameAvailability Result
CheckNameAvailabilityResult
}
// BackupVaultsClientCreateOrUpdateResponse contains the response from method BackupVaultsClient.BeginCreateOrUpdate.
type BackupVaultsClientCreateOrUpdateResponse struct {
// Backup Vault Resource
BackupVaultResource
}
// BackupVaultsClientDeleteResponse contains the response from method BackupVaultsClient.BeginDelete.
type BackupVaultsClientDeleteResponse struct {
// placeholder for future response values
}
// BackupVaultsClientGetInResourceGroupResponse contains the response from method BackupVaultsClient.NewGetInResourceGroupPager.
type BackupVaultsClientGetInResourceGroupResponse struct {
// List of BackupVault resources
BackupVaultResourceList
}
// BackupVaultsClientGetInSubscriptionResponse contains the response from method BackupVaultsClient.NewGetInSubscriptionPager.
type BackupVaultsClientGetInSubscriptionResponse struct {
// List of BackupVault resources
BackupVaultResourceList
}
// BackupVaultsClientGetResponse contains the response from method BackupVaultsClient.Get.
type BackupVaultsClientGetResponse struct {
// Backup Vault Resource
BackupVaultResource
}
// BackupVaultsClientUpdateResponse contains the response from method BackupVaultsClient.BeginUpdate.
type BackupVaultsClientUpdateResponse struct {
// Backup Vault Resource
BackupVaultResource
}
// ClientCheckFeatureSupportResponse contains the response from method Client.CheckFeatureSupport.
type ClientCheckFeatureSupportResponse struct {
// Base class for Backup Feature support
FeatureValidationResponseBaseClassification
}
// UnmarshalJSON implements the json.Unmarshaller interface for type ClientCheckFeatureSupportResponse.
func (c *ClientCheckFeatureSupportResponse) UnmarshalJSON(data []byte) error {
res, err := unmarshalFeatureValidationResponseBaseClassification(data)
if err != nil {
return err
}
c.FeatureValidationResponseBaseClassification = res
return nil
}
// DeletedBackupInstancesClientGetResponse contains the response from method DeletedBackupInstancesClient.Get.
type DeletedBackupInstancesClientGetResponse struct {
// Deleted Backup Instance
DeletedBackupInstanceResource
}
// DeletedBackupInstancesClientListResponse contains the response from method DeletedBackupInstancesClient.NewListPager.
type DeletedBackupInstancesClientListResponse struct {
// List of DeletedBackupInstance resources
DeletedBackupInstanceResourceList
}
// DeletedBackupInstancesClientUndeleteResponse contains the response from method DeletedBackupInstancesClient.BeginUndelete.
type DeletedBackupInstancesClientUndeleteResponse struct {
// placeholder for future response values
}
// DppResourceGuardProxyClientCreateOrUpdateResponse contains the response from method DppResourceGuardProxyClient.CreateOrUpdate.
type DppResourceGuardProxyClientCreateOrUpdateResponse struct {
// ResourceGuardProxyBaseResource object, used for response and request bodies for ResourceGuardProxy APIs
ResourceGuardProxyBaseResource
}
// DppResourceGuardProxyClientDeleteResponse contains the response from method DppResourceGuardProxyClient.Delete.
type DppResourceGuardProxyClientDeleteResponse struct {
// placeholder for future response values
}
// DppResourceGuardProxyClientGetResponse contains the response from method DppResourceGuardProxyClient.Get.
type DppResourceGuardProxyClientGetResponse struct {
// ResourceGuardProxyBaseResource object, used for response and request bodies for ResourceGuardProxy APIs
ResourceGuardProxyBaseResource
}
// DppResourceGuardProxyClientListResponse contains the response from method DppResourceGuardProxyClient.NewListPager.
type DppResourceGuardProxyClientListResponse struct {
// List of ResourceGuardProxyBase resources
ResourceGuardProxyBaseResourceList
}
// DppResourceGuardProxyClientUnlockDeleteResponse contains the response from method DppResourceGuardProxyClient.UnlockDelete.
type DppResourceGuardProxyClientUnlockDeleteResponse struct {
// Response of Unlock Delete API.
UnlockDeleteResponse
}
// ExportJobsClientTriggerResponse contains the response from method ExportJobsClient.BeginTrigger.
type ExportJobsClientTriggerResponse struct {
// placeholder for future response values
}
// ExportJobsOperationResultClientGetResponse contains the response from method ExportJobsOperationResultClient.Get.
type ExportJobsOperationResultClientGetResponse struct {
// The result for export jobs containing blob details.
ExportJobsResult
}
// FetchCrossRegionRestoreJobClientGetResponse contains the response from method FetchCrossRegionRestoreJobClient.Get.
type FetchCrossRegionRestoreJobClientGetResponse struct {
// AzureBackup Job Resource Class
AzureBackupJobResource
}
// FetchCrossRegionRestoreJobsClientListResponse contains the response from method FetchCrossRegionRestoreJobsClient.NewListPager.
type FetchCrossRegionRestoreJobsClientListResponse struct {
// List of AzureBackup Job resources
AzureBackupJobResourceList
}
// FetchSecondaryRecoveryPointsClientListResponse contains the response from method FetchSecondaryRecoveryPointsClient.NewListPager.
type FetchSecondaryRecoveryPointsClientListResponse struct {
// Azure backup recoveryPoint resource list
AzureBackupRecoveryPointResourceList
}
// JobsClientGetResponse contains the response from method JobsClient.Get.
type JobsClientGetResponse struct {
// AzureBackup Job Resource Class
AzureBackupJobResource
}
// JobsClientListResponse contains the response from method JobsClient.NewListPager.
type JobsClientListResponse struct {
// List of AzureBackup Job resources
AzureBackupJobResourceList
}
// OperationResultClientGetResponse contains the response from method OperationResultClient.Get.
type OperationResultClientGetResponse struct {
// Operation Job Extended Info
OperationJobExtendedInfo
// AzureAsyncOperation contains the information returned from the Azure-AsyncOperation header response.
AzureAsyncOperation *string
// Location contains the information returned from the Location header response.
Location *string
// RetryAfter contains the information returned from the Retry-After header response.
RetryAfter *int32
}
// OperationStatusBackupVaultContextClientGetResponse contains the response from method OperationStatusBackupVaultContextClient.Get.
type OperationStatusBackupVaultContextClientGetResponse struct {
// Operation Resource
OperationResource
}
// OperationStatusClientGetResponse contains the response from method OperationStatusClient.Get.
type OperationStatusClientGetResponse struct {
// Operation Resource
OperationResource
}
// OperationStatusResourceGroupContextClientGetResponse contains the response from method OperationStatusResourceGroupContextClient.Get.
type OperationStatusResourceGroupContextClientGetResponse struct {
// Operation Resource
OperationResource
}
// OperationsClientListResponse contains the response from method OperationsClient.NewListPager.
type OperationsClientListResponse struct {
// Operations List response which contains list of available APIs.
ClientDiscoveryResponse
}
// RecoveryPointsClientGetResponse contains the response from method RecoveryPointsClient.Get.
type RecoveryPointsClientGetResponse struct {
// Azure backup recoveryPoint resource
AzureBackupRecoveryPointResource
}
// RecoveryPointsClientListResponse contains the response from method RecoveryPointsClient.NewListPager.
type RecoveryPointsClientListResponse struct {
// Azure backup recoveryPoint resource list
AzureBackupRecoveryPointResourceList
}
// ResourceGuardsClientDeleteResponse contains the response from method ResourceGuardsClient.Delete.
type ResourceGuardsClientDeleteResponse struct {
// placeholder for future response values
}
// ResourceGuardsClientGetBackupSecurityPINRequestsObjectsResponse contains the response from method ResourceGuardsClient.NewGetBackupSecurityPINRequestsObjectsPager.
type ResourceGuardsClientGetBackupSecurityPINRequestsObjectsResponse struct {
// Base for all lists of V2 resources.
DppBaseResourceList
}
// ResourceGuardsClientGetDefaultBackupSecurityPINRequestsObjectResponse contains the response from method ResourceGuardsClient.GetDefaultBackupSecurityPINRequestsObject.
type ResourceGuardsClientGetDefaultBackupSecurityPINRequestsObjectResponse struct {
// Base resource under Microsoft.DataProtection provider namespace
DppBaseResource
}
// ResourceGuardsClientGetDefaultDeleteProtectedItemRequestsObjectResponse contains the response from method ResourceGuardsClient.GetDefaultDeleteProtectedItemRequestsObject.
type ResourceGuardsClientGetDefaultDeleteProtectedItemRequestsObjectResponse struct {
// Base resource under Microsoft.DataProtection provider namespace
DppBaseResource
}
// ResourceGuardsClientGetDefaultDeleteResourceGuardProxyRequestsObjectResponse contains the response from method ResourceGuardsClient.GetDefaultDeleteResourceGuardProxyRequestsObject.
type ResourceGuardsClientGetDefaultDeleteResourceGuardProxyRequestsObjectResponse struct {
// Base resource under Microsoft.DataProtection provider namespace
DppBaseResource
}
// ResourceGuardsClientGetDefaultDisableSoftDeleteRequestsObjectResponse contains the response from method ResourceGuardsClient.GetDefaultDisableSoftDeleteRequestsObject.
type ResourceGuardsClientGetDefaultDisableSoftDeleteRequestsObjectResponse struct {
// Base resource under Microsoft.DataProtection provider namespace
DppBaseResource
}
// ResourceGuardsClientGetDefaultUpdateProtectedItemRequestsObjectResponse contains the response from method ResourceGuardsClient.GetDefaultUpdateProtectedItemRequestsObject.
type ResourceGuardsClientGetDefaultUpdateProtectedItemRequestsObjectResponse struct {
// Base resource under Microsoft.DataProtection provider namespace
DppBaseResource
}
// ResourceGuardsClientGetDefaultUpdateProtectionPolicyRequestsObjectResponse contains the response from method ResourceGuardsClient.GetDefaultUpdateProtectionPolicyRequestsObject.
type ResourceGuardsClientGetDefaultUpdateProtectionPolicyRequestsObjectResponse struct {
// Base resource under Microsoft.DataProtection provider namespace
DppBaseResource
}
// ResourceGuardsClientGetDeleteProtectedItemRequestsObjectsResponse contains the response from method ResourceGuardsClient.NewGetDeleteProtectedItemRequestsObjectsPager.
type ResourceGuardsClientGetDeleteProtectedItemRequestsObjectsResponse struct {
// Base for all lists of V2 resources.
DppBaseResourceList
}
// ResourceGuardsClientGetDeleteResourceGuardProxyRequestsObjectsResponse contains the response from method ResourceGuardsClient.NewGetDeleteResourceGuardProxyRequestsObjectsPager.
type ResourceGuardsClientGetDeleteResourceGuardProxyRequestsObjectsResponse struct {
// Base for all lists of V2 resources.
DppBaseResourceList
}
// ResourceGuardsClientGetDisableSoftDeleteRequestsObjectsResponse contains the response from method ResourceGuardsClient.NewGetDisableSoftDeleteRequestsObjectsPager.
type ResourceGuardsClientGetDisableSoftDeleteRequestsObjectsResponse struct {
// Base for all lists of V2 resources.
DppBaseResourceList
}
// ResourceGuardsClientGetResourcesInResourceGroupResponse contains the response from method ResourceGuardsClient.NewGetResourcesInResourceGroupPager.
type ResourceGuardsClientGetResourcesInResourceGroupResponse struct {
// List of ResourceGuard resources
ResourceGuardResourceList
}
// ResourceGuardsClientGetResourcesInSubscriptionResponse contains the response from method ResourceGuardsClient.NewGetResourcesInSubscriptionPager.
type ResourceGuardsClientGetResourcesInSubscriptionResponse struct {
// List of ResourceGuard resources
ResourceGuardResourceList
}
// ResourceGuardsClientGetResponse contains the response from method ResourceGuardsClient.Get.
type ResourceGuardsClientGetResponse struct {
ResourceGuardResource
}
// ResourceGuardsClientGetUpdateProtectedItemRequestsObjectsResponse contains the response from method ResourceGuardsClient.NewGetUpdateProtectedItemRequestsObjectsPager.
type ResourceGuardsClientGetUpdateProtectedItemRequestsObjectsResponse struct {
// Base for all lists of V2 resources.
DppBaseResourceList
}
// ResourceGuardsClientGetUpdateProtectionPolicyRequestsObjectsResponse contains the response from method ResourceGuardsClient.NewGetUpdateProtectionPolicyRequestsObjectsPager.
type ResourceGuardsClientGetUpdateProtectionPolicyRequestsObjectsResponse struct {
// Base for all lists of V2 resources.
DppBaseResourceList
}
// ResourceGuardsClientPatchResponse contains the response from method ResourceGuardsClient.Patch.
type ResourceGuardsClientPatchResponse struct {
ResourceGuardResource
}
// ResourceGuardsClientPutResponse contains the response from method ResourceGuardsClient.Put.
type ResourceGuardsClientPutResponse struct {
ResourceGuardResource
}
// RestorableTimeRangesClientFindResponse contains the response from method RestorableTimeRangesClient.Find.
type RestorableTimeRangesClientFindResponse struct {
// List Restore Ranges Response
AzureBackupFindRestorableTimeRangesResponseResource
}