-
Notifications
You must be signed in to change notification settings - Fork 5.2k
/
Copy pathamlfilesystem.json
1145 lines (1145 loc) · 39.7 KB
/
amlfilesystem.json
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
{
"swagger": "2.0",
"info": {
"description": "Azure Managed Lustre provides a fully managed Lustre® file system, integrated with Blob storage, for use on demand. These operations create and manage Azure Managed Lustre file systems.",
"title": "Managed Lustre client",
"version": "2023-05-01"
},
"host": "management.azure.com",
"basePath": "/",
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"security": [
{
"azure_auth": [
"user_impersonation"
]
}
],
"securityDefinitions": {
"azure_auth": {
"type": "oauth2",
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"flow": "implicit",
"description": "Azure Active Directory OAuth2 Flow.",
"scopes": {
"user_impersonation": "impersonate your user account"
}
}
},
"paths": {
"/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/amlFilesystems": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "A list of AML file systems. Note that entity references might replace complete file system objects, as described in http://docs.oasis-open.org/odata/odata-json-format/v4.01/cs01/odata-json-format-v4.01-cs01.html#sec_EntityReference",
"schema": {
"$ref": "#/definitions/AmlFilesystemsListResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "storagecache.json#/definitions/CloudError"
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
},
"x-ms-examples": {
"amlFilesystems_List": {
"$ref": "./examples/amlFilesystems_List.json"
}
},
"tags": [
"amlFilesystems"
],
"description": "Returns all AML file systems the user has access to under a subscription.",
"operationId": "amlFilesystems_List"
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "A list of AmlFilesystem objects. Note that entity references might replace complete AmlFilesystem objects, as described in http://docs.oasis-open.org/odata/odata-json-format/v4.01/cs01/odata-json-format-v4.01-cs01.html#sec_EntityReference",
"schema": {
"$ref": "#/definitions/AmlFilesystemsListResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "storagecache.json#/definitions/CloudError"
}
}
},
"x-ms-examples": {
"amlFilesystems_ListByResourceGroup": {
"$ref": "./examples/amlFilesystems_ListByResourceGroup.json"
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
},
"tags": [
"amlFilesystems"
],
"description": "Returns all AML file systems the user has access to under a resource group.",
"operationId": "amlFilesystems_ListByResourceGroup"
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}": {
"delete": {
"produces": [
"application/json"
],
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/AmlFilesystemNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "AML file system deleted."
},
"202": {
"description": "Started the AML file system's transition to Deleted state. Poll the AML file system to monitor.",
"headers": {
"Location": {
"description": "Location URI to poll for result",
"type": "string"
},
"Azure-AsyncOperation": {
"description": "URI to poll for the operation status",
"type": "string"
}
}
},
"204": {
"description": "AML file system deleted."
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "storagecache.json#/definitions/CloudError"
}
}
},
"x-ms-examples": {
"amlFilesystems_Delete": {
"$ref": "./examples/amlFilesystems_Delete.json"
}
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "location"
},
"tags": [
"amlFilesystems"
],
"description": "Schedules an AML file system for deletion.",
"operationId": "amlFilesystems_Delete"
},
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/AmlFilesystemNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "Returns the AML file system object corresponding to amlFilesystemName.",
"schema": {
"$ref": "#/definitions/AmlFilesystem"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "storagecache.json#/definitions/CloudError"
}
}
},
"x-ms-examples": {
"amlFilesystems_Get": {
"$ref": "./examples/amlFilesystems_Get.json"
}
},
"tags": [
"amlFilesystems"
],
"description": "Returns an AML file system.",
"operationId": "amlFilesystems_Get"
},
"put": {
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/AmlFilesystemNameParameter"
},
{
"description": "Object containing the user-selectable properties of the AML file system. If read-only properties are included, they must match the existing values of those properties.",
"in": "body",
"name": "amlFilesystem",
"required": true,
"schema": {
"$ref": "#/definitions/AmlFilesystem"
}
}
],
"responses": {
"200": {
"description": "The AML file system has been created or updated.",
"schema": {
"$ref": "#/definitions/AmlFilesystem"
}
},
"201": {
"description": "AML file system creation has been initiated. Poll the AML file system's provisioningState property to monitor creation progress.",
"headers": {
"azure-async-operation": {
"description": "URI to poll for the operation status",
"type": "string"
}
},
"schema": {
"$ref": "#/definitions/AmlFilesystem"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "storagecache.json#/definitions/CloudError"
}
}
},
"x-ms-examples": {
"amlFilesystems_CreateOrUpdate": {
"$ref": "./examples/amlFilesystems_CreateOrUpdate.json"
}
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "azure-async-operation"
},
"tags": [
"amlFilesystems"
],
"description": "Create or update an AML file system.",
"operationId": "amlFilesystems_CreateOrUpdate"
},
"patch": {
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/AmlFilesystemNameParameter"
},
{
"description": "Object containing the user-selectable properties of the AML file system. If read-only properties are included, they must match the existing values of those properties.",
"in": "body",
"name": "amlFilesystem",
"required": true,
"schema": {
"$ref": "#/definitions/AmlFilesystemUpdate"
}
}
],
"responses": {
"200": {
"description": "Updated the AML file system.",
"schema": {
"$ref": "#/definitions/AmlFilesystem"
}
},
"202": {
"description": "AML file system update has been initiated. Poll the AML file system's provisioningState property to monitor update progress.",
"headers": {
"Location": {
"description": "URI to poll for the operation status",
"type": "string"
},
"azure-async-operation": {
"description": "URI to poll for the operation status",
"type": "string"
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "storagecache.json#/definitions/CloudError"
}
}
},
"x-ms-examples": {
"amlFilesystems_Update": {
"$ref": "./examples/amlFilesystems_Update.json"
}
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "azure-async-operation"
},
"tags": [
"amlFilesystems"
],
"description": "Update an AML file system instance.",
"operationId": "amlFilesystems_Update"
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/archive": {
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/AmlFilesystemNameParameter"
},
{
"name": "archiveInfo",
"in": "body",
"description": "Information about the archive operation",
"schema": {
"$ref": "#/definitions/AmlFilesystemArchiveInfo"
}
}
],
"responses": {
"200": {
"description": "AML file system has started the archive operation. Poll the AML file system's hsm.archiveStatus field to monitor the progress."
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "storagecache.json#/definitions/CloudError"
}
}
},
"x-ms-examples": {
"amlFilesystems_Archive": {
"$ref": "./examples/amlFilesystems_Archive.json"
}
},
"tags": [
"amlFilesystems"
],
"description": "Archive data from the AML file system.",
"operationId": "amlFilesystems_Archive"
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/cancelArchive": {
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/AmlFilesystemNameParameter"
}
],
"responses": {
"200": {
"description": "AML file system has started the cancellation of the archive operation. Poll the AML file system's hsm.archiveStatus field to monitor the progress."
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "storagecache.json#/definitions/CloudError"
}
}
},
"x-ms-examples": {
"amlFilesystems_cancelArchive": {
"$ref": "./examples/amlFilesystems_CancelArchive.json"
}
},
"tags": [
"amlFilesystems"
],
"description": "Cancel archiving data from the AML file system.",
"operationId": "amlFilesystems_CancelArchive"
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/checkAmlFSSubnets": {
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
},
{
"name": "amlFilesystemSubnetInfo",
"in": "body",
"description": "Information about the subnets to validate.",
"schema": {
"$ref": "#/definitions/AmlFilesystemSubnetInfo"
}
}
],
"responses": {
"200": {
"description": "The subnets provided meet the requirements for AML file system create."
},
"400": {
"description": "The subnets provided do not meet the requirements for AML file system create.",
"schema": {
"$ref": "#/definitions/AmlFilesystemCheckSubnetError"
},
"x-ms-error-response": true
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "storagecache.json#/definitions/CloudError"
}
}
},
"x-ms-examples": {
"checkAmlFSSubnets": {
"$ref": "./examples/checkAmlFSSubnets.json"
}
},
"tags": [
"amlFilesystems"
],
"description": "Check that subnets will be valid for AML file system create calls.",
"operationId": "checkAmlFSSubnets"
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/getRequiredAmlFSSubnetsSize": {
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
},
{
"name": "requiredAMLFilesystemSubnetsSizeInfo",
"in": "body",
"description": "Information to determine the number of available IPs a subnet will need to host the AML file system.",
"schema": {
"$ref": "#/definitions/RequiredAmlFilesystemSubnetsSizeInfo"
}
}
],
"responses": {
"200": {
"description": "The number of available IP addresses a subnet will need for an AML file system.",
"schema": {
"$ref": "#/definitions/RequiredAmlFilesystemSubnetsSize"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "storagecache.json#/definitions/CloudError"
}
}
},
"x-ms-examples": {
"getRequiredAmlFilesystemSubnetsSize": {
"$ref": "./examples/getRequiredAmlFSSubnetsSize.json"
}
},
"tags": [
"amlFilesystems"
],
"description": "Get the number of available IP addresses needed for the AML file system information provided.",
"operationId": "getRequiredAmlFSSubnetsSize"
}
}
},
"definitions": {
"AmlFilesystemIdentity": {
"type": "object",
"description": "Managed Identity properties.",
"x-ms-mutability": [
"read",
"create"
],
"properties": {
"principalId": {
"readOnly": true,
"type": "string",
"description": "The principal ID for the user-assigned identity of the resource."
},
"tenantId": {
"readOnly": true,
"type": "string",
"description": "The tenant ID associated with the resource."
},
"type": {
"type": "string",
"description": "The type of identity used for the resource.",
"enum": [
"UserAssigned",
"None"
],
"x-ms-enum": {
"name": "AmlFilesystemIdentityType",
"modelAsString": false
}
},
"userAssignedIdentities": {
"description": "A dictionary where each key is a user assigned identity resource ID, and each key's value is an empty dictionary.",
"$ref": "#/definitions/UserAssignedIdentities"
}
}
},
"AmlFilesystem": {
"description": "An AML file system instance. Follows Azure Resource Manager standards: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/resource-api-reference.md",
"x-ms-azure-resource": true,
"type": "object",
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/TrackedResource"
}
],
"properties": {
"identity": {
"$ref": "#/definitions/AmlFilesystemIdentity",
"description": "The managed identity used by the AML file system, if configured."
},
"sku": {
"description": "SKU for the resource.",
"$ref": "#/definitions/SkuName"
},
"zones": {
"type": "array",
"items": {
"type": "string"
},
"description": "Availability zones for resources. This field should only contain a single element in the array.",
"x-ms-mutability": [
"read",
"create"
]
},
"properties": {
"x-ms-client-flatten": true,
"description": "Properties of the AML file system.",
"properties": {
"storageCapacityTiB": {
"description": "The size of the AML file system, in TiB. This might be rounded up.",
"x-ms-mutability": [
"read",
"create"
],
"type": "number",
"format": "float"
},
"health": {
"description": "Health of the AML file system.",
"readOnly": true,
"$ref": "#/definitions/AmlFilesystemHealth"
},
"provisioningState": {
"description": "ARM provisioning state.",
"enum": [
"Succeeded",
"Failed",
"Creating",
"Deleting",
"Updating",
"Canceled"
],
"x-ms-enum": {
"name": "AmlFilesystemProvisioningStateType",
"modelAsString": true
},
"type": "string",
"readOnly": true
},
"filesystemSubnet": {
"description": "Subnet used for managing the AML file system and for client-facing operations. This subnet should have at least a /24 subnet mask within the VNET's address space.",
"x-ms-mutability": [
"read",
"create"
],
"$ref": "storagecache.json#/definitions/URLString"
},
"clientInfo": {
"$ref": "#/definitions/AmlFilesystemClientInfo",
"description": "Client information for the AML file system."
},
"throughputProvisionedMBps": {
"type": "integer",
"format": "int32",
"description": "Throughput provisioned in MB per sec, calculated as storageCapacityTiB * per-unit storage throughput",
"readOnly": true
},
"encryptionSettings": {
"$ref": "#/definitions/AmlFilesystemEncryptionSettings",
"description": "Specifies encryption settings of the AML file system."
},
"maintenanceWindow": {
"description": "Start time of a 30-minute weekly maintenance window.",
"type": "object",
"properties": {
"dayOfWeek": {
"type": "string",
"enum": [
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday",
"Sunday"
],
"x-ms-enum": {
"name": "MaintenanceDayOfWeekType",
"modelAsString": false
},
"description": "Day of the week on which the maintenance window will occur."
},
"timeOfDayUTC": {
"type": "string",
"pattern": "^([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$",
"description": "The time of day (in UTC) to start the maintenance window."
}
}
},
"hsm": {
"type": "object",
"description": "Hydration and archive settings and status",
"properties": {
"settings": {
"$ref": "#/definitions/AmlFilesystemHsmSettings",
"description": "Specifies HSM settings of the AML file system."
},
"archiveStatus": {
"type": "array",
"readOnly": true,
"description": "Archive status",
"items": {
"$ref": "#/definitions/AmlFilesystemArchive"
},
"x-ms-identifiers": [
"filesystemPath"
]
}
}
}
},
"type": "object",
"required": [
"filesystemSubnet",
"storageCapacityTiB",
"maintenanceWindow"
]
}
}
},
"AmlFilesystemUpdate": {
"description": "An AML file system update instance.",
"type": "object",
"properties": {
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Resource tags."
},
"properties": {
"type": "object",
"x-ms-client-flatten": true,
"description": "Properties of the AML file system.",
"properties": {
"encryptionSettings": {
"$ref": "#/definitions/AmlFilesystemEncryptionSettings",
"description": "Specifies encryption settings of the AML file system."
},
"maintenanceWindow": {
"description": "Start time of a 30-minute weekly maintenance window.",
"type": "object",
"properties": {
"dayOfWeek": {
"type": "string",
"enum": [
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday",
"Sunday"
],
"x-ms-enum": {
"name": "MaintenanceDayOfWeekType",
"modelAsString": false
},
"description": "Day of the week on which the maintenance window will occur."
},
"timeOfDayUTC": {
"type": "string",
"pattern": "^([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$",
"description": "The time of day (in UTC) to start the maintenance window."
}
}
}
}
}
}
},
"AmlFilesystemName": {
"readOnly": true,
"description": "Name for the AML file system. Allows alphanumerics, underscores, and hyphens. Start and end with alphanumeric.",
"type": "string",
"pattern": "^[0-9a-zA-Z][-0-9a-zA-Z_]{0,78}[0-9a-zA-Z]$",
"minLength": 2,
"maxLength": 80
},
"AmlFilesystemsListResult": {
"description": "Result of the request to list AML file systems. It contains a list of AML file systems and a URL link to get the next set of results.",
"properties": {
"nextLink": {
"description": "URL to get the next set of AML file system list results, if there are any.",
"type": "string"
},
"value": {
"description": "List of AML file systems.",
"items": {
"$ref": "#/definitions/AmlFilesystem"
},
"type": "array"
}
},
"type": "object"
},
"AmlFilesystemHealth": {
"description": "An indication of AML file system health. Gives more information about health than just that related to provisioning.",
"readOnly": true,
"properties": {
"state": {
"description": "List of AML file system health states.",
"enum": [
"Unavailable",
"Available",
"Degraded",
"Transitioning",
"Maintenance"
],
"x-ms-enum": {
"name": "AmlFilesystemHealthStateType",
"modelAsString": true
},
"type": "string"
},
"statusCode": {
"description": "Server-defined error code for the AML file system health",
"type": "string"
},
"statusDescription": {
"description": "Describes the health state.",
"type": "string"
}
},
"type": "object"
},
"AmlFilesystemEncryptionSettings": {
"description": "AML file system encryption settings.",
"properties": {
"keyEncryptionKey": {
"$ref": "storagecache.json#/definitions/KeyVaultKeyReference",
"description": "Specifies the location of the encryption key in Key Vault."
}
},
"type": "object"
},
"AmlFilesystemHsmSettings": {
"description": "AML file system HSM settings.",
"x-ms-mutability": [
"read",
"create"
],
"type": "object",
"properties": {
"container": {
"description": "Resource ID of storage container used for hydrating the namespace and archiving from the namespace. The resource provider must have permission to create SAS tokens on the storage account.",
"$ref": "storagecache.json#/definitions/URLString"
},
"loggingContainer": {
"description": "Resource ID of storage container used for logging events and errors. Must be a separate container in the same storage account as the hydration and archive container. The resource provider must have permission to create SAS tokens on the storage account.",
"$ref": "storagecache.json#/definitions/URLString"
},
"importPrefix": {
"description": "Only blobs in the non-logging container that start with this path/prefix get hydrated into the cluster namespace.",
"type": "string",
"default": "/"
}
},
"required": [
"container",
"loggingContainer"
]
},
"AmlFilesystemClientInfo": {
"type": "object",
"description": "AML file system client information",
"readOnly": true,
"properties": {
"mgsAddress": {
"description": "The IPv4 address used by clients to mount the AML file system's Lustre Management Service (MGS).",
"readOnly": true,
"type": "string"
},
"mountCommand": {
"description": "Recommended command to mount the AML file system",
"readOnly": true,
"type": "string"
},
"lustreVersion": {
"type": "string",
"description": "The version of Lustre running in the AML file system",
"readOnly": true
},
"containerStorageInterface": {
"$ref": "#/definitions/AmlFilesystemContainerStorageInterface",
"description": "Container Storage Interface information for the AML file system."
}
}
},
"AmlFilesystemContainerStorageInterface": {
"type": "object",
"description": "AML file system container storage interface information",
"readOnly": true,
"properties": {
"persistentVolumeClaim": {
"description": "Recommended AKS Persistent Volume Claim for the CSI driver, in Base64 encoded YAML",
"readOnly": true,
"type": "string"
},
"persistentVolume": {
"description": "Recommended AKS Persistent Volume for the CSI driver, in Base64 encoded YAML",
"readOnly": true,
"type": "string"
},
"storageClass": {
"description": "Recommended AKS Storage Class for the CSI driver, in Base64 encoded YAML",
"readOnly": true,
"type": "string"
}
}
},
"AmlFilesystemArchiveInfo": {
"type": "object",
"description": "Information required to execute the archive operation",
"properties": {
"filesystemPath": {
"type": "string",
"description": "Lustre file system path to archive relative to the file system root. Specify '/' to archive all modified data.",
"default": "/"
}
}
},
"AmlFilesystemArchive": {
"description": "Information about the AML file system archive",
"type": "object",
"readOnly": true,
"properties": {
"filesystemPath": {
"readOnly": true,
"type": "string",
"description": "Lustre file system path to archive relative to the file system root. Specify '/' to archive all modified data."
},
"status": {
"description": "The status of the archive",
"type": "object",
"readOnly": true,
"properties": {
"state": {
"readOnly": true,
"description": "The state of the archive operation",
"type": "string",
"enum": [
"NotConfigured",
"Idle",
"InProgress",
"Canceled",
"Completed",
"Failed",
"Cancelling",
"FSScanInProgress"
],
"x-ms-enum": {
"name": "ArchiveStatusType",
"modelAsString": true
}
},
"lastCompletionTime": {
"readOnly": true,
"description": "The time of the last completed archive operation",
"type": "string",
"format": "date-time"
},
"lastStartedTime": {
"readOnly": true,
"description": "The time the latest archive operation started",
"type": "string",
"format": "date-time"
},
"percentComplete": {
"readOnly": true,
"description": "The completion percentage of the archive operation",
"type": "integer",
"format": "int32"
},