@azure/arm-netapp 14.3.0 → 14.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/dist/arm-netapp.js +972 -51
  2. package/dist/arm-netapp.js.map +1 -1
  3. package/dist/arm-netapp.min.js +1 -1
  4. package/dist/arm-netapp.min.js.map +1 -1
  5. package/esm/azureNetAppFilesManagementClient.d.ts +1 -0
  6. package/esm/azureNetAppFilesManagementClient.d.ts.map +1 -1
  7. package/esm/azureNetAppFilesManagementClient.js +1 -0
  8. package/esm/azureNetAppFilesManagementClient.js.map +1 -1
  9. package/esm/azureNetAppFilesManagementClientContext.js +2 -2
  10. package/esm/models/accountBackupsMappers.d.ts +1 -1
  11. package/esm/models/accountBackupsMappers.d.ts.map +1 -1
  12. package/esm/models/accountBackupsMappers.js +1 -1
  13. package/esm/models/accountBackupsMappers.js.map +1 -1
  14. package/esm/models/accountsMappers.d.ts +1 -1
  15. package/esm/models/accountsMappers.d.ts.map +1 -1
  16. package/esm/models/accountsMappers.js +1 -1
  17. package/esm/models/accountsMappers.js.map +1 -1
  18. package/esm/models/backupPoliciesMappers.d.ts +1 -1
  19. package/esm/models/backupPoliciesMappers.d.ts.map +1 -1
  20. package/esm/models/backupPoliciesMappers.js +1 -1
  21. package/esm/models/backupPoliciesMappers.js.map +1 -1
  22. package/esm/models/backupsMappers.d.ts +1 -1
  23. package/esm/models/backupsMappers.d.ts.map +1 -1
  24. package/esm/models/backupsMappers.js +1 -1
  25. package/esm/models/backupsMappers.js.map +1 -1
  26. package/esm/models/index.d.ts +477 -23
  27. package/esm/models/index.d.ts.map +1 -1
  28. package/esm/models/mappers.d.ts +6 -0
  29. package/esm/models/mappers.d.ts.map +1 -1
  30. package/esm/models/mappers.js +789 -174
  31. package/esm/models/mappers.js.map +1 -1
  32. package/esm/models/netAppResourceQuotaLimitsMappers.d.ts +1 -1
  33. package/esm/models/netAppResourceQuotaLimitsMappers.d.ts.map +1 -1
  34. package/esm/models/netAppResourceQuotaLimitsMappers.js +1 -1
  35. package/esm/models/netAppResourceQuotaLimitsMappers.js.map +1 -1
  36. package/esm/models/parameters.d.ts +1 -0
  37. package/esm/models/parameters.d.ts.map +1 -1
  38. package/esm/models/parameters.js +15 -0
  39. package/esm/models/parameters.js.map +1 -1
  40. package/esm/models/poolsMappers.d.ts +1 -1
  41. package/esm/models/poolsMappers.d.ts.map +1 -1
  42. package/esm/models/poolsMappers.js +1 -1
  43. package/esm/models/poolsMappers.js.map +1 -1
  44. package/esm/models/snapshotPoliciesMappers.d.ts +1 -1
  45. package/esm/models/snapshotPoliciesMappers.d.ts.map +1 -1
  46. package/esm/models/snapshotPoliciesMappers.js +1 -1
  47. package/esm/models/snapshotPoliciesMappers.js.map +1 -1
  48. package/esm/models/snapshotsMappers.d.ts +1 -1
  49. package/esm/models/snapshotsMappers.d.ts.map +1 -1
  50. package/esm/models/snapshotsMappers.js +1 -1
  51. package/esm/models/snapshotsMappers.js.map +1 -1
  52. package/esm/models/vaultsMappers.d.ts +1 -1
  53. package/esm/models/vaultsMappers.d.ts.map +1 -1
  54. package/esm/models/vaultsMappers.js +1 -1
  55. package/esm/models/vaultsMappers.js.map +1 -1
  56. package/esm/models/volumeGroupsMappers.d.ts +2 -0
  57. package/esm/models/volumeGroupsMappers.d.ts.map +1 -0
  58. package/esm/models/volumeGroupsMappers.js +9 -0
  59. package/esm/models/volumeGroupsMappers.js.map +1 -0
  60. package/esm/models/volumesMappers.d.ts +1 -1
  61. package/esm/models/volumesMappers.d.ts.map +1 -1
  62. package/esm/models/volumesMappers.js +1 -1
  63. package/esm/models/volumesMappers.js.map +1 -1
  64. package/esm/operations/index.d.ts +1 -0
  65. package/esm/operations/index.d.ts.map +1 -1
  66. package/esm/operations/index.js +1 -0
  67. package/esm/operations/index.js.map +1 -1
  68. package/esm/operations/volumeGroups.d.ts +107 -0
  69. package/esm/operations/volumeGroups.d.ts.map +1 -0
  70. package/esm/operations/volumeGroups.js +212 -0
  71. package/esm/operations/volumeGroups.js.map +1 -0
  72. package/package.json +1 -1
  73. package/src/azureNetAppFilesManagementClient.ts +2 -0
  74. package/src/azureNetAppFilesManagementClientContext.ts +2 -2
  75. package/src/models/accountBackupsMappers.ts +2 -0
  76. package/src/models/accountsMappers.ts +2 -0
  77. package/src/models/backupPoliciesMappers.ts +2 -0
  78. package/src/models/backupsMappers.ts +2 -0
  79. package/src/models/index.ts +486 -23
  80. package/src/models/mappers.ts +791 -171
  81. package/src/models/netAppResourceQuotaLimitsMappers.ts +2 -0
  82. package/src/models/parameters.ts +15 -0
  83. package/src/models/poolsMappers.ts +2 -0
  84. package/src/models/snapshotPoliciesMappers.ts +2 -0
  85. package/src/models/snapshotsMappers.ts +2 -0
  86. package/src/models/vaultsMappers.ts +2 -0
  87. package/src/models/volumeGroupsMappers.ts +54 -0
  88. package/src/models/volumesMappers.ts +2 -0
  89. package/src/operations/index.ts +1 -0
  90. package/src/operations/volumeGroups.ts +287 -0
@@ -534,13 +534,7 @@
534
534
  type: {
535
535
  name: "Composite",
536
536
  className: "SubscriptionQuotaItem",
537
- modelProperties: __assign(__assign({}, ProxyResource.type.modelProperties), { subscriptionQuotaItemName: {
538
- readOnly: true,
539
- serializedName: "properties.name",
540
- type: {
541
- name: "String"
542
- }
543
- }, current: {
537
+ modelProperties: __assign(__assign({}, ProxyResource.type.modelProperties), { current: {
544
538
  readOnly: true,
545
539
  serializedName: "properties.current",
546
540
  type: {
@@ -720,6 +714,12 @@
720
714
  type: {
721
715
  name: "Boolean"
722
716
  }
717
+ },
718
+ encryptDCConnections: {
719
+ serializedName: "encryptDCConnections",
720
+ type: {
721
+ name: "Boolean"
722
+ }
723
723
  }
724
724
  }
725
725
  }
@@ -1387,6 +1387,29 @@
1387
1387
  }
1388
1388
  }
1389
1389
  };
1390
+ var PlacementKeyValuePairs = {
1391
+ serializedName: "placementKeyValuePairs",
1392
+ type: {
1393
+ name: "Composite",
1394
+ className: "PlacementKeyValuePairs",
1395
+ modelProperties: {
1396
+ key: {
1397
+ required: true,
1398
+ serializedName: "key",
1399
+ type: {
1400
+ name: "String"
1401
+ }
1402
+ },
1403
+ value: {
1404
+ required: true,
1405
+ serializedName: "value",
1406
+ type: {
1407
+ name: "String"
1408
+ }
1409
+ }
1410
+ }
1411
+ }
1412
+ };
1390
1413
  var Volume = {
1391
1414
  serializedName: "volume",
1392
1415
  type: {
@@ -1641,10 +1664,6 @@
1641
1664
  throughputMibps: {
1642
1665
  serializedName: "properties.throughputMibps",
1643
1666
  defaultValue: 0,
1644
- constraints: {
1645
- InclusiveMaximum: 4500,
1646
- InclusiveMinimum: 0
1647
- },
1648
1667
  type: {
1649
1668
  name: "Number"
1650
1669
  }
@@ -1726,6 +1745,50 @@
1726
1745
  type: {
1727
1746
  name: "Number"
1728
1747
  }
1748
+ },
1749
+ volumeGroupName: {
1750
+ readOnly: true,
1751
+ serializedName: "properties.volumeGroupName",
1752
+ type: {
1753
+ name: "String"
1754
+ }
1755
+ },
1756
+ capacityPoolResourceId: {
1757
+ serializedName: "properties.capacityPoolResourceId",
1758
+ type: {
1759
+ name: "String"
1760
+ }
1761
+ },
1762
+ proximityPlacementGroup: {
1763
+ serializedName: "properties.proximityPlacementGroup",
1764
+ type: {
1765
+ name: "String"
1766
+ }
1767
+ },
1768
+ t2Network: {
1769
+ readOnly: true,
1770
+ serializedName: "properties.t2Network",
1771
+ type: {
1772
+ name: "String"
1773
+ }
1774
+ },
1775
+ volumeSpecName: {
1776
+ serializedName: "properties.volumeSpecName",
1777
+ type: {
1778
+ name: "String"
1779
+ }
1780
+ },
1781
+ placementRules: {
1782
+ serializedName: "properties.placementRules",
1783
+ type: {
1784
+ name: "Sequence",
1785
+ element: {
1786
+ type: {
1787
+ name: "Composite",
1788
+ className: "PlacementKeyValuePairs"
1789
+ }
1790
+ }
1791
+ }
1729
1792
  }
1730
1793
  }
1731
1794
  }
@@ -1913,10 +1976,7 @@
1913
1976
  },
1914
1977
  throughputMibps: {
1915
1978
  serializedName: "properties.throughputMibps",
1916
- constraints: {
1917
- InclusiveMaximum: 4500,
1918
- InclusiveMinimum: 1
1919
- },
1979
+ defaultValue: 0,
1920
1980
  type: {
1921
1981
  name: "Number"
1922
1982
  }
@@ -2522,7 +2582,8 @@
2522
2582
  name: "Sequence",
2523
2583
  element: {
2524
2584
  type: {
2525
- name: "Object"
2585
+ name: "Composite",
2586
+ className: "Volume"
2526
2587
  }
2527
2588
  }
2528
2589
  }
@@ -2861,13 +2922,6 @@
2861
2922
  }
2862
2923
  }
2863
2924
  },
2864
- name1: {
2865
- readOnly: true,
2866
- serializedName: "properties.name",
2867
- type: {
2868
- name: "String"
2869
- }
2870
- },
2871
2925
  backupPolicyId: {
2872
2926
  readOnly: true,
2873
2927
  serializedName: "properties.backupPolicyId",
@@ -2973,13 +3027,6 @@
2973
3027
  }
2974
3028
  }
2975
3029
  },
2976
- name1: {
2977
- readOnly: true,
2978
- serializedName: "properties.name",
2979
- type: {
2980
- name: "String"
2981
- }
2982
- },
2983
3030
  backupPolicyId: {
2984
3031
  readOnly: true,
2985
3032
  serializedName: "properties.backupPolicyId",
@@ -3085,13 +3132,6 @@
3085
3132
  }
3086
3133
  }
3087
3134
  },
3088
- name1: {
3089
- readOnly: true,
3090
- serializedName: "properties.name",
3091
- type: {
3092
- name: "String"
3093
- }
3094
- },
3095
3135
  backupPolicyId: {
3096
3136
  readOnly: true,
3097
3137
  serializedName: "properties.backupPolicyId",
@@ -3285,28 +3325,582 @@
3285
3325
  readOnly: true,
3286
3326
  serializedName: "mirrorState",
3287
3327
  type: {
3288
- name: "String"
3328
+ name: "String"
3329
+ }
3330
+ },
3331
+ unhealthyReason: {
3332
+ readOnly: true,
3333
+ serializedName: "unhealthyReason",
3334
+ type: {
3335
+ name: "String"
3336
+ }
3337
+ },
3338
+ errorMessage: {
3339
+ readOnly: true,
3340
+ serializedName: "errorMessage",
3341
+ type: {
3342
+ name: "String"
3343
+ }
3344
+ },
3345
+ totalTransferBytes: {
3346
+ readOnly: true,
3347
+ serializedName: "totalTransferBytes",
3348
+ type: {
3349
+ name: "Number"
3350
+ }
3351
+ }
3352
+ }
3353
+ }
3354
+ };
3355
+ var VolumeGroupMetaData = {
3356
+ serializedName: "volumeGroupMetaData",
3357
+ type: {
3358
+ name: "Composite",
3359
+ className: "VolumeGroupMetaData",
3360
+ modelProperties: {
3361
+ groupDescription: {
3362
+ serializedName: "groupDescription",
3363
+ type: {
3364
+ name: "String"
3365
+ }
3366
+ },
3367
+ applicationType: {
3368
+ serializedName: "applicationType",
3369
+ type: {
3370
+ name: "String"
3371
+ }
3372
+ },
3373
+ applicationIdentifier: {
3374
+ serializedName: "applicationIdentifier",
3375
+ type: {
3376
+ name: "String"
3377
+ }
3378
+ },
3379
+ globalPlacementRules: {
3380
+ serializedName: "globalPlacementRules",
3381
+ type: {
3382
+ name: "Sequence",
3383
+ element: {
3384
+ type: {
3385
+ name: "Composite",
3386
+ className: "PlacementKeyValuePairs"
3387
+ }
3388
+ }
3389
+ }
3390
+ },
3391
+ deploymentSpecId: {
3392
+ serializedName: "deploymentSpecId",
3393
+ type: {
3394
+ name: "String"
3395
+ }
3396
+ },
3397
+ volumesCount: {
3398
+ readOnly: true,
3399
+ serializedName: "volumesCount",
3400
+ type: {
3401
+ name: "Number"
3402
+ }
3403
+ }
3404
+ }
3405
+ }
3406
+ };
3407
+ var VolumeGroup = {
3408
+ serializedName: "volumeGroup",
3409
+ type: {
3410
+ name: "Composite",
3411
+ className: "VolumeGroup",
3412
+ modelProperties: {
3413
+ location: {
3414
+ serializedName: "location",
3415
+ type: {
3416
+ name: "String"
3417
+ }
3418
+ },
3419
+ id: {
3420
+ readOnly: true,
3421
+ serializedName: "id",
3422
+ type: {
3423
+ name: "String"
3424
+ }
3425
+ },
3426
+ name: {
3427
+ readOnly: true,
3428
+ serializedName: "name",
3429
+ type: {
3430
+ name: "String"
3431
+ }
3432
+ },
3433
+ type: {
3434
+ readOnly: true,
3435
+ serializedName: "type",
3436
+ type: {
3437
+ name: "String"
3438
+ }
3439
+ },
3440
+ tags: {
3441
+ serializedName: "tags",
3442
+ type: {
3443
+ name: "Dictionary",
3444
+ value: {
3445
+ type: {
3446
+ name: "String"
3447
+ }
3448
+ }
3449
+ }
3450
+ },
3451
+ provisioningState: {
3452
+ readOnly: true,
3453
+ serializedName: "properties.provisioningState",
3454
+ type: {
3455
+ name: "String"
3456
+ }
3457
+ },
3458
+ groupMetaData: {
3459
+ serializedName: "properties.groupMetaData",
3460
+ type: {
3461
+ name: "Composite",
3462
+ className: "VolumeGroupMetaData"
3463
+ }
3464
+ }
3465
+ }
3466
+ }
3467
+ };
3468
+ var VolumeGroupVolumeProperties = {
3469
+ serializedName: "volumeGroupVolumeProperties",
3470
+ type: {
3471
+ name: "Composite",
3472
+ className: "VolumeGroupVolumeProperties",
3473
+ modelProperties: {
3474
+ id: {
3475
+ readOnly: true,
3476
+ serializedName: "id",
3477
+ type: {
3478
+ name: "String"
3479
+ }
3480
+ },
3481
+ name: {
3482
+ serializedName: "name",
3483
+ type: {
3484
+ name: "String"
3485
+ }
3486
+ },
3487
+ type: {
3488
+ readOnly: true,
3489
+ serializedName: "type",
3490
+ type: {
3491
+ name: "String"
3492
+ }
3493
+ },
3494
+ tags: {
3495
+ serializedName: "tags",
3496
+ type: {
3497
+ name: "Dictionary",
3498
+ value: {
3499
+ type: {
3500
+ name: "String"
3501
+ }
3502
+ }
3503
+ }
3504
+ },
3505
+ fileSystemId: {
3506
+ readOnly: true,
3507
+ serializedName: "properties.fileSystemId",
3508
+ constraints: {
3509
+ MaxLength: 36,
3510
+ MinLength: 36,
3511
+ Pattern: /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/
3512
+ },
3513
+ type: {
3514
+ name: "String"
3515
+ }
3516
+ },
3517
+ creationToken: {
3518
+ required: true,
3519
+ serializedName: "properties.creationToken",
3520
+ constraints: {
3521
+ MaxLength: 80,
3522
+ MinLength: 1,
3523
+ Pattern: /^[a-zA-Z][a-zA-Z0-9\-]{0,79}$/
3524
+ },
3525
+ type: {
3526
+ name: "String"
3527
+ }
3528
+ },
3529
+ serviceLevel: {
3530
+ serializedName: "properties.serviceLevel",
3531
+ defaultValue: 'Premium',
3532
+ type: {
3533
+ name: "String"
3534
+ }
3535
+ },
3536
+ usageThreshold: {
3537
+ required: true,
3538
+ serializedName: "properties.usageThreshold",
3539
+ defaultValue: 107374182400,
3540
+ constraints: {
3541
+ InclusiveMaximum: 109951162777600,
3542
+ InclusiveMinimum: 107374182400
3543
+ },
3544
+ type: {
3545
+ name: "Number"
3546
+ }
3547
+ },
3548
+ exportPolicy: {
3549
+ serializedName: "properties.exportPolicy",
3550
+ type: {
3551
+ name: "Composite",
3552
+ className: "VolumePropertiesExportPolicy"
3553
+ }
3554
+ },
3555
+ protocolTypes: {
3556
+ serializedName: "properties.protocolTypes",
3557
+ type: {
3558
+ name: "Sequence",
3559
+ element: {
3560
+ type: {
3561
+ name: "String"
3562
+ }
3563
+ }
3564
+ }
3565
+ },
3566
+ provisioningState: {
3567
+ readOnly: true,
3568
+ serializedName: "properties.provisioningState",
3569
+ type: {
3570
+ name: "String"
3571
+ }
3572
+ },
3573
+ snapshotId: {
3574
+ nullable: true,
3575
+ serializedName: "properties.snapshotId",
3576
+ constraints: {
3577
+ MaxLength: 36,
3578
+ MinLength: 36,
3579
+ Pattern: /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}|(\\?([^\/]*[\/])*)([^\/]+)$/
3580
+ },
3581
+ type: {
3582
+ name: "String"
3583
+ }
3584
+ },
3585
+ backupId: {
3586
+ nullable: true,
3587
+ serializedName: "properties.backupId",
3588
+ constraints: {
3589
+ MaxLength: 36,
3590
+ MinLength: 36,
3591
+ Pattern: /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}|(\\?([^\/]*[\/])*)([^\/]+)$/
3592
+ },
3593
+ type: {
3594
+ name: "String"
3595
+ }
3596
+ },
3597
+ baremetalTenantId: {
3598
+ readOnly: true,
3599
+ serializedName: "properties.baremetalTenantId",
3600
+ type: {
3601
+ name: "String"
3602
+ }
3603
+ },
3604
+ subnetId: {
3605
+ required: true,
3606
+ serializedName: "properties.subnetId",
3607
+ type: {
3608
+ name: "String"
3609
+ }
3610
+ },
3611
+ networkFeatures: {
3612
+ serializedName: "properties.networkFeatures",
3613
+ defaultValue: 'Basic',
3614
+ type: {
3615
+ name: "String"
3616
+ }
3617
+ },
3618
+ networkSiblingSetId: {
3619
+ readOnly: true,
3620
+ serializedName: "properties.networkSiblingSetId",
3621
+ constraints: {
3622
+ MaxLength: 36,
3623
+ MinLength: 36,
3624
+ Pattern: /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/
3625
+ },
3626
+ type: {
3627
+ name: "String"
3628
+ }
3629
+ },
3630
+ storageToNetworkProximity: {
3631
+ readOnly: true,
3632
+ serializedName: "properties.storageToNetworkProximity",
3633
+ type: {
3634
+ name: "String"
3635
+ }
3636
+ },
3637
+ mountTargets: {
3638
+ readOnly: true,
3639
+ serializedName: "properties.mountTargets",
3640
+ type: {
3641
+ name: "Sequence",
3642
+ element: {
3643
+ type: {
3644
+ name: "Composite",
3645
+ className: "MountTargetProperties"
3646
+ }
3647
+ }
3648
+ }
3649
+ },
3650
+ volumeType: {
3651
+ serializedName: "properties.volumeType",
3652
+ type: {
3653
+ name: "String"
3654
+ }
3655
+ },
3656
+ dataProtection: {
3657
+ serializedName: "properties.dataProtection",
3658
+ type: {
3659
+ name: "Composite",
3660
+ className: "VolumePropertiesDataProtection"
3661
+ }
3662
+ },
3663
+ isRestoring: {
3664
+ serializedName: "properties.isRestoring",
3665
+ type: {
3666
+ name: "Boolean"
3667
+ }
3668
+ },
3669
+ snapshotDirectoryVisible: {
3670
+ serializedName: "properties.snapshotDirectoryVisible",
3671
+ defaultValue: true,
3672
+ type: {
3673
+ name: "Boolean"
3674
+ }
3675
+ },
3676
+ kerberosEnabled: {
3677
+ serializedName: "properties.kerberosEnabled",
3678
+ defaultValue: false,
3679
+ type: {
3680
+ name: "Boolean"
3681
+ }
3682
+ },
3683
+ securityStyle: {
3684
+ serializedName: "properties.securityStyle",
3685
+ defaultValue: 'unix',
3686
+ type: {
3687
+ name: "String"
3688
+ }
3689
+ },
3690
+ smbEncryption: {
3691
+ serializedName: "properties.smbEncryption",
3692
+ defaultValue: false,
3693
+ type: {
3694
+ name: "Boolean"
3695
+ }
3696
+ },
3697
+ smbContinuouslyAvailable: {
3698
+ serializedName: "properties.smbContinuouslyAvailable",
3699
+ defaultValue: false,
3700
+ type: {
3701
+ name: "Boolean"
3702
+ }
3703
+ },
3704
+ throughputMibps: {
3705
+ serializedName: "properties.throughputMibps",
3706
+ defaultValue: 0,
3707
+ type: {
3708
+ name: "Number"
3709
+ }
3710
+ },
3711
+ encryptionKeySource: {
3712
+ serializedName: "properties.encryptionKeySource",
3713
+ type: {
3714
+ name: "String"
3715
+ }
3716
+ },
3717
+ ldapEnabled: {
3718
+ serializedName: "properties.ldapEnabled",
3719
+ defaultValue: false,
3720
+ type: {
3721
+ name: "Boolean"
3722
+ }
3723
+ },
3724
+ coolAccess: {
3725
+ serializedName: "properties.coolAccess",
3726
+ defaultValue: false,
3727
+ type: {
3728
+ name: "Boolean"
3729
+ }
3730
+ },
3731
+ coolnessPeriod: {
3732
+ serializedName: "properties.coolnessPeriod",
3733
+ constraints: {
3734
+ InclusiveMaximum: 63,
3735
+ InclusiveMinimum: 7
3736
+ },
3737
+ type: {
3738
+ name: "Number"
3739
+ }
3740
+ },
3741
+ unixPermissions: {
3742
+ nullable: true,
3743
+ serializedName: "properties.unixPermissions",
3744
+ defaultValue: '0770',
3745
+ constraints: {
3746
+ MaxLength: 4,
3747
+ MinLength: 4
3748
+ },
3749
+ type: {
3750
+ name: "String"
3751
+ }
3752
+ },
3753
+ cloneProgress: {
3754
+ nullable: true,
3755
+ readOnly: true,
3756
+ serializedName: "properties.cloneProgress",
3757
+ type: {
3758
+ name: "Number"
3759
+ }
3760
+ },
3761
+ avsDataStore: {
3762
+ serializedName: "properties.avsDataStore",
3763
+ defaultValue: 'Disabled',
3764
+ type: {
3765
+ name: "String"
3766
+ }
3767
+ },
3768
+ isDefaultQuotaEnabled: {
3769
+ serializedName: "properties.isDefaultQuotaEnabled",
3770
+ defaultValue: false,
3771
+ type: {
3772
+ name: "Boolean"
3773
+ }
3774
+ },
3775
+ defaultUserQuotaInKiBs: {
3776
+ serializedName: "properties.defaultUserQuotaInKiBs",
3777
+ defaultValue: 0,
3778
+ type: {
3779
+ name: "Number"
3780
+ }
3781
+ },
3782
+ defaultGroupQuotaInKiBs: {
3783
+ serializedName: "properties.defaultGroupQuotaInKiBs",
3784
+ defaultValue: 0,
3785
+ type: {
3786
+ name: "Number"
3787
+ }
3788
+ },
3789
+ volumeGroupName: {
3790
+ readOnly: true,
3791
+ serializedName: "properties.volumeGroupName",
3792
+ type: {
3793
+ name: "String"
3794
+ }
3795
+ },
3796
+ capacityPoolResourceId: {
3797
+ serializedName: "properties.capacityPoolResourceId",
3798
+ type: {
3799
+ name: "String"
3800
+ }
3801
+ },
3802
+ proximityPlacementGroup: {
3803
+ serializedName: "properties.proximityPlacementGroup",
3804
+ type: {
3805
+ name: "String"
3806
+ }
3807
+ },
3808
+ t2Network: {
3809
+ readOnly: true,
3810
+ serializedName: "properties.t2Network",
3811
+ type: {
3812
+ name: "String"
3813
+ }
3814
+ },
3815
+ volumeSpecName: {
3816
+ serializedName: "properties.volumeSpecName",
3817
+ type: {
3818
+ name: "String"
3819
+ }
3820
+ },
3821
+ placementRules: {
3822
+ serializedName: "properties.placementRules",
3823
+ type: {
3824
+ name: "Sequence",
3825
+ element: {
3826
+ type: {
3827
+ name: "Composite",
3828
+ className: "PlacementKeyValuePairs"
3829
+ }
3830
+ }
3831
+ }
3832
+ }
3833
+ }
3834
+ }
3835
+ };
3836
+ var VolumeGroupDetails = {
3837
+ serializedName: "volumeGroupDetails",
3838
+ type: {
3839
+ name: "Composite",
3840
+ className: "VolumeGroupDetails",
3841
+ modelProperties: {
3842
+ location: {
3843
+ serializedName: "location",
3844
+ type: {
3845
+ name: "String"
3846
+ }
3847
+ },
3848
+ id: {
3849
+ readOnly: true,
3850
+ serializedName: "id",
3851
+ type: {
3852
+ name: "String"
3853
+ }
3854
+ },
3855
+ name: {
3856
+ readOnly: true,
3857
+ serializedName: "name",
3858
+ type: {
3859
+ name: "String"
3860
+ }
3861
+ },
3862
+ type: {
3863
+ readOnly: true,
3864
+ serializedName: "type",
3865
+ type: {
3866
+ name: "String"
3867
+ }
3868
+ },
3869
+ tags: {
3870
+ serializedName: "tags",
3871
+ type: {
3872
+ name: "Dictionary",
3873
+ value: {
3874
+ type: {
3875
+ name: "String"
3876
+ }
3877
+ }
3289
3878
  }
3290
3879
  },
3291
- unhealthyReason: {
3880
+ provisioningState: {
3292
3881
  readOnly: true,
3293
- serializedName: "unhealthyReason",
3882
+ serializedName: "properties.provisioningState",
3294
3883
  type: {
3295
3884
  name: "String"
3296
3885
  }
3297
3886
  },
3298
- errorMessage: {
3299
- readOnly: true,
3300
- serializedName: "errorMessage",
3887
+ groupMetaData: {
3888
+ serializedName: "properties.groupMetaData",
3301
3889
  type: {
3302
- name: "String"
3890
+ name: "Composite",
3891
+ className: "VolumeGroupMetaData"
3303
3892
  }
3304
3893
  },
3305
- totalTransferBytes: {
3306
- readOnly: true,
3307
- serializedName: "totalTransferBytes",
3894
+ volumes: {
3895
+ serializedName: "properties.volumes",
3308
3896
  type: {
3309
- name: "Number"
3897
+ name: "Sequence",
3898
+ element: {
3899
+ type: {
3900
+ name: "Composite",
3901
+ className: "VolumeGroupVolumeProperties"
3902
+ }
3903
+ }
3310
3904
  }
3311
3905
  }
3312
3906
  }
@@ -3578,6 +4172,27 @@
3578
4172
  }
3579
4173
  }
3580
4174
  };
4175
+ var VolumeGroupList = {
4176
+ serializedName: "volumeGroupList",
4177
+ type: {
4178
+ name: "Composite",
4179
+ className: "VolumeGroupList",
4180
+ modelProperties: {
4181
+ value: {
4182
+ serializedName: "",
4183
+ type: {
4184
+ name: "Sequence",
4185
+ element: {
4186
+ type: {
4187
+ name: "Composite",
4188
+ className: "VolumeGroup"
4189
+ }
4190
+ }
4191
+ }
4192
+ }
4193
+ }
4194
+ }
4195
+ };
3581
4196
 
3582
4197
  var mappers = /*#__PURE__*/Object.freeze({
3583
4198
  __proto__: null,
@@ -3610,6 +4225,7 @@
3610
4225
  ReplicationObject: ReplicationObject,
3611
4226
  VolumeSnapshotProperties: VolumeSnapshotProperties,
3612
4227
  VolumePropertiesDataProtection: VolumePropertiesDataProtection,
4228
+ PlacementKeyValuePairs: PlacementKeyValuePairs,
3613
4229
  Volume: Volume,
3614
4230
  ResourceIdentity: ResourceIdentity,
3615
4231
  ReplicationStatus: ReplicationStatus,
@@ -3639,6 +4255,10 @@
3639
4255
  Vault: Vault,
3640
4256
  BackupStatus: BackupStatus,
3641
4257
  RestoreStatus: RestoreStatus,
4258
+ VolumeGroupMetaData: VolumeGroupMetaData,
4259
+ VolumeGroup: VolumeGroup,
4260
+ VolumeGroupVolumeProperties: VolumeGroupVolumeProperties,
4261
+ VolumeGroupDetails: VolumeGroupDetails,
3642
4262
  TrackedResource: TrackedResource,
3643
4263
  AzureEntityResource: AzureEntityResource,
3644
4264
  OperationListResult: OperationListResult,
@@ -3650,7 +4270,8 @@
3650
4270
  SnapshotPoliciesList: SnapshotPoliciesList,
3651
4271
  BackupsList: BackupsList,
3652
4272
  BackupPoliciesList: BackupPoliciesList,
3653
- VaultList: VaultList
4273
+ VaultList: VaultList,
4274
+ VolumeGroupList: VolumeGroupList
3654
4275
  });
3655
4276
 
3656
4277
  /*
@@ -3825,6 +4446,21 @@
3825
4446
  }
3826
4447
  }
3827
4448
  };
4449
+ var volumeGroupName = {
4450
+ parameterPath: "volumeGroupName",
4451
+ mapper: {
4452
+ required: true,
4453
+ serializedName: "volumeGroupName",
4454
+ constraints: {
4455
+ MaxLength: 64,
4456
+ MinLength: 1,
4457
+ Pattern: /^[a-zA-Z0-9][a-zA-Z0-9\-_]{0,63}$/
4458
+ },
4459
+ type: {
4460
+ name: "String"
4461
+ }
4462
+ }
4463
+ };
3828
4464
  var volumeName = {
3829
4465
  parameterPath: "volumeName",
3830
4466
  mapper: {
@@ -4073,6 +4709,7 @@
4073
4709
  MountTargetProperties: MountTargetProperties,
4074
4710
  NetAppAccount: NetAppAccount,
4075
4711
  NetAppAccountPatch: NetAppAccountPatch,
4712
+ PlacementKeyValuePairs: PlacementKeyValuePairs,
4076
4713
  ProxyResource: ProxyResource,
4077
4714
  ReplicationObject: ReplicationObject,
4078
4715
  Resource: Resource,
@@ -4086,6 +4723,7 @@
4086
4723
  Volume: Volume,
4087
4724
  VolumeBackupProperties: VolumeBackupProperties,
4088
4725
  VolumeBackups: VolumeBackups,
4726
+ VolumeGroupVolumeProperties: VolumeGroupVolumeProperties,
4089
4727
  VolumePatch: VolumePatch,
4090
4728
  VolumePatchPropertiesDataProtection: VolumePatchPropertiesDataProtection,
4091
4729
  VolumePatchPropertiesExportPolicy: VolumePatchPropertiesExportPolicy,
@@ -4207,6 +4845,7 @@
4207
4845
  NetAppAccount: NetAppAccount,
4208
4846
  NetAppAccountList: NetAppAccountList,
4209
4847
  NetAppAccountPatch: NetAppAccountPatch,
4848
+ PlacementKeyValuePairs: PlacementKeyValuePairs,
4210
4849
  ProxyResource: ProxyResource,
4211
4850
  ReplicationObject: ReplicationObject,
4212
4851
  Resource: Resource,
@@ -4219,6 +4858,7 @@
4219
4858
  Volume: Volume,
4220
4859
  VolumeBackupProperties: VolumeBackupProperties,
4221
4860
  VolumeBackups: VolumeBackups,
4861
+ VolumeGroupVolumeProperties: VolumeGroupVolumeProperties,
4222
4862
  VolumePatch: VolumePatch,
4223
4863
  VolumePatchPropertiesDataProtection: VolumePatchPropertiesDataProtection,
4224
4864
  VolumePatchPropertiesExportPolicy: VolumePatchPropertiesExportPolicy,
@@ -4597,6 +5237,7 @@
4597
5237
  MountTargetProperties: MountTargetProperties,
4598
5238
  NetAppAccount: NetAppAccount,
4599
5239
  NetAppAccountPatch: NetAppAccountPatch,
5240
+ PlacementKeyValuePairs: PlacementKeyValuePairs,
4600
5241
  ProxyResource: ProxyResource,
4601
5242
  ReplicationObject: ReplicationObject,
4602
5243
  Resource: Resource,
@@ -4609,6 +5250,7 @@
4609
5250
  Volume: Volume,
4610
5251
  VolumeBackupProperties: VolumeBackupProperties,
4611
5252
  VolumeBackups: VolumeBackups,
5253
+ VolumeGroupVolumeProperties: VolumeGroupVolumeProperties,
4612
5254
  VolumePatch: VolumePatch,
4613
5255
  VolumePatchPropertiesDataProtection: VolumePatchPropertiesDataProtection,
4614
5256
  VolumePatchPropertiesExportPolicy: VolumePatchPropertiesExportPolicy,
@@ -4946,6 +5588,7 @@
4946
5588
  MountTargetProperties: MountTargetProperties,
4947
5589
  NetAppAccount: NetAppAccount,
4948
5590
  NetAppAccountPatch: NetAppAccountPatch,
5591
+ PlacementKeyValuePairs: PlacementKeyValuePairs,
4949
5592
  PoolChangeRequest: PoolChangeRequest,
4950
5593
  ProxyResource: ProxyResource,
4951
5594
  ReplicationObject: ReplicationObject,
@@ -4960,6 +5603,7 @@
4960
5603
  Volume: Volume,
4961
5604
  VolumeBackupProperties: VolumeBackupProperties,
4962
5605
  VolumeBackups: VolumeBackups,
5606
+ VolumeGroupVolumeProperties: VolumeGroupVolumeProperties,
4963
5607
  VolumeList: VolumeList,
4964
5608
  VolumePatch: VolumePatch,
4965
5609
  VolumePatchPropertiesDataProtection: VolumePatchPropertiesDataProtection,
@@ -5795,6 +6439,7 @@
5795
6439
  MountTargetProperties: MountTargetProperties,
5796
6440
  NetAppAccount: NetAppAccount,
5797
6441
  NetAppAccountPatch: NetAppAccountPatch,
6442
+ PlacementKeyValuePairs: PlacementKeyValuePairs,
5798
6443
  ProxyResource: ProxyResource,
5799
6444
  ReplicationObject: ReplicationObject,
5800
6445
  Resource: Resource,
@@ -5808,6 +6453,7 @@
5808
6453
  Volume: Volume,
5809
6454
  VolumeBackupProperties: VolumeBackupProperties,
5810
6455
  VolumeBackups: VolumeBackups,
6456
+ VolumeGroupVolumeProperties: VolumeGroupVolumeProperties,
5811
6457
  VolumePatch: VolumePatch,
5812
6458
  VolumePatchPropertiesDataProtection: VolumePatchPropertiesDataProtection,
5813
6459
  VolumePatchPropertiesExportPolicy: VolumePatchPropertiesExportPolicy,
@@ -6153,6 +6799,7 @@
6153
6799
  MountTargetProperties: MountTargetProperties,
6154
6800
  NetAppAccount: NetAppAccount,
6155
6801
  NetAppAccountPatch: NetAppAccountPatch,
6802
+ PlacementKeyValuePairs: PlacementKeyValuePairs,
6156
6803
  ProxyResource: ProxyResource,
6157
6804
  ReplicationObject: ReplicationObject,
6158
6805
  Resource: Resource,
@@ -6168,6 +6815,7 @@
6168
6815
  Volume: Volume,
6169
6816
  VolumeBackupProperties: VolumeBackupProperties,
6170
6817
  VolumeBackups: VolumeBackups,
6818
+ VolumeGroupVolumeProperties: VolumeGroupVolumeProperties,
6171
6819
  VolumePatch: VolumePatch,
6172
6820
  VolumePatchPropertiesDataProtection: VolumePatchPropertiesDataProtection,
6173
6821
  VolumePatchPropertiesExportPolicy: VolumePatchPropertiesExportPolicy,
@@ -6484,6 +7132,7 @@
6484
7132
  MountTargetProperties: MountTargetProperties,
6485
7133
  NetAppAccount: NetAppAccount,
6486
7134
  NetAppAccountPatch: NetAppAccountPatch,
7135
+ PlacementKeyValuePairs: PlacementKeyValuePairs,
6487
7136
  ProxyResource: ProxyResource,
6488
7137
  ReplicationObject: ReplicationObject,
6489
7138
  Resource: Resource,
@@ -6497,6 +7146,7 @@
6497
7146
  Volume: Volume,
6498
7147
  VolumeBackupProperties: VolumeBackupProperties,
6499
7148
  VolumeBackups: VolumeBackups,
7149
+ VolumeGroupVolumeProperties: VolumeGroupVolumeProperties,
6500
7150
  VolumePatch: VolumePatch,
6501
7151
  VolumePatchPropertiesDataProtection: VolumePatchPropertiesDataProtection,
6502
7152
  VolumePatchPropertiesExportPolicy: VolumePatchPropertiesExportPolicy,
@@ -6910,6 +7560,7 @@
6910
7560
  MountTargetProperties: MountTargetProperties,
6911
7561
  NetAppAccount: NetAppAccount,
6912
7562
  NetAppAccountPatch: NetAppAccountPatch,
7563
+ PlacementKeyValuePairs: PlacementKeyValuePairs,
6913
7564
  ProxyResource: ProxyResource,
6914
7565
  ReplicationObject: ReplicationObject,
6915
7566
  Resource: Resource,
@@ -6922,6 +7573,7 @@
6922
7573
  Volume: Volume,
6923
7574
  VolumeBackupProperties: VolumeBackupProperties,
6924
7575
  VolumeBackups: VolumeBackups,
7576
+ VolumeGroupVolumeProperties: VolumeGroupVolumeProperties,
6925
7577
  VolumePatch: VolumePatch,
6926
7578
  VolumePatchPropertiesDataProtection: VolumePatchPropertiesDataProtection,
6927
7579
  VolumePatchPropertiesExportPolicy: VolumePatchPropertiesExportPolicy,
@@ -7102,6 +7754,7 @@
7102
7754
  MountTargetProperties: MountTargetProperties,
7103
7755
  NetAppAccount: NetAppAccount,
7104
7756
  NetAppAccountPatch: NetAppAccountPatch,
7757
+ PlacementKeyValuePairs: PlacementKeyValuePairs,
7105
7758
  ProxyResource: ProxyResource,
7106
7759
  ReplicationObject: ReplicationObject,
7107
7760
  Resource: Resource,
@@ -7114,6 +7767,7 @@
7114
7767
  Volume: Volume,
7115
7768
  VolumeBackupProperties: VolumeBackupProperties,
7116
7769
  VolumeBackups: VolumeBackups,
7770
+ VolumeGroupVolumeProperties: VolumeGroupVolumeProperties,
7117
7771
  VolumePatch: VolumePatch,
7118
7772
  VolumePatchPropertiesDataProtection: VolumePatchPropertiesDataProtection,
7119
7773
  VolumePatchPropertiesExportPolicy: VolumePatchPropertiesExportPolicy,
@@ -7424,6 +8078,7 @@
7424
8078
  MountTargetProperties: MountTargetProperties,
7425
8079
  NetAppAccount: NetAppAccount,
7426
8080
  NetAppAccountPatch: NetAppAccountPatch,
8081
+ PlacementKeyValuePairs: PlacementKeyValuePairs,
7427
8082
  ProxyResource: ProxyResource,
7428
8083
  ReplicationObject: ReplicationObject,
7429
8084
  Resource: Resource,
@@ -7437,6 +8092,7 @@
7437
8092
  Volume: Volume,
7438
8093
  VolumeBackupProperties: VolumeBackupProperties,
7439
8094
  VolumeBackups: VolumeBackups,
8095
+ VolumeGroupVolumeProperties: VolumeGroupVolumeProperties,
7440
8096
  VolumePatch: VolumePatch,
7441
8097
  VolumePatchPropertiesDataProtection: VolumePatchPropertiesDataProtection,
7442
8098
  VolumePatchPropertiesExportPolicy: VolumePatchPropertiesExportPolicy,
@@ -7499,6 +8155,269 @@
7499
8155
  serializer: serializer$b
7500
8156
  };
7501
8157
 
8158
+ /*
8159
+ * Copyright (c) Microsoft Corporation.
8160
+ * Licensed under the MIT License.
8161
+ *
8162
+ * Code generated by Microsoft (R) AutoRest Code Generator.
8163
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8164
+ */
8165
+
8166
+ var Mappers$c = /*#__PURE__*/Object.freeze({
8167
+ __proto__: null,
8168
+ AccountEncryption: AccountEncryption,
8169
+ ActiveDirectory: ActiveDirectory,
8170
+ AzureEntityResource: AzureEntityResource,
8171
+ Backup: Backup,
8172
+ BackupPatch: BackupPatch,
8173
+ BackupPolicy: BackupPolicy,
8174
+ BackupPolicyDetails: BackupPolicyDetails,
8175
+ BackupPolicyPatch: BackupPolicyPatch,
8176
+ BaseResource: BaseResource,
8177
+ CapacityPool: CapacityPool,
8178
+ CapacityPoolPatch: CapacityPoolPatch,
8179
+ CloudError: CloudError,
8180
+ DailySchedule: DailySchedule,
8181
+ ExportPolicyRule: ExportPolicyRule,
8182
+ HourlySchedule: HourlySchedule,
8183
+ MonthlySchedule: MonthlySchedule,
8184
+ MountTargetProperties: MountTargetProperties,
8185
+ NetAppAccount: NetAppAccount,
8186
+ NetAppAccountPatch: NetAppAccountPatch,
8187
+ PlacementKeyValuePairs: PlacementKeyValuePairs,
8188
+ ProxyResource: ProxyResource,
8189
+ ReplicationObject: ReplicationObject,
8190
+ Resource: Resource,
8191
+ Snapshot: Snapshot,
8192
+ SnapshotPolicy: SnapshotPolicy,
8193
+ SubscriptionQuotaItem: SubscriptionQuotaItem,
8194
+ SystemData: SystemData,
8195
+ TrackedResource: TrackedResource,
8196
+ Vault: Vault,
8197
+ Volume: Volume,
8198
+ VolumeBackupProperties: VolumeBackupProperties,
8199
+ VolumeBackups: VolumeBackups,
8200
+ VolumeGroup: VolumeGroup,
8201
+ VolumeGroupDetails: VolumeGroupDetails,
8202
+ VolumeGroupList: VolumeGroupList,
8203
+ VolumeGroupMetaData: VolumeGroupMetaData,
8204
+ VolumeGroupVolumeProperties: VolumeGroupVolumeProperties,
8205
+ VolumePatch: VolumePatch,
8206
+ VolumePatchPropertiesDataProtection: VolumePatchPropertiesDataProtection,
8207
+ VolumePatchPropertiesExportPolicy: VolumePatchPropertiesExportPolicy,
8208
+ VolumePropertiesDataProtection: VolumePropertiesDataProtection,
8209
+ VolumePropertiesExportPolicy: VolumePropertiesExportPolicy,
8210
+ VolumeSnapshotProperties: VolumeSnapshotProperties,
8211
+ WeeklySchedule: WeeklySchedule
8212
+ });
8213
+
8214
+ /*
8215
+ * Copyright (c) Microsoft Corporation.
8216
+ * Licensed under the MIT License.
8217
+ *
8218
+ * Code generated by Microsoft (R) AutoRest Code Generator.
8219
+ * Changes may cause incorrect behavior and will be lost if the code is
8220
+ * regenerated.
8221
+ */
8222
+ /** Class representing a VolumeGroups. */
8223
+ var VolumeGroups = /** @class */ (function () {
8224
+ /**
8225
+ * Create a VolumeGroups.
8226
+ * @param {AzureNetAppFilesManagementClientContext} client Reference to the service client.
8227
+ */
8228
+ function VolumeGroups(client) {
8229
+ this.client = client;
8230
+ }
8231
+ VolumeGroups.prototype.listByNetAppAccount = function (resourceGroupName, accountName, options, callback) {
8232
+ return this.client.sendOperationRequest({
8233
+ resourceGroupName: resourceGroupName,
8234
+ accountName: accountName,
8235
+ options: options
8236
+ }, listByNetAppAccountOperationSpec, callback);
8237
+ };
8238
+ VolumeGroups.prototype.get = function (resourceGroupName, accountName, volumeGroupName, options, callback) {
8239
+ return this.client.sendOperationRequest({
8240
+ resourceGroupName: resourceGroupName,
8241
+ accountName: accountName,
8242
+ volumeGroupName: volumeGroupName,
8243
+ options: options
8244
+ }, getOperationSpec$9, callback);
8245
+ };
8246
+ /**
8247
+ * Create a volume group along with specified volumes
8248
+ * @summary Create the specified volume group and volumes. Creating volume group will create all
8249
+ * the volumes specified in request body implicitly. Once volumes are created using volume group,
8250
+ * those will be treated as regular volumes thereafter.
8251
+ * @param body Volume Group object supplied in the body of the operation.
8252
+ * @param resourceGroupName The name of the resource group.
8253
+ * @param accountName The name of the NetApp account
8254
+ * @param volumeGroupName The name of the volumeGroup
8255
+ * @param [options] The optional parameters
8256
+ * @returns Promise<Models.VolumeGroupsCreateResponse>
8257
+ */
8258
+ VolumeGroups.prototype.create = function (body, resourceGroupName, accountName, volumeGroupName, options) {
8259
+ return this.beginCreate(body, resourceGroupName, accountName, volumeGroupName, options)
8260
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
8261
+ };
8262
+ /**
8263
+ * Delete the specified volume group only if there are no volumes under volume group.
8264
+ * @summary Delete a volume group
8265
+ * @param resourceGroupName The name of the resource group.
8266
+ * @param accountName The name of the NetApp account
8267
+ * @param volumeGroupName The name of the volumeGroup
8268
+ * @param [options] The optional parameters
8269
+ * @returns Promise<msRest.RestResponse>
8270
+ */
8271
+ VolumeGroups.prototype.deleteMethod = function (resourceGroupName, accountName, volumeGroupName, options) {
8272
+ return this.beginDeleteMethod(resourceGroupName, accountName, volumeGroupName, options)
8273
+ .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
8274
+ };
8275
+ /**
8276
+ * Create a volume group along with specified volumes
8277
+ * @summary Create the specified volume group and volumes. Creating volume group will create all
8278
+ * the volumes specified in request body implicitly. Once volumes are created using volume group,
8279
+ * those will be treated as regular volumes thereafter.
8280
+ * @param body Volume Group object supplied in the body of the operation.
8281
+ * @param resourceGroupName The name of the resource group.
8282
+ * @param accountName The name of the NetApp account
8283
+ * @param volumeGroupName The name of the volumeGroup
8284
+ * @param [options] The optional parameters
8285
+ * @returns Promise<msRestAzure.LROPoller>
8286
+ */
8287
+ VolumeGroups.prototype.beginCreate = function (body, resourceGroupName, accountName, volumeGroupName, options) {
8288
+ return this.client.sendLRORequest({
8289
+ body: body,
8290
+ resourceGroupName: resourceGroupName,
8291
+ accountName: accountName,
8292
+ volumeGroupName: volumeGroupName,
8293
+ options: options
8294
+ }, beginCreateOperationSpec$3, options);
8295
+ };
8296
+ /**
8297
+ * Delete the specified volume group only if there are no volumes under volume group.
8298
+ * @summary Delete a volume group
8299
+ * @param resourceGroupName The name of the resource group.
8300
+ * @param accountName The name of the NetApp account
8301
+ * @param volumeGroupName The name of the volumeGroup
8302
+ * @param [options] The optional parameters
8303
+ * @returns Promise<msRestAzure.LROPoller>
8304
+ */
8305
+ VolumeGroups.prototype.beginDeleteMethod = function (resourceGroupName, accountName, volumeGroupName, options) {
8306
+ return this.client.sendLRORequest({
8307
+ resourceGroupName: resourceGroupName,
8308
+ accountName: accountName,
8309
+ volumeGroupName: volumeGroupName,
8310
+ options: options
8311
+ }, beginDeleteMethodOperationSpec$8, options);
8312
+ };
8313
+ return VolumeGroups;
8314
+ }());
8315
+ // Operation Specifications
8316
+ var serializer$c = new msRest.Serializer(Mappers$c);
8317
+ var listByNetAppAccountOperationSpec = {
8318
+ httpMethod: "GET",
8319
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/volumeGroups",
8320
+ urlParameters: [
8321
+ subscriptionId,
8322
+ resourceGroupName,
8323
+ accountName
8324
+ ],
8325
+ queryParameters: [
8326
+ apiVersion
8327
+ ],
8328
+ headerParameters: [
8329
+ acceptLanguage
8330
+ ],
8331
+ responses: {
8332
+ 200: {
8333
+ bodyMapper: VolumeGroupList
8334
+ },
8335
+ default: {
8336
+ bodyMapper: CloudError
8337
+ }
8338
+ },
8339
+ serializer: serializer$c
8340
+ };
8341
+ var getOperationSpec$9 = {
8342
+ httpMethod: "GET",
8343
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/volumeGroups/{volumeGroupName}",
8344
+ urlParameters: [
8345
+ subscriptionId,
8346
+ resourceGroupName,
8347
+ accountName,
8348
+ volumeGroupName
8349
+ ],
8350
+ queryParameters: [
8351
+ apiVersion
8352
+ ],
8353
+ headerParameters: [
8354
+ acceptLanguage
8355
+ ],
8356
+ responses: {
8357
+ 200: {
8358
+ bodyMapper: VolumeGroupDetails
8359
+ },
8360
+ default: {
8361
+ bodyMapper: CloudError
8362
+ }
8363
+ },
8364
+ serializer: serializer$c
8365
+ };
8366
+ var beginCreateOperationSpec$3 = {
8367
+ httpMethod: "PUT",
8368
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/volumeGroups/{volumeGroupName}",
8369
+ urlParameters: [
8370
+ subscriptionId,
8371
+ resourceGroupName,
8372
+ accountName,
8373
+ volumeGroupName
8374
+ ],
8375
+ queryParameters: [
8376
+ apiVersion
8377
+ ],
8378
+ headerParameters: [
8379
+ acceptLanguage
8380
+ ],
8381
+ requestBody: {
8382
+ parameterPath: "body",
8383
+ mapper: __assign(__assign({}, VolumeGroupDetails), { required: true })
8384
+ },
8385
+ responses: {
8386
+ 201: {
8387
+ bodyMapper: VolumeGroupDetails
8388
+ },
8389
+ default: {
8390
+ bodyMapper: CloudError
8391
+ }
8392
+ },
8393
+ serializer: serializer$c
8394
+ };
8395
+ var beginDeleteMethodOperationSpec$8 = {
8396
+ httpMethod: "DELETE",
8397
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/volumeGroups/{volumeGroupName}",
8398
+ urlParameters: [
8399
+ subscriptionId,
8400
+ resourceGroupName,
8401
+ accountName,
8402
+ volumeGroupName
8403
+ ],
8404
+ queryParameters: [
8405
+ apiVersion
8406
+ ],
8407
+ headerParameters: [
8408
+ acceptLanguage
8409
+ ],
8410
+ responses: {
8411
+ 200: {},
8412
+ 202: {},
8413
+ 204: {},
8414
+ default: {
8415
+ bodyMapper: CloudError
8416
+ }
8417
+ },
8418
+ serializer: serializer$c
8419
+ };
8420
+
7502
8421
  /*
7503
8422
  * Copyright (c) Microsoft Corporation.
7504
8423
  * Licensed under the MIT License.
@@ -7508,7 +8427,7 @@
7508
8427
  * regenerated.
7509
8428
  */
7510
8429
  var packageName = "@azure/arm-netapp";
7511
- var packageVersion = "14.3.0";
8430
+ var packageVersion = "14.4.0";
7512
8431
  var AzureNetAppFilesManagementClientContext = /** @class */ (function (_super) {
7513
8432
  __extends(AzureNetAppFilesManagementClientContext, _super);
7514
8433
  /**
@@ -7539,7 +8458,7 @@
7539
8458
  options.userAgent = packageName + "/" + packageVersion + " " + defaultUserAgent;
7540
8459
  }
7541
8460
  _this = _super.call(this, credentials, options) || this;
7542
- _this.apiVersion = '2021-06-01';
8461
+ _this.apiVersion = '2021-08-01';
7543
8462
  _this.acceptLanguage = 'en-US';
7544
8463
  _this.longRunningOperationRetryTimeout = 30;
7545
8464
  _this.baseUri = options.baseUri || _this.baseUri || "https://management.azure.com";
@@ -7593,6 +8512,7 @@
7593
8512
  _this.accountBackups = new AccountBackups(_this);
7594
8513
  _this.backupPolicies = new BackupPolicies(_this);
7595
8514
  _this.vaults = new Vaults(_this);
8515
+ _this.volumeGroups = new VolumeGroups(_this);
7596
8516
  return _this;
7597
8517
  }
7598
8518
  return AzureNetAppFilesManagementClient;
@@ -7613,6 +8533,7 @@
7613
8533
  exports.SnapshotPolicies = SnapshotPolicies;
7614
8534
  exports.Snapshots = Snapshots;
7615
8535
  exports.Vaults = Vaults;
8536
+ exports.VolumeGroups = VolumeGroups;
7616
8537
  exports.Volumes = Volumes;
7617
8538
 
7618
8539
  Object.defineProperty(exports, '__esModule', { value: true });