File: _models_py3.py

package info (click to toggle)
python-azure 20250603%2Bgit-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 851,724 kB
  • sloc: python: 7,362,925; ansic: 804; javascript: 287; makefile: 195; sh: 145; xml: 109
file content (2481 lines) | stat: -rw-r--r-- 99,034 bytes parent folder | download | duplicates (2)
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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
# coding=utf-8
# pylint: disable=too-many-lines
# --------------------------------------------------------------------------
# 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.
# --------------------------------------------------------------------------

import datetime
import sys
from typing import Dict, List, Optional, TYPE_CHECKING, Union

from .. import _serialization

if sys.version_info >= (3, 8):
    from typing import Literal  # pylint: disable=no-name-in-module, ungrouped-imports
else:
    from typing_extensions import Literal  # type: ignore  # pylint: disable=ungrouped-imports

if TYPE_CHECKING:
    # pylint: disable=unused-import,ungrouped-imports
    from .. import models as _models


class AvailableOperation(_serialization.Model):
    """Resource provider available operation model.

    :ivar display: The list of operations.
    :vartype display: ~azure.mgmt.vmwarecloudsimple.models.AvailableOperationDisplay
    :ivar is_data_action: Indicating whether the operation is a data action or not.
    :vartype is_data_action: bool
    :ivar name: {resourceProviderNamespace}/{resourceType}/{read|write|delete|action}.
    :vartype name: str
    :ivar origin: The origin of operation. Known values are: "user", "system", and "user,system".
    :vartype origin: str or ~azure.mgmt.vmwarecloudsimple.models.OperationOrigin
    :ivar service_specification: The list of specification's service metrics.
    :vartype service_specification:
     ~azure.mgmt.vmwarecloudsimple.models.AvailableOperationDisplayPropertyServiceSpecificationMetricsList
    """

    _attribute_map = {
        "display": {"key": "display", "type": "AvailableOperationDisplay"},
        "is_data_action": {"key": "isDataAction", "type": "bool"},
        "name": {"key": "name", "type": "str"},
        "origin": {"key": "origin", "type": "str"},
        "service_specification": {
            "key": "properties.serviceSpecification",
            "type": "AvailableOperationDisplayPropertyServiceSpecificationMetricsList",
        },
    }

    def __init__(
        self,
        *,
        display: Optional["_models.AvailableOperationDisplay"] = None,
        is_data_action: bool = False,
        name: Optional[str] = None,
        origin: Optional[Union[str, "_models.OperationOrigin"]] = None,
        service_specification: Optional[
            "_models.AvailableOperationDisplayPropertyServiceSpecificationMetricsList"
        ] = None,
        **kwargs
    ):
        """
        :keyword display: The list of operations.
        :paramtype display: ~azure.mgmt.vmwarecloudsimple.models.AvailableOperationDisplay
        :keyword is_data_action: Indicating whether the operation is a data action or not.
        :paramtype is_data_action: bool
        :keyword name: {resourceProviderNamespace}/{resourceType}/{read|write|delete|action}.
        :paramtype name: str
        :keyword origin: The origin of operation. Known values are: "user", "system", and
         "user,system".
        :paramtype origin: str or ~azure.mgmt.vmwarecloudsimple.models.OperationOrigin
        :keyword service_specification: The list of specification's service metrics.
        :paramtype service_specification:
         ~azure.mgmt.vmwarecloudsimple.models.AvailableOperationDisplayPropertyServiceSpecificationMetricsList
        """
        super().__init__(**kwargs)
        self.display = display
        self.is_data_action = is_data_action
        self.name = name
        self.origin = origin
        self.service_specification = service_specification


class AvailableOperationDisplay(_serialization.Model):
    """Resource provider available operation display model.

    :ivar description: Description of the operation for display purposes.
    :vartype description: str
    :ivar operation: Name of the operation for display purposes.
    :vartype operation: str
    :ivar provider: Name of the provider for display purposes.
    :vartype provider: str
    :ivar resource: Name of the resource type for display purposes.
    :vartype resource: str
    """

    _attribute_map = {
        "description": {"key": "description", "type": "str"},
        "operation": {"key": "operation", "type": "str"},
        "provider": {"key": "provider", "type": "str"},
        "resource": {"key": "resource", "type": "str"},
    }

    def __init__(
        self,
        *,
        description: Optional[str] = None,
        operation: Optional[str] = None,
        provider: Optional[str] = None,
        resource: Optional[str] = None,
        **kwargs
    ):
        """
        :keyword description: Description of the operation for display purposes.
        :paramtype description: str
        :keyword operation: Name of the operation for display purposes.
        :paramtype operation: str
        :keyword provider: Name of the provider for display purposes.
        :paramtype provider: str
        :keyword resource: Name of the resource type for display purposes.
        :paramtype resource: str
        """
        super().__init__(**kwargs)
        self.description = description
        self.operation = operation
        self.provider = provider
        self.resource = resource


class AvailableOperationDisplayPropertyServiceSpecificationMetricsItem(_serialization.Model):
    """Available operation display property service specification metrics item.

    All required parameters must be populated in order to send to Azure.

    :ivar aggregation_type: Metric's aggregation type for e.g. (Average, Total). Required. Known
     values are: "Average" and "Total".
    :vartype aggregation_type: str or ~azure.mgmt.vmwarecloudsimple.models.AggregationType
    :ivar display_description: Metric's description. Required.
    :vartype display_description: str
    :ivar display_name: Human readable metric's name. Required.
    :vartype display_name: str
    :ivar name: Metric's name/id. Required.
    :vartype name: str
    :ivar unit: Metric's unit. Required.
    :vartype unit: str
    """

    _validation = {
        "aggregation_type": {"required": True},
        "display_description": {"required": True},
        "display_name": {"required": True},
        "name": {"required": True},
        "unit": {"required": True},
    }

    _attribute_map = {
        "aggregation_type": {"key": "aggregationType", "type": "str"},
        "display_description": {"key": "displayDescription", "type": "str"},
        "display_name": {"key": "displayName", "type": "str"},
        "name": {"key": "name", "type": "str"},
        "unit": {"key": "unit", "type": "str"},
    }

    def __init__(
        self,
        *,
        aggregation_type: Union[str, "_models.AggregationType"],
        display_description: str,
        display_name: str,
        name: str,
        unit: str,
        **kwargs
    ):
        """
        :keyword aggregation_type: Metric's aggregation type for e.g. (Average, Total). Required. Known
         values are: "Average" and "Total".
        :paramtype aggregation_type: str or ~azure.mgmt.vmwarecloudsimple.models.AggregationType
        :keyword display_description: Metric's description. Required.
        :paramtype display_description: str
        :keyword display_name: Human readable metric's name. Required.
        :paramtype display_name: str
        :keyword name: Metric's name/id. Required.
        :paramtype name: str
        :keyword unit: Metric's unit. Required.
        :paramtype unit: str
        """
        super().__init__(**kwargs)
        self.aggregation_type = aggregation_type
        self.display_description = display_description
        self.display_name = display_name
        self.name = name
        self.unit = unit


class AvailableOperationDisplayPropertyServiceSpecificationMetricsList(_serialization.Model):
    """List of available operation display property service specification metrics.

    :ivar metric_specifications: Metric specifications of operation.
    :vartype metric_specifications:
     list[~azure.mgmt.vmwarecloudsimple.models.AvailableOperationDisplayPropertyServiceSpecificationMetricsItem]
    """

    _attribute_map = {
        "metric_specifications": {
            "key": "metricSpecifications",
            "type": "[AvailableOperationDisplayPropertyServiceSpecificationMetricsItem]",
        },
    }

    def __init__(
        self,
        *,
        metric_specifications: Optional[
            List["_models.AvailableOperationDisplayPropertyServiceSpecificationMetricsItem"]
        ] = None,
        **kwargs
    ):
        """
        :keyword metric_specifications: Metric specifications of operation.
        :paramtype metric_specifications:
         list[~azure.mgmt.vmwarecloudsimple.models.AvailableOperationDisplayPropertyServiceSpecificationMetricsItem]
        """
        super().__init__(**kwargs)
        self.metric_specifications = metric_specifications


class AvailableOperationsListResponse(_serialization.Model):
    """List of available operations.

    :ivar next_link: Link for next list of available operations.
    :vartype next_link: str
    :ivar value: Returns a list of available operations.
    :vartype value: list[~azure.mgmt.vmwarecloudsimple.models.AvailableOperation]
    """

    _attribute_map = {
        "next_link": {"key": "nextLink", "type": "str"},
        "value": {"key": "value", "type": "[AvailableOperation]"},
    }

    def __init__(
        self, *, next_link: Optional[str] = None, value: Optional[List["_models.AvailableOperation"]] = None, **kwargs
    ):
        """
        :keyword next_link: Link for next list of available operations.
        :paramtype next_link: str
        :keyword value: Returns a list of available operations.
        :paramtype value: list[~azure.mgmt.vmwarecloudsimple.models.AvailableOperation]
        """
        super().__init__(**kwargs)
        self.next_link = next_link
        self.value = value


class CSRPError(_serialization.Model):
    """General error model.

    :ivar error: Error's body.
    :vartype error: ~azure.mgmt.vmwarecloudsimple.models.CSRPErrorBody
    """

    _attribute_map = {
        "error": {"key": "error", "type": "CSRPErrorBody"},
    }

    def __init__(self, *, error: Optional["_models.CSRPErrorBody"] = None, **kwargs):
        """
        :keyword error: Error's body.
        :paramtype error: ~azure.mgmt.vmwarecloudsimple.models.CSRPErrorBody
        """
        super().__init__(**kwargs)
        self.error = error


class CSRPErrorBody(_serialization.Model):
    """Error properties.

    Variables are only populated by the server, and will be ignored when sending a request.

    :ivar code: Error's code.
    :vartype code: str
    :ivar details: Error's details.
    :vartype details: list[~azure.mgmt.vmwarecloudsimple.models.CSRPErrorBody]
    :ivar message: Error's message.
    :vartype message: str
    :ivar target: Error's target.
    :vartype target: str
    """

    _validation = {
        "code": {"readonly": True},
        "details": {"readonly": True},
        "message": {"readonly": True},
    }

    _attribute_map = {
        "code": {"key": "code", "type": "str"},
        "details": {"key": "details", "type": "[CSRPErrorBody]"},
        "message": {"key": "message", "type": "str"},
        "target": {"key": "target", "type": "str"},
    }

    def __init__(self, *, target: Optional[str] = None, **kwargs):
        """
        :keyword target: Error's target.
        :paramtype target: str
        """
        super().__init__(**kwargs)
        self.code = None
        self.details = None
        self.message = None
        self.target = target


class CustomizationHostName(_serialization.Model):
    """Host name model.

    :ivar name: Hostname.
    :vartype name: str
    :ivar type: Type of host name. Known values are: "USER_DEFINED", "PREFIX_BASED", "FIXED",
     "VIRTUAL_MACHINE_NAME", and "CUSTOM_NAME".
    :vartype type: str or ~azure.mgmt.vmwarecloudsimple.models.CustomizationHostNameType
    """

    _attribute_map = {
        "name": {"key": "name", "type": "str"},
        "type": {"key": "type", "type": "str"},
    }

    def __init__(
        self,
        *,
        name: Optional[str] = None,
        type: Optional[Union[str, "_models.CustomizationHostNameType"]] = None,
        **kwargs
    ):
        """
        :keyword name: Hostname.
        :paramtype name: str
        :keyword type: Type of host name. Known values are: "USER_DEFINED", "PREFIX_BASED", "FIXED",
         "VIRTUAL_MACHINE_NAME", and "CUSTOM_NAME".
        :paramtype type: str or ~azure.mgmt.vmwarecloudsimple.models.CustomizationHostNameType
        """
        super().__init__(**kwargs)
        self.name = name
        self.type = type


class CustomizationIdentity(_serialization.Model):
    """CustomizationIdentity.

    :ivar data: Windows Text Identity. Prepared data.
    :vartype data: str
    :ivar host_name: Virtual machine host name settings.
    :vartype host_name: ~azure.mgmt.vmwarecloudsimple.models.CustomizationHostName
    :ivar type: Identity type. Known values are: "WINDOWS_TEXT", "WINDOWS", and "LINUX".
    :vartype type: str or ~azure.mgmt.vmwarecloudsimple.models.CustomizationIdentityType
    :ivar user_data: Windows Identity. User data customization.
    :vartype user_data: ~azure.mgmt.vmwarecloudsimple.models.CustomizationIdentityUserData
    """

    _attribute_map = {
        "data": {"key": "data", "type": "str"},
        "host_name": {"key": "hostName", "type": "CustomizationHostName"},
        "type": {"key": "type", "type": "str"},
        "user_data": {"key": "userData", "type": "CustomizationIdentityUserData"},
    }

    def __init__(
        self,
        *,
        data: Optional[str] = None,
        host_name: Optional["_models.CustomizationHostName"] = None,
        type: Optional[Union[str, "_models.CustomizationIdentityType"]] = None,
        user_data: Optional["_models.CustomizationIdentityUserData"] = None,
        **kwargs
    ):
        """
        :keyword data: Windows Text Identity. Prepared data.
        :paramtype data: str
        :keyword host_name: Virtual machine host name settings.
        :paramtype host_name: ~azure.mgmt.vmwarecloudsimple.models.CustomizationHostName
        :keyword type: Identity type. Known values are: "WINDOWS_TEXT", "WINDOWS", and "LINUX".
        :paramtype type: str or ~azure.mgmt.vmwarecloudsimple.models.CustomizationIdentityType
        :keyword user_data: Windows Identity. User data customization.
        :paramtype user_data: ~azure.mgmt.vmwarecloudsimple.models.CustomizationIdentityUserData
        """
        super().__init__(**kwargs)
        self.data = data
        self.host_name = host_name
        self.type = type
        self.user_data = user_data


class CustomizationIdentityUserData(_serialization.Model):
    """Windows Identity. User data customization.

    :ivar is_password_predefined: Is password predefined in customization policy.
    :vartype is_password_predefined: bool
    """

    _attribute_map = {
        "is_password_predefined": {"key": "isPasswordPredefined", "type": "bool"},
    }

    def __init__(self, *, is_password_predefined: bool = False, **kwargs):
        """
        :keyword is_password_predefined: Is password predefined in customization policy.
        :paramtype is_password_predefined: bool
        """
        super().__init__(**kwargs)
        self.is_password_predefined = is_password_predefined


class CustomizationIPAddress(_serialization.Model):
    """CustomizationIPAddress.

    :ivar argument: Argument when Custom ip type is selected.
    :vartype argument: str
    :ivar ip_address: Defined Ip Address when Fixed ip type is selected.
    :vartype ip_address: str
    :ivar type: Customization Specification ip type. Known values are: "CUSTOM", "DHCP_IP",
     "FIXED_IP", and "USER_DEFINED".
    :vartype type: str or ~azure.mgmt.vmwarecloudsimple.models.CustomizationIPAddressType
    """

    _attribute_map = {
        "argument": {"key": "argument", "type": "str"},
        "ip_address": {"key": "ipAddress", "type": "str"},
        "type": {"key": "type", "type": "str"},
    }

    def __init__(
        self,
        *,
        argument: Optional[str] = None,
        ip_address: Optional[str] = None,
        type: Optional[Union[str, "_models.CustomizationIPAddressType"]] = None,
        **kwargs
    ):
        """
        :keyword argument: Argument when Custom ip type is selected.
        :paramtype argument: str
        :keyword ip_address: Defined Ip Address when Fixed ip type is selected.
        :paramtype ip_address: str
        :keyword type: Customization Specification ip type. Known values are: "CUSTOM", "DHCP_IP",
         "FIXED_IP", and "USER_DEFINED".
        :paramtype type: str or ~azure.mgmt.vmwarecloudsimple.models.CustomizationIPAddressType
        """
        super().__init__(**kwargs)
        self.argument = argument
        self.ip_address = ip_address
        self.type = type


class CustomizationIPSettings(_serialization.Model):
    """CustomizationIPSettings.

    :ivar gateway: The list of gateways.
    :vartype gateway: list[str]
    :ivar ip: Ip address customization settings.
    :vartype ip: ~azure.mgmt.vmwarecloudsimple.models.CustomizationIPAddress
    :ivar subnet_mask: Adapter subnet mask.
    :vartype subnet_mask: str
    """

    _attribute_map = {
        "gateway": {"key": "gateway", "type": "[str]"},
        "ip": {"key": "ip", "type": "CustomizationIPAddress"},
        "subnet_mask": {"key": "subnetMask", "type": "str"},
    }

    def __init__(
        self,
        *,
        gateway: Optional[List[str]] = None,
        ip: Optional["_models.CustomizationIPAddress"] = None,
        subnet_mask: Optional[str] = None,
        **kwargs
    ):
        """
        :keyword gateway: The list of gateways.
        :paramtype gateway: list[str]
        :keyword ip: Ip address customization settings.
        :paramtype ip: ~azure.mgmt.vmwarecloudsimple.models.CustomizationIPAddress
        :keyword subnet_mask: Adapter subnet mask.
        :paramtype subnet_mask: str
        """
        super().__init__(**kwargs)
        self.gateway = gateway
        self.ip = ip
        self.subnet_mask = subnet_mask


class CustomizationNicSetting(_serialization.Model):
    """CustomizationNicSetting.

    :ivar adapter: The list of adapters' settings.
    :vartype adapter: ~azure.mgmt.vmwarecloudsimple.models.CustomizationIPSettings
    :ivar mac_address: NIC mac address.
    :vartype mac_address: str
    """

    _attribute_map = {
        "adapter": {"key": "adapter", "type": "CustomizationIPSettings"},
        "mac_address": {"key": "macAddress", "type": "str"},
    }

    def __init__(
        self,
        *,
        adapter: Optional["_models.CustomizationIPSettings"] = None,
        mac_address: Optional[str] = None,
        **kwargs
    ):
        """
        :keyword adapter: The list of adapters' settings.
        :paramtype adapter: ~azure.mgmt.vmwarecloudsimple.models.CustomizationIPSettings
        :keyword mac_address: NIC mac address.
        :paramtype mac_address: str
        """
        super().__init__(**kwargs)
        self.adapter = adapter
        self.mac_address = mac_address


class CustomizationPoliciesListResponse(_serialization.Model):
    """List of customization polices response model.

    :ivar next_link: Link for next list of the Customization policy.
    :vartype next_link: str
    :ivar value: List of the customization policies.
    :vartype value: list[~azure.mgmt.vmwarecloudsimple.models.CustomizationPolicy]
    """

    _attribute_map = {
        "next_link": {"key": "nextLink", "type": "str"},
        "value": {"key": "value", "type": "[CustomizationPolicy]"},
    }

    def __init__(
        self, *, next_link: Optional[str] = None, value: Optional[List["_models.CustomizationPolicy"]] = None, **kwargs
    ):
        """
        :keyword next_link: Link for next list of the Customization policy.
        :paramtype next_link: str
        :keyword value: List of the customization policies.
        :paramtype value: list[~azure.mgmt.vmwarecloudsimple.models.CustomizationPolicy]
        """
        super().__init__(**kwargs)
        self.next_link = next_link
        self.value = value


class CustomizationPolicy(_serialization.Model):
    """The virtual machine customization policy.

    Variables are only populated by the server, and will be ignored when sending a request.

    :ivar id: Customization policy azure id.
    :vartype id: str
    :ivar location: Azure region.
    :vartype location: str
    :ivar name: Customization policy name.
    :vartype name: str
    :ivar type:
    :vartype type: str
    :ivar description: Policy description.
    :vartype description: str
    :ivar private_cloud_id: The Private cloud id.
    :vartype private_cloud_id: str
    :ivar specification: Detailed customization policy specification.
    :vartype specification: ~azure.mgmt.vmwarecloudsimple.models.CustomizationSpecification
    :ivar type_properties_type: The type of customization (Linux or Windows). Known values are:
     "LINUX" and "WINDOWS".
    :vartype type_properties_type: str or
     ~azure.mgmt.vmwarecloudsimple.models.CustomizationPolicyPropertiesType
    :ivar version: Policy version.
    :vartype version: str
    """

    _validation = {
        "name": {"readonly": True},
        "type": {"readonly": True},
    }

    _attribute_map = {
        "id": {"key": "id", "type": "str"},
        "location": {"key": "location", "type": "str"},
        "name": {"key": "name", "type": "str"},
        "type": {"key": "type", "type": "str"},
        "description": {"key": "properties.description", "type": "str"},
        "private_cloud_id": {"key": "properties.privateCloudId", "type": "str"},
        "specification": {"key": "properties.specification", "type": "CustomizationSpecification"},
        "type_properties_type": {"key": "properties.type", "type": "str"},
        "version": {"key": "properties.version", "type": "str"},
    }

    def __init__(
        self,
        *,
        id: Optional[str] = None,  # pylint: disable=redefined-builtin
        location: Optional[str] = None,
        description: Optional[str] = None,
        private_cloud_id: Optional[str] = None,
        specification: Optional["_models.CustomizationSpecification"] = None,
        type_properties_type: Optional[Union[str, "_models.CustomizationPolicyPropertiesType"]] = None,
        version: Optional[str] = None,
        **kwargs
    ):
        """
        :keyword id: Customization policy azure id.
        :paramtype id: str
        :keyword location: Azure region.
        :paramtype location: str
        :keyword description: Policy description.
        :paramtype description: str
        :keyword private_cloud_id: The Private cloud id.
        :paramtype private_cloud_id: str
        :keyword specification: Detailed customization policy specification.
        :paramtype specification: ~azure.mgmt.vmwarecloudsimple.models.CustomizationSpecification
        :keyword type_properties_type: The type of customization (Linux or Windows). Known values are:
         "LINUX" and "WINDOWS".
        :paramtype type_properties_type: str or
         ~azure.mgmt.vmwarecloudsimple.models.CustomizationPolicyPropertiesType
        :keyword version: Policy version.
        :paramtype version: str
        """
        super().__init__(**kwargs)
        self.id = id
        self.location = location
        self.name = None
        self.type = None
        self.description = description
        self.private_cloud_id = private_cloud_id
        self.specification = specification
        self.type_properties_type = type_properties_type
        self.version = version


class CustomizationSpecification(_serialization.Model):
    """The specification for Customization Policy.

    :ivar identity: Customization Identity. It contains data about user and hostname.
    :vartype identity: ~azure.mgmt.vmwarecloudsimple.models.CustomizationIdentity
    :ivar nic_settings: Network interface settings.
    :vartype nic_settings: list[~azure.mgmt.vmwarecloudsimple.models.CustomizationNicSetting]
    """

    _attribute_map = {
        "identity": {"key": "identity", "type": "CustomizationIdentity"},
        "nic_settings": {"key": "nicSettings", "type": "[CustomizationNicSetting]"},
    }

    def __init__(
        self,
        *,
        identity: Optional["_models.CustomizationIdentity"] = None,
        nic_settings: Optional[List["_models.CustomizationNicSetting"]] = None,
        **kwargs
    ):
        """
        :keyword identity: Customization Identity. It contains data about user and hostname.
        :paramtype identity: ~azure.mgmt.vmwarecloudsimple.models.CustomizationIdentity
        :keyword nic_settings: Network interface settings.
        :paramtype nic_settings: list[~azure.mgmt.vmwarecloudsimple.models.CustomizationNicSetting]
        """
        super().__init__(**kwargs)
        self.identity = identity
        self.nic_settings = nic_settings


class DedicatedCloudNode(_serialization.Model):  # pylint: disable=too-many-instance-attributes
    """Dedicated cloud node model.

    Variables are only populated by the server, and will be ignored when sending a request.

    All required parameters must be populated in order to send to Azure.

    :ivar id:
     /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/dedicatedCloudNodes/{dedicatedCloudNodeName}.
    :vartype id: str
    :ivar location: Azure region. Required.
    :vartype location: str
    :ivar name: {dedicatedCloudNodeName}.
    :vartype name: str
    :ivar sku: Dedicated Cloud Nodes SKU.
    :vartype sku: ~azure.mgmt.vmwarecloudsimple.models.Sku
    :ivar tags: Dedicated Cloud Nodes tags.
    :vartype tags: dict[str, str]
    :ivar type: {resourceProviderNamespace}/{resourceType}.
    :vartype type: str
    :ivar availability_zone_id: Availability Zone id, e.g. "az1".
    :vartype availability_zone_id: str
    :ivar availability_zone_name: Availability Zone name, e.g. "Availability Zone 1".
    :vartype availability_zone_name: str
    :ivar cloud_rack_name: VMWare Cloud Rack Name.
    :vartype cloud_rack_name: str
    :ivar created: date time the resource was created.
    :vartype created: ~datetime.datetime
    :ivar nodes_count: count of nodes to create.
    :vartype nodes_count: int
    :ivar placement_group_id: Placement Group id, e.g. "n1".
    :vartype placement_group_id: str
    :ivar placement_group_name: Placement Name, e.g. "Placement Group 1".
    :vartype placement_group_name: str
    :ivar private_cloud_id: Private Cloud Id.
    :vartype private_cloud_id: str
    :ivar private_cloud_name: Resource Pool Name.
    :vartype private_cloud_name: str
    :ivar provisioning_state: The provisioning status of the resource.
    :vartype provisioning_state: str
    :ivar purchase_id: purchase id.
    :vartype purchase_id: str
    :ivar status: Node status, indicates is private cloud set up on this node or not. Known values
     are: "unused" and "used".
    :vartype status: str or ~azure.mgmt.vmwarecloudsimple.models.NodeStatus
    :ivar vmware_cluster_name: VMWare Cluster Name.
    :vartype vmware_cluster_name: str
    :ivar id_properties_sku_description_id: SKU's id.
    :vartype id_properties_sku_description_id: str
    :ivar name_properties_sku_description_name: SKU's name.
    :vartype name_properties_sku_description_name: str
    """

    _validation = {
        "id": {"readonly": True},
        "location": {"required": True},
        "name": {"readonly": True, "pattern": r"^[a-zA-Z0-9]([-_.a-zA-Z0-9]*[a-zA-Z0-9])?$"},
        "type": {"readonly": True},
        "availability_zone_name": {"readonly": True},
        "cloud_rack_name": {"readonly": True},
        "created": {"readonly": True},
        "placement_group_name": {"readonly": True},
        "private_cloud_id": {"readonly": True},
        "private_cloud_name": {"readonly": True},
        "provisioning_state": {"readonly": True},
        "status": {"readonly": True},
        "vmware_cluster_name": {"readonly": True},
    }

    _attribute_map = {
        "id": {"key": "id", "type": "str"},
        "location": {"key": "location", "type": "str"},
        "name": {"key": "name", "type": "str"},
        "sku": {"key": "sku", "type": "Sku"},
        "tags": {"key": "tags", "type": "{str}"},
        "type": {"key": "type", "type": "str"},
        "availability_zone_id": {"key": "properties.availabilityZoneId", "type": "str"},
        "availability_zone_name": {"key": "properties.availabilityZoneName", "type": "str"},
        "cloud_rack_name": {"key": "properties.cloudRackName", "type": "str"},
        "created": {"key": "properties.created", "type": "iso-8601"},
        "nodes_count": {"key": "properties.nodesCount", "type": "int"},
        "placement_group_id": {"key": "properties.placementGroupId", "type": "str"},
        "placement_group_name": {"key": "properties.placementGroupName", "type": "str"},
        "private_cloud_id": {"key": "properties.privateCloudId", "type": "str"},
        "private_cloud_name": {"key": "properties.privateCloudName", "type": "str"},
        "provisioning_state": {"key": "properties.provisioningState", "type": "str"},
        "purchase_id": {"key": "properties.purchaseId", "type": "str"},
        "status": {"key": "properties.status", "type": "str"},
        "vmware_cluster_name": {"key": "properties.vmwareClusterName", "type": "str"},
        "id_properties_sku_description_id": {"key": "properties.skuDescription.id", "type": "str"},
        "name_properties_sku_description_name": {"key": "properties.skuDescription.name", "type": "str"},
    }

    def __init__(
        self,
        *,
        location: str,
        sku: Optional["_models.Sku"] = None,
        tags: Optional[Dict[str, str]] = None,
        availability_zone_id: Optional[str] = None,
        nodes_count: Optional[int] = None,
        placement_group_id: Optional[str] = None,
        purchase_id: Optional[str] = None,
        id_properties_sku_description_id: Optional[str] = None,
        name_properties_sku_description_name: Optional[str] = None,
        **kwargs
    ):
        """
        :keyword location: Azure region. Required.
        :paramtype location: str
        :keyword sku: Dedicated Cloud Nodes SKU.
        :paramtype sku: ~azure.mgmt.vmwarecloudsimple.models.Sku
        :keyword tags: Dedicated Cloud Nodes tags.
        :paramtype tags: dict[str, str]
        :keyword availability_zone_id: Availability Zone id, e.g. "az1".
        :paramtype availability_zone_id: str
        :keyword nodes_count: count of nodes to create.
        :paramtype nodes_count: int
        :keyword placement_group_id: Placement Group id, e.g. "n1".
        :paramtype placement_group_id: str
        :keyword purchase_id: purchase id.
        :paramtype purchase_id: str
        :keyword id_properties_sku_description_id: SKU's id.
        :paramtype id_properties_sku_description_id: str
        :keyword name_properties_sku_description_name: SKU's name.
        :paramtype name_properties_sku_description_name: str
        """
        super().__init__(**kwargs)
        self.id = None
        self.location = location
        self.name = None
        self.sku = sku
        self.tags = tags
        self.type = None
        self.availability_zone_id = availability_zone_id
        self.availability_zone_name = None
        self.cloud_rack_name = None
        self.created = None
        self.nodes_count = nodes_count
        self.placement_group_id = placement_group_id
        self.placement_group_name = None
        self.private_cloud_id = None
        self.private_cloud_name = None
        self.provisioning_state = None
        self.purchase_id = purchase_id
        self.status = None
        self.vmware_cluster_name = None
        self.id_properties_sku_description_id = id_properties_sku_description_id
        self.name_properties_sku_description_name = name_properties_sku_description_name


class DedicatedCloudNodeListResponse(_serialization.Model):
    """List of dedicated nodes response model.

    :ivar next_link: Link for next list of DedicatedCloudNode.
    :vartype next_link: str
    :ivar value: Results of the DedicatedCloudNode list.
    :vartype value: list[~azure.mgmt.vmwarecloudsimple.models.DedicatedCloudNode]
    """

    _attribute_map = {
        "next_link": {"key": "nextLink", "type": "str"},
        "value": {"key": "value", "type": "[DedicatedCloudNode]"},
    }

    def __init__(
        self, *, next_link: Optional[str] = None, value: Optional[List["_models.DedicatedCloudNode"]] = None, **kwargs
    ):
        """
        :keyword next_link: Link for next list of DedicatedCloudNode.
        :paramtype next_link: str
        :keyword value: Results of the DedicatedCloudNode list.
        :paramtype value: list[~azure.mgmt.vmwarecloudsimple.models.DedicatedCloudNode]
        """
        super().__init__(**kwargs)
        self.next_link = next_link
        self.value = value


class DedicatedCloudService(_serialization.Model):
    """Dedicated cloud service model.

    Variables are only populated by the server, and will be ignored when sending a request.

    All required parameters must be populated in order to send to Azure.

    :ivar id:
     /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/dedicatedCloudServices/{dedicatedCloudServiceName}.
    :vartype id: str
    :ivar location: Azure region. Required.
    :vartype location: str
    :ivar name: {dedicatedCloudServiceName}.
    :vartype name: str
    :ivar tags: The list of tags.
    :vartype tags: dict[str, str]
    :ivar type: {resourceProviderNamespace}/{resourceType}.
    :vartype type: str
    :ivar gateway_subnet: gateway Subnet for the account. It will collect the subnet address and
     always treat it as /28.
    :vartype gateway_subnet: str
    :ivar is_account_onboarded: indicates whether account onboarded or not in a given region. Known
     values are: "notOnBoarded", "onBoarded", "onBoardingFailed", and "onBoarding".
    :vartype is_account_onboarded: str or ~azure.mgmt.vmwarecloudsimple.models.OnboardingStatus
    :ivar nodes: total nodes purchased.
    :vartype nodes: int
    :ivar service_url: link to a service management web portal.
    :vartype service_url: str
    """

    _validation = {
        "id": {"readonly": True},
        "location": {"required": True},
        "name": {"readonly": True, "pattern": r"^[a-zA-Z0-9]([-_.a-zA-Z0-9]*[a-zA-Z0-9])?$"},
        "type": {"readonly": True},
        "is_account_onboarded": {"readonly": True},
        "nodes": {"readonly": True},
        "service_url": {"readonly": True},
    }

    _attribute_map = {
        "id": {"key": "id", "type": "str"},
        "location": {"key": "location", "type": "str"},
        "name": {"key": "name", "type": "str"},
        "tags": {"key": "tags", "type": "{str}"},
        "type": {"key": "type", "type": "str"},
        "gateway_subnet": {"key": "properties.gatewaySubnet", "type": "str"},
        "is_account_onboarded": {"key": "properties.isAccountOnboarded", "type": "str"},
        "nodes": {"key": "properties.nodes", "type": "int"},
        "service_url": {"key": "properties.serviceURL", "type": "str"},
    }

    def __init__(
        self, *, location: str, tags: Optional[Dict[str, str]] = None, gateway_subnet: Optional[str] = None, **kwargs
    ):
        """
        :keyword location: Azure region. Required.
        :paramtype location: str
        :keyword tags: The list of tags.
        :paramtype tags: dict[str, str]
        :keyword gateway_subnet: gateway Subnet for the account. It will collect the subnet address and
         always treat it as /28.
        :paramtype gateway_subnet: str
        """
        super().__init__(**kwargs)
        self.id = None
        self.location = location
        self.name = None
        self.tags = tags
        self.type = None
        self.gateway_subnet = gateway_subnet
        self.is_account_onboarded = None
        self.nodes = None
        self.service_url = None


class DedicatedCloudServiceListResponse(_serialization.Model):
    """List of dedicated cloud services.

    :ivar next_link: Link for next list of DedicatedCloudNode.
    :vartype next_link: str
    :ivar value: Results of the DedicatedCloudService list.
    :vartype value: list[~azure.mgmt.vmwarecloudsimple.models.DedicatedCloudService]
    """

    _attribute_map = {
        "next_link": {"key": "nextLink", "type": "str"},
        "value": {"key": "value", "type": "[DedicatedCloudService]"},
    }

    def __init__(
        self,
        *,
        next_link: Optional[str] = None,
        value: Optional[List["_models.DedicatedCloudService"]] = None,
        **kwargs
    ):
        """
        :keyword next_link: Link for next list of DedicatedCloudNode.
        :paramtype next_link: str
        :keyword value: Results of the DedicatedCloudService list.
        :paramtype value: list[~azure.mgmt.vmwarecloudsimple.models.DedicatedCloudService]
        """
        super().__init__(**kwargs)
        self.next_link = next_link
        self.value = value


class GuestOSCustomization(_serialization.Model):
    """Guest OS Customization properties.

    :ivar dns_servers: List of dns servers to use.
    :vartype dns_servers: list[str]
    :ivar host_name: Virtual Machine hostname.
    :vartype host_name: str
    :ivar password: Password for login.
    :vartype password: str
    :ivar policy_id: id of customization policy.
    :vartype policy_id: str
    :ivar username: Username for login.
    :vartype username: str
    """

    _attribute_map = {
        "dns_servers": {"key": "dnsServers", "type": "[str]"},
        "host_name": {"key": "hostName", "type": "str"},
        "password": {"key": "password", "type": "str"},
        "policy_id": {"key": "policyId", "type": "str"},
        "username": {"key": "username", "type": "str"},
    }

    def __init__(
        self,
        *,
        dns_servers: Optional[List[str]] = None,
        host_name: Optional[str] = None,
        password: Optional[str] = None,
        policy_id: Optional[str] = None,
        username: Optional[str] = None,
        **kwargs
    ):
        """
        :keyword dns_servers: List of dns servers to use.
        :paramtype dns_servers: list[str]
        :keyword host_name: Virtual Machine hostname.
        :paramtype host_name: str
        :keyword password: Password for login.
        :paramtype password: str
        :keyword policy_id: id of customization policy.
        :paramtype policy_id: str
        :keyword username: Username for login.
        :paramtype username: str
        """
        super().__init__(**kwargs)
        self.dns_servers = dns_servers
        self.host_name = host_name
        self.password = password
        self.policy_id = policy_id
        self.username = username


class GuestOSNICCustomization(_serialization.Model):
    """Guest OS nic customization.

    :ivar allocation: IP address allocation method. Known values are: "static" and "dynamic".
    :vartype allocation: str or
     ~azure.mgmt.vmwarecloudsimple.models.GuestOSNICCustomizationAllocation
    :ivar dns_servers: List of dns servers to use.
    :vartype dns_servers: list[str]
    :ivar gateway: Gateway addresses assigned to nic.
    :vartype gateway: list[str]
    :ivar ip_address: Static ip address for nic.
    :vartype ip_address: str
    :ivar mask: Network mask for nic.
    :vartype mask: str
    :ivar primary_wins_server: primary WINS server for Windows.
    :vartype primary_wins_server: str
    :ivar secondary_wins_server: secondary WINS server for Windows.
    :vartype secondary_wins_server: str
    """

    _validation = {
        "ip_address": {
            "pattern": r"^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])[.]){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$"
        },
        "mask": {
            "pattern": r"^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])[.]){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$"
        },
        "primary_wins_server": {
            "pattern": r"^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])[.]){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$"
        },
        "secondary_wins_server": {
            "pattern": r"^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])[.]){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$"
        },
    }

    _attribute_map = {
        "allocation": {"key": "allocation", "type": "str"},
        "dns_servers": {"key": "dnsServers", "type": "[str]"},
        "gateway": {"key": "gateway", "type": "[str]"},
        "ip_address": {"key": "ipAddress", "type": "str"},
        "mask": {"key": "mask", "type": "str"},
        "primary_wins_server": {"key": "primaryWinsServer", "type": "str"},
        "secondary_wins_server": {"key": "secondaryWinsServer", "type": "str"},
    }

    def __init__(
        self,
        *,
        allocation: Optional[Union[str, "_models.GuestOSNICCustomizationAllocation"]] = None,
        dns_servers: Optional[List[str]] = None,
        gateway: Optional[List[str]] = None,
        ip_address: Optional[str] = None,
        mask: Optional[str] = None,
        primary_wins_server: Optional[str] = None,
        secondary_wins_server: Optional[str] = None,
        **kwargs
    ):
        """
        :keyword allocation: IP address allocation method. Known values are: "static" and "dynamic".
        :paramtype allocation: str or
         ~azure.mgmt.vmwarecloudsimple.models.GuestOSNICCustomizationAllocation
        :keyword dns_servers: List of dns servers to use.
        :paramtype dns_servers: list[str]
        :keyword gateway: Gateway addresses assigned to nic.
        :paramtype gateway: list[str]
        :keyword ip_address: Static ip address for nic.
        :paramtype ip_address: str
        :keyword mask: Network mask for nic.
        :paramtype mask: str
        :keyword primary_wins_server: primary WINS server for Windows.
        :paramtype primary_wins_server: str
        :keyword secondary_wins_server: secondary WINS server for Windows.
        :paramtype secondary_wins_server: str
        """
        super().__init__(**kwargs)
        self.allocation = allocation
        self.dns_servers = dns_servers
        self.gateway = gateway
        self.ip_address = ip_address
        self.mask = mask
        self.primary_wins_server = primary_wins_server
        self.secondary_wins_server = secondary_wins_server


class OperationError(_serialization.Model):
    """Operation error model.

    :ivar code: Error's code.
    :vartype code: str
    :ivar message: Error's message.
    :vartype message: str
    """

    _attribute_map = {
        "code": {"key": "code", "type": "str"},
        "message": {"key": "message", "type": "str"},
    }

    def __init__(self, *, code: Optional[str] = None, message: Optional[str] = None, **kwargs):
        """
        :keyword code: Error's code.
        :paramtype code: str
        :keyword message: Error's message.
        :paramtype message: str
        """
        super().__init__(**kwargs)
        self.code = code
        self.message = message


class OperationResource(_serialization.Model):
    """Operation status response.

    Variables are only populated by the server, and will be ignored when sending a request.

    :ivar end_time: End time of the operation.
    :vartype end_time: ~datetime.datetime
    :ivar error: Error Message if operation failed.
    :vartype error: ~azure.mgmt.vmwarecloudsimple.models.OperationError
    :ivar id: Operation Id.
    :vartype id: str
    :ivar name: Operation ID.
    :vartype name: str
    :ivar start_time: Start time of the operation.
    :vartype start_time: ~datetime.datetime
    :ivar status: Operation status.
    :vartype status: str
    """

    _validation = {
        "end_time": {"readonly": True},
        "id": {"readonly": True},
        "name": {"readonly": True},
        "start_time": {"readonly": True},
        "status": {"readonly": True},
    }

    _attribute_map = {
        "end_time": {"key": "endTime", "type": "iso-8601"},
        "error": {"key": "error", "type": "OperationError"},
        "id": {"key": "id", "type": "str"},
        "name": {"key": "name", "type": "str"},
        "start_time": {"key": "startTime", "type": "iso-8601"},
        "status": {"key": "status", "type": "str"},
    }

    def __init__(self, *, error: Optional["_models.OperationError"] = None, **kwargs):
        """
        :keyword error: Error Message if operation failed.
        :paramtype error: ~azure.mgmt.vmwarecloudsimple.models.OperationError
        """
        super().__init__(**kwargs)
        self.end_time = None
        self.error = error
        self.id = None
        self.name = None
        self.start_time = None
        self.status = None


class PatchPayload(_serialization.Model):
    """General patch payload modal.

    :ivar tags: The tags key:value pairs.
    :vartype tags: dict[str, str]
    """

    _attribute_map = {
        "tags": {"key": "tags", "type": "{str}"},
    }

    def __init__(self, *, tags: Optional[Dict[str, str]] = None, **kwargs):
        """
        :keyword tags: The tags key:value pairs.
        :paramtype tags: dict[str, str]
        """
        super().__init__(**kwargs)
        self.tags = tags


class PrivateCloud(_serialization.Model):  # pylint: disable=too-many-instance-attributes
    """Private cloud model.

    :ivar id: Azure Id, e.g.
     "/subscriptions/4da99247-a172-4ed6-8ae9-ebed2d12f839/providers/Microsoft.VMwareCloudSimple/privateClouds/cloud123".
    :vartype id: str
    :ivar location: Location where private cloud created, e.g "westus".
    :vartype location: str
    :ivar name: Private cloud name.
    :vartype name: str
    :ivar type: Azure Resource type. Default value is "Microsoft.VMwareCloudSimple/privateClouds".
    :vartype type: str
    :ivar availability_zone_id: Availability Zone id, e.g. "az1".
    :vartype availability_zone_id: str
    :ivar availability_zone_name: Availability Zone name, e.g. "Availability Zone 1".
    :vartype availability_zone_name: str
    :ivar clusters_number: Number of clusters.
    :vartype clusters_number: int
    :ivar created_by: User's emails who created cloud.
    :vartype created_by: str
    :ivar created_on: When private cloud was created.
    :vartype created_on: ~datetime.datetime
    :ivar dns_servers: Array of DNS servers.
    :vartype dns_servers: list[str]
    :ivar expires: Expiration date of PC.
    :vartype expires: str
    :ivar nsx_type: Nsx Type, e.g. "Advanced".
    :vartype nsx_type: str
    :ivar placement_group_id: Placement Group id, e.g. "n1".
    :vartype placement_group_id: str
    :ivar placement_group_name: Placement Group name.
    :vartype placement_group_name: str
    :ivar private_cloud_id: Id of a private cloud.
    :vartype private_cloud_id: str
    :ivar resource_pools: The list of Resource Pools.
    :vartype resource_pools: list[~azure.mgmt.vmwarecloudsimple.models.ResourcePool]
    :ivar state: Private Cloud state, e.g. "operational".
    :vartype state: str
    :ivar total_cpu_cores: Number of cores.
    :vartype total_cpu_cores: int
    :ivar total_nodes: Number of nodes.
    :vartype total_nodes: int
    :ivar total_ram: Memory size.
    :vartype total_ram: int
    :ivar total_storage: Disk space in TB.
    :vartype total_storage: float
    :ivar type_properties_type: Virtualization type e.g. "vSphere".
    :vartype type_properties_type: str
    :ivar v_sphere_version: e.g. "6.5u2".
    :vartype v_sphere_version: str
    :ivar vcenter_fqdn: FQDN for vcenter access.
    :vartype vcenter_fqdn: str
    :ivar vcenter_refid: Vcenter ip address.
    :vartype vcenter_refid: str
    :ivar virtual_machine_templates: The list of Virtual Machine Templates.
    :vartype virtual_machine_templates:
     list[~azure.mgmt.vmwarecloudsimple.models.VirtualMachineTemplate]
    :ivar virtual_networks: The list of Virtual Networks.
    :vartype virtual_networks: list[~azure.mgmt.vmwarecloudsimple.models.VirtualNetwork]
    :ivar vr_ops_enabled: Is Vrops enabled/disabled.
    :vartype vr_ops_enabled: bool
    """

    _attribute_map = {
        "id": {"key": "id", "type": "str"},
        "location": {"key": "location", "type": "str"},
        "name": {"key": "name", "type": "str"},
        "type": {"key": "type", "type": "str"},
        "availability_zone_id": {"key": "properties.availabilityZoneId", "type": "str"},
        "availability_zone_name": {"key": "properties.availabilityZoneName", "type": "str"},
        "clusters_number": {"key": "properties.clustersNumber", "type": "int"},
        "created_by": {"key": "properties.createdBy", "type": "str"},
        "created_on": {"key": "properties.createdOn", "type": "iso-8601"},
        "dns_servers": {"key": "properties.dnsServers", "type": "[str]"},
        "expires": {"key": "properties.expires", "type": "str"},
        "nsx_type": {"key": "properties.nsxType", "type": "str"},
        "placement_group_id": {"key": "properties.placementGroupId", "type": "str"},
        "placement_group_name": {"key": "properties.placementGroupName", "type": "str"},
        "private_cloud_id": {"key": "properties.privateCloudId", "type": "str"},
        "resource_pools": {"key": "properties.resourcePools", "type": "[ResourcePool]"},
        "state": {"key": "properties.state", "type": "str"},
        "total_cpu_cores": {"key": "properties.totalCpuCores", "type": "int"},
        "total_nodes": {"key": "properties.totalNodes", "type": "int"},
        "total_ram": {"key": "properties.totalRam", "type": "int"},
        "total_storage": {"key": "properties.totalStorage", "type": "float"},
        "type_properties_type": {"key": "properties.type", "type": "str"},
        "v_sphere_version": {"key": "properties.vSphereVersion", "type": "str"},
        "vcenter_fqdn": {"key": "properties.vcenterFqdn", "type": "str"},
        "vcenter_refid": {"key": "properties.vcenterRefid", "type": "str"},
        "virtual_machine_templates": {"key": "properties.virtualMachineTemplates", "type": "[VirtualMachineTemplate]"},
        "virtual_networks": {"key": "properties.virtualNetworks", "type": "[VirtualNetwork]"},
        "vr_ops_enabled": {"key": "properties.vrOpsEnabled", "type": "bool"},
    }

    def __init__(  # pylint: disable=too-many-locals
        self,
        *,
        id: Optional[str] = None,  # pylint: disable=redefined-builtin
        location: Optional[str] = None,
        name: Optional[str] = None,
        type: Optional[Literal["Microsoft.VMwareCloudSimple/privateClouds"]] = None,
        availability_zone_id: Optional[str] = None,
        availability_zone_name: Optional[str] = None,
        clusters_number: Optional[int] = None,
        created_by: Optional[str] = None,
        created_on: Optional[datetime.datetime] = None,
        dns_servers: Optional[List[str]] = None,
        expires: Optional[str] = None,
        nsx_type: Optional[str] = None,
        placement_group_id: Optional[str] = None,
        placement_group_name: Optional[str] = None,
        private_cloud_id: Optional[str] = None,
        resource_pools: Optional[List["_models.ResourcePool"]] = None,
        state: Optional[str] = None,
        total_cpu_cores: Optional[int] = None,
        total_nodes: Optional[int] = None,
        total_ram: Optional[int] = None,
        total_storage: Optional[float] = None,
        type_properties_type: Optional[str] = None,
        v_sphere_version: Optional[str] = None,
        vcenter_fqdn: Optional[str] = None,
        vcenter_refid: Optional[str] = None,
        virtual_machine_templates: Optional[List["_models.VirtualMachineTemplate"]] = None,
        virtual_networks: Optional[List["_models.VirtualNetwork"]] = None,
        vr_ops_enabled: Optional[bool] = None,
        **kwargs
    ):
        """
        :keyword id: Azure Id, e.g.
         "/subscriptions/4da99247-a172-4ed6-8ae9-ebed2d12f839/providers/Microsoft.VMwareCloudSimple/privateClouds/cloud123".
        :paramtype id: str
        :keyword location: Location where private cloud created, e.g "westus".
        :paramtype location: str
        :keyword name: Private cloud name.
        :paramtype name: str
        :keyword type: Azure Resource type. Default value is
         "Microsoft.VMwareCloudSimple/privateClouds".
        :paramtype type: str
        :keyword availability_zone_id: Availability Zone id, e.g. "az1".
        :paramtype availability_zone_id: str
        :keyword availability_zone_name: Availability Zone name, e.g. "Availability Zone 1".
        :paramtype availability_zone_name: str
        :keyword clusters_number: Number of clusters.
        :paramtype clusters_number: int
        :keyword created_by: User's emails who created cloud.
        :paramtype created_by: str
        :keyword created_on: When private cloud was created.
        :paramtype created_on: ~datetime.datetime
        :keyword dns_servers: Array of DNS servers.
        :paramtype dns_servers: list[str]
        :keyword expires: Expiration date of PC.
        :paramtype expires: str
        :keyword nsx_type: Nsx Type, e.g. "Advanced".
        :paramtype nsx_type: str
        :keyword placement_group_id: Placement Group id, e.g. "n1".
        :paramtype placement_group_id: str
        :keyword placement_group_name: Placement Group name.
        :paramtype placement_group_name: str
        :keyword private_cloud_id: Id of a private cloud.
        :paramtype private_cloud_id: str
        :keyword resource_pools: The list of Resource Pools.
        :paramtype resource_pools: list[~azure.mgmt.vmwarecloudsimple.models.ResourcePool]
        :keyword state: Private Cloud state, e.g. "operational".
        :paramtype state: str
        :keyword total_cpu_cores: Number of cores.
        :paramtype total_cpu_cores: int
        :keyword total_nodes: Number of nodes.
        :paramtype total_nodes: int
        :keyword total_ram: Memory size.
        :paramtype total_ram: int
        :keyword total_storage: Disk space in TB.
        :paramtype total_storage: float
        :keyword type_properties_type: Virtualization type e.g. "vSphere".
        :paramtype type_properties_type: str
        :keyword v_sphere_version: e.g. "6.5u2".
        :paramtype v_sphere_version: str
        :keyword vcenter_fqdn: FQDN for vcenter access.
        :paramtype vcenter_fqdn: str
        :keyword vcenter_refid: Vcenter ip address.
        :paramtype vcenter_refid: str
        :keyword virtual_machine_templates: The list of Virtual Machine Templates.
        :paramtype virtual_machine_templates:
         list[~azure.mgmt.vmwarecloudsimple.models.VirtualMachineTemplate]
        :keyword virtual_networks: The list of Virtual Networks.
        :paramtype virtual_networks: list[~azure.mgmt.vmwarecloudsimple.models.VirtualNetwork]
        :keyword vr_ops_enabled: Is Vrops enabled/disabled.
        :paramtype vr_ops_enabled: bool
        """
        super().__init__(**kwargs)
        self.id = id
        self.location = location
        self.name = name
        self.type = type
        self.availability_zone_id = availability_zone_id
        self.availability_zone_name = availability_zone_name
        self.clusters_number = clusters_number
        self.created_by = created_by
        self.created_on = created_on
        self.dns_servers = dns_servers
        self.expires = expires
        self.nsx_type = nsx_type
        self.placement_group_id = placement_group_id
        self.placement_group_name = placement_group_name
        self.private_cloud_id = private_cloud_id
        self.resource_pools = resource_pools
        self.state = state
        self.total_cpu_cores = total_cpu_cores
        self.total_nodes = total_nodes
        self.total_ram = total_ram
        self.total_storage = total_storage
        self.type_properties_type = type_properties_type
        self.v_sphere_version = v_sphere_version
        self.vcenter_fqdn = vcenter_fqdn
        self.vcenter_refid = vcenter_refid
        self.virtual_machine_templates = virtual_machine_templates
        self.virtual_networks = virtual_networks
        self.vr_ops_enabled = vr_ops_enabled


class PrivateCloudList(_serialization.Model):
    """List of private clouds.

    :ivar next_link: Link for next list of Private Clouds.
    :vartype next_link: str
    :ivar value: the list of private clouds.
    :vartype value: list[~azure.mgmt.vmwarecloudsimple.models.PrivateCloud]
    """

    _attribute_map = {
        "next_link": {"key": "nextLink", "type": "str"},
        "value": {"key": "value", "type": "[PrivateCloud]"},
    }

    def __init__(
        self, *, next_link: Optional[str] = None, value: Optional[List["_models.PrivateCloud"]] = None, **kwargs
    ):
        """
        :keyword next_link: Link for next list of Private Clouds.
        :paramtype next_link: str
        :keyword value: the list of private clouds.
        :paramtype value: list[~azure.mgmt.vmwarecloudsimple.models.PrivateCloud]
        """
        super().__init__(**kwargs)
        self.next_link = next_link
        self.value = value


class ResourcePool(_serialization.Model):
    """Resource pool model.

    Variables are only populated by the server, and will be ignored when sending a request.

    All required parameters must be populated in order to send to Azure.

    :ivar id: resource pool id (privateCloudId:vsphereId). Required.
    :vartype id: str
    :ivar location: Azure region.
    :vartype location: str
    :ivar name: {ResourcePoolName}.
    :vartype name: str
    :ivar private_cloud_id: The Private Cloud Id.
    :vartype private_cloud_id: str
    :ivar type: {resourceProviderNamespace}/{resourceType}.
    :vartype type: str
    :ivar full_name: Hierarchical resource pool name.
    :vartype full_name: str
    """

    _validation = {
        "id": {"required": True},
        "location": {"readonly": True},
        "name": {"readonly": True},
        "private_cloud_id": {"readonly": True},
        "type": {"readonly": True},
        "full_name": {"readonly": True},
    }

    _attribute_map = {
        "id": {"key": "id", "type": "str"},
        "location": {"key": "location", "type": "str"},
        "name": {"key": "name", "type": "str"},
        "private_cloud_id": {"key": "privateCloudId", "type": "str"},
        "type": {"key": "type", "type": "str"},
        "full_name": {"key": "properties.fullName", "type": "str"},
    }

    def __init__(self, *, id: str, **kwargs):  # pylint: disable=redefined-builtin
        """
        :keyword id: resource pool id (privateCloudId:vsphereId). Required.
        :paramtype id: str
        """
        super().__init__(**kwargs)
        self.id = id
        self.location = None
        self.name = None
        self.private_cloud_id = None
        self.type = None
        self.full_name = None


class ResourcePoolsListResponse(_serialization.Model):
    """List of resource pools response model.

    :ivar next_link: Link for next list of ResourcePoolsList.
    :vartype next_link: str
    :ivar value: Results of the Resource pools list.
    :vartype value: list[~azure.mgmt.vmwarecloudsimple.models.ResourcePool]
    """

    _attribute_map = {
        "next_link": {"key": "nextLink", "type": "str"},
        "value": {"key": "value", "type": "[ResourcePool]"},
    }

    def __init__(
        self, *, next_link: Optional[str] = None, value: Optional[List["_models.ResourcePool"]] = None, **kwargs
    ):
        """
        :keyword next_link: Link for next list of ResourcePoolsList.
        :paramtype next_link: str
        :keyword value: Results of the Resource pools list.
        :paramtype value: list[~azure.mgmt.vmwarecloudsimple.models.ResourcePool]
        """
        super().__init__(**kwargs)
        self.next_link = next_link
        self.value = value


class Sku(_serialization.Model):
    """The purchase SKU for CloudSimple paid resources.

    All required parameters must be populated in order to send to Azure.

    :ivar capacity: The capacity of the SKU.
    :vartype capacity: str
    :ivar description: dedicatedCloudNode example: 8 x Ten-Core Intel® Xeon® Processor E5-2640 v4
     2.40GHz 25MB Cache (90W); 12 x 64GB PC4-19200 2400MHz DDR4 ECC Registered DIMM, ...
    :vartype description: str
    :ivar family: If the service has different generations of hardware, for the same SKU, then that
     can be captured here.
    :vartype family: str
    :ivar name: The name of the SKU for VMWare CloudSimple Node. Required.
    :vartype name: str
    :ivar tier: The tier of the SKU.
    :vartype tier: str
    """

    _validation = {
        "name": {"required": True},
    }

    _attribute_map = {
        "capacity": {"key": "capacity", "type": "str"},
        "description": {"key": "description", "type": "str"},
        "family": {"key": "family", "type": "str"},
        "name": {"key": "name", "type": "str"},
        "tier": {"key": "tier", "type": "str"},
    }

    def __init__(
        self,
        *,
        name: str,
        capacity: Optional[str] = None,
        description: Optional[str] = None,
        family: Optional[str] = None,
        tier: Optional[str] = None,
        **kwargs
    ):
        """
        :keyword capacity: The capacity of the SKU.
        :paramtype capacity: str
        :keyword description: dedicatedCloudNode example: 8 x Ten-Core Intel® Xeon® Processor E5-2640
         v4 2.40GHz 25MB Cache (90W); 12 x 64GB PC4-19200 2400MHz DDR4 ECC Registered DIMM, ...
        :paramtype description: str
        :keyword family: If the service has different generations of hardware, for the same SKU, then
         that can be captured here.
        :paramtype family: str
        :keyword name: The name of the SKU for VMWare CloudSimple Node. Required.
        :paramtype name: str
        :keyword tier: The tier of the SKU.
        :paramtype tier: str
        """
        super().__init__(**kwargs)
        self.capacity = capacity
        self.description = description
        self.family = family
        self.name = name
        self.tier = tier


class SkuAvailability(_serialization.Model):
    """SKU availability model.

    All required parameters must be populated in order to send to Azure.

    :ivar dedicated_availability_zone_id: CloudSimple Availability Zone id.
    :vartype dedicated_availability_zone_id: str
    :ivar dedicated_availability_zone_name: CloudSimple Availability Zone Name.
    :vartype dedicated_availability_zone_name: str
    :ivar dedicated_placement_group_id: CloudSimple Placement Group Id.
    :vartype dedicated_placement_group_id: str
    :ivar dedicated_placement_group_name: CloudSimple Placement Group name.
    :vartype dedicated_placement_group_name: str
    :ivar limit: indicates how many resources of a given SKU is available in a AZ->PG. Required.
    :vartype limit: int
    :ivar resource_type: resource type e.g. DedicatedCloudNodes.
    :vartype resource_type: str
    :ivar sku_id: sku id.
    :vartype sku_id: str
    :ivar sku_name: sku name.
    :vartype sku_name: str
    """

    _validation = {
        "limit": {"required": True},
    }

    _attribute_map = {
        "dedicated_availability_zone_id": {"key": "dedicatedAvailabilityZoneId", "type": "str"},
        "dedicated_availability_zone_name": {"key": "dedicatedAvailabilityZoneName", "type": "str"},
        "dedicated_placement_group_id": {"key": "dedicatedPlacementGroupId", "type": "str"},
        "dedicated_placement_group_name": {"key": "dedicatedPlacementGroupName", "type": "str"},
        "limit": {"key": "limit", "type": "int"},
        "resource_type": {"key": "resourceType", "type": "str"},
        "sku_id": {"key": "skuId", "type": "str"},
        "sku_name": {"key": "skuName", "type": "str"},
    }

    def __init__(
        self,
        *,
        limit: int,
        dedicated_availability_zone_id: Optional[str] = None,
        dedicated_availability_zone_name: Optional[str] = None,
        dedicated_placement_group_id: Optional[str] = None,
        dedicated_placement_group_name: Optional[str] = None,
        resource_type: Optional[str] = None,
        sku_id: Optional[str] = None,
        sku_name: Optional[str] = None,
        **kwargs
    ):
        """
        :keyword dedicated_availability_zone_id: CloudSimple Availability Zone id.
        :paramtype dedicated_availability_zone_id: str
        :keyword dedicated_availability_zone_name: CloudSimple Availability Zone Name.
        :paramtype dedicated_availability_zone_name: str
        :keyword dedicated_placement_group_id: CloudSimple Placement Group Id.
        :paramtype dedicated_placement_group_id: str
        :keyword dedicated_placement_group_name: CloudSimple Placement Group name.
        :paramtype dedicated_placement_group_name: str
        :keyword limit: indicates how many resources of a given SKU is available in a AZ->PG. Required.
        :paramtype limit: int
        :keyword resource_type: resource type e.g. DedicatedCloudNodes.
        :paramtype resource_type: str
        :keyword sku_id: sku id.
        :paramtype sku_id: str
        :keyword sku_name: sku name.
        :paramtype sku_name: str
        """
        super().__init__(**kwargs)
        self.dedicated_availability_zone_id = dedicated_availability_zone_id
        self.dedicated_availability_zone_name = dedicated_availability_zone_name
        self.dedicated_placement_group_id = dedicated_placement_group_id
        self.dedicated_placement_group_name = dedicated_placement_group_name
        self.limit = limit
        self.resource_type = resource_type
        self.sku_id = sku_id
        self.sku_name = sku_name


class SkuAvailabilityListResponse(_serialization.Model):
    """List of SKU availabilities.

    :ivar next_link: Link for next list of DedicatedCloudNode.
    :vartype next_link: str
    :ivar value: Results of the DedicatedPlacementGroupSkuAvailability list.
    :vartype value: list[~azure.mgmt.vmwarecloudsimple.models.SkuAvailability]
    """

    _attribute_map = {
        "next_link": {"key": "nextLink", "type": "str"},
        "value": {"key": "value", "type": "[SkuAvailability]"},
    }

    def __init__(
        self, *, next_link: Optional[str] = None, value: Optional[List["_models.SkuAvailability"]] = None, **kwargs
    ):
        """
        :keyword next_link: Link for next list of DedicatedCloudNode.
        :paramtype next_link: str
        :keyword value: Results of the DedicatedPlacementGroupSkuAvailability list.
        :paramtype value: list[~azure.mgmt.vmwarecloudsimple.models.SkuAvailability]
        """
        super().__init__(**kwargs)
        self.next_link = next_link
        self.value = value


class Usage(_serialization.Model):
    """Usage model.

    All required parameters must be populated in order to send to Azure.

    :ivar current_value: The current usage value. Required.
    :vartype current_value: int
    :ivar limit: limit of a given sku in a region for a subscription. The maximum permitted value
     for the usage quota. If there is no limit, this value will be -1. Required.
    :vartype limit: int
    :ivar name: Usage name value and localized name.
    :vartype name: ~azure.mgmt.vmwarecloudsimple.models.UsageName
    :ivar unit: The usages' unit. Known values are: "Count", "Bytes", "Seconds", "Percent",
     "CountPerSecond", and "BytesPerSecond".
    :vartype unit: str or ~azure.mgmt.vmwarecloudsimple.models.UsageCount
    """

    _validation = {
        "current_value": {"required": True},
        "limit": {"required": True},
    }

    _attribute_map = {
        "current_value": {"key": "currentValue", "type": "int"},
        "limit": {"key": "limit", "type": "int"},
        "name": {"key": "name", "type": "UsageName"},
        "unit": {"key": "unit", "type": "str"},
    }

    def __init__(
        self,
        *,
        current_value: int = 0,
        limit: int = 0,
        name: Optional["_models.UsageName"] = None,
        unit: Optional[Union[str, "_models.UsageCount"]] = None,
        **kwargs
    ):
        """
        :keyword current_value: The current usage value. Required.
        :paramtype current_value: int
        :keyword limit: limit of a given sku in a region for a subscription. The maximum permitted
         value for the usage quota. If there is no limit, this value will be -1. Required.
        :paramtype limit: int
        :keyword name: Usage name value and localized name.
        :paramtype name: ~azure.mgmt.vmwarecloudsimple.models.UsageName
        :keyword unit: The usages' unit. Known values are: "Count", "Bytes", "Seconds", "Percent",
         "CountPerSecond", and "BytesPerSecond".
        :paramtype unit: str or ~azure.mgmt.vmwarecloudsimple.models.UsageCount
        """
        super().__init__(**kwargs)
        self.current_value = current_value
        self.limit = limit
        self.name = name
        self.unit = unit


class UsageListResponse(_serialization.Model):
    """List of usages.

    Variables are only populated by the server, and will be ignored when sending a request.

    :ivar next_link: Link for next list of DedicatedCloudNode.
    :vartype next_link: str
    :ivar value: The list of usages.
    :vartype value: list[~azure.mgmt.vmwarecloudsimple.models.Usage]
    """

    _validation = {
        "value": {"readonly": True},
    }

    _attribute_map = {
        "next_link": {"key": "nextLink", "type": "str"},
        "value": {"key": "value", "type": "[Usage]"},
    }

    def __init__(self, *, next_link: Optional[str] = None, **kwargs):
        """
        :keyword next_link: Link for next list of DedicatedCloudNode.
        :paramtype next_link: str
        """
        super().__init__(**kwargs)
        self.next_link = next_link
        self.value = None


class UsageName(_serialization.Model):
    """User name model.

    :ivar localized_value: e.g. "Virtual Machines".
    :vartype localized_value: str
    :ivar value: resource type or resource type sku name, e.g. virtualMachines.
    :vartype value: str
    """

    _attribute_map = {
        "localized_value": {"key": "localizedValue", "type": "str"},
        "value": {"key": "value", "type": "str"},
    }

    def __init__(self, *, localized_value: Optional[str] = None, value: Optional[str] = None, **kwargs):
        """
        :keyword localized_value: e.g. "Virtual Machines".
        :paramtype localized_value: str
        :keyword value: resource type or resource type sku name, e.g. virtualMachines.
        :paramtype value: str
        """
        super().__init__(**kwargs)
        self.localized_value = localized_value
        self.value = value


class VirtualDisk(_serialization.Model):
    """Virtual disk model.

    Variables are only populated by the server, and will be ignored when sending a request.

    All required parameters must be populated in order to send to Azure.

    :ivar controller_id: Disk's Controller id. Required.
    :vartype controller_id: str
    :ivar independence_mode: Disk's independence mode type. Required. Known values are:
     "persistent", "independent_persistent", and "independent_nonpersistent".
    :vartype independence_mode: str or ~azure.mgmt.vmwarecloudsimple.models.DiskIndependenceMode
    :ivar total_size: Disk's total size. Required.
    :vartype total_size: int
    :ivar virtual_disk_id: Disk's id.
    :vartype virtual_disk_id: str
    :ivar virtual_disk_name: Disk's display name.
    :vartype virtual_disk_name: str
    """

    _validation = {
        "controller_id": {"required": True},
        "independence_mode": {"required": True},
        "total_size": {"required": True},
        "virtual_disk_name": {"readonly": True},
    }

    _attribute_map = {
        "controller_id": {"key": "controllerId", "type": "str"},
        "independence_mode": {"key": "independenceMode", "type": "str"},
        "total_size": {"key": "totalSize", "type": "int"},
        "virtual_disk_id": {"key": "virtualDiskId", "type": "str"},
        "virtual_disk_name": {"key": "virtualDiskName", "type": "str"},
    }

    def __init__(
        self,
        *,
        controller_id: str,
        independence_mode: Union[str, "_models.DiskIndependenceMode"],
        total_size: int,
        virtual_disk_id: Optional[str] = None,
        **kwargs
    ):
        """
        :keyword controller_id: Disk's Controller id. Required.
        :paramtype controller_id: str
        :keyword independence_mode: Disk's independence mode type. Required. Known values are:
         "persistent", "independent_persistent", and "independent_nonpersistent".
        :paramtype independence_mode: str or ~azure.mgmt.vmwarecloudsimple.models.DiskIndependenceMode
        :keyword total_size: Disk's total size. Required.
        :paramtype total_size: int
        :keyword virtual_disk_id: Disk's id.
        :paramtype virtual_disk_id: str
        """
        super().__init__(**kwargs)
        self.controller_id = controller_id
        self.independence_mode = independence_mode
        self.total_size = total_size
        self.virtual_disk_id = virtual_disk_id
        self.virtual_disk_name = None


class VirtualDiskController(_serialization.Model):
    """Virtual disk controller model.

    Variables are only populated by the server, and will be ignored when sending a request.

    :ivar id: Controller's id.
    :vartype id: str
    :ivar name: The display name of Controller.
    :vartype name: str
    :ivar sub_type: dik controller subtype (VMWARE_PARAVIRTUAL, BUS_PARALLEL, LSI_PARALLEL,
     LSI_SAS).
    :vartype sub_type: str
    :ivar type: disk controller type (SCSI).
    :vartype type: str
    """

    _validation = {
        "id": {"readonly": True},
        "name": {"readonly": True},
        "sub_type": {"readonly": True},
        "type": {"readonly": True},
    }

    _attribute_map = {
        "id": {"key": "id", "type": "str"},
        "name": {"key": "name", "type": "str"},
        "sub_type": {"key": "subType", "type": "str"},
        "type": {"key": "type", "type": "str"},
    }

    def __init__(self, **kwargs):
        """ """
        super().__init__(**kwargs)
        self.id = None
        self.name = None
        self.sub_type = None
        self.type = None


class VirtualMachine(_serialization.Model):  # pylint: disable=too-many-instance-attributes
    """Virtual machine model.

    Variables are only populated by the server, and will be ignored when sending a request.

    All required parameters must be populated in order to send to Azure.

    :ivar id:
     /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/virtualMachines/{virtualMachineName}.
    :vartype id: str
    :ivar location: Azure region. Required.
    :vartype location: str
    :ivar name: {virtualMachineName}.
    :vartype name: str
    :ivar tags: The list of tags.
    :vartype tags: dict[str, str]
    :ivar type: {resourceProviderNamespace}/{resourceType}.
    :vartype type: str
    :ivar amount_of_ram: The amount of memory.
    :vartype amount_of_ram: int
    :ivar controllers: The list of Virtual Disks' Controllers.
    :vartype controllers: list[~azure.mgmt.vmwarecloudsimple.models.VirtualDiskController]
    :ivar customization: Virtual machine properties.
    :vartype customization: ~azure.mgmt.vmwarecloudsimple.models.GuestOSCustomization
    :ivar disks: The list of Virtual Disks.
    :vartype disks: list[~azure.mgmt.vmwarecloudsimple.models.VirtualDisk]
    :ivar dnsname: The DNS name of Virtual Machine in VCenter.
    :vartype dnsname: str
    :ivar expose_to_guest_vm: Expose Guest OS or not.
    :vartype expose_to_guest_vm: bool
    :ivar folder: The path to virtual machine folder in VCenter.
    :vartype folder: str
    :ivar guest_os: The name of Guest OS.
    :vartype guest_os: str
    :ivar guest_os_type: The Guest OS type. Known values are: "linux", "windows", and "other".
    :vartype guest_os_type: str or ~azure.mgmt.vmwarecloudsimple.models.GuestOSType
    :ivar nics: The list of Virtual NICs.
    :vartype nics: list[~azure.mgmt.vmwarecloudsimple.models.VirtualNic]
    :ivar number_of_cores: The number of CPU cores.
    :vartype number_of_cores: int
    :ivar password: Password for login. Deprecated - use customization property.
    :vartype password: str
    :ivar private_cloud_id: Private Cloud Id.
    :vartype private_cloud_id: str
    :ivar provisioning_state: The provisioning status of the resource.
    :vartype provisioning_state: str
    :ivar public_ip: The public ip of Virtual Machine.
    :vartype public_ip: str
    :ivar resource_pool: Virtual Machines Resource Pool.
    :vartype resource_pool: ~azure.mgmt.vmwarecloudsimple.models.ResourcePool
    :ivar status: The status of Virtual machine. Known values are: "running", "suspended",
     "poweredoff", "updating", "deallocating", and "deleting".
    :vartype status: str or ~azure.mgmt.vmwarecloudsimple.models.VirtualMachineStatus
    :ivar template_id: Virtual Machine Template Id.
    :vartype template_id: str
    :ivar username: Username for login. Deprecated - use customization property.
    :vartype username: str
    :ivar v_sphere_networks: The list of Virtual VSphere Networks.
    :vartype v_sphere_networks: list[str]
    :ivar vm_id: The internal id of Virtual Machine in VCenter.
    :vartype vm_id: str
    :ivar vmwaretools: VMware tools version.
    :vartype vmwaretools: str
    """

    _validation = {
        "id": {"readonly": True},
        "location": {"required": True},
        "name": {"readonly": True, "pattern": r"^[a-zA-Z0-9]([-_.a-zA-Z0-9]*[a-zA-Z0-9])?$"},
        "type": {"readonly": True},
        "controllers": {"readonly": True},
        "dnsname": {"readonly": True},
        "folder": {"readonly": True},
        "guest_os": {"readonly": True},
        "guest_os_type": {"readonly": True},
        "provisioning_state": {"readonly": True},
        "public_ip": {"readonly": True},
        "status": {"readonly": True},
        "vm_id": {"readonly": True},
        "vmwaretools": {"readonly": True},
    }

    _attribute_map = {
        "id": {"key": "id", "type": "str"},
        "location": {"key": "location", "type": "str"},
        "name": {"key": "name", "type": "str"},
        "tags": {"key": "tags", "type": "{str}"},
        "type": {"key": "type", "type": "str"},
        "amount_of_ram": {"key": "properties.amountOfRam", "type": "int"},
        "controllers": {"key": "properties.controllers", "type": "[VirtualDiskController]"},
        "customization": {"key": "properties.customization", "type": "GuestOSCustomization"},
        "disks": {"key": "properties.disks", "type": "[VirtualDisk]"},
        "dnsname": {"key": "properties.dnsname", "type": "str"},
        "expose_to_guest_vm": {"key": "properties.exposeToGuestVM", "type": "bool"},
        "folder": {"key": "properties.folder", "type": "str"},
        "guest_os": {"key": "properties.guestOS", "type": "str"},
        "guest_os_type": {"key": "properties.guestOSType", "type": "str"},
        "nics": {"key": "properties.nics", "type": "[VirtualNic]"},
        "number_of_cores": {"key": "properties.numberOfCores", "type": "int"},
        "password": {"key": "properties.password", "type": "str"},
        "private_cloud_id": {"key": "properties.privateCloudId", "type": "str"},
        "provisioning_state": {"key": "properties.provisioningState", "type": "str"},
        "public_ip": {"key": "properties.publicIP", "type": "str"},
        "resource_pool": {"key": "properties.resourcePool", "type": "ResourcePool"},
        "status": {"key": "properties.status", "type": "str"},
        "template_id": {"key": "properties.templateId", "type": "str"},
        "username": {"key": "properties.username", "type": "str"},
        "v_sphere_networks": {"key": "properties.vSphereNetworks", "type": "[str]"},
        "vm_id": {"key": "properties.vmId", "type": "str"},
        "vmwaretools": {"key": "properties.vmwaretools", "type": "str"},
    }

    def __init__(  # pylint: disable=too-many-locals
        self,
        *,
        location: str,
        tags: Optional[Dict[str, str]] = None,
        amount_of_ram: Optional[int] = None,
        customization: Optional["_models.GuestOSCustomization"] = None,
        disks: Optional[List["_models.VirtualDisk"]] = None,
        expose_to_guest_vm: Optional[bool] = None,
        nics: Optional[List["_models.VirtualNic"]] = None,
        number_of_cores: Optional[int] = None,
        password: Optional[str] = None,
        private_cloud_id: Optional[str] = None,
        resource_pool: Optional["_models.ResourcePool"] = None,
        template_id: Optional[str] = None,
        username: Optional[str] = None,
        v_sphere_networks: Optional[List[str]] = None,
        **kwargs
    ):
        """
        :keyword location: Azure region. Required.
        :paramtype location: str
        :keyword tags: The list of tags.
        :paramtype tags: dict[str, str]
        :keyword amount_of_ram: The amount of memory.
        :paramtype amount_of_ram: int
        :keyword customization: Virtual machine properties.
        :paramtype customization: ~azure.mgmt.vmwarecloudsimple.models.GuestOSCustomization
        :keyword disks: The list of Virtual Disks.
        :paramtype disks: list[~azure.mgmt.vmwarecloudsimple.models.VirtualDisk]
        :keyword expose_to_guest_vm: Expose Guest OS or not.
        :paramtype expose_to_guest_vm: bool
        :keyword nics: The list of Virtual NICs.
        :paramtype nics: list[~azure.mgmt.vmwarecloudsimple.models.VirtualNic]
        :keyword number_of_cores: The number of CPU cores.
        :paramtype number_of_cores: int
        :keyword password: Password for login. Deprecated - use customization property.
        :paramtype password: str
        :keyword private_cloud_id: Private Cloud Id.
        :paramtype private_cloud_id: str
        :keyword resource_pool: Virtual Machines Resource Pool.
        :paramtype resource_pool: ~azure.mgmt.vmwarecloudsimple.models.ResourcePool
        :keyword template_id: Virtual Machine Template Id.
        :paramtype template_id: str
        :keyword username: Username for login. Deprecated - use customization property.
        :paramtype username: str
        :keyword v_sphere_networks: The list of Virtual VSphere Networks.
        :paramtype v_sphere_networks: list[str]
        """
        super().__init__(**kwargs)
        self.id = None
        self.location = location
        self.name = None
        self.tags = tags
        self.type = None
        self.amount_of_ram = amount_of_ram
        self.controllers = None
        self.customization = customization
        self.disks = disks
        self.dnsname = None
        self.expose_to_guest_vm = expose_to_guest_vm
        self.folder = None
        self.guest_os = None
        self.guest_os_type = None
        self.nics = nics
        self.number_of_cores = number_of_cores
        self.password = password
        self.private_cloud_id = private_cloud_id
        self.provisioning_state = None
        self.public_ip = None
        self.resource_pool = resource_pool
        self.status = None
        self.template_id = template_id
        self.username = username
        self.v_sphere_networks = v_sphere_networks
        self.vm_id = None
        self.vmwaretools = None


class VirtualMachineListResponse(_serialization.Model):
    """List of virtual machines.

    :ivar next_link: Link for next list of VirtualMachines.
    :vartype next_link: str
    :ivar value: Results of the VirtualMachine list.
    :vartype value: list[~azure.mgmt.vmwarecloudsimple.models.VirtualMachine]
    """

    _attribute_map = {
        "next_link": {"key": "nextLink", "type": "str"},
        "value": {"key": "value", "type": "[VirtualMachine]"},
    }

    def __init__(
        self, *, next_link: Optional[str] = None, value: Optional[List["_models.VirtualMachine"]] = None, **kwargs
    ):
        """
        :keyword next_link: Link for next list of VirtualMachines.
        :paramtype next_link: str
        :keyword value: Results of the VirtualMachine list.
        :paramtype value: list[~azure.mgmt.vmwarecloudsimple.models.VirtualMachine]
        """
        super().__init__(**kwargs)
        self.next_link = next_link
        self.value = value


class VirtualMachineStopMode(_serialization.Model):
    """List of virtual machine stop modes.

    :ivar mode: mode indicates a type of stop operation - reboot, suspend, shutdown or power-off.
     Known values are: "reboot", "suspend", "shutdown", and "poweroff".
    :vartype mode: str or ~azure.mgmt.vmwarecloudsimple.models.StopMode
    """

    _attribute_map = {
        "mode": {"key": "mode", "type": "str"},
    }

    def __init__(self, *, mode: Optional[Union[str, "_models.StopMode"]] = None, **kwargs):
        """
        :keyword mode: mode indicates a type of stop operation - reboot, suspend, shutdown or
         power-off. Known values are: "reboot", "suspend", "shutdown", and "poweroff".
        :paramtype mode: str or ~azure.mgmt.vmwarecloudsimple.models.StopMode
        """
        super().__init__(**kwargs)
        self.mode = mode


class VirtualMachineTemplate(_serialization.Model):  # pylint: disable=too-many-instance-attributes
    """Virtual machine template model.

    Variables are only populated by the server, and will be ignored when sending a request.

    :ivar id: virtual machine template id (privateCloudId:vsphereId).
    :vartype id: str
    :ivar location: Azure region.
    :vartype location: str
    :ivar name: {virtualMachineTemplateName}.
    :vartype name: str
    :ivar type: {resourceProviderNamespace}/{resourceType}.
    :vartype type: str
    :ivar amount_of_ram: The amount of memory.
    :vartype amount_of_ram: int
    :ivar controllers: The list of Virtual Disk Controllers.
    :vartype controllers: list[~azure.mgmt.vmwarecloudsimple.models.VirtualDiskController]
    :ivar description: The description of Virtual Machine Template.
    :vartype description: str
    :ivar disks: The list of Virtual Disks.
    :vartype disks: list[~azure.mgmt.vmwarecloudsimple.models.VirtualDisk]
    :ivar expose_to_guest_vm: Expose Guest OS or not.
    :vartype expose_to_guest_vm: bool
    :ivar guest_os: The Guest OS.
    :vartype guest_os: str
    :ivar guest_os_type: The Guest OS types.
    :vartype guest_os_type: str
    :ivar nics: The list of Virtual NICs.
    :vartype nics: list[~azure.mgmt.vmwarecloudsimple.models.VirtualNic]
    :ivar number_of_cores: The number of CPU cores.
    :vartype number_of_cores: int
    :ivar path: path to folder.
    :vartype path: str
    :ivar private_cloud_id: The Private Cloud Id.
    :vartype private_cloud_id: str
    :ivar v_sphere_networks: The list of VSphere networks.
    :vartype v_sphere_networks: list[str]
    :ivar v_sphere_tags: The tags from VSphere.
    :vartype v_sphere_tags: list[str]
    :ivar vmwaretools: The VMware tools version.
    :vartype vmwaretools: str
    """

    _validation = {
        "id": {"readonly": True},
        "name": {"readonly": True},
        "type": {"readonly": True},
        "guest_os": {"readonly": True},
        "guest_os_type": {"readonly": True},
        "vmwaretools": {"readonly": True},
    }

    _attribute_map = {
        "id": {"key": "id", "type": "str"},
        "location": {"key": "location", "type": "str"},
        "name": {"key": "name", "type": "str"},
        "type": {"key": "type", "type": "str"},
        "amount_of_ram": {"key": "properties.amountOfRam", "type": "int"},
        "controllers": {"key": "properties.controllers", "type": "[VirtualDiskController]"},
        "description": {"key": "properties.description", "type": "str"},
        "disks": {"key": "properties.disks", "type": "[VirtualDisk]"},
        "expose_to_guest_vm": {"key": "properties.exposeToGuestVM", "type": "bool"},
        "guest_os": {"key": "properties.guestOS", "type": "str"},
        "guest_os_type": {"key": "properties.guestOSType", "type": "str"},
        "nics": {"key": "properties.nics", "type": "[VirtualNic]"},
        "number_of_cores": {"key": "properties.numberOfCores", "type": "int"},
        "path": {"key": "properties.path", "type": "str"},
        "private_cloud_id": {"key": "properties.privateCloudId", "type": "str"},
        "v_sphere_networks": {"key": "properties.vSphereNetworks", "type": "[str]"},
        "v_sphere_tags": {"key": "properties.vSphereTags", "type": "[str]"},
        "vmwaretools": {"key": "properties.vmwaretools", "type": "str"},
    }

    def __init__(
        self,
        *,
        location: Optional[str] = None,
        amount_of_ram: Optional[int] = None,
        controllers: Optional[List["_models.VirtualDiskController"]] = None,
        description: Optional[str] = None,
        disks: Optional[List["_models.VirtualDisk"]] = None,
        expose_to_guest_vm: Optional[bool] = None,
        nics: Optional[List["_models.VirtualNic"]] = None,
        number_of_cores: Optional[int] = None,
        path: Optional[str] = None,
        private_cloud_id: Optional[str] = None,
        v_sphere_networks: Optional[List[str]] = None,
        v_sphere_tags: Optional[List[str]] = None,
        **kwargs
    ):
        """
        :keyword location: Azure region.
        :paramtype location: str
        :keyword amount_of_ram: The amount of memory.
        :paramtype amount_of_ram: int
        :keyword controllers: The list of Virtual Disk Controllers.
        :paramtype controllers: list[~azure.mgmt.vmwarecloudsimple.models.VirtualDiskController]
        :keyword description: The description of Virtual Machine Template.
        :paramtype description: str
        :keyword disks: The list of Virtual Disks.
        :paramtype disks: list[~azure.mgmt.vmwarecloudsimple.models.VirtualDisk]
        :keyword expose_to_guest_vm: Expose Guest OS or not.
        :paramtype expose_to_guest_vm: bool
        :keyword nics: The list of Virtual NICs.
        :paramtype nics: list[~azure.mgmt.vmwarecloudsimple.models.VirtualNic]
        :keyword number_of_cores: The number of CPU cores.
        :paramtype number_of_cores: int
        :keyword path: path to folder.
        :paramtype path: str
        :keyword private_cloud_id: The Private Cloud Id.
        :paramtype private_cloud_id: str
        :keyword v_sphere_networks: The list of VSphere networks.
        :paramtype v_sphere_networks: list[str]
        :keyword v_sphere_tags: The tags from VSphere.
        :paramtype v_sphere_tags: list[str]
        """
        super().__init__(**kwargs)
        self.id = None
        self.location = location
        self.name = None
        self.type = None
        self.amount_of_ram = amount_of_ram
        self.controllers = controllers
        self.description = description
        self.disks = disks
        self.expose_to_guest_vm = expose_to_guest_vm
        self.guest_os = None
        self.guest_os_type = None
        self.nics = nics
        self.number_of_cores = number_of_cores
        self.path = path
        self.private_cloud_id = private_cloud_id
        self.v_sphere_networks = v_sphere_networks
        self.v_sphere_tags = v_sphere_tags
        self.vmwaretools = None


class VirtualMachineTemplateListResponse(_serialization.Model):
    """List of virtual machine templates.

    :ivar next_link: Link for next list of VirtualMachineTemplate.
    :vartype next_link: str
    :ivar value: Results of the VM template list.
    :vartype value: list[~azure.mgmt.vmwarecloudsimple.models.VirtualMachineTemplate]
    """

    _attribute_map = {
        "next_link": {"key": "nextLink", "type": "str"},
        "value": {"key": "value", "type": "[VirtualMachineTemplate]"},
    }

    def __init__(
        self,
        *,
        next_link: Optional[str] = None,
        value: Optional[List["_models.VirtualMachineTemplate"]] = None,
        **kwargs
    ):
        """
        :keyword next_link: Link for next list of VirtualMachineTemplate.
        :paramtype next_link: str
        :keyword value: Results of the VM template list.
        :paramtype value: list[~azure.mgmt.vmwarecloudsimple.models.VirtualMachineTemplate]
        """
        super().__init__(**kwargs)
        self.next_link = next_link
        self.value = value


class VirtualNetwork(_serialization.Model):
    """Virtual network model.

    Variables are only populated by the server, and will be ignored when sending a request.

    All required parameters must be populated in order to send to Azure.

    :ivar assignable: can be used in vm creation/deletion.
    :vartype assignable: bool
    :ivar id: virtual network id (privateCloudId:vsphereId). Required.
    :vartype id: str
    :ivar location: Azure region.
    :vartype location: str
    :ivar name: {VirtualNetworkName}.
    :vartype name: str
    :ivar type: {resourceProviderNamespace}/{resourceType}.
    :vartype type: str
    :ivar private_cloud_id: The Private Cloud id.
    :vartype private_cloud_id: str
    """

    _validation = {
        "assignable": {"readonly": True},
        "id": {"required": True},
        "location": {"readonly": True},
        "name": {"readonly": True},
        "type": {"readonly": True},
        "private_cloud_id": {"readonly": True},
    }

    _attribute_map = {
        "assignable": {"key": "assignable", "type": "bool"},
        "id": {"key": "id", "type": "str"},
        "location": {"key": "location", "type": "str"},
        "name": {"key": "name", "type": "str"},
        "type": {"key": "type", "type": "str"},
        "private_cloud_id": {"key": "properties.privateCloudId", "type": "str"},
    }

    def __init__(self, *, id: str, **kwargs):  # pylint: disable=redefined-builtin
        """
        :keyword id: virtual network id (privateCloudId:vsphereId). Required.
        :paramtype id: str
        """
        super().__init__(**kwargs)
        self.assignable = None
        self.id = id
        self.location = None
        self.name = None
        self.type = None
        self.private_cloud_id = None


class VirtualNetworkListResponse(_serialization.Model):
    """List of virtual networks.

    :ivar next_link: Link for next list of VirtualNetwork.
    :vartype next_link: str
    :ivar value: Results of the VirtualNetwork list.
    :vartype value: list[~azure.mgmt.vmwarecloudsimple.models.VirtualNetwork]
    """

    _attribute_map = {
        "next_link": {"key": "nextLink", "type": "str"},
        "value": {"key": "value", "type": "[VirtualNetwork]"},
    }

    def __init__(
        self, *, next_link: Optional[str] = None, value: Optional[List["_models.VirtualNetwork"]] = None, **kwargs
    ):
        """
        :keyword next_link: Link for next list of VirtualNetwork.
        :paramtype next_link: str
        :keyword value: Results of the VirtualNetwork list.
        :paramtype value: list[~azure.mgmt.vmwarecloudsimple.models.VirtualNetwork]
        """
        super().__init__(**kwargs)
        self.next_link = next_link
        self.value = value


class VirtualNic(_serialization.Model):
    """Virtual NIC model.

    Variables are only populated by the server, and will be ignored when sending a request.

    All required parameters must be populated in order to send to Azure.

    :ivar customization: guest OS customization for nic.
    :vartype customization: ~azure.mgmt.vmwarecloudsimple.models.GuestOSNICCustomization
    :ivar ip_addresses: NIC ip address.
    :vartype ip_addresses: list[str]
    :ivar mac_address: NIC MAC address.
    :vartype mac_address: str
    :ivar network: Virtual Network. Required.
    :vartype network: ~azure.mgmt.vmwarecloudsimple.models.VirtualNetwork
    :ivar nic_type: NIC type. Required. Known values are: "E1000", "E1000E", "PCNET32", "VMXNET",
     "VMXNET2", and "VMXNET3".
    :vartype nic_type: str or ~azure.mgmt.vmwarecloudsimple.models.NICType
    :ivar power_on_boot: Is NIC powered on/off on boot.
    :vartype power_on_boot: bool
    :ivar virtual_nic_id: NIC id.
    :vartype virtual_nic_id: str
    :ivar virtual_nic_name: NIC name.
    :vartype virtual_nic_name: str
    """

    _validation = {
        "network": {"required": True},
        "nic_type": {"required": True},
        "virtual_nic_name": {"readonly": True},
    }

    _attribute_map = {
        "customization": {"key": "customization", "type": "GuestOSNICCustomization"},
        "ip_addresses": {"key": "ipAddresses", "type": "[str]"},
        "mac_address": {"key": "macAddress", "type": "str"},
        "network": {"key": "network", "type": "VirtualNetwork"},
        "nic_type": {"key": "nicType", "type": "str"},
        "power_on_boot": {"key": "powerOnBoot", "type": "bool"},
        "virtual_nic_id": {"key": "virtualNicId", "type": "str"},
        "virtual_nic_name": {"key": "virtualNicName", "type": "str"},
    }

    def __init__(
        self,
        *,
        network: "_models.VirtualNetwork",
        nic_type: Union[str, "_models.NICType"],
        customization: Optional["_models.GuestOSNICCustomization"] = None,
        ip_addresses: Optional[List[str]] = None,
        mac_address: Optional[str] = None,
        power_on_boot: Optional[bool] = None,
        virtual_nic_id: Optional[str] = None,
        **kwargs
    ):
        """
        :keyword customization: guest OS customization for nic.
        :paramtype customization: ~azure.mgmt.vmwarecloudsimple.models.GuestOSNICCustomization
        :keyword ip_addresses: NIC ip address.
        :paramtype ip_addresses: list[str]
        :keyword mac_address: NIC MAC address.
        :paramtype mac_address: str
        :keyword network: Virtual Network. Required.
        :paramtype network: ~azure.mgmt.vmwarecloudsimple.models.VirtualNetwork
        :keyword nic_type: NIC type. Required. Known values are: "E1000", "E1000E", "PCNET32",
         "VMXNET", "VMXNET2", and "VMXNET3".
        :paramtype nic_type: str or ~azure.mgmt.vmwarecloudsimple.models.NICType
        :keyword power_on_boot: Is NIC powered on/off on boot.
        :paramtype power_on_boot: bool
        :keyword virtual_nic_id: NIC id.
        :paramtype virtual_nic_id: str
        """
        super().__init__(**kwargs)
        self.customization = customization
        self.ip_addresses = ip_addresses
        self.mac_address = mac_address
        self.network = network
        self.nic_type = nic_type
        self.power_on_boot = power_on_boot
        self.virtual_nic_id = virtual_nic_id
        self.virtual_nic_name = None