@azure/arm-storagemover 2.0.1-alpha.20240429.1 → 2.1.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 (107) hide show
  1. package/CHANGELOG.md +25 -13
  2. package/LICENSE +1 -1
  3. package/dist/index.js +850 -687
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/agentsCreateOrUpdateSample.js +94 -4
  8. package/dist-esm/samples-dev/agentsCreateOrUpdateSample.js.map +1 -1
  9. package/dist-esm/samples-dev/agentsDeleteSample.js +1 -1
  10. package/dist-esm/samples-dev/agentsGetSample.js +23 -3
  11. package/dist-esm/samples-dev/agentsGetSample.js.map +1 -1
  12. package/dist-esm/samples-dev/agentsListSample.js +38 -3
  13. package/dist-esm/samples-dev/agentsListSample.js.map +1 -1
  14. package/dist-esm/samples-dev/agentsUpdateSample.js +13 -3
  15. package/dist-esm/samples-dev/agentsUpdateSample.js.map +1 -1
  16. package/dist-esm/samples-dev/endpointsCreateOrUpdateSample.js +13 -13
  17. package/dist-esm/samples-dev/endpointsDeleteSample.js +1 -1
  18. package/dist-esm/samples-dev/endpointsGetSample.js +4 -4
  19. package/dist-esm/samples-dev/endpointsListSample.js +1 -1
  20. package/dist-esm/samples-dev/endpointsUpdateSample.js +14 -14
  21. package/dist-esm/samples-dev/endpointsUpdateSample.js.map +1 -1
  22. package/dist-esm/samples-dev/jobDefinitionsCreateOrUpdateSample.js +2 -2
  23. package/dist-esm/samples-dev/jobDefinitionsDeleteSample.js +1 -1
  24. package/dist-esm/samples-dev/jobDefinitionsGetSample.js +1 -1
  25. package/dist-esm/samples-dev/jobDefinitionsListSample.js +1 -1
  26. package/dist-esm/samples-dev/jobDefinitionsStartJobSample.js +3 -3
  27. package/dist-esm/samples-dev/jobDefinitionsStopJobSample.js +1 -1
  28. package/dist-esm/samples-dev/jobDefinitionsUpdateSample.js +3 -3
  29. package/dist-esm/samples-dev/jobDefinitionsUpdateSample.js.map +1 -1
  30. package/dist-esm/samples-dev/jobRunsGetSample.js +1 -1
  31. package/dist-esm/samples-dev/jobRunsListSample.js +1 -1
  32. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  33. package/dist-esm/samples-dev/projectsCreateOrUpdateSample.js +1 -1
  34. package/dist-esm/samples-dev/projectsDeleteSample.js +1 -1
  35. package/dist-esm/samples-dev/projectsGetSample.js +1 -1
  36. package/dist-esm/samples-dev/projectsListSample.js +1 -1
  37. package/dist-esm/samples-dev/projectsUpdateSample.js +3 -3
  38. package/dist-esm/samples-dev/projectsUpdateSample.js.map +1 -1
  39. package/dist-esm/samples-dev/storageMoversCreateOrUpdateSample.js +2 -2
  40. package/dist-esm/samples-dev/storageMoversDeleteSample.js +1 -1
  41. package/dist-esm/samples-dev/storageMoversGetSample.js +1 -1
  42. package/dist-esm/samples-dev/storageMoversListBySubscriptionSample.js +1 -1
  43. package/dist-esm/samples-dev/storageMoversListSample.js +1 -1
  44. package/dist-esm/samples-dev/storageMoversUpdateSample.js +3 -3
  45. package/dist-esm/samples-dev/storageMoversUpdateSample.js.map +1 -1
  46. package/dist-esm/src/lroImpl.js +1 -1
  47. package/dist-esm/src/models/index.d.ts +75 -4
  48. package/dist-esm/src/models/index.d.ts.map +1 -1
  49. package/dist-esm/src/models/index.js +16 -0
  50. package/dist-esm/src/models/index.js.map +1 -1
  51. package/dist-esm/src/models/mappers.d.ts +6 -0
  52. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  53. package/dist-esm/src/models/mappers.js +541 -401
  54. package/dist-esm/src/models/mappers.js.map +1 -1
  55. package/dist-esm/src/models/parameters.js +53 -53
  56. package/dist-esm/src/models/parameters.js.map +1 -1
  57. package/dist-esm/src/operations/agents.d.ts.map +1 -1
  58. package/dist-esm/src/operations/agents.js +35 -35
  59. package/dist-esm/src/operations/agents.js.map +1 -1
  60. package/dist-esm/src/operations/endpoints.d.ts.map +1 -1
  61. package/dist-esm/src/operations/endpoints.js +35 -35
  62. package/dist-esm/src/operations/endpoints.js.map +1 -1
  63. package/dist-esm/src/operations/jobDefinitions.d.ts +2 -1
  64. package/dist-esm/src/operations/jobDefinitions.d.ts.map +1 -1
  65. package/dist-esm/src/operations/jobDefinitions.js +53 -52
  66. package/dist-esm/src/operations/jobDefinitions.js.map +1 -1
  67. package/dist-esm/src/operations/jobRuns.js +19 -19
  68. package/dist-esm/src/operations/jobRuns.js.map +1 -1
  69. package/dist-esm/src/operations/operations.js +9 -9
  70. package/dist-esm/src/operations/projects.d.ts.map +1 -1
  71. package/dist-esm/src/operations/projects.js +35 -35
  72. package/dist-esm/src/operations/projects.js.map +1 -1
  73. package/dist-esm/src/operations/storageMovers.d.ts.map +1 -1
  74. package/dist-esm/src/operations/storageMovers.js +45 -45
  75. package/dist-esm/src/operations/storageMovers.js.map +1 -1
  76. package/dist-esm/src/operationsInterfaces/jobDefinitions.d.ts +2 -1
  77. package/dist-esm/src/operationsInterfaces/jobDefinitions.d.ts.map +1 -1
  78. package/dist-esm/src/storageMoverClient.d.ts.map +1 -1
  79. package/dist-esm/src/storageMoverClient.js +9 -9
  80. package/dist-esm/src/storageMoverClient.js.map +1 -1
  81. package/dist-esm/test/storagemover_operations_test.spec.d.ts.map +1 -1
  82. package/dist-esm/test/storagemover_operations_test.spec.js +6 -2
  83. package/dist-esm/test/storagemover_operations_test.spec.js.map +1 -1
  84. package/package.json +9 -9
  85. package/review/arm-storagemover.api.md +50 -0
  86. package/src/lroImpl.ts +3 -3
  87. package/src/models/index.ts +100 -13
  88. package/src/models/mappers.ts +636 -474
  89. package/src/models/parameters.ts +54 -54
  90. package/src/operations/agents.ts +68 -74
  91. package/src/operations/endpoints.ts +68 -74
  92. package/src/operations/jobDefinitions.ts +93 -100
  93. package/src/operations/jobRuns.ts +36 -38
  94. package/src/operations/operations.ts +16 -16
  95. package/src/operations/projects.ts +68 -74
  96. package/src/operations/storageMovers.ts +83 -90
  97. package/src/operationsInterfaces/agents.ts +7 -7
  98. package/src/operationsInterfaces/endpoints.ts +7 -7
  99. package/src/operationsInterfaces/jobDefinitions.ts +11 -10
  100. package/src/operationsInterfaces/jobRuns.ts +3 -3
  101. package/src/operationsInterfaces/operations.ts +1 -1
  102. package/src/operationsInterfaces/projects.ts +7 -7
  103. package/src/operationsInterfaces/storageMovers.ts +8 -8
  104. package/src/pagingHelper.ts +1 -1
  105. package/src/storageMoverClient.ts +18 -17
  106. package/types/arm-storagemover.d.ts +86 -5
  107. package/types/tsdoc-metadata.json +1 -1
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Creates or updates an Endpoint resource, which represents a data transfer source or destination.
17
17
  *
18
18
  * @summary Creates or updates an Endpoint resource, which represents a data transfer source or destination.
19
- * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2023-10-01/examples/Endpoints_CreateOrUpdate_AzureStorageBlobContainer.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_CreateOrUpdate_AzureStorageBlobContainer.json
20
20
  */
21
21
  function endpointsCreateOrUpdateAzureStorageBlobContainer() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -30,8 +30,8 @@ function endpointsCreateOrUpdateAzureStorageBlobContainer() {
30
30
  description: "Example Storage Blob Container Endpoint Description",
31
31
  blobContainerName: "examples-blobcontainer",
32
32
  endpointType: "AzureStorageBlobContainer",
33
- storageAccountResourceId: "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.Storage/storageAccounts/examplesa"
34
- }
33
+ storageAccountResourceId: "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.Storage/storageAccounts/examplesa",
34
+ },
35
35
  };
36
36
  const credential = new DefaultAzureCredential();
37
37
  const client = new StorageMoverClient(credential, subscriptionId);
@@ -43,7 +43,7 @@ function endpointsCreateOrUpdateAzureStorageBlobContainer() {
43
43
  * This sample demonstrates how to Creates or updates an Endpoint resource, which represents a data transfer source or destination.
44
44
  *
45
45
  * @summary Creates or updates an Endpoint resource, which represents a data transfer source or destination.
46
- * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2023-10-01/examples/Endpoints_CreateOrUpdate_AzureStorageSmbFileShare.json
46
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_CreateOrUpdate_AzureStorageSmbFileShare.json
47
47
  */
48
48
  function endpointsCreateOrUpdateAzureStorageSmbFileShare() {
49
49
  return __awaiter(this, void 0, void 0, function* () {
@@ -57,8 +57,8 @@ function endpointsCreateOrUpdateAzureStorageSmbFileShare() {
57
57
  description: "Example Storage File Share Endpoint Description",
58
58
  endpointType: "AzureStorageSmbFileShare",
59
59
  fileShareName: "examples-fileshare",
60
- storageAccountResourceId: "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.Storage/storageAccounts/examplesa"
61
- }
60
+ storageAccountResourceId: "/subscriptions/60bcfc77-6589-4da2-b7fd-f9ec9322cf95/resourceGroups/examples-rg/providers/Microsoft.Storage/storageAccounts/examplesa",
61
+ },
62
62
  };
63
63
  const credential = new DefaultAzureCredential();
64
64
  const client = new StorageMoverClient(credential, subscriptionId);
@@ -70,7 +70,7 @@ function endpointsCreateOrUpdateAzureStorageSmbFileShare() {
70
70
  * This sample demonstrates how to Creates or updates an Endpoint resource, which represents a data transfer source or destination.
71
71
  *
72
72
  * @summary Creates or updates an Endpoint resource, which represents a data transfer source or destination.
73
- * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2023-10-01/examples/Endpoints_CreateOrUpdate_NfsMount.json
73
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_CreateOrUpdate_NfsMount.json
74
74
  */
75
75
  function endpointsCreateOrUpdateNfsMount() {
76
76
  return __awaiter(this, void 0, void 0, function* () {
@@ -84,8 +84,8 @@ function endpointsCreateOrUpdateNfsMount() {
84
84
  description: "Example NFS Mount Endpoint Description",
85
85
  endpointType: "NfsMount",
86
86
  export: "examples-exportName",
87
- host: "0.0.0.0"
88
- }
87
+ host: "0.0.0.0",
88
+ },
89
89
  };
90
90
  const credential = new DefaultAzureCredential();
91
91
  const client = new StorageMoverClient(credential, subscriptionId);
@@ -97,7 +97,7 @@ function endpointsCreateOrUpdateNfsMount() {
97
97
  * This sample demonstrates how to Creates or updates an Endpoint resource, which represents a data transfer source or destination.
98
98
  *
99
99
  * @summary Creates or updates an Endpoint resource, which represents a data transfer source or destination.
100
- * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2023-10-01/examples/Endpoints_CreateOrUpdate_SmbMount.json
100
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_CreateOrUpdate_SmbMount.json
101
101
  */
102
102
  function endpointsCreateOrUpdateSmbMount() {
103
103
  return __awaiter(this, void 0, void 0, function* () {
@@ -112,12 +112,12 @@ function endpointsCreateOrUpdateSmbMount() {
112
112
  credentials: {
113
113
  type: "AzureKeyVaultSmb",
114
114
  passwordUri: "https://examples-azureKeyVault.vault.azure.net/secrets/examples-password",
115
- usernameUri: "https://examples-azureKeyVault.vault.azure.net/secrets/examples-username"
115
+ usernameUri: "https://examples-azureKeyVault.vault.azure.net/secrets/examples-username",
116
116
  },
117
117
  endpointType: "SmbMount",
118
118
  host: "0.0.0.0",
119
- shareName: "examples-shareName"
120
- }
119
+ shareName: "examples-shareName",
120
+ },
121
121
  };
122
122
  const credential = new DefaultAzureCredential();
123
123
  const client = new StorageMoverClient(credential, subscriptionId);
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Deletes an Endpoint resource.
17
17
  *
18
18
  * @summary Deletes an Endpoint resource.
19
- * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2023-10-01/examples/Endpoints_Delete.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_Delete.json
20
20
  */
21
21
  function endpointsDelete() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Gets an Endpoint resource.
17
17
  *
18
18
  * @summary Gets an Endpoint resource.
19
- * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2023-10-01/examples/Endpoints_Get_AzureStorageBlobContainer.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_Get_AzureStorageBlobContainer.json
20
20
  */
21
21
  function endpointsGetAzureStorageBlobContainer() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -35,7 +35,7 @@ function endpointsGetAzureStorageBlobContainer() {
35
35
  * This sample demonstrates how to Gets an Endpoint resource.
36
36
  *
37
37
  * @summary Gets an Endpoint resource.
38
- * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2023-10-01/examples/Endpoints_Get_AzureStorageSmbFileShare.json
38
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_Get_AzureStorageSmbFileShare.json
39
39
  */
40
40
  function endpointsGetAzureStorageSmbFileShare() {
41
41
  return __awaiter(this, void 0, void 0, function* () {
@@ -54,7 +54,7 @@ function endpointsGetAzureStorageSmbFileShare() {
54
54
  * This sample demonstrates how to Gets an Endpoint resource.
55
55
  *
56
56
  * @summary Gets an Endpoint resource.
57
- * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2023-10-01/examples/Endpoints_Get_NfsMount.json
57
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_Get_NfsMount.json
58
58
  */
59
59
  function endpointsGetNfsMount() {
60
60
  return __awaiter(this, void 0, void 0, function* () {
@@ -73,7 +73,7 @@ function endpointsGetNfsMount() {
73
73
  * This sample demonstrates how to Gets an Endpoint resource.
74
74
  *
75
75
  * @summary Gets an Endpoint resource.
76
- * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2023-10-01/examples/Endpoints_Get_SmbMount.json
76
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_Get_SmbMount.json
77
77
  */
78
78
  function endpointsGetSmbMount() {
79
79
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Lists all Endpoints in a Storage Mover.
17
17
  *
18
18
  * @summary Lists all Endpoints in a Storage Mover.
19
- * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2023-10-01/examples/Endpoints_List.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_List.json
20
20
  */
21
21
  function endpointsList() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -8,7 +8,7 @@
8
8
  import { __awaiter } from "tslib";
9
9
  // Copyright (c) Microsoft Corporation.
10
10
  // Licensed under the MIT License.
11
- import { StorageMoverClient } from "@azure/arm-storagemover";
11
+ import { StorageMoverClient, } from "@azure/arm-storagemover";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
13
  import * as dotenv from "dotenv";
14
14
  dotenv.config();
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Updates properties for an Endpoint resource. Properties not specified in the request body will be unchanged.
17
17
  *
18
18
  * @summary Updates properties for an Endpoint resource. Properties not specified in the request body will be unchanged.
19
- * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2023-10-01/examples/Endpoints_Update_AzureStorageBlobContainer.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_Update_AzureStorageBlobContainer.json
20
20
  */
21
21
  function endpointsUpdateAzureStorageBlobContainer() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -28,8 +28,8 @@ function endpointsUpdateAzureStorageBlobContainer() {
28
28
  const endpoint = {
29
29
  properties: {
30
30
  description: "Updated Endpoint Description",
31
- endpointType: "AzureStorageBlobContainer"
32
- }
31
+ endpointType: "AzureStorageBlobContainer",
32
+ },
33
33
  };
34
34
  const credential = new DefaultAzureCredential();
35
35
  const client = new StorageMoverClient(credential, subscriptionId);
@@ -41,7 +41,7 @@ function endpointsUpdateAzureStorageBlobContainer() {
41
41
  * This sample demonstrates how to Updates properties for an Endpoint resource. Properties not specified in the request body will be unchanged.
42
42
  *
43
43
  * @summary Updates properties for an Endpoint resource. Properties not specified in the request body will be unchanged.
44
- * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2023-10-01/examples/Endpoints_Update_AzureStorageSmbFileShare.json
44
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_Update_AzureStorageSmbFileShare.json
45
45
  */
46
46
  function endpointsUpdateAzureStorageSmbFileShare() {
47
47
  return __awaiter(this, void 0, void 0, function* () {
@@ -53,8 +53,8 @@ function endpointsUpdateAzureStorageSmbFileShare() {
53
53
  const endpoint = {
54
54
  properties: {
55
55
  description: "Updated Endpoint Description",
56
- endpointType: "AzureStorageSmbFileShare"
57
- }
56
+ endpointType: "AzureStorageSmbFileShare",
57
+ },
58
58
  };
59
59
  const credential = new DefaultAzureCredential();
60
60
  const client = new StorageMoverClient(credential, subscriptionId);
@@ -66,7 +66,7 @@ function endpointsUpdateAzureStorageSmbFileShare() {
66
66
  * This sample demonstrates how to Updates properties for an Endpoint resource. Properties not specified in the request body will be unchanged.
67
67
  *
68
68
  * @summary Updates properties for an Endpoint resource. Properties not specified in the request body will be unchanged.
69
- * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2023-10-01/examples/Endpoints_Update_NfsMount.json
69
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_Update_NfsMount.json
70
70
  */
71
71
  function endpointsUpdateNfsMount() {
72
72
  return __awaiter(this, void 0, void 0, function* () {
@@ -78,8 +78,8 @@ function endpointsUpdateNfsMount() {
78
78
  const endpoint = {
79
79
  properties: {
80
80
  description: "Updated Endpoint Description",
81
- endpointType: "NfsMount"
82
- }
81
+ endpointType: "NfsMount",
82
+ },
83
83
  };
84
84
  const credential = new DefaultAzureCredential();
85
85
  const client = new StorageMoverClient(credential, subscriptionId);
@@ -91,7 +91,7 @@ function endpointsUpdateNfsMount() {
91
91
  * This sample demonstrates how to Updates properties for an Endpoint resource. Properties not specified in the request body will be unchanged.
92
92
  *
93
93
  * @summary Updates properties for an Endpoint resource. Properties not specified in the request body will be unchanged.
94
- * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2023-10-01/examples/Endpoints_Update_SmbMount.json
94
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Endpoints_Update_SmbMount.json
95
95
  */
96
96
  function endpointsUpdateSmbMount() {
97
97
  return __awaiter(this, void 0, void 0, function* () {
@@ -106,10 +106,10 @@ function endpointsUpdateSmbMount() {
106
106
  credentials: {
107
107
  type: "AzureKeyVaultSmb",
108
108
  passwordUri: "https://examples-azureKeyVault.vault.azure.net/secrets/examples-updated-password",
109
- usernameUri: "https://examples-azureKeyVault.vault.azure.net/secrets/examples-updated-username"
109
+ usernameUri: "https://examples-azureKeyVault.vault.azure.net/secrets/examples-updated-username",
110
110
  },
111
- endpointType: "SmbMount"
112
- }
111
+ endpointType: "SmbMount",
112
+ },
113
113
  };
114
114
  const credential = new DefaultAzureCredential();
115
115
  const client = new StorageMoverClient(credential, subscriptionId);
@@ -1 +1 @@
1
- {"version":3,"file":"endpointsUpdateSample.js","s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AC;QAC9D,MAAM,gBAAgB,GAAG,2BAA2B,CAAC;QACrD,MAAM,YAAY,GAAG,uBAAuB,CAAC;QAC7C,MAAM,QAAQ,GAAiC;YAC7C,UAAU,EAAE;gBACV,WAAW,EAAE,8BAA8B;gBAC3C,WAAW,EAAE;oBACX,IAAI,EAAE,kBAAkB;oBACxB,WAAW,EACT,kFAAkF;oBACpF,WAAW,EACT,kFAAkF;iBACrF;gBACD,YAAY,EAAE,UAAU;aACzB;SACF,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,kBAAkB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAClE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,SAAS,CAAC,MAAM,CAC1C,iBAAiB,EACjB,gBAAgB,EAChB,YAAY,EACZ,QAAQ,CACT,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,wCAAwC,EAAE,CAAC;QAC3C,uCAAuC,EAAE,CAAC;QAC1C,uBAAuB,EAAE,CAAC;QAC1B,uBAAuB,EAAE,CAAC;IAC5B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Creates or updates a Job Definition resource, which contains configuration for a single unit of managed data transfer.
17
17
  *
18
18
  * @summary Creates or updates a Job Definition resource, which contains configuration for a single unit of managed data transfer.
19
- * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2023-10-01/examples/JobDefinitions_CreateOrUpdate.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/JobDefinitions_CreateOrUpdate.json
20
20
  */
21
21
  function jobDefinitionsCreateOrUpdate() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -33,7 +33,7 @@ function jobDefinitionsCreateOrUpdate() {
33
33
  sourceName: "examples-sourceEndpointName",
34
34
  sourceSubpath: "/",
35
35
  targetName: "examples-targetEndpointName",
36
- targetSubpath: "/"
36
+ targetSubpath: "/",
37
37
  };
38
38
  const credential = new DefaultAzureCredential();
39
39
  const client = new StorageMoverClient(credential, subscriptionId);
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Deletes a Job Definition resource.
17
17
  *
18
18
  * @summary Deletes a Job Definition resource.
19
- * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2023-10-01/examples/JobDefinitions_Delete.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/JobDefinitions_Delete.json
20
20
  */
21
21
  function projectsDelete() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Gets a Job Definition resource.
17
17
  *
18
18
  * @summary Gets a Job Definition resource.
19
- * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2023-10-01/examples/JobDefinitions_Get.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/JobDefinitions_Get.json
20
20
  */
21
21
  function jobDefinitionsGet() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Lists all Job Definitions in a Project.
17
17
  *
18
18
  * @summary Lists all Job Definitions in a Project.
19
- * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2023-10-01/examples/JobDefinitions_List.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/JobDefinitions_List.json
20
20
  */
21
21
  function jobDefinitionsList() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -13,10 +13,10 @@ import { DefaultAzureCredential } from "@azure/identity";
13
13
  import * as dotenv from "dotenv";
14
14
  dotenv.config();
15
15
  /**
16
- * This sample demonstrates how to Requests an Agent to start a new instance of this Job Definition, generating a new Job Run resource.
16
+ * This sample demonstrates how to Creates a new Job Run resource for the specified Job Definition and passes it to the Agent for execution.
17
17
  *
18
- * @summary Requests an Agent to start a new instance of this Job Definition, generating a new Job Run resource.
19
- * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2023-10-01/examples/JobDefinitions_StartJob.json
18
+ * @summary Creates a new Job Run resource for the specified Job Definition and passes it to the Agent for execution.
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/JobDefinitions_StartJob.json
20
20
  */
21
21
  function jobDefinitionsStartJob() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Requests the Agent of any active instance of this Job Definition to stop.
17
17
  *
18
18
  * @summary Requests the Agent of any active instance of this Job Definition to stop.
19
- * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2023-10-01/examples/JobDefinitions_StopJob.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/JobDefinitions_StopJob.json
20
20
  */
21
21
  function jobDefinitionsStopJob() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -8,7 +8,7 @@
8
8
  import { __awaiter } from "tslib";
9
9
  // Copyright (c) Microsoft Corporation.
10
10
  // Licensed under the MIT License.
11
- import { StorageMoverClient } from "@azure/arm-storagemover";
11
+ import { StorageMoverClient, } from "@azure/arm-storagemover";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
13
  import * as dotenv from "dotenv";
14
14
  dotenv.config();
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Updates properties for a Job Definition resource. Properties not specified in the request body will be unchanged.
17
17
  *
18
18
  * @summary Updates properties for a Job Definition resource. Properties not specified in the request body will be unchanged.
19
- * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2023-10-01/examples/JobDefinitions_Update.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/JobDefinitions_Update.json
20
20
  */
21
21
  function jobDefinitionsUpdate() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -28,7 +28,7 @@ function jobDefinitionsUpdate() {
28
28
  const jobDefinitionName = "examples-jobDefinitionName";
29
29
  const jobDefinition = {
30
30
  description: "Updated Job Definition Description",
31
- agentName: "updatedAgentName"
31
+ agentName: "updatedAgentName",
32
32
  };
33
33
  const credential = new DefaultAzureCredential();
34
34
  const client = new StorageMoverClient(credential, subscriptionId);
@@ -1 +1 @@
1
- {"version":3,"file":"jobDefinitionsUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/jobDefinitionsUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,kBAAkB,EACnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,oBAAoB;;QACjC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,8BAA8B,CAAC;YAC3C,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC,IAAI,aAAa,CAAC;QAC9D,MAAM,gBAAgB,GAAG,2BAA2B,CAAC;QACrD,MAAM,WAAW,GAAG,sBAAsB,CAAC;QAC3C,MAAM,iBAAiB,GAAG,4BAA4B,CAAC;QACvD,MAAM,aAAa,GAAkC;YACnD,WAAW,EAAE,oCAAoC;YACjD,SAAS,EAAE,kBAAkB;SAC9B,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,kBAAkB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAClE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,cAAc,CAAC,MAAM,CAC/C,iBAAiB,EACjB,gBAAgB,EAChB,WAAW,EACX,iBAAiB,EACjB,aAAa,CACd,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,oBAAoB,EAAE,CAAC;IACzB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"jobDefinitionsUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/jobDefinitionsUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,kBAAkB,GACnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,oBAAoB;;QACjC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,8BAA8B,CAAC;YAC3C,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC,IAAI,aAAa,CAAC;QAC9D,MAAM,gBAAgB,GAAG,2BAA2B,CAAC;QACrD,MAAM,WAAW,GAAG,sBAAsB,CAAC;QAC3C,MAAM,iBAAiB,GAAG,4BAA4B,CAAC;QACvD,MAAM,aAAa,GAAkC;YACnD,WAAW,EAAE,oCAAoC;YACjD,SAAS,EAAE,kBAAkB;SAC9B,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,kBAAkB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAClE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,cAAc,CAAC,MAAM,CAC/C,iBAAiB,EACjB,gBAAgB,EAChB,WAAW,EACX,iBAAiB,EACjB,aAAa,CACd,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,oBAAoB,EAAE,CAAC;IACzB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Gets a Job Run resource.
17
17
  *
18
18
  * @summary Gets a Job Run resource.
19
- * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2023-10-01/examples/JobRuns_Get.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/JobRuns_Get.json
20
20
  */
21
21
  function jobRunsGet() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Lists all Job Runs in a Job Definition.
17
17
  *
18
18
  * @summary Lists all Job Runs in a Job Definition.
19
- * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2023-10-01/examples/JobRuns_List.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/JobRuns_List.json
20
20
  */
21
21
  function jobRunsList() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Lists all the supported operations for the Azure Storage Mover REST API.
17
17
  *
18
18
  * @summary Lists all the supported operations for the Azure Storage Mover REST API.
19
- * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2023-10-01/examples/Operations_List.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Operations_List.json
20
20
  */
21
21
  function operationsList() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Creates or updates a Project resource, which is a logical grouping of related jobs.
17
17
  *
18
18
  * @summary Creates or updates a Project resource, which is a logical grouping of related jobs.
19
- * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2023-10-01/examples/Projects_CreateOrUpdate.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Projects_CreateOrUpdate.json
20
20
  */
21
21
  function projectsCreateOrUpdate() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Deletes a Project resource.
17
17
  *
18
18
  * @summary Deletes a Project resource.
19
- * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2023-10-01/examples/Projects_Delete.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Projects_Delete.json
20
20
  */
21
21
  function projectsDelete() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Gets a Project resource.
17
17
  *
18
18
  * @summary Gets a Project resource.
19
- * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2023-10-01/examples/Projects_Get.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Projects_Get.json
20
20
  */
21
21
  function projectsGet() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Lists all Projects in a Storage Mover.
17
17
  *
18
18
  * @summary Lists all Projects in a Storage Mover.
19
- * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2023-10-01/examples/Projects_List.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Projects_List.json
20
20
  */
21
21
  function projectsList() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -8,7 +8,7 @@
8
8
  import { __awaiter } from "tslib";
9
9
  // Copyright (c) Microsoft Corporation.
10
10
  // Licensed under the MIT License.
11
- import { StorageMoverClient } from "@azure/arm-storagemover";
11
+ import { StorageMoverClient, } from "@azure/arm-storagemover";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
13
  import * as dotenv from "dotenv";
14
14
  dotenv.config();
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Updates properties for a Project resource. Properties not specified in the request body will be unchanged.
17
17
  *
18
18
  * @summary Updates properties for a Project resource. Properties not specified in the request body will be unchanged.
19
- * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2023-10-01/examples/Projects_Update.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/Projects_Update.json
20
20
  */
21
21
  function projectsUpdate() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -26,7 +26,7 @@ function projectsUpdate() {
26
26
  const storageMoverName = "examples-storageMoverName";
27
27
  const projectName = "examples-projectName";
28
28
  const project = {
29
- description: "Example Project Description"
29
+ description: "Example Project Description",
30
30
  };
31
31
  const credential = new DefaultAzureCredential();
32
32
  const client = new StorageMoverClient(credential, subscriptionId);
@@ -1 +1 @@
1
- {"version":3,"file":"projectsUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/projectsUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,kBAAkB,EACnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,sBAAsB,EAAE,MAAM,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AAe,cAAc;;QAC3B,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,8BAA8B,CAAC;YAC3C,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC,IAAI,aAAa,CAAC;QAC9D,MAAM,gBAAgB,GAAG,2BAA2B,CAAC;QACrD,MAAM,WAAW,GAAG,sBAAsB,CAAC;QAC3C,MAAM,OAAO,GAA4B;YACvC,WAAW,EAAE,6BAA6B;SAC3C,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,kBAAkB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAClE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,QAAQ,CAAC,MAAM,CACzC,iBAAiB,EACjB,gBAAgB,EAChB,WAAW,EACX,OAAO,CACR,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,cAAc,EAAE,CAAC;IACnB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Creates or updates a top-level Storage Mover resource.
17
17
  *
18
18
  * @summary Creates or updates a top-level Storage Mover resource.
19
- * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2023-10-01/examples/StorageMovers_CreateOrUpdate.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/StorageMovers_CreateOrUpdate.json
20
20
  */
21
21
  function storageMoversCreateOrUpdate() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -27,7 +27,7 @@ function storageMoversCreateOrUpdate() {
27
27
  const storageMover = {
28
28
  description: "Example Storage Mover Description",
29
29
  location: "eastus2",
30
- tags: { key1: "value1", key2: "value2" }
30
+ tags: { key1: "value1", key2: "value2" },
31
31
  };
32
32
  const credential = new DefaultAzureCredential();
33
33
  const client = new StorageMoverClient(credential, subscriptionId);
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Deletes a Storage Mover resource.
17
17
  *
18
18
  * @summary Deletes a Storage Mover resource.
19
- * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2023-10-01/examples/StorageMovers_Delete.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/StorageMovers_Delete.json
20
20
  */
21
21
  function storageMoversDelete() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Gets a Storage Mover resource.
17
17
  *
18
18
  * @summary Gets a Storage Mover resource.
19
- * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2023-10-01/examples/StorageMovers_Get.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/StorageMovers_Get.json
20
20
  */
21
21
  function storageMoversGet() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Lists all Storage Movers in a subscription.
17
17
  *
18
18
  * @summary Lists all Storage Movers in a subscription.
19
- * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2023-10-01/examples/StorageMovers_ListBySubscription.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/StorageMovers_ListBySubscription.json
20
20
  */
21
21
  function storageMoversList() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Lists all Storage Movers in a resource group.
17
17
  *
18
18
  * @summary Lists all Storage Movers in a resource group.
19
- * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2023-10-01/examples/StorageMovers_List.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/StorageMovers_List.json
20
20
  */
21
21
  function storageMoversList() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -8,7 +8,7 @@
8
8
  import { __awaiter } from "tslib";
9
9
  // Copyright (c) Microsoft Corporation.
10
10
  // Licensed under the MIT License.
11
- import { StorageMoverClient } from "@azure/arm-storagemover";
11
+ import { StorageMoverClient, } from "@azure/arm-storagemover";
12
12
  import { DefaultAzureCredential } from "@azure/identity";
13
13
  import * as dotenv from "dotenv";
14
14
  dotenv.config();
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Updates properties for a Storage Mover resource. Properties not specified in the request body will be unchanged.
17
17
  *
18
18
  * @summary Updates properties for a Storage Mover resource. Properties not specified in the request body will be unchanged.
19
- * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2023-10-01/examples/StorageMovers_Update.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/examples/StorageMovers_Update.json
20
20
  */
21
21
  function storageMoversUpdate() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -25,7 +25,7 @@ function storageMoversUpdate() {
25
25
  const resourceGroupName = process.env["STORAGEMOVER_RESOURCE_GROUP"] || "examples-rg";
26
26
  const storageMoverName = "examples-storageMoverName";
27
27
  const storageMover = {
28
- description: "Updated Storage Mover Description"
28
+ description: "Updated Storage Mover Description",
29
29
  };
30
30
  const credential = new DefaultAzureCredential();
31
31
  const client = new StorageMoverClient(credential, subscriptionId);
@@ -1 +1 @@
1
- {"version":3,"file":"storageMoversUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/storageMoversUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,kBAAkB,EACnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,mBAAmB;;QAChC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,8BAA8B,CAAC;YAC3C,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC,IAAI,aAAa,CAAC;QAC9D,MAAM,gBAAgB,GAAG,2BAA2B,CAAC;QACrD,MAAM,YAAY,GAAiC;YACjD,WAAW,EAAE,mCAAmC;SACjD,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,kBAAkB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAClE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,aAAa,CAAC,MAAM,CAC9C,iBAAiB,EACjB,gBAAgB,EAChB,YAAY,CACb,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,mBAAmB,EAAE,CAAC;IACxB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"storageMoversUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/storageMoversUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,kBAAkB,GACnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,mBAAmB;;QAChC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,8BAA8B,CAAC;YAC3C,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC,IAAI,aAAa,CAAC;QAC9D,MAAM,gBAAgB,GAAG,2BAA2B,CAAC;QACrD,MAAM,YAAY,GAAiC;YACjD,WAAW,EAAE,mCAAmC;SACjD,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,kBAAkB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAClE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,aAAa,CAAC,MAAM,CAC9C,iBAAiB,EACjB,gBAAgB,EAChB,YAAY,CACb,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,mBAAmB,EAAE,CAAC;IACxB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -15,7 +15,7 @@ export function createLroSpec(inputs) {
15
15
  sendPollRequest: (path, options) => {
16
16
  const { requestBody } = spec, restSpec = __rest(spec, ["requestBody"]);
17
17
  return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
18
- }
18
+ },
19
19
  };
20
20
  }
21
21
  //# sourceMappingURL=lroImpl.js.map