-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
Copy pathindex.ts
3836 lines (3401 loc) · 126 KB
/
index.ts
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 Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
import * as coreClient from "@azure/core-client";
export type WorkloadNetworkDhcpEntityUnion =
| WorkloadNetworkDhcpEntity
| WorkloadNetworkDhcpServer
| WorkloadNetworkDhcpRelay;
export type AddonPropertiesUnion =
| AddonProperties
| AddonSrmProperties
| AddonVrProperties
| AddonHcxProperties
| AddonArcProperties;
export type PlacementPolicyPropertiesUnion =
| PlacementPolicyProperties
| VmPlacementPolicyProperties
| VmHostPlacementPolicyProperties;
export type ScriptExecutionParameterUnion =
| ScriptExecutionParameter
| ScriptSecureStringExecutionParameter
| ScriptStringExecutionParameter
| PSCredentialExecutionParameter;
/** Pageable list of operations */
export interface OperationList {
/**
* List of operations
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: Operation[];
/**
* URL to get the next page if any
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** A REST API operation */
export interface Operation {
/**
* Name of the operation being performed on this object
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly name?: string;
/**
* Contains the localized display information for this operation
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly display?: OperationDisplay;
/** Gets or sets a value indicating whether the operation is a data action or not */
isDataAction?: boolean;
/** Origin of the operation */
origin?: string;
/** Properties of the operation */
properties?: OperationProperties;
}
/** Contains the localized display information for this operation */
export interface OperationDisplay {
/**
* Localized friendly form of the resource provider name
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly provider?: string;
/**
* Localized friendly form of the resource type related to this operation
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly resource?: string;
/**
* Localized friendly name for the operation
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly operation?: string;
/**
* Localized friendly description for the operation
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly description?: string;
}
/** Extra Operation properties */
export interface OperationProperties {
/** Service specifications of the operation */
serviceSpecification?: ServiceSpecification;
}
/** Service specification payload */
export interface ServiceSpecification {
/** Specifications of the Log for Azure Monitoring */
logSpecifications?: LogSpecification[];
/** Specifications of the Metrics for Azure Monitoring */
metricSpecifications?: MetricSpecification[];
}
/** Specifications of the Log for Azure Monitoring */
export interface LogSpecification {
/** Name of the log */
name?: string;
/** Localized friendly display name of the log */
displayName?: string;
/** Blob duration of the log */
blobDuration?: string;
}
/** Specifications of the Metrics for Azure Monitoring */
export interface MetricSpecification {
/** Name of the metric */
name?: string;
/** Localized friendly display name of the metric */
displayName?: string;
/** Localized friendly description of the metric */
displayDescription?: string;
/** Unit that makes sense for the metric */
unit?: string;
/** Name of the metric category that the metric belongs to. A metric can only belong to a single category. */
category?: string;
/** Only provide one value for this field. Valid values: Average, Minimum, Maximum, Total, Count. */
aggregationType?: string;
/** Supported aggregation types */
supportedAggregationTypes?: string[];
/** Supported time grain types */
supportedTimeGrainTypes?: string[];
/** Optional. If set to true, then zero will be returned for time duration where no metric is emitted/published. */
fillGapWithZero?: boolean;
/** Dimensions of the metric */
dimensions?: MetricDimension[];
/** Whether or not the service is using regional MDM accounts. */
enableRegionalMdmAccount?: string;
/** The name of the MDM account. */
sourceMdmAccount?: string;
/** The name of the MDM namespace. */
sourceMdmNamespace?: string;
}
/** Specifications of the Dimension of metrics */
export interface MetricDimension {
/** Name of the dimension */
name?: string;
/** Localized friendly display name of the dimension */
displayName?: string;
/** Name of the dimension as it appears in MDM */
internalName?: string;
/** A boolean flag indicating whether this dimension should be included for the shoebox export scenario */
toBeExportedForShoebox?: boolean;
}
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
export interface ErrorResponse {
/** The error object. */
error?: ErrorDetail;
}
/** The error detail. */
export interface ErrorDetail {
/**
* The error code.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly code?: string;
/**
* The error message.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly message?: string;
/**
* The error target.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly target?: string;
/**
* The error details.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly details?: ErrorDetail[];
/**
* The error additional info.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly additionalInfo?: ErrorAdditionalInfo[];
}
/** The resource management error additional info. */
export interface ErrorAdditionalInfo {
/**
* The additional info type.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly type?: string;
/**
* The additional info.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly info?: Record<string, unknown>;
}
/** The resource model definition representing SKU */
export interface Sku {
/** The name of the SKU. */
name: string;
}
/** Subscription trial availability */
export interface Trial {
/**
* Trial status
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly status?: TrialStatus;
/**
* Number of trial hosts available
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly availableHosts?: number;
}
/** Subscription quotas */
export interface Quota {
/**
* Remaining hosts quota by sku type
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly hostsRemaining?: { [propertyName: string]: number };
/**
* Host quota is active for current subscription
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly quotaEnabled?: QuotaEnabled;
}
/** A paged list of private clouds */
export interface PrivateCloudList {
/**
* The items on the page
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: PrivateCloud[];
/**
* URL to get the next page if any
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** An ExpressRoute Circuit */
export interface Circuit {
/**
* CIDR of primary subnet
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly primarySubnet?: string;
/**
* CIDR of secondary subnet
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly secondarySubnet?: string;
/**
* Identifier of the ExpressRoute Circuit (Microsoft Colo only)
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly expressRouteID?: string;
/**
* ExpressRoute Circuit private peering identifier
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly expressRoutePrivatePeeringID?: string;
}
/** Endpoint addresses */
export interface Endpoints {
/**
* Endpoint for the NSX-T Data Center manager
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nsxtManager?: string;
/**
* Endpoint for Virtual Center Server Appliance
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly vcsa?: string;
/**
* Endpoint for the HCX Cloud Manager
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly hcxCloudManager?: string;
}
/** The properties of a private cloud resource that may be updated */
export interface PrivateCloudUpdateProperties {
/** The default cluster used for management */
managementCluster?: ManagementCluster;
/** Connectivity to internet is enabled or disabled */
internet?: InternetEnum;
/** vCenter Single Sign On Identity Sources */
identitySources?: IdentitySource[];
/** Properties describing how the cloud is distributed across availability zones */
availability?: AvailabilityProperties;
/** Customer managed key encryption, can be enabled or disabled */
encryption?: Encryption;
/** Array of additional networks noncontiguous with networkBlock. Networks must be unique and non-overlapping across VNet in your subscription, on-premise, and this privateCloud networkBlock attribute. Make sure the CIDR format conforms to (A.B.C.D/X). */
extendedNetworkBlocks?: string[];
}
/** The common properties of a cluster */
export interface CommonClusterProperties {
/** The cluster size */
clusterSize?: number;
/**
* The state of the cluster provisioning
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly provisioningState?: ClusterProvisioningState;
/**
* The identity
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly clusterId?: number;
/** The hosts */
hosts?: string[];
}
/** vCenter Single Sign On Identity Source */
export interface IdentitySource {
/** The name of the identity source */
name?: string;
/** The domain's NetBIOS name */
alias?: string;
/** The domain's dns name */
domain?: string;
/** The base distinguished name for users */
baseUserDN?: string;
/** The base distinguished name for groups */
baseGroupDN?: string;
/** Primary server URL */
primaryServer?: string;
/** Secondary server URL */
secondaryServer?: string;
/** Protect LDAP communication using SSL certificate (LDAPS) */
ssl?: SslEnum;
/** The ID of an Active Directory user with a minimum of read-only access to Base DN for users and group */
username?: string;
/** The password of the Active Directory user with a minimum of read-only access to Base DN for users and groups. */
password?: string;
}
/** The properties describing private cloud availability zone distribution */
export interface AvailabilityProperties {
/** The availability strategy for the private cloud */
strategy?: AvailabilityStrategy;
/** The primary availability zone for the private cloud */
zone?: number;
/** The secondary availability zone for the private cloud */
secondaryZone?: number;
}
/** The properties of customer managed encryption key */
export interface Encryption {
/** Status of customer managed encryption key */
status?: EncryptionState;
/** The key vault where the encryption key is stored */
keyVaultProperties?: EncryptionKeyVaultProperties;
}
/** An Encryption Key */
export interface EncryptionKeyVaultProperties {
/** The name of the key. */
keyName?: string;
/** The version of the key. */
keyVersion?: string;
/**
* The auto-detected version of the key if versionType is auto-detected.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly autoDetectedKeyVersion?: string;
/** The URL of the vault. */
keyVaultUrl?: string;
/**
* The state of key provided
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly keyState?: EncryptionKeyStatus;
/**
* Property of the key if user provided or auto detected
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly versionType?: EncryptionVersionType;
}
/** Identity for the virtual machine. */
export interface PrivateCloudIdentity {
/**
* The principal ID of private cloud identity. This property will only be provided for a system assigned identity.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly principalId?: string;
/**
* The tenant ID associated with the private cloud. This property will only be provided for a system assigned identity.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly tenantId?: string;
/** The type of identity used for the private cloud. The type 'SystemAssigned' refers to an implicitly created identity. The type 'None' will remove any identities from the Private Cloud. */
type?: ResourceIdentityType;
}
/** The core properties of ARM resources */
export interface Resource {
/**
* Resource ID.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly id?: string;
/**
* Resource name.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly name?: string;
/**
* Resource type.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly type?: string;
}
/** An update to a private cloud resource */
export interface PrivateCloudUpdate {
/** Resource tags */
tags?: { [propertyName: string]: string };
/** The identity of the private cloud, if configured. */
identity?: PrivateCloudIdentity;
/** The default cluster used for management */
managementCluster?: ManagementCluster;
/** Connectivity to internet is enabled or disabled */
internet?: InternetEnum;
/** vCenter Single Sign On Identity Sources */
identitySources?: IdentitySource[];
/** Properties describing how the cloud is distributed across availability zones */
availability?: AvailabilityProperties;
/** Customer managed key encryption, can be enabled or disabled */
encryption?: Encryption;
/** Array of additional networks noncontiguous with networkBlock. Networks must be unique and non-overlapping across VNet in your subscription, on-premise, and this privateCloud networkBlock attribute. Make sure the CIDR format conforms to (A.B.C.D/X). */
extendedNetworkBlocks?: string[];
}
/** A paged list of clusters */
export interface ClusterList {
/**
* The items on a page
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: Cluster[];
/**
* URL to get the next page if any
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** An update of a cluster resource */
export interface ClusterUpdate {
/** The cluster size */
clusterSize?: number;
/** The hosts */
hosts?: string[];
}
/** List of all zones and associated hosts for a cluster */
export interface ClusterZoneList {
/** Zone and associated hosts info */
zones?: ClusterZone[];
}
/** Zone and associated hosts info */
export interface ClusterZone {
/**
* List of hosts belonging to the availability zone in a cluster
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly hosts?: string[];
/**
* Availability zone identifier
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly zone?: string;
}
/** A paged list of datastores */
export interface DatastoreList {
/**
* The items on a page
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: Datastore[];
/**
* URL to get the next page if any
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** An Azure NetApp Files volume from Microsoft.NetApp provider */
export interface NetAppVolume {
/** Azure resource ID of the NetApp volume */
id: string;
}
/** An iSCSI volume from Microsoft.StoragePool provider */
export interface DiskPoolVolume {
/** Azure resource ID of the iSCSI target */
targetId: string;
/** Name of the LUN to be used for datastore */
lunName: string;
/** Mode that describes whether the LUN has to be mounted as a datastore or attached as a LUN */
mountOption?: MountOptionEnum;
/**
* Device path
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly path?: string;
}
/** Administrative credentials for accessing vCenter and NSX-T */
export interface AdminCredentials {
/**
* NSX-T Manager username
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nsxtUsername?: string;
/**
* NSX-T Manager password
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nsxtPassword?: string;
/**
* vCenter admin username
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly vcenterUsername?: string;
/**
* vCenter admin password
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly vcenterPassword?: string;
}
/** A paged list of HCX Enterprise Sites */
export interface HcxEnterpriseSiteList {
/**
* The items on a page
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: HcxEnterpriseSite[];
/**
* URL to get the next page if any
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** A paged list of ExpressRoute Circuit Authorizations */
export interface ExpressRouteAuthorizationList {
/**
* The items on a page
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: ExpressRouteAuthorization[];
/**
* URL to get the next page if any
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** A paged list of global reach connections */
export interface GlobalReachConnectionList {
/**
* The items on a page
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: GlobalReachConnection[];
/**
* URL to get the next page if any
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** A list of workload networks */
export interface WorkloadNetworkList {
/**
* The items on the page
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: WorkloadNetwork[];
/**
* URL to get the next page if any
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** A list of NSX Segments */
export interface WorkloadNetworkSegmentsList {
/**
* The items on the page
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: WorkloadNetworkSegment[];
/**
* URL to get the next page if any
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** Subnet configuration for segment */
export interface WorkloadNetworkSegmentSubnet {
/** DHCP Range assigned for subnet. */
dhcpRanges?: string[];
/** Gateway address. */
gatewayAddress?: string;
}
/** Ports and any VIF attached to segment. */
export interface WorkloadNetworkSegmentPortVif {
/** Name of port or VIF attached to segment. */
portName?: string;
}
/** A list of NSX dhcp entities */
export interface WorkloadNetworkDhcpList {
/**
* The items on the page
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: WorkloadNetworkDhcp[];
/**
* URL to get the next page if any
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** Base class for WorkloadNetworkDhcpServer and WorkloadNetworkDhcpRelay to inherit from */
export interface WorkloadNetworkDhcpEntity {
/** Polymorphic discriminator, which specifies the different types this object can be */
dhcpType: "SERVER" | "RELAY";
/** Display name of the DHCP entity. */
displayName?: string;
/**
* NSX Segments consuming DHCP.
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly segments?: string[];
/**
* The provisioning state
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly provisioningState?: WorkloadNetworkDhcpProvisioningState;
/** NSX revision number. */
revision?: number;
}
/** A list of NSX Gateways */
export interface WorkloadNetworkGatewayList {
/**
* The items on the page
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: WorkloadNetworkGateway[];
/**
* URL to get the next page if any
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** A list of NSX Port Mirroring */
export interface WorkloadNetworkPortMirroringList {
/**
* The items on the page
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: WorkloadNetworkPortMirroring[];
/**
* URL to get the next page if any
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** A list of NSX VM Groups */
export interface WorkloadNetworkVMGroupsList {
/**
* The items on the page
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: WorkloadNetworkVMGroup[];
/**
* URL to get the next page if any
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** A list of NSX Virtual Machines */
export interface WorkloadNetworkVirtualMachinesList {
/**
* The items on the page
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: WorkloadNetworkVirtualMachine[];
/**
* URL to get the next page if any
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** A list of NSX DNS Services */
export interface WorkloadNetworkDnsServicesList {
/**
* The items on the page
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: WorkloadNetworkDnsService[];
/**
* URL to get the next page if any
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** A list of NSX DNS Zones */
export interface WorkloadNetworkDnsZonesList {
/**
* The items on the page
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: WorkloadNetworkDnsZone[];
/**
* URL to get the next page if any
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** A list of NSX Public IP Blocks */
export interface WorkloadNetworkPublicIPsList {
/**
* The items on the page
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: WorkloadNetworkPublicIP[];
/**
* URL to get the next page if any
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** A paged list of cloud links */
export interface CloudLinkList {
/**
* The items on a page
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: CloudLink[];
/**
* URL to get the next page if any
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** A paged list of addons */
export interface AddonList {
/**
* The items on a page
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: Addon[];
/**
* URL to get the next page if any
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** The properties of an addon */
export interface AddonProperties {
/** Polymorphic discriminator, which specifies the different types this object can be */
addonType: "SRM" | "VR" | "HCX" | "Arc";
/**
* The state of the addon provisioning
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly provisioningState?: AddonProvisioningState;
}
/** A list of Virtual Machines */
export interface VirtualMachinesList {
/**
* The items to be displayed on the page
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: VirtualMachine[];
/**
* URL to get the next page if any
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** Set VM DRS-driven movement to restricted (enabled) or not (disabled) */
export interface VirtualMachineRestrictMovement {
/** Whether VM DRS-driven movement is restricted (enabled) or not (disabled) */
restrictMovement?: VirtualMachineRestrictMovementState;
}
/** Represents list of placement policies */
export interface PlacementPoliciesList {
/**
* The items on the page
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: PlacementPolicy[];
/**
* URL to get the next page if any
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** Abstract placement policy properties */
export interface PlacementPolicyProperties {
/** Polymorphic discriminator, which specifies the different types this object can be */
type: "VmVm" | "VmHost";
/** Whether the placement policy is enabled or disabled */
state?: PlacementPolicyState;
/** Display name of the placement policy */
displayName?: string;
/**
* The provisioning state
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly provisioningState?: PlacementPolicyProvisioningState;
}
/** An update of a DRS placement policy resource */
export interface PlacementPolicyUpdate {
/** Whether the placement policy is enabled or disabled */
state?: PlacementPolicyState;
/** Virtual machine members list */
vmMembers?: string[];
/** Host members list */
hostMembers?: string[];
/** vm-host placement policy affinity strength (should/must) */
affinityStrength?: AffinityStrength;
/** placement policy azure hybrid benefit opt-in type */
azureHybridBenefitType?: AzureHybridBenefitType;
}
/** A list of the available script packages */
export interface ScriptPackagesList {
/**
* List of script package resources
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: ScriptPackage[];
/**
* URL to get the next page if any
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** Pageable list of scripts/cmdlets */
export interface ScriptCmdletsList {
/**
* List of scripts
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: ScriptCmdlet[];
/**
* URL to get the next page if any
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** An parameter that the script will accept */
export interface ScriptParameter {
/**
* The type of parameter the script is expecting. psCredential is a PSCredentialObject
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly type?: ScriptParameterTypes;
/** The parameter name that the script will expect a parameter value for */
name?: string;
/**
* User friendly description of the parameter
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly description?: string;
/**
* Should this parameter be visible to arm and passed in the parameters argument when executing
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly visibility?: VisibilityParameterEnum;
/**
* Is this parameter required or optional
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly optional?: OptionalParamEnum;
}
/** Pageable list of script executions */
export interface ScriptExecutionsList {
/**
* List of scripts
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly value?: ScriptExecution[];
/**
* URL to get the next page if any
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nextLink?: string;
}
/** The arguments passed in to the execution */
export interface ScriptExecutionParameter {
/** Polymorphic discriminator, which specifies the different types this object can be */
type: "SecureValue" | "Value" | "Credential";
/** The parameter name */
name: string;
}
/** The properties of a private cloud resource */
export interface PrivateCloudProperties extends PrivateCloudUpdateProperties {
/**
* The provisioning state
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly provisioningState?: PrivateCloudProvisioningState;
/** An ExpressRoute Circuit */
circuit?: Circuit;
/**
* The endpoints
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly endpoints?: Endpoints;
/** The block of addresses should be unique across VNet in your subscription as well as on-premise. Make sure the CIDR format is conformed to (A.B.C.D/X) where A,B,C,D are between 0 and 255, and X is between 0 and 22 */
networkBlock: string;
/**
* Network used to access vCenter Server and NSX-T Manager
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly managementNetwork?: string;
/**
* Used for virtual machine cold migration, cloning, and snapshot migration
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly provisioningNetwork?: string;
/**
* Used for live migration of virtual machines
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly vmotionNetwork?: string;
/** Optionally, set the vCenter admin password when the private cloud is created */
vcenterPassword?: string;
/** Optionally, set the NSX-T Manager password when the private cloud is created */
nsxtPassword?: string;
/**
* Thumbprint of the vCenter Server SSL certificate
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly vcenterCertificateThumbprint?: string;
/**
* Thumbprint of the NSX-T Manager SSL certificate
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly nsxtCertificateThumbprint?: string;
/**
* Array of cloud link IDs from other clouds that connect to this one
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly externalCloudLinks?: string[];
/** A secondary expressRoute circuit from a separate AZ. Only present in a stretched private cloud */
secondaryCircuit?: Circuit;
/**
* Flag to indicate whether the private cloud has the quota for provisioned NSX Public IP count raised from 64 to 1024
* NOTE: This property will not be serialized. It can only be populated by the server.