@azure/arm-storagemover 1.0.1-alpha.20230718.1 → 2.0.0-beta.1

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 (62) hide show
  1. package/CHANGELOG.md +32 -9
  2. package/README.md +1 -1
  3. package/dist/index.js +204 -74
  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 +3 -3
  8. package/dist-esm/samples-dev/agentsDeleteSample.js +2 -2
  9. package/dist-esm/samples-dev/agentsGetSample.js +2 -2
  10. package/dist-esm/samples-dev/agentsListSample.js +2 -2
  11. package/dist-esm/samples-dev/agentsUpdateSample.js +2 -2
  12. package/dist-esm/samples-dev/endpointsCreateOrUpdateSample.js +96 -7
  13. package/dist-esm/samples-dev/endpointsCreateOrUpdateSample.js.map +1 -1
  14. package/dist-esm/samples-dev/endpointsDeleteSample.js +2 -2
  15. package/dist-esm/samples-dev/endpointsGetSample.js +64 -4
  16. package/dist-esm/samples-dev/endpointsGetSample.js.map +1 -1
  17. package/dist-esm/samples-dev/endpointsListSample.js +2 -2
  18. package/dist-esm/samples-dev/endpointsUpdateSample.js +91 -5
  19. package/dist-esm/samples-dev/endpointsUpdateSample.js.map +1 -1
  20. package/dist-esm/samples-dev/jobDefinitionsCreateOrUpdateSample.js +2 -2
  21. package/dist-esm/samples-dev/jobDefinitionsDeleteSample.js +2 -2
  22. package/dist-esm/samples-dev/jobDefinitionsGetSample.js +2 -2
  23. package/dist-esm/samples-dev/jobDefinitionsListSample.js +2 -2
  24. package/dist-esm/samples-dev/jobDefinitionsStartJobSample.js +2 -2
  25. package/dist-esm/samples-dev/jobDefinitionsStopJobSample.js +2 -2
  26. package/dist-esm/samples-dev/jobDefinitionsUpdateSample.js +2 -2
  27. package/dist-esm/samples-dev/jobRunsGetSample.js +2 -2
  28. package/dist-esm/samples-dev/jobRunsListSample.js +2 -2
  29. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  30. package/dist-esm/samples-dev/projectsCreateOrUpdateSample.js +2 -2
  31. package/dist-esm/samples-dev/projectsDeleteSample.js +2 -2
  32. package/dist-esm/samples-dev/projectsGetSample.js +2 -2
  33. package/dist-esm/samples-dev/projectsListSample.js +2 -2
  34. package/dist-esm/samples-dev/projectsUpdateSample.js +2 -2
  35. package/dist-esm/samples-dev/storageMoversCreateOrUpdateSample.js +2 -2
  36. package/dist-esm/samples-dev/storageMoversDeleteSample.js +2 -2
  37. package/dist-esm/samples-dev/storageMoversGetSample.js +2 -2
  38. package/dist-esm/samples-dev/storageMoversListBySubscriptionSample.js +2 -2
  39. package/dist-esm/samples-dev/storageMoversListSample.js +2 -2
  40. package/dist-esm/samples-dev/storageMoversUpdateSample.js +2 -2
  41. package/dist-esm/src/models/index.d.ts +100 -50
  42. package/dist-esm/src/models/index.d.ts.map +1 -1
  43. package/dist-esm/src/models/index.js +10 -0
  44. package/dist-esm/src/models/index.js.map +1 -1
  45. package/dist-esm/src/models/mappers.d.ts +16 -1
  46. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  47. package/dist-esm/src/models/mappers.js +184 -70
  48. package/dist-esm/src/models/mappers.js.map +1 -1
  49. package/dist-esm/src/models/parameters.js +1 -1
  50. package/dist-esm/src/models/parameters.js.map +1 -1
  51. package/dist-esm/src/storageMoverClient.js +2 -2
  52. package/dist-esm/src/storageMoverClient.js.map +1 -1
  53. package/dist-esm/test/storagemover_operations_test.spec.js +1 -1
  54. package/dist-esm/test/storagemover_operations_test.spec.js.map +1 -1
  55. package/package.json +4 -4
  56. package/review/arm-storagemover.api.md +64 -12
  57. package/src/models/index.ts +131 -53
  58. package/src/models/mappers.ts +210 -72
  59. package/src/models/parameters.ts +1 -1
  60. package/src/storageMoverClient.ts +2 -2
  61. package/types/arm-storagemover.d.ts +95 -35
  62. package/types/tsdoc-metadata.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"endpointsGetSample.js","sourceRoot":"","sources":["../../samples-dev/endpointsGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,YAAY;;QACzB,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,GAAG,uBAAuB,CAAC;QAC7C,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,GAAG,CACvC,iBAAiB,EACjB,gBAAgB,EAChB,YAAY,CACb,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,YAAY,EAAE,CAAC;IACjB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"endpointsGetSample.js","sourceRoot":"","sources":["../../samples-dev/endpointsGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EA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e,IAAI;;QACjB,qCAAqC,EAAE,CAAC;QACxC,oCAAoC,EAAE,CAAC;QACvC,oBAAoB,EAAE,CAAC;QACvB,oBAAoB,EAAE,CAAC;IACzB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -16,13 +16,13 @@ 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-03-01/examples/Endpoints_List.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_List.json
20
20
  */
21
21
  function endpointsList() {
22
22
  var _a, e_1, _b, _c;
23
23
  return __awaiter(this, void 0, void 0, function* () {
24
24
  const subscriptionId = process.env["STORAGEMOVER_SUBSCRIPTION_ID"] ||
25
- "11111111-2222-3333-4444-555555555555";
25
+ "60bcfc77-6589-4da2-b7fd-f9ec9322cf95";
26
26
  const resourceGroupName = process.env["STORAGEMOVER_RESOURCE_GROUP"] || "examples-rg";
27
27
  const storageMoverName = "examples-storageMoverName";
28
28
  const credential = new DefaultAzureCredential();
@@ -16,17 +16,100 @@ 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-03-01/examples/Endpoints_Update.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Endpoints_Update_AzureStorageBlobContainer.json
20
20
  */
21
- function endpointsUpdate() {
21
+ function endpointsUpdateAzureStorageBlobContainer() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
23
23
  const subscriptionId = process.env["STORAGEMOVER_SUBSCRIPTION_ID"] ||
24
- "11111111-2222-3333-4444-555555555555";
24
+ "60bcfc77-6589-4da2-b7fd-f9ec9322cf95";
25
25
  const resourceGroupName = process.env["STORAGEMOVER_RESOURCE_GROUP"] || "examples-rg";
26
26
  const storageMoverName = "examples-storageMoverName";
27
27
  const endpointName = "examples-endpointName";
28
28
  const endpoint = {
29
- properties: { description: "Updated Endpoint Description" }
29
+ properties: {
30
+ description: "Updated Endpoint Description",
31
+ endpointType: "AzureStorageBlobContainer"
32
+ }
33
+ };
34
+ const credential = new DefaultAzureCredential();
35
+ const client = new StorageMoverClient(credential, subscriptionId);
36
+ const result = yield client.endpoints.update(resourceGroupName, storageMoverName, endpointName, endpoint);
37
+ console.log(result);
38
+ });
39
+ }
40
+ /**
41
+ * This sample demonstrates how to Updates properties for an Endpoint resource. Properties not specified in the request body will be unchanged.
42
+ *
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/preview/2023-07-01-preview/examples/Endpoints_Update_AzureStorageSmbFileShare.json
45
+ */
46
+ function endpointsUpdateAzureStorageSmbFileShare() {
47
+ return __awaiter(this, void 0, void 0, function* () {
48
+ const subscriptionId = process.env["STORAGEMOVER_SUBSCRIPTION_ID"] ||
49
+ "60bcfc77-6589-4da2-b7fd-f9ec9322cf95";
50
+ const resourceGroupName = process.env["STORAGEMOVER_RESOURCE_GROUP"] || "examples-rg";
51
+ const storageMoverName = "examples-storageMoverName";
52
+ const endpointName = "examples-endpointName";
53
+ const endpoint = {
54
+ properties: {
55
+ description: "Updated Endpoint Description",
56
+ endpointType: "AzureStorageSmbFileShare"
57
+ }
58
+ };
59
+ const credential = new DefaultAzureCredential();
60
+ const client = new StorageMoverClient(credential, subscriptionId);
61
+ const result = yield client.endpoints.update(resourceGroupName, storageMoverName, endpointName, endpoint);
62
+ console.log(result);
63
+ });
64
+ }
65
+ /**
66
+ * This sample demonstrates how to Updates properties for an Endpoint resource. Properties not specified in the request body will be unchanged.
67
+ *
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/preview/2023-07-01-preview/examples/Endpoints_Update_NfsMount.json
70
+ */
71
+ function endpointsUpdateNfsMount() {
72
+ return __awaiter(this, void 0, void 0, function* () {
73
+ const subscriptionId = process.env["STORAGEMOVER_SUBSCRIPTION_ID"] ||
74
+ "60bcfc77-6589-4da2-b7fd-f9ec9322cf95";
75
+ const resourceGroupName = process.env["STORAGEMOVER_RESOURCE_GROUP"] || "examples-rg";
76
+ const storageMoverName = "examples-storageMoverName";
77
+ const endpointName = "examples-endpointName";
78
+ const endpoint = {
79
+ properties: {
80
+ description: "Updated Endpoint Description",
81
+ endpointType: "NfsMount"
82
+ }
83
+ };
84
+ const credential = new DefaultAzureCredential();
85
+ const client = new StorageMoverClient(credential, subscriptionId);
86
+ const result = yield client.endpoints.update(resourceGroupName, storageMoverName, endpointName, endpoint);
87
+ console.log(result);
88
+ });
89
+ }
90
+ /**
91
+ * This sample demonstrates how to Updates properties for an Endpoint resource. Properties not specified in the request body will be unchanged.
92
+ *
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/preview/2023-07-01-preview/examples/Endpoints_Update_SmbMount.json
95
+ */
96
+ function endpointsUpdateSmbMount() {
97
+ return __awaiter(this, void 0, void 0, function* () {
98
+ const subscriptionId = process.env["STORAGEMOVER_SUBSCRIPTION_ID"] ||
99
+ "60bcfc77-6589-4da2-b7fd-f9ec9322cf95";
100
+ const resourceGroupName = process.env["STORAGEMOVER_RESOURCE_GROUP"] || "examples-rg";
101
+ const storageMoverName = "examples-storageMoverName";
102
+ const endpointName = "examples-endpointName";
103
+ const endpoint = {
104
+ properties: {
105
+ description: "Updated Endpoint Description",
106
+ credentials: {
107
+ type: "AzureKeyVaultSmb",
108
+ passwordUri: "https://examples-azureKeyVault.vault.azure.net/secrets/examples-updated-password",
109
+ usernameUri: "https://examples-azureKeyVault.vault.azure.net/secrets/examples-updated-username"
110
+ },
111
+ endpointType: "SmbMount"
112
+ }
30
113
  };
31
114
  const credential = new DefaultAzureCredential();
32
115
  const client = new StorageMoverClient(credential, subscriptionId);
@@ -36,7 +119,10 @@ function endpointsUpdate() {
36
119
  }
37
120
  function main() {
38
121
  return __awaiter(this, void 0, void 0, function* () {
39
- endpointsUpdate();
122
+ endpointsUpdateAzureStorageBlobContainer();
123
+ endpointsUpdateAzureStorageSmbFileShare();
124
+ endpointsUpdateNfsMount();
125
+ endpointsUpdateSmbMount();
40
126
  });
41
127
  }
42
128
  main().catch(console.error);
@@ -1 +1 @@
1
- {"version":3,"file":"endpointsUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/endpointsUpdateSample.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,eAAe;;QAC5B,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,GAAG,uBAAuB,CAAC;QAC7C,MAAM,QAAQ,GAAiC;YAC7C,UAAU,EAAE,EAAE,WAAW,EAAE,8BAA8B,EAAE;SAC5D,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;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ED,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,12 +16,12 @@ 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-03-01/examples/JobDefinitions_CreateOrUpdate.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/JobDefinitions_CreateOrUpdate.json
20
20
  */
21
21
  function jobDefinitionsCreateOrUpdate() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
23
23
  const subscriptionId = process.env["STORAGEMOVER_SUBSCRIPTION_ID"] ||
24
- "11111111-2222-3333-4444-555555555555";
24
+ "60bcfc77-6589-4da2-b7fd-f9ec9322cf95";
25
25
  const resourceGroupName = process.env["STORAGEMOVER_RESOURCE_GROUP"] || "examples-rg";
26
26
  const storageMoverName = "examples-storageMoverName";
27
27
  const projectName = "examples-projectName";
@@ -16,12 +16,12 @@ 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-03-01/examples/JobDefinitions_Delete.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/JobDefinitions_Delete.json
20
20
  */
21
21
  function projectsDelete() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
23
23
  const subscriptionId = process.env["STORAGEMOVER_SUBSCRIPTION_ID"] ||
24
- "11111111-2222-3333-4444-555555555555";
24
+ "60bcfc77-6589-4da2-b7fd-f9ec9322cf95";
25
25
  const resourceGroupName = process.env["STORAGEMOVER_RESOURCE_GROUP"] || "examples-rg";
26
26
  const storageMoverName = "examples-storageMoverName";
27
27
  const projectName = "examples-projectName";
@@ -16,12 +16,12 @@ 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-03-01/examples/JobDefinitions_Get.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/JobDefinitions_Get.json
20
20
  */
21
21
  function jobDefinitionsGet() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
23
23
  const subscriptionId = process.env["STORAGEMOVER_SUBSCRIPTION_ID"] ||
24
- "11111111-2222-3333-4444-555555555555";
24
+ "60bcfc77-6589-4da2-b7fd-f9ec9322cf95";
25
25
  const resourceGroupName = process.env["STORAGEMOVER_RESOURCE_GROUP"] || "examples-rg";
26
26
  const storageMoverName = "examples-storageMoverName";
27
27
  const projectName = "examples-projectName";
@@ -16,13 +16,13 @@ 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-03-01/examples/JobDefinitions_List.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/JobDefinitions_List.json
20
20
  */
21
21
  function jobDefinitionsList() {
22
22
  var _a, e_1, _b, _c;
23
23
  return __awaiter(this, void 0, void 0, function* () {
24
24
  const subscriptionId = process.env["STORAGEMOVER_SUBSCRIPTION_ID"] ||
25
- "11111111-2222-3333-4444-555555555555";
25
+ "60bcfc77-6589-4da2-b7fd-f9ec9322cf95";
26
26
  const resourceGroupName = process.env["STORAGEMOVER_RESOURCE_GROUP"] || "examples-rg";
27
27
  const storageMoverName = "examples-storageMoverName";
28
28
  const projectName = "examples-projectName";
@@ -16,12 +16,12 @@ dotenv.config();
16
16
  * This sample demonstrates how to Requests an Agent to start a new instance of this Job Definition, generating a new Job Run resource.
17
17
  *
18
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-03-01/examples/JobDefinitions_StartJob.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/JobDefinitions_StartJob.json
20
20
  */
21
21
  function jobDefinitionsStartJob() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
23
23
  const subscriptionId = process.env["STORAGEMOVER_SUBSCRIPTION_ID"] ||
24
- "11111111-2222-3333-4444-555555555555";
24
+ "60bcfc77-6589-4da2-b7fd-f9ec9322cf95";
25
25
  const resourceGroupName = process.env["STORAGEMOVER_RESOURCE_GROUP"] || "examples-rg";
26
26
  const storageMoverName = "examples-storageMoverName";
27
27
  const projectName = "examples-projectName";
@@ -16,12 +16,12 @@ 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-03-01/examples/JobDefinitions_StopJob.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/JobDefinitions_StopJob.json
20
20
  */
21
21
  function jobDefinitionsStopJob() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
23
23
  const subscriptionId = process.env["STORAGEMOVER_SUBSCRIPTION_ID"] ||
24
- "11111111-2222-3333-4444-555555555555";
24
+ "60bcfc77-6589-4da2-b7fd-f9ec9322cf95";
25
25
  const resourceGroupName = process.env["STORAGEMOVER_RESOURCE_GROUP"] || "examples-rg";
26
26
  const storageMoverName = "examples-storageMoverName";
27
27
  const projectName = "examples-projectName";
@@ -16,12 +16,12 @@ 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-03-01/examples/JobDefinitions_Update.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/JobDefinitions_Update.json
20
20
  */
21
21
  function jobDefinitionsUpdate() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
23
23
  const subscriptionId = process.env["STORAGEMOVER_SUBSCRIPTION_ID"] ||
24
- "11111111-2222-3333-4444-555555555555";
24
+ "60bcfc77-6589-4da2-b7fd-f9ec9322cf95";
25
25
  const resourceGroupName = process.env["STORAGEMOVER_RESOURCE_GROUP"] || "examples-rg";
26
26
  const storageMoverName = "examples-storageMoverName";
27
27
  const projectName = "examples-projectName";
@@ -16,12 +16,12 @@ 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-03-01/examples/JobRuns_Get.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/JobRuns_Get.json
20
20
  */
21
21
  function jobRunsGet() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
23
23
  const subscriptionId = process.env["STORAGEMOVER_SUBSCRIPTION_ID"] ||
24
- "11111111-2222-3333-4444-555555555555";
24
+ "60bcfc77-6589-4da2-b7fd-f9ec9322cf95";
25
25
  const resourceGroupName = process.env["STORAGEMOVER_RESOURCE_GROUP"] || "examples-rg";
26
26
  const storageMoverName = "examples-storageMoverName";
27
27
  const projectName = "examples-projectName";
@@ -16,13 +16,13 @@ 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-03-01/examples/JobRuns_List.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/JobRuns_List.json
20
20
  */
21
21
  function jobRunsList() {
22
22
  var _a, e_1, _b, _c;
23
23
  return __awaiter(this, void 0, void 0, function* () {
24
24
  const subscriptionId = process.env["STORAGEMOVER_SUBSCRIPTION_ID"] ||
25
- "11111111-2222-3333-4444-555555555555";
25
+ "60bcfc77-6589-4da2-b7fd-f9ec9322cf95";
26
26
  const resourceGroupName = process.env["STORAGEMOVER_RESOURCE_GROUP"] || "examples-rg";
27
27
  const storageMoverName = "examples-storageMoverName";
28
28
  const projectName = "examples-projectName";
@@ -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-03-01/examples/Operations_List.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Operations_List.json
20
20
  */
21
21
  function operationsList() {
22
22
  var _a, e_1, _b, _c;
@@ -16,12 +16,12 @@ 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-03-01/examples/Projects_CreateOrUpdate.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Projects_CreateOrUpdate.json
20
20
  */
21
21
  function projectsCreateOrUpdate() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
23
23
  const subscriptionId = process.env["STORAGEMOVER_SUBSCRIPTION_ID"] ||
24
- "11111111-2222-3333-4444-555555555555";
24
+ "60bcfc77-6589-4da2-b7fd-f9ec9322cf95";
25
25
  const resourceGroupName = process.env["STORAGEMOVER_RESOURCE_GROUP"] || "examples-rg";
26
26
  const storageMoverName = "examples-storageMoverName";
27
27
  const projectName = "examples-projectName";
@@ -16,12 +16,12 @@ 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-03-01/examples/Projects_Delete.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Projects_Delete.json
20
20
  */
21
21
  function projectsDelete() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
23
23
  const subscriptionId = process.env["STORAGEMOVER_SUBSCRIPTION_ID"] ||
24
- "11111111-2222-3333-4444-555555555555";
24
+ "60bcfc77-6589-4da2-b7fd-f9ec9322cf95";
25
25
  const resourceGroupName = process.env["STORAGEMOVER_RESOURCE_GROUP"] || "examples-rg";
26
26
  const storageMoverName = "examples-storageMoverName";
27
27
  const projectName = "examples-projectName";
@@ -16,12 +16,12 @@ 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-03-01/examples/Projects_Get.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Projects_Get.json
20
20
  */
21
21
  function projectsGet() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
23
23
  const subscriptionId = process.env["STORAGEMOVER_SUBSCRIPTION_ID"] ||
24
- "11111111-2222-3333-4444-555555555555";
24
+ "60bcfc77-6589-4da2-b7fd-f9ec9322cf95";
25
25
  const resourceGroupName = process.env["STORAGEMOVER_RESOURCE_GROUP"] || "examples-rg";
26
26
  const storageMoverName = "examples-storageMoverName";
27
27
  const projectName = "examples-projectName";
@@ -16,13 +16,13 @@ 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-03-01/examples/Projects_List.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Projects_List.json
20
20
  */
21
21
  function projectsList() {
22
22
  var _a, e_1, _b, _c;
23
23
  return __awaiter(this, void 0, void 0, function* () {
24
24
  const subscriptionId = process.env["STORAGEMOVER_SUBSCRIPTION_ID"] ||
25
- "11111111-2222-3333-4444-555555555555";
25
+ "60bcfc77-6589-4da2-b7fd-f9ec9322cf95";
26
26
  const resourceGroupName = process.env["STORAGEMOVER_RESOURCE_GROUP"] || "examples-rg";
27
27
  const storageMoverName = "examples-storageMoverName";
28
28
  const credential = new DefaultAzureCredential();
@@ -16,12 +16,12 @@ 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-03-01/examples/Projects_Update.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/Projects_Update.json
20
20
  */
21
21
  function projectsUpdate() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
23
23
  const subscriptionId = process.env["STORAGEMOVER_SUBSCRIPTION_ID"] ||
24
- "11111111-2222-3333-4444-555555555555";
24
+ "60bcfc77-6589-4da2-b7fd-f9ec9322cf95";
25
25
  const resourceGroupName = process.env["STORAGEMOVER_RESOURCE_GROUP"] || "examples-rg";
26
26
  const storageMoverName = "examples-storageMoverName";
27
27
  const projectName = "examples-projectName";
@@ -16,12 +16,12 @@ 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-03-01/examples/StorageMovers_CreateOrUpdate.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/StorageMovers_CreateOrUpdate.json
20
20
  */
21
21
  function storageMoversCreateOrUpdate() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
23
23
  const subscriptionId = process.env["STORAGEMOVER_SUBSCRIPTION_ID"] ||
24
- "11111111-2222-3333-4444-555555555555";
24
+ "60bcfc77-6589-4da2-b7fd-f9ec9322cf95";
25
25
  const resourceGroupName = process.env["STORAGEMOVER_RESOURCE_GROUP"] || "examples-rg";
26
26
  const storageMoverName = "examples-storageMoverName";
27
27
  const storageMover = {
@@ -16,12 +16,12 @@ 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-03-01/examples/StorageMovers_Delete.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/StorageMovers_Delete.json
20
20
  */
21
21
  function storageMoversDelete() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
23
23
  const subscriptionId = process.env["STORAGEMOVER_SUBSCRIPTION_ID"] ||
24
- "11111111-2222-3333-4444-555555555555";
24
+ "60bcfc77-6589-4da2-b7fd-f9ec9322cf95";
25
25
  const resourceGroupName = process.env["STORAGEMOVER_RESOURCE_GROUP"] || "examples-rg";
26
26
  const storageMoverName = "examples-storageMoverName";
27
27
  const credential = new DefaultAzureCredential();
@@ -16,12 +16,12 @@ 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-03-01/examples/StorageMovers_Get.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/StorageMovers_Get.json
20
20
  */
21
21
  function storageMoversGet() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
23
23
  const subscriptionId = process.env["STORAGEMOVER_SUBSCRIPTION_ID"] ||
24
- "11111111-2222-3333-4444-555555555555";
24
+ "60bcfc77-6589-4da2-b7fd-f9ec9322cf95";
25
25
  const resourceGroupName = process.env["STORAGEMOVER_RESOURCE_GROUP"] || "examples-rg";
26
26
  const storageMoverName = "examples-storageMoverName";
27
27
  const credential = new DefaultAzureCredential();
@@ -16,13 +16,13 @@ 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-03-01/examples/StorageMovers_ListBySubscription.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/StorageMovers_ListBySubscription.json
20
20
  */
21
21
  function storageMoversList() {
22
22
  var _a, e_1, _b, _c;
23
23
  return __awaiter(this, void 0, void 0, function* () {
24
24
  const subscriptionId = process.env["STORAGEMOVER_SUBSCRIPTION_ID"] ||
25
- "11111111-2222-3333-4444-555555555555";
25
+ "60bcfc77-6589-4da2-b7fd-f9ec9322cf95";
26
26
  const credential = new DefaultAzureCredential();
27
27
  const client = new StorageMoverClient(credential, subscriptionId);
28
28
  const resArray = new Array();
@@ -16,13 +16,13 @@ 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-03-01/examples/StorageMovers_List.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/StorageMovers_List.json
20
20
  */
21
21
  function storageMoversList() {
22
22
  var _a, e_1, _b, _c;
23
23
  return __awaiter(this, void 0, void 0, function* () {
24
24
  const subscriptionId = process.env["STORAGEMOVER_SUBSCRIPTION_ID"] ||
25
- "11111111-2222-3333-4444-555555555555";
25
+ "60bcfc77-6589-4da2-b7fd-f9ec9322cf95";
26
26
  const resourceGroupName = process.env["STORAGEMOVER_RESOURCE_GROUP"] || "examples-rg";
27
27
  const credential = new DefaultAzureCredential();
28
28
  const client = new StorageMoverClient(credential, subscriptionId);
@@ -16,12 +16,12 @@ 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-03-01/examples/StorageMovers_Update.json
19
+ * x-ms-original-file: specification/storagemover/resource-manager/Microsoft.StorageMover/preview/2023-07-01-preview/examples/StorageMovers_Update.json
20
20
  */
21
21
  function storageMoversUpdate() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
23
23
  const subscriptionId = process.env["STORAGEMOVER_SUBSCRIPTION_ID"] ||
24
- "11111111-2222-3333-4444-555555555555";
24
+ "60bcfc77-6589-4da2-b7fd-f9ec9322cf95";
25
25
  const resourceGroupName = process.env["STORAGEMOVER_RESOURCE_GROUP"] || "examples-rg";
26
26
  const storageMoverName = "examples-storageMoverName";
27
27
  const storageMover = {