-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Expand file tree
/
Copy pathComputeManagementClient.cs
More file actions
586 lines (572 loc) · 28.2 KB
/
Copy pathComputeManagementClient.cs
File metadata and controls
586 lines (572 loc) · 28.2 KB
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
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
// 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.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
namespace Microsoft.Azure.Management.Compute
{
using System.Linq;
using Microsoft.Rest;
using Microsoft.Rest.Azure;
using Models;
/// <summary>
/// The Compute Management Client.
/// </summary>
public partial class ComputeManagementClient : Microsoft.Rest.ServiceClient<ComputeManagementClient>, IComputeManagementClient, IAzureClient
{
/// <summary>
/// The base URI of the service.
/// </summary>
public System.Uri BaseUri { get; set; }
/// <summary>
/// Gets or sets json serialization settings.
/// </summary>
public Newtonsoft.Json.JsonSerializerSettings SerializationSettings { get; private set; }
/// <summary>
/// Gets or sets json deserialization settings.
/// </summary>
public Newtonsoft.Json.JsonSerializerSettings DeserializationSettings { get; private set; }
/// <summary>
/// Credentials needed for the client to connect to Azure.
/// </summary>
public Microsoft.Rest.ServiceClientCredentials Credentials { get; private set; }
/// <summary>
/// The ID of the target subscription.
/// </summary>
public string SubscriptionId { get; set;}
/// <summary>
/// The preferred language for the response.
/// </summary>
public string AcceptLanguage { get; set;}
/// <summary>
/// The retry timeout in seconds for Long Running Operations. Default
/// /// value is 30.
/// </summary>
public int? LongRunningOperationRetryTimeout { get; set;}
/// <summary>
/// Whether a unique x-ms-client-request-id should be generated. When
/// /// set to true a unique x-ms-client-request-id value is generated and
/// /// included in each request. Default is true.
/// </summary>
public bool? GenerateClientRequestId { get; set;}
/// <summary>
/// Gets the IOperations
/// </summary>
public virtual IOperations Operations { get; private set; }
/// <summary>
/// Gets the IAvailabilitySetsOperations
/// </summary>
public virtual IAvailabilitySetsOperations AvailabilitySets { get; private set; }
/// <summary>
/// Gets the ICapacityReservationGroupsOperations
/// </summary>
public virtual ICapacityReservationGroupsOperations CapacityReservationGroups { get; private set; }
/// <summary>
/// Gets the IDedicatedHostGroupsOperations
/// </summary>
public virtual IDedicatedHostGroupsOperations DedicatedHostGroups { get; private set; }
/// <summary>
/// Gets the IImagesOperations
/// </summary>
public virtual IImagesOperations Images { get; private set; }
/// <summary>
/// Gets the IInterconnectBlocksOperations
/// </summary>
public virtual IInterconnectBlocksOperations InterconnectBlocks { get; private set; }
/// <summary>
/// Gets the IVirtualMachineImagesEdgeZoneOperations
/// </summary>
public virtual IVirtualMachineImagesEdgeZoneOperations VirtualMachineImagesEdgeZone { get; private set; }
/// <summary>
/// Gets the IVirtualMachineImagesOperations
/// </summary>
public virtual IVirtualMachineImagesOperations VirtualMachineImages { get; private set; }
/// <summary>
/// Gets the ILogAnalyticsOperations
/// </summary>
public virtual ILogAnalyticsOperations LogAnalytics { get; private set; }
/// <summary>
/// Gets the IVirtualMachineExtensionImagesOperations
/// </summary>
public virtual IVirtualMachineExtensionImagesOperations VirtualMachineExtensionImages { get; private set; }
/// <summary>
/// Gets the IVirtualMachineRunCommandsOperations
/// </summary>
public virtual IVirtualMachineRunCommandsOperations VirtualMachineRunCommands { get; private set; }
/// <summary>
/// Gets the IUsageOperations
/// </summary>
public virtual IUsageOperations Usage { get; private set; }
/// <summary>
/// Gets the IVirtualMachineScaleSetsOperations
/// </summary>
public virtual IVirtualMachineScaleSetsOperations VirtualMachineScaleSets { get; private set; }
/// <summary>
/// Gets the IVirtualMachinesOperations
/// </summary>
public virtual IVirtualMachinesOperations VirtualMachines { get; private set; }
/// <summary>
/// Gets the IVirtualMachineSizesOperations
/// </summary>
public virtual IVirtualMachineSizesOperations VirtualMachineSizes { get; private set; }
/// <summary>
/// Gets the IProximityPlacementGroupsOperations
/// </summary>
public virtual IProximityPlacementGroupsOperations ProximityPlacementGroups { get; private set; }
/// <summary>
/// Gets the IRestorePointCollectionsOperations
/// </summary>
public virtual IRestorePointCollectionsOperations RestorePointCollections { get; private set; }
/// <summary>
/// Gets the ISshPublicKeysOperations
/// </summary>
public virtual ISshPublicKeysOperations SshPublicKeys { get; private set; }
/// <summary>
/// Gets the ICapacityReservationsOperations
/// </summary>
public virtual ICapacityReservationsOperations CapacityReservations { get; private set; }
/// <summary>
/// Gets the IDedicatedHostsOperations
/// </summary>
public virtual IDedicatedHostsOperations DedicatedHosts { get; private set; }
/// <summary>
/// Gets the IRestorePointsOperations
/// </summary>
public virtual IRestorePointsOperations RestorePoints { get; private set; }
/// <summary>
/// Gets the IVirtualMachineScaleSetRollingUpgradesOperations
/// </summary>
public virtual IVirtualMachineScaleSetRollingUpgradesOperations VirtualMachineScaleSetRollingUpgrades { get; private set; }
/// <summary>
/// Gets the IVirtualMachineScaleSetExtensionsOperations
/// </summary>
public virtual IVirtualMachineScaleSetExtensionsOperations VirtualMachineScaleSetExtensions { get; private set; }
/// <summary>
/// Gets the IVirtualMachineScaleSetLifeCycleHookEventsOperations
/// </summary>
public virtual IVirtualMachineScaleSetLifeCycleHookEventsOperations VirtualMachineScaleSetLifeCycleHookEvents { get; private set; }
/// <summary>
/// Gets the IVirtualMachineScaleSetVMSOperations
/// </summary>
public virtual IVirtualMachineScaleSetVMSOperations VirtualMachineScaleSetVMS { get; private set; }
/// <summary>
/// Gets the IVirtualMachineScaleSetVMExtensionsOperations
/// </summary>
public virtual IVirtualMachineScaleSetVMExtensionsOperations VirtualMachineScaleSetVMExtensions { get; private set; }
/// <summary>
/// Gets the IVirtualMachineScaleSetVMRunCommandsOperations
/// </summary>
public virtual IVirtualMachineScaleSetVMRunCommandsOperations VirtualMachineScaleSetVMRunCommands { get; private set; }
/// <summary>
/// Gets the IVirtualMachineExtensionsOperations
/// </summary>
public virtual IVirtualMachineExtensionsOperations VirtualMachineExtensions { get; private set; }
/// <summary>
/// Gets the IDiskAccessesOperations
/// </summary>
public virtual IDiskAccessesOperations DiskAccesses { get; private set; }
/// <summary>
/// Gets the IDiskEncryptionSetsOperations
/// </summary>
public virtual IDiskEncryptionSetsOperations DiskEncryptionSets { get; private set; }
/// <summary>
/// Gets the IDisksOperations
/// </summary>
public virtual IDisksOperations Disks { get; private set; }
/// <summary>
/// Gets the ISnapshotsOperations
/// </summary>
public virtual ISnapshotsOperations Snapshots { get; private set; }
/// <summary>
/// Gets the IDiskRestorePointOperations
/// </summary>
public virtual IDiskRestorePointOperations DiskRestorePoint { get; private set; }
/// <summary>
/// Gets the IGalleriesOperations
/// </summary>
public virtual IGalleriesOperations Galleries { get; private set; }
/// <summary>
/// Gets the ICommunityGalleriesOperations
/// </summary>
public virtual ICommunityGalleriesOperations CommunityGalleries { get; private set; }
/// <summary>
/// Gets the ICommunityGalleryImagesOperations
/// </summary>
public virtual ICommunityGalleryImagesOperations CommunityGalleryImages { get; private set; }
/// <summary>
/// Gets the ICommunityGalleryImageVersionsOperations
/// </summary>
public virtual ICommunityGalleryImageVersionsOperations CommunityGalleryImageVersions { get; private set; }
/// <summary>
/// Gets the ISharedGalleriesOperations
/// </summary>
public virtual ISharedGalleriesOperations SharedGalleries { get; private set; }
/// <summary>
/// Gets the ISharedGalleryImagesOperations
/// </summary>
public virtual ISharedGalleryImagesOperations SharedGalleryImages { get; private set; }
/// <summary>
/// Gets the ISharedGalleryImageVersionsOperations
/// </summary>
public virtual ISharedGalleryImageVersionsOperations SharedGalleryImageVersions { get; private set; }
/// <summary>
/// Gets the IGalleryApplicationsOperations
/// </summary>
public virtual IGalleryApplicationsOperations GalleryApplications { get; private set; }
/// <summary>
/// Gets the IGalleryApplicationVersionsOperations
/// </summary>
public virtual IGalleryApplicationVersionsOperations GalleryApplicationVersions { get; private set; }
/// <summary>
/// Gets the IGalleryImagesOperations
/// </summary>
public virtual IGalleryImagesOperations GalleryImages { get; private set; }
/// <summary>
/// Gets the IGalleryImageVersionsOperations
/// </summary>
public virtual IGalleryImageVersionsOperations GalleryImageVersions { get; private set; }
/// <summary>
/// Gets the IGalleryInVMAccessControlProfilesOperations
/// </summary>
public virtual IGalleryInVMAccessControlProfilesOperations GalleryInVMAccessControlProfiles { get; private set; }
/// <summary>
/// Gets the IGalleryInVMAccessControlProfileVersionsOperations
/// </summary>
public virtual IGalleryInVMAccessControlProfileVersionsOperations GalleryInVMAccessControlProfileVersions { get; private set; }
/// <summary>
/// Gets the IGalleryScriptsOperations
/// </summary>
public virtual IGalleryScriptsOperations GalleryScripts { get; private set; }
/// <summary>
/// Gets the IGalleryScriptVersionsOperations
/// </summary>
public virtual IGalleryScriptVersionsOperations GalleryScriptVersions { get; private set; }
/// <summary>
/// Gets the IGallerySharingProfileOperations
/// </summary>
public virtual IGallerySharingProfileOperations GallerySharingProfile { get; private set; }
/// <summary>
/// Gets the ISoftDeletedResourceOperations
/// </summary>
public virtual ISoftDeletedResourceOperations SoftDeletedResource { get; private set; }
/// <summary>
/// Gets the IResourceSkusOperations
/// </summary>
public virtual IResourceSkusOperations ResourceSkus { get; private set; }
/// <summary>
/// Initializes a new instance of the ComputeManagementClient class.
/// </summary>
/// <param name='httpClient'>
/// HttpClient to be used
/// </param>
/// <param name='disposeHttpClient'>
/// True: will dispose the provided httpClient on calling ComputeManagementClient.Dispose(). False: will not dispose provided httpClient</param>
protected ComputeManagementClient(System.Net.Http.HttpClient httpClient, bool disposeHttpClient) : base(httpClient, disposeHttpClient)
{
this.Initialize();
}
/// <summary>
/// Initializes a new instance of the ComputeManagementClient class.
/// </summary>
/// <param name='handlers'>
/// Optional. The delegating handlers to add to the http client pipeline.
/// </param>
protected ComputeManagementClient(params System.Net.Http.DelegatingHandler[] handlers) : base(handlers)
{
this.Initialize();
}
/// <summary>
/// Initializes a new instance of the ComputeManagementClient class.
/// </summary>
/// <param name='rootHandler'>
/// Optional. The http client handler used to handle http transport.
/// </param>
/// <param name='handlers'>
/// Optional. The delegating handlers to add to the http client pipeline.
/// </param>
protected ComputeManagementClient(System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers) : base(rootHandler, handlers)
{
this.Initialize();
}
/// <summary>
/// Initializes a new instance of the ComputeManagementClient class.
/// </summary>
/// <param name='baseUri'>
/// Optional. The base URI of the service.
/// </param>
/// <param name='handlers'>
/// Optional. The delegating handlers to add to the http client pipeline.
/// </param>
/// <exception cref="System.ArgumentNullException">
/// Thrown when a required parameter is null
/// </exception>
protected ComputeManagementClient(System.Uri baseUri, params System.Net.Http.DelegatingHandler[] handlers) : this(handlers)
{
if (baseUri == null)
{
throw new System.ArgumentNullException("baseUri");
}
this.BaseUri = baseUri;
}
/// <summary>
/// Initializes a new instance of the ComputeManagementClient class.
/// </summary>
/// <param name='baseUri'>
/// Optional. The base URI of the service.
/// </param>
/// <param name='rootHandler'>
/// Optional. The http client handler used to handle http transport.
/// </param>
/// <param name='handlers'>
/// Optional. The delegating handlers to add to the http client pipeline.
/// </param>
/// <exception cref="System.ArgumentNullException">
/// Thrown when a required parameter is null
/// </exception>
protected ComputeManagementClient(System.Uri baseUri, System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers) : this(rootHandler, handlers)
{
if (baseUri == null)
{
throw new System.ArgumentNullException("baseUri");
}
this.BaseUri = baseUri;
}
/// <summary>
/// Initializes a new instance of the ComputeManagementClient class.
/// </summary>
/// <param name='credentials'>
/// Required. Credentials needed for the client to connect to Azure.
/// </param>
/// <param name='handlers'>
/// Optional. The delegating handlers to add to the http client pipeline.
/// </param>
/// <exception cref="System.ArgumentNullException">
/// Thrown when a required parameter is null
/// </exception>
public ComputeManagementClient(Microsoft.Rest.ServiceClientCredentials credentials, params System.Net.Http.DelegatingHandler[] handlers) : this(handlers)
{
if (credentials == null)
{
throw new System.ArgumentNullException("credentials");
}
this.Credentials = credentials;
if (this.Credentials != null)
{
this.Credentials.InitializeServiceClient(this);
}
}
/// <summary>
/// Initializes a new instance of the ComputeManagementClient class.
/// </summary>
/// <param name="credentials">
/// Required. Credentials needed for the client to connect to Azure.
/// </param>
/// <param name='httpClient'>
/// HttpClient to be used
/// </param>
/// <param name='disposeHttpClient'>
/// True: will dispose the provided httpClient on calling ComputeManagementClient.Dispose(). False: will not dispose provided httpClient</param>
/// <exception cref="System.ArgumentNullException">
/// Thrown when a required parameter is null
/// </exception>
public ComputeManagementClient(Microsoft.Rest.ServiceClientCredentials credentials, System.Net.Http.HttpClient httpClient, bool disposeHttpClient) : this(httpClient, disposeHttpClient)
{
if (credentials == null)
{
throw new System.ArgumentNullException("credentials");
}
this.Credentials = credentials;
if (this.Credentials != null)
{
this.Credentials.InitializeServiceClient(this);
}
}
/// <summary>
/// Initializes a new instance of the ComputeManagementClient class.
/// </summary>
/// <param name="credentials">
/// Required. Credentials needed for the client to connect to Azure.
/// </param>
/// <param name='rootHandler'>
/// Optional. The http client handler used to handle http transport.
/// </param>
/// <param name='handlers'>
/// Optional. The delegating handlers to add to the http client pipeline.
/// </param>
/// <exception cref="System.ArgumentNullException">
/// Thrown when a required parameter is null
/// </exception>
public ComputeManagementClient(Microsoft.Rest.ServiceClientCredentials credentials, System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers) : this(rootHandler, handlers)
{
if (credentials == null)
{
throw new System.ArgumentNullException("credentials");
}
this.Credentials = credentials;
if (this.Credentials != null)
{
this.Credentials.InitializeServiceClient(this);
}
}
/// <summary>
/// Initializes a new instance of the ComputeManagementClient class.
/// </summary>
/// <param name='baseUri'>
/// Optional. The base URI of the service.
/// </param>
/// <param name="credentials">
/// Required. Credentials needed for the client to connect to Azure.
/// </param>
/// <param name='handlers'>
/// Optional. The delegating handlers to add to the http client pipeline.
/// </param>
/// <exception cref="System.ArgumentNullException">
/// Thrown when a required parameter is null
/// </exception>
public ComputeManagementClient(System.Uri baseUri, Microsoft.Rest.ServiceClientCredentials credentials, params System.Net.Http.DelegatingHandler[] handlers) : this(handlers)
{
if (baseUri == null)
{
throw new System.ArgumentNullException("baseUri");
}
if (credentials == null)
{
throw new System.ArgumentNullException("credentials");
}
this.BaseUri = baseUri;
this.Credentials = credentials;
if (this.Credentials != null)
{
this.Credentials.InitializeServiceClient(this);
}
}
/// <summary>
/// Initializes a new instance of the ComputeManagementClient class.
/// </summary>
/// <param name='baseUri'>
/// Optional. The base URI of the service.
/// </param>
/// <param name="credentials">
/// Required. Credentials needed for the client to connect to Azure.
/// </param>
/// <param name='rootHandler'>
/// Optional. The http client handler used to handle http transport.
/// </param>
/// <param name='handlers'>
/// Optional. The delegating handlers to add to the http client pipeline.
/// </param>
/// <exception cref="System.ArgumentNullException">
/// Thrown when a required parameter is null
/// </exception>
public ComputeManagementClient(System.Uri baseUri, Microsoft.Rest.ServiceClientCredentials credentials, System.Net.Http.HttpClientHandler rootHandler, params System.Net.Http.DelegatingHandler[] handlers) : this(rootHandler, handlers)
{
if (baseUri == null)
{
throw new System.ArgumentNullException("baseUri");
}
if (credentials == null)
{
throw new System.ArgumentNullException("credentials");
}
this.BaseUri = baseUri;
this.Credentials = credentials;
if (this.Credentials != null)
{
this.Credentials.InitializeServiceClient(this);
}
}
/// <summary>
/// An optional partial-method to perform custom initialization.
/// </summary>
partial void CustomInitialize();
/// <summary>
/// Initializes client properties.
/// </summary>
private void Initialize()
{
this.Operations = new Operations(this);
this.AvailabilitySets = new AvailabilitySetsOperations(this);
this.CapacityReservationGroups = new CapacityReservationGroupsOperations(this);
this.DedicatedHostGroups = new DedicatedHostGroupsOperations(this);
this.Images = new ImagesOperations(this);
this.InterconnectBlocks = new InterconnectBlocksOperations(this);
this.VirtualMachineImagesEdgeZone = new VirtualMachineImagesEdgeZoneOperations(this);
this.VirtualMachineImages = new VirtualMachineImagesOperations(this);
this.LogAnalytics = new LogAnalyticsOperations(this);
this.VirtualMachineExtensionImages = new VirtualMachineExtensionImagesOperations(this);
this.VirtualMachineRunCommands = new VirtualMachineRunCommandsOperations(this);
this.Usage = new UsageOperations(this);
this.VirtualMachineScaleSets = new VirtualMachineScaleSetsOperations(this);
this.VirtualMachines = new VirtualMachinesOperations(this);
this.VirtualMachineSizes = new VirtualMachineSizesOperations(this);
this.ProximityPlacementGroups = new ProximityPlacementGroupsOperations(this);
this.RestorePointCollections = new RestorePointCollectionsOperations(this);
this.SshPublicKeys = new SshPublicKeysOperations(this);
this.CapacityReservations = new CapacityReservationsOperations(this);
this.DedicatedHosts = new DedicatedHostsOperations(this);
this.RestorePoints = new RestorePointsOperations(this);
this.VirtualMachineScaleSetRollingUpgrades = new VirtualMachineScaleSetRollingUpgradesOperations(this);
this.VirtualMachineScaleSetExtensions = new VirtualMachineScaleSetExtensionsOperations(this);
this.VirtualMachineScaleSetLifeCycleHookEvents = new VirtualMachineScaleSetLifeCycleHookEventsOperations(this);
this.VirtualMachineScaleSetVMS = new VirtualMachineScaleSetVMSOperations(this);
this.VirtualMachineScaleSetVMExtensions = new VirtualMachineScaleSetVMExtensionsOperations(this);
this.VirtualMachineScaleSetVMRunCommands = new VirtualMachineScaleSetVMRunCommandsOperations(this);
this.VirtualMachineExtensions = new VirtualMachineExtensionsOperations(this);
this.DiskAccesses = new DiskAccessesOperations(this);
this.DiskEncryptionSets = new DiskEncryptionSetsOperations(this);
this.Disks = new DisksOperations(this);
this.Snapshots = new SnapshotsOperations(this);
this.DiskRestorePoint = new DiskRestorePointOperations(this);
this.Galleries = new GalleriesOperations(this);
this.CommunityGalleries = new CommunityGalleriesOperations(this);
this.CommunityGalleryImages = new CommunityGalleryImagesOperations(this);
this.CommunityGalleryImageVersions = new CommunityGalleryImageVersionsOperations(this);
this.SharedGalleries = new SharedGalleriesOperations(this);
this.SharedGalleryImages = new SharedGalleryImagesOperations(this);
this.SharedGalleryImageVersions = new SharedGalleryImageVersionsOperations(this);
this.GalleryApplications = new GalleryApplicationsOperations(this);
this.GalleryApplicationVersions = new GalleryApplicationVersionsOperations(this);
this.GalleryImages = new GalleryImagesOperations(this);
this.GalleryImageVersions = new GalleryImageVersionsOperations(this);
this.GalleryInVMAccessControlProfiles = new GalleryInVMAccessControlProfilesOperations(this);
this.GalleryInVMAccessControlProfileVersions = new GalleryInVMAccessControlProfileVersionsOperations(this);
this.GalleryScripts = new GalleryScriptsOperations(this);
this.GalleryScriptVersions = new GalleryScriptVersionsOperations(this);
this.GallerySharingProfile = new GallerySharingProfileOperations(this);
this.SoftDeletedResource = new SoftDeletedResourceOperations(this);
this.ResourceSkus = new ResourceSkusOperations(this);
this.BaseUri = new System.Uri("https://management.azure.com");
this.AcceptLanguage = "en-US";
this.LongRunningOperationRetryTimeout = 30;
this.GenerateClientRequestId = true;
SerializationSettings = new Newtonsoft.Json.JsonSerializerSettings
{
Formatting = Newtonsoft.Json.Formatting.Indented,
DateFormatHandling = Newtonsoft.Json.DateFormatHandling.IsoDateFormat,
DateTimeZoneHandling = Newtonsoft.Json.DateTimeZoneHandling.Utc,
NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore,
ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Serialize,
ContractResolver = new Microsoft.Rest.Serialization.ReadOnlyJsonContractResolver(),
Converters = new System.Collections.Generic.List<Newtonsoft.Json.JsonConverter>
{
new Microsoft.Rest.Serialization.Iso8601TimeSpanConverter()
}
};
SerializationSettings.Converters.Add(new Microsoft.Rest.Serialization.TransformationJsonConverter());
DeserializationSettings = new Newtonsoft.Json.JsonSerializerSettings
{
DateFormatHandling = Newtonsoft.Json.DateFormatHandling.IsoDateFormat,
DateTimeZoneHandling = Newtonsoft.Json.DateTimeZoneHandling.Utc,
NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore,
ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Serialize,
ContractResolver = new Microsoft.Rest.Serialization.ReadOnlyJsonContractResolver(),
Converters = new System.Collections.Generic.List<Newtonsoft.Json.JsonConverter>
{
new Microsoft.Rest.Serialization.Iso8601TimeSpanConverter()
}
};
CustomInitialize();
DeserializationSettings.Converters.Add(new Microsoft.Rest.Serialization.TransformationJsonConverter());
DeserializationSettings.Converters.Add(new Microsoft.Rest.Azure.CloudErrorJsonConverter());
}
}
}