-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
ManagementClient.cs
5463 lines (4908 loc) · 230 KB
/
ManagementClient.cs
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
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
//
// Copyright (c) Microsoft. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//
// See the License for the specific language governing permissions and
// limitations under the License.
//
// Warning: This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if the
// code is regenerated.
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Xml.Linq;
using Microsoft.WindowsAzure;
using Microsoft.WindowsAzure.Common;
using Microsoft.WindowsAzure.Common.Internals;
using Microsoft.WindowsAzure.Management;
using Microsoft.WindowsAzure.Management.Models;
namespace Microsoft.WindowsAzure.Management.Models
{
/// <summary>
/// Describes the capabilities associated with an affinity group.
/// </summary>
public static partial class AffinityGroupCapabilities
{
/// <summary>
/// Indicates if the virtual machine related operations can be
/// performed in this affinity group. If so, the string
/// PersistentVMRole will be returned by this element. Otherwise, this
/// element will not be present.
/// </summary>
public const string PersistentVMRole = "PersistentVMRole";
}
/// <summary>
/// Parameters supplied to the Create Affinity Group operation.
/// </summary>
public partial class AffinityGroupCreateParameters
{
private string _description;
/// <summary>
/// Optional. A description for the affinity group. The description can
/// be up to 1024 characters in length.
/// </summary>
public string Description
{
get { return this._description; }
set { this._description = value; }
}
private string _label;
/// <summary>
/// Required. A base-64 encoded name for the affinity group. The name
/// can be up to 100 characters in length. Its value defaults to the
/// Name of the affinity group if not provided.
/// </summary>
public string Label
{
get
{
if (this._label == null)
{
return this.Name;
}
else
{
return this._label;
}
}
set { this._label = value; }
}
private string _location;
/// <summary>
/// Required. The data center location where the affinity group will be
/// created. To list available locations, see the List Locations
/// operation.
/// </summary>
public string Location
{
get { return this._location; }
set { this._location = value; }
}
private string _name;
/// <summary>
/// Required. A name for the affinity group that is unique to the
/// subscription.
/// </summary>
public string Name
{
get { return this._name; }
set { this._name = value; }
}
/// <summary>
/// Initializes a new instance of the AffinityGroupCreateParameters
/// class.
/// </summary>
public AffinityGroupCreateParameters()
{
}
}
/// <summary>
/// The Get Affinity Group operation response.
/// </summary>
public partial class AffinityGroupGetResponse : OperationResponse
{
private IList<string> _capabilities;
/// <summary>
/// Indicates if the virtual machine related operations can be
/// performed in this affinity group. If so, the string
/// PersistentVMRole will be returned by this element. Otherwise, this
/// element will not be present.
/// </summary>
public IList<string> Capabilities
{
get { return this._capabilities; }
set { this._capabilities = value; }
}
private string _description;
/// <summary>
/// The user supplied description of this affinity group.
/// </summary>
public string Description
{
get { return this._description; }
set { this._description = value; }
}
private IList<AffinityGroupGetResponse.HostedServiceReference> _hostedServices;
/// <summary>
/// The hosted services associated with this affinity group.
/// </summary>
public IList<AffinityGroupGetResponse.HostedServiceReference> HostedServices
{
get { return this._hostedServices; }
set { this._hostedServices = value; }
}
private string _label;
/// <summary>
/// The user supplied label of the affinity group returned as a base-64
/// encoded string.
/// </summary>
public string Label
{
get { return this._label; }
set { this._label = value; }
}
private string _location;
/// <summary>
/// The location of the data center that the affinity group is
/// associated with.
/// </summary>
public string Location
{
get { return this._location; }
set { this._location = value; }
}
private string _name;
/// <summary>
/// The user supplied name of the affinity group.
/// </summary>
public string Name
{
get { return this._name; }
set { this._name = value; }
}
private IList<AffinityGroupGetResponse.StorageServiceReference> _storageServices;
/// <summary>
/// The storage services associated with this affinity group.
/// </summary>
public IList<AffinityGroupGetResponse.StorageServiceReference> StorageServices
{
get { return this._storageServices; }
set { this._storageServices = value; }
}
/// <summary>
/// Initializes a new instance of the AffinityGroupGetResponse class.
/// </summary>
public AffinityGroupGetResponse()
{
this._capabilities = new List<string>();
this._hostedServices = new List<AffinityGroupGetResponse.HostedServiceReference>();
this._storageServices = new List<AffinityGroupGetResponse.StorageServiceReference>();
}
/// <summary>
/// Reference to a hosted service associated with an affinity group.
/// </summary>
public partial class HostedServiceReference
{
private string _serviceName;
/// <summary>
/// The name of the hosted service.
/// </summary>
public string ServiceName
{
get { return this._serviceName; }
set { this._serviceName = value; }
}
private Uri _uri;
/// <summary>
/// The Service Management API request URI used to perform Get
/// Hosted Service Properties requests against the hosted service.
/// </summary>
public Uri Uri
{
get { return this._uri; }
set { this._uri = value; }
}
/// <summary>
/// Initializes a new instance of the HostedServiceReference class.
/// </summary>
public HostedServiceReference()
{
}
}
/// <summary>
/// Reference to a storage service associated with an affinity group.
/// </summary>
public partial class StorageServiceReference
{
private string _serviceName;
/// <summary>
/// The user supplied name of the storage account.
/// </summary>
public string ServiceName
{
get { return this._serviceName; }
set { this._serviceName = value; }
}
private Uri _uri;
/// <summary>
/// The Service Management API request URI used to perform Get
/// Storage Account Properties requests against the storage
/// account.
/// </summary>
public Uri Uri
{
get { return this._uri; }
set { this._uri = value; }
}
/// <summary>
/// Initializes a new instance of the StorageServiceReference class.
/// </summary>
public StorageServiceReference()
{
}
}
}
/// <summary>
/// The List Affinity Groups operation response.
/// </summary>
public partial class AffinityGroupListResponse : OperationResponse, IEnumerable<AffinityGroupListResponse.AffinityGroup>
{
private IList<AffinityGroupListResponse.AffinityGroup> _affinityGroups;
/// <summary>
/// The affinity groups associated with the specified subscription.
/// </summary>
public IList<AffinityGroupListResponse.AffinityGroup> AffinityGroups
{
get { return this._affinityGroups; }
set { this._affinityGroups = value; }
}
/// <summary>
/// Initializes a new instance of the AffinityGroupListResponse class.
/// </summary>
public AffinityGroupListResponse()
{
this._affinityGroups = new List<AffinityGroupListResponse.AffinityGroup>();
}
/// <summary>
/// Gets the sequence of AffinityGroups.
/// </summary>
public IEnumerator<AffinityGroupListResponse.AffinityGroup> GetEnumerator()
{
return this.AffinityGroups.GetEnumerator();
}
/// <summary>
/// Gets the sequence of AffinityGroups.
/// </summary>
System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
{
return this.GetEnumerator();
}
/// <summary>
/// An affinity group associated with the specified subscription.
/// </summary>
public partial class AffinityGroup
{
private IList<string> _capabilities;
/// <summary>
/// Indicates if the affinity group is able to perform virtual
/// machine related operations. If so, the string PersistentVMRole
/// will be returned by this element. Otherwise, this element will
/// not be present.
/// </summary>
public IList<string> Capabilities
{
get { return this._capabilities; }
set { this._capabilities = value; }
}
private string _description;
/// <summary>
/// The user supplied description of this affinity group.
/// </summary>
public string Description
{
get { return this._description; }
set { this._description = value; }
}
private string _label;
/// <summary>
/// The user supplied label of the affinity group returned as a
/// base-64 encoded string.
/// </summary>
public string Label
{
get { return this._label; }
set { this._label = value; }
}
private string _location;
/// <summary>
/// The user specified data center that this affinity groups is
/// located in.
/// </summary>
public string Location
{
get { return this._location; }
set { this._location = value; }
}
private string _name;
/// <summary>
/// The user supplied name of the affinity group.
/// </summary>
public string Name
{
get { return this._name; }
set { this._name = value; }
}
/// <summary>
/// Initializes a new instance of the AffinityGroup class.
/// </summary>
public AffinityGroup()
{
this._capabilities = new List<string>();
}
}
}
/// <summary>
/// Parameters supplied to the Update Affinity Group operation.
/// </summary>
public partial class AffinityGroupUpdateParameters
{
private string _description;
/// <summary>
/// Optional. A description for the affinity group. The description can
/// be up to 1024 characters in length.
/// </summary>
public string Description
{
get { return this._description; }
set { this._description = value; }
}
private string _label;
/// <summary>
/// Required. A name for the affinity specified as a base-64 encoded
/// string. The label can be up to 100 characters in length.
/// </summary>
public string Label
{
get { return this._label; }
set { this._label = value; }
}
/// <summary>
/// Initializes a new instance of the AffinityGroupUpdateParameters
/// class.
/// </summary>
public AffinityGroupUpdateParameters()
{
}
}
/// <summary>
/// Indicates the services available at a location.
/// </summary>
public static partial class LocationAvailableServiceNames
{
public const string Compute = "Compute";
public const string Storage = "Storage";
public const string PersistentVMRole = "PersistentVMRole";
public const string HighMemory = "HighMemory";
}
/// <summary>
/// Known location names for Windows Azure. You can obtain a complete list
/// of the latest locations available to your subscription from the List
/// Locations Operation.
/// </summary>
public static partial class LocationNames
{
public const string WestEurope = "West Europe";
public const string SoutheastAsia = "Southeast Asia";
public const string EastAsia = "East Asia";
public const string NorthCentralUS = "North Central US";
public const string NorthEurope = "North Europe";
public const string SouthCentralUS = "South Central US";
public const string WestUS = "West US";
public const string EastUS = "East US";
}
/// <summary>
/// The List Locations operation response.
/// </summary>
public partial class LocationsListResponse : OperationResponse, IEnumerable<LocationsListResponse.Location>
{
private IList<LocationsListResponse.Location> _locations;
/// <summary>
/// The data center locations that are valid for your subscription.
/// </summary>
public IList<LocationsListResponse.Location> Locations
{
get { return this._locations; }
set { this._locations = value; }
}
/// <summary>
/// Initializes a new instance of the LocationsListResponse class.
/// </summary>
public LocationsListResponse()
{
this._locations = new List<LocationsListResponse.Location>();
}
/// <summary>
/// Gets the sequence of Locations.
/// </summary>
public IEnumerator<LocationsListResponse.Location> GetEnumerator()
{
return this.Locations.GetEnumerator();
}
/// <summary>
/// Gets the sequence of Locations.
/// </summary>
System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
{
return this.GetEnumerator();
}
/// <summary>
/// A data center location that is valid for your subscription.
/// </summary>
public partial class Location
{
private IList<string> _availableServices;
/// <summary>
/// Indicates the services available at a location.
/// </summary>
public IList<string> AvailableServices
{
get { return this._availableServices; }
set { this._availableServices = value; }
}
private string _displayName;
/// <summary>
/// The localized name of data center location.
/// </summary>
public string DisplayName
{
get { return this._displayName; }
set { this._displayName = value; }
}
private string _name;
/// <summary>
/// The name of a data center location that is valid for your
/// subscription.
/// </summary>
public string Name
{
get { return this._name; }
set { this._name = value; }
}
/// <summary>
/// Initializes a new instance of the Location class.
/// </summary>
public Location()
{
this._availableServices = new List<string>();
}
}
}
/// <summary>
/// Parameters supplied to the Create Management Certificate operation.
/// </summary>
public partial class ManagementCertificateCreateParameters
{
private byte[] _data;
/// <summary>
/// The certificate’s raw data in base-64 encoded .cer format.
/// </summary>
public byte[] Data
{
get { return this._data; }
set { this._data = value; }
}
private byte[] _publicKey;
/// <summary>
/// A base64 representation of the management certificate public key.
/// </summary>
public byte[] PublicKey
{
get { return this._publicKey; }
set { this._publicKey = value; }
}
private string _thumbprint;
/// <summary>
/// The thumb print that uniquely identifies the management certificate.
/// </summary>
public string Thumbprint
{
get { return this._thumbprint; }
set { this._thumbprint = value; }
}
/// <summary>
/// Initializes a new instance of the
/// ManagementCertificateCreateParameters class.
/// </summary>
public ManagementCertificateCreateParameters()
{
}
}
/// <summary>
/// The Get Management Certificate operation response.
/// </summary>
public partial class ManagementCertificateGetResponse : OperationResponse
{
private DateTime _created;
/// <summary>
/// The time that the management certificate was created, in UTC.
/// </summary>
public DateTime Created
{
get { return this._created; }
set { this._created = value; }
}
private byte[] _data;
/// <summary>
/// A base64 representation of the raw data contained in the management
/// certificate in .cer format.
/// </summary>
public byte[] Data
{
get { return this._data; }
set { this._data = value; }
}
private byte[] _publicKey;
/// <summary>
/// A base64 representation of the management certificate public key.
/// </summary>
public byte[] PublicKey
{
get { return this._publicKey; }
set { this._publicKey = value; }
}
private string _thumbprint;
/// <summary>
/// The thumb print that uniquely identifies the management
/// certificate. This thumb print is the same value as the one
/// specified by the request URI.
/// </summary>
public string Thumbprint
{
get { return this._thumbprint; }
set { this._thumbprint = value; }
}
/// <summary>
/// Initializes a new instance of the ManagementCertificateGetResponse
/// class.
/// </summary>
public ManagementCertificateGetResponse()
{
}
}
/// <summary>
/// The List Management Certificates operation response.
/// </summary>
public partial class ManagementCertificateListResponse : OperationResponse, IEnumerable<ManagementCertificateListResponse.SubscriptionCertificate>
{
private IList<ManagementCertificateListResponse.SubscriptionCertificate> _subscriptionCertificates;
/// <summary>
/// The management certificates that are valid for your subscription.
/// </summary>
public IList<ManagementCertificateListResponse.SubscriptionCertificate> SubscriptionCertificates
{
get { return this._subscriptionCertificates; }
set { this._subscriptionCertificates = value; }
}
/// <summary>
/// Initializes a new instance of the ManagementCertificateListResponse
/// class.
/// </summary>
public ManagementCertificateListResponse()
{
this._subscriptionCertificates = new List<ManagementCertificateListResponse.SubscriptionCertificate>();
}
/// <summary>
/// Gets the sequence of SubscriptionCertificates.
/// </summary>
public IEnumerator<ManagementCertificateListResponse.SubscriptionCertificate> GetEnumerator()
{
return this.SubscriptionCertificates.GetEnumerator();
}
/// <summary>
/// Gets the sequence of SubscriptionCertificates.
/// </summary>
System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
{
return this.GetEnumerator();
}
/// <summary>
/// A management certificate that is valid for your subscription.
/// </summary>
public partial class SubscriptionCertificate
{
private DateTime _created;
/// <summary>
/// The time that the management certificate was created, in UTC.
/// </summary>
public DateTime Created
{
get { return this._created; }
set { this._created = value; }
}
private byte[] _data;
/// <summary>
/// A base64 representation of the data contained in the management
/// certificate, in .cer format.
/// </summary>
public byte[] Data
{
get { return this._data; }
set { this._data = value; }
}
private byte[] _publicKey;
/// <summary>
/// A base64 representation of the management certificate public
/// key.
/// </summary>
public byte[] PublicKey
{
get { return this._publicKey; }
set { this._publicKey = value; }
}
private string _thumbprint;
/// <summary>
/// The X509 certificate thumb print property of the management
/// certificate. This thumb print uniquely identifies the
/// certificate.
/// </summary>
public string Thumbprint
{
get { return this._thumbprint; }
set { this._thumbprint = value; }
}
/// <summary>
/// Initializes a new instance of the SubscriptionCertificate class.
/// </summary>
public SubscriptionCertificate()
{
}
}
}
/// <summary>
/// The status of the asynchronous request.
/// </summary>
public enum OperationStatus
{
/// <summary>
/// The asynchronous request is in progress.
/// </summary>
InProgress = 0,
/// <summary>
/// The asynchronous request succeeded.
/// </summary>
Succeeded = 1,
/// <summary>
/// The asynchronous request failed.
/// </summary>
Failed = 2,
}
/// <summary>
/// The response body contains the status of the specified asynchronous
/// operation, indicating whether it has succeeded, is inprogress, or has
/// failed. Note that this status is distinct from the HTTP status code
/// returned for the Get Operation Status operation itself. If the
/// asynchronous operation succeeded, the response body includes the HTTP
/// status code for the successful request. If the asynchronous operation
/// failed, the response body includes the HTTP status code for the failed
/// request, and also includes error information regarding the failure.
/// </summary>
public partial class OperationStatusResponse : OperationResponse
{
private OperationStatusResponse.ErrorDetails _error;
/// <summary>
/// If the asynchronous operation failed, the response body includes
/// the HTTP status code for the failed request, and also includes
/// error information regarding the failure.
/// </summary>
public OperationStatusResponse.ErrorDetails Error
{
get { return this._error; }
set { this._error = value; }
}
private HttpStatusCode _httpStatusCode;
/// <summary>
/// The HTTP status code for the asynchronous request.
/// </summary>
public HttpStatusCode HttpStatusCode
{
get { return this._httpStatusCode; }
set { this._httpStatusCode = value; }
}
private string _id;
/// <summary>
/// The request ID of the asynchronous request. This value is returned
/// in the x-ms-request-id response header of the asynchronous request.
/// </summary>
public string Id
{
get { return this._id; }
set { this._id = value; }
}
private OperationStatus _status;
/// <summary>
/// The status of the asynchronous request.
/// </summary>
public OperationStatus Status
{
get { return this._status; }
set { this._status = value; }
}
/// <summary>
/// Initializes a new instance of the OperationStatusResponse class.
/// </summary>
public OperationStatusResponse()
{
}
/// <summary>
/// If the asynchronous operation failed, the response body includes
/// the HTTP status code for the failed request, and also includes
/// error information regarding the failure.
/// </summary>
public partial class ErrorDetails
{
private string _code;
/// <summary>
/// The management service error code returned if the asynchronous
/// request failed.
/// </summary>
public string Code
{
get { return this._code; }
set { this._code = value; }
}
private string _message;
/// <summary>
/// The management service error message returned if the
/// asynchronous request failed.
/// </summary>
public string Message
{
get { return this._message; }
set { this._message = value; }
}
/// <summary>
/// Initializes a new instance of the ErrorDetails class.
/// </summary>
public ErrorDetails()
{
}
}
}
/// <summary>
/// The Get Subscription operation response.
/// </summary>
public partial class SubscriptionGetResponse : OperationResponse
{
private string _accountAdminLiveEmailId;
/// <summary>
/// The live ID of the account administrator.
/// </summary>
public string AccountAdminLiveEmailId
{
get { return this._accountAdminLiveEmailId; }
set { this._accountAdminLiveEmailId = value; }
}
private int _currentCoreCount;
/// <summary>
/// The number of currently allocated cores.
/// </summary>
public int CurrentCoreCount
{
get { return this._currentCoreCount; }
set { this._currentCoreCount = value; }
}
private int _currentDnsServers;
/// <summary>
/// The current number of DNS servers allocated on this subscription.
/// </summary>
public int CurrentDnsServers
{
get { return this._currentDnsServers; }
set { this._currentDnsServers = value; }
}
private int _currentHostedServices;
/// <summary>
/// The number of currently allocated cloud services.
/// </summary>
public int CurrentHostedServices
{
get { return this._currentHostedServices; }
set { this._currentHostedServices = value; }
}
private int _currentLocalNetworkSites;
/// <summary>
/// The current number of local virtual network sites that are
/// allocated on this subscription.
/// </summary>
public int CurrentLocalNetworkSites
{
get { return this._currentLocalNetworkSites; }
set { this._currentLocalNetworkSites = value; }
}
private int _currentStorageAccounts;
/// <summary>
/// The number of currently allocated storage accounts.
/// </summary>
public int CurrentStorageAccounts
{
get { return this._currentStorageAccounts; }
set { this._currentStorageAccounts = value; }
}
private int _currentVirtualNetworkSites;
/// <summary>
/// The number of currently allocated virtual network sites.
/// </summary>
public int CurrentVirtualNetworkSites
{
get { return this._currentVirtualNetworkSites; }
set { this._currentVirtualNetworkSites = value; }
}