@azure/arm-visualstudio 4.0.0-beta.1 → 4.0.0-beta.2

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 (143) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/README.md +12 -1
  3. package/dist/index.js +120 -49
  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/accountsCheckNameAvailabilitySample.d.ts +2 -0
  8. package/dist-esm/samples-dev/accountsCheckNameAvailabilitySample.d.ts.map +1 -0
  9. package/dist-esm/samples-dev/{checkAvailabilityOfAnAccountName.js → accountsCheckNameAvailabilitySample.js} +3 -3
  10. package/dist-esm/samples-dev/accountsCheckNameAvailabilitySample.js.map +1 -0
  11. package/dist-esm/samples-dev/accountsCreateOrUpdateSample.d.ts +2 -0
  12. package/dist-esm/samples-dev/accountsCreateOrUpdateSample.d.ts.map +1 -0
  13. package/dist-esm/samples-dev/accountsCreateOrUpdateSample.js +38 -0
  14. package/dist-esm/samples-dev/accountsCreateOrUpdateSample.js.map +1 -0
  15. package/dist-esm/samples-dev/accountsDeleteSample.d.ts +2 -0
  16. package/dist-esm/samples-dev/accountsDeleteSample.d.ts.map +1 -0
  17. package/dist-esm/samples-dev/{deleteAnAccountResource.js → accountsDeleteSample.js} +3 -3
  18. package/dist-esm/samples-dev/accountsDeleteSample.js.map +1 -0
  19. package/dist-esm/samples-dev/accountsGetSample.d.ts +2 -0
  20. package/dist-esm/samples-dev/accountsGetSample.d.ts.map +1 -0
  21. package/dist-esm/samples-dev/{getAnAccountResource.js → accountsGetSample.js} +3 -3
  22. package/dist-esm/samples-dev/accountsGetSample.js.map +1 -0
  23. package/dist-esm/samples-dev/accountsListByResourceGroupSample.d.ts +2 -0
  24. package/dist-esm/samples-dev/accountsListByResourceGroupSample.d.ts.map +1 -0
  25. package/dist-esm/samples-dev/{getAListOfAccountResourcesInTheResourceGroup.js → accountsListByResourceGroupSample.js} +3 -3
  26. package/dist-esm/samples-dev/accountsListByResourceGroupSample.js.map +1 -0
  27. package/dist-esm/samples-dev/accountsUpdateSample.d.ts +2 -0
  28. package/dist-esm/samples-dev/accountsUpdateSample.d.ts.map +1 -0
  29. package/dist-esm/samples-dev/{createAnAccountResource.js → accountsUpdateSample.js} +3 -3
  30. package/dist-esm/samples-dev/accountsUpdateSample.js.map +1 -0
  31. package/dist-esm/samples-dev/extensionsCreateSample.d.ts +2 -0
  32. package/dist-esm/samples-dev/extensionsCreateSample.d.ts.map +1 -0
  33. package/dist-esm/samples-dev/{createAnExtensionResource.js → extensionsCreateSample.js} +3 -3
  34. package/dist-esm/samples-dev/extensionsCreateSample.js.map +1 -0
  35. package/dist-esm/samples-dev/extensionsDeleteSample.d.ts +2 -0
  36. package/dist-esm/samples-dev/extensionsDeleteSample.d.ts.map +1 -0
  37. package/dist-esm/samples-dev/{deleteAnExtensionResource.js → extensionsDeleteSample.js} +3 -3
  38. package/dist-esm/samples-dev/extensionsDeleteSample.js.map +1 -0
  39. package/dist-esm/samples-dev/extensionsGetSample.d.ts +2 -0
  40. package/dist-esm/samples-dev/extensionsGetSample.d.ts.map +1 -0
  41. package/dist-esm/samples-dev/{getAnExtensionResource.js → extensionsGetSample.js} +3 -3
  42. package/dist-esm/samples-dev/extensionsGetSample.js.map +1 -0
  43. package/dist-esm/samples-dev/extensionsListByAccountSample.d.ts +2 -0
  44. package/dist-esm/samples-dev/extensionsListByAccountSample.d.ts.map +1 -0
  45. package/dist-esm/samples-dev/{getAListOfExtensionResourcesWithinTheResourceGroup.js → extensionsListByAccountSample.js} +3 -3
  46. package/dist-esm/samples-dev/extensionsListByAccountSample.js.map +1 -0
  47. package/dist-esm/samples-dev/extensionsUpdateSample.d.ts +2 -0
  48. package/dist-esm/samples-dev/extensionsUpdateSample.d.ts.map +1 -0
  49. package/dist-esm/samples-dev/{updateAnExtensionResource.js → extensionsUpdateSample.js} +3 -3
  50. package/dist-esm/samples-dev/extensionsUpdateSample.js.map +1 -0
  51. package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
  52. package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
  53. package/dist-esm/samples-dev/{getAListOfOperationsForThisResourceProvider.js → operationsListSample.js} +3 -3
  54. package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
  55. package/dist-esm/samples-dev/projectsCreateSample.d.ts +2 -0
  56. package/dist-esm/samples-dev/projectsCreateSample.d.ts.map +1 -0
  57. package/dist-esm/samples-dev/{createAProjectResource.js → projectsCreateSample.js} +3 -3
  58. package/dist-esm/samples-dev/projectsCreateSample.js.map +1 -0
  59. package/dist-esm/samples-dev/projectsGetJobStatusSample.d.ts +2 -0
  60. package/dist-esm/samples-dev/projectsGetJobStatusSample.d.ts.map +1 -0
  61. package/dist-esm/samples-dev/{getTheStatusOfTheProjectCreationJob.js → projectsGetJobStatusSample.js} +4 -4
  62. package/dist-esm/samples-dev/projectsGetJobStatusSample.js.map +1 -0
  63. package/dist-esm/samples-dev/projectsGetSample.d.ts +2 -0
  64. package/dist-esm/samples-dev/projectsGetSample.d.ts.map +1 -0
  65. package/dist-esm/samples-dev/{getAProjectResource.js → projectsGetSample.js} +3 -3
  66. package/dist-esm/samples-dev/projectsGetSample.js.map +1 -0
  67. package/dist-esm/samples-dev/projectsListByResourceGroupSample.d.ts +2 -0
  68. package/dist-esm/samples-dev/projectsListByResourceGroupSample.d.ts.map +1 -0
  69. package/dist-esm/samples-dev/{getAListOfProjectResourcesInTheTeamServicesAccount.js → projectsListByResourceGroupSample.js} +3 -3
  70. package/dist-esm/samples-dev/projectsListByResourceGroupSample.js.map +1 -0
  71. package/dist-esm/samples-dev/projectsUpdateSample.d.ts +2 -0
  72. package/dist-esm/samples-dev/projectsUpdateSample.d.ts.map +1 -0
  73. package/dist-esm/samples-dev/{updateAProjectResource.js → projectsUpdateSample.js} +3 -3
  74. package/dist-esm/samples-dev/projectsUpdateSample.js.map +1 -0
  75. package/dist-esm/src/models/index.d.ts +6 -6
  76. package/dist-esm/src/models/index.d.ts.map +1 -1
  77. package/dist-esm/src/operations/projects.d.ts.map +1 -1
  78. package/dist-esm/src/operations/projects.js +3 -1
  79. package/dist-esm/src/operations/projects.js.map +1 -1
  80. package/dist-esm/src/visualStudioResourceProviderClient.d.ts +2 -0
  81. package/dist-esm/src/visualStudioResourceProviderClient.d.ts.map +1 -1
  82. package/dist-esm/src/visualStudioResourceProviderClient.js +54 -5
  83. package/dist-esm/src/visualStudioResourceProviderClient.js.map +1 -1
  84. package/dist-esm/test/sampleTest.js +11 -13
  85. package/dist-esm/test/sampleTest.js.map +1 -1
  86. package/package.json +38 -22
  87. package/review/arm-visualstudio.api.md +6 -6
  88. package/rollup.config.js +6 -72
  89. package/src/models/index.ts +7 -6
  90. package/src/operations/projects.ts +3 -1
  91. package/src/visualStudioResourceProviderClient.ts +70 -5
  92. package/tsconfig.json +18 -5
  93. package/types/arm-visualstudio.d.ts +8 -6
  94. package/types/tsdoc-metadata.json +1 -1
  95. package/LICENSE.txt +0 -21
  96. package/dist-esm/samples-dev/checkAvailabilityOfAnAccountName.d.ts +0 -2
  97. package/dist-esm/samples-dev/checkAvailabilityOfAnAccountName.d.ts.map +0 -1
  98. package/dist-esm/samples-dev/checkAvailabilityOfAnAccountName.js.map +0 -1
  99. package/dist-esm/samples-dev/createAProjectResource.d.ts +0 -2
  100. package/dist-esm/samples-dev/createAProjectResource.d.ts.map +0 -1
  101. package/dist-esm/samples-dev/createAProjectResource.js.map +0 -1
  102. package/dist-esm/samples-dev/createAnAccountResource.d.ts +0 -2
  103. package/dist-esm/samples-dev/createAnAccountResource.d.ts.map +0 -1
  104. package/dist-esm/samples-dev/createAnAccountResource.js.map +0 -1
  105. package/dist-esm/samples-dev/createAnExtensionResource.d.ts +0 -2
  106. package/dist-esm/samples-dev/createAnExtensionResource.d.ts.map +0 -1
  107. package/dist-esm/samples-dev/createAnExtensionResource.js.map +0 -1
  108. package/dist-esm/samples-dev/deleteAnAccountResource.d.ts +0 -2
  109. package/dist-esm/samples-dev/deleteAnAccountResource.d.ts.map +0 -1
  110. package/dist-esm/samples-dev/deleteAnAccountResource.js.map +0 -1
  111. package/dist-esm/samples-dev/deleteAnExtensionResource.d.ts +0 -2
  112. package/dist-esm/samples-dev/deleteAnExtensionResource.d.ts.map +0 -1
  113. package/dist-esm/samples-dev/deleteAnExtensionResource.js.map +0 -1
  114. package/dist-esm/samples-dev/getAListOfAccountResourcesInTheResourceGroup.d.ts +0 -2
  115. package/dist-esm/samples-dev/getAListOfAccountResourcesInTheResourceGroup.d.ts.map +0 -1
  116. package/dist-esm/samples-dev/getAListOfAccountResourcesInTheResourceGroup.js.map +0 -1
  117. package/dist-esm/samples-dev/getAListOfExtensionResourcesWithinTheResourceGroup.d.ts +0 -2
  118. package/dist-esm/samples-dev/getAListOfExtensionResourcesWithinTheResourceGroup.d.ts.map +0 -1
  119. package/dist-esm/samples-dev/getAListOfExtensionResourcesWithinTheResourceGroup.js.map +0 -1
  120. package/dist-esm/samples-dev/getAListOfOperationsForThisResourceProvider.d.ts +0 -2
  121. package/dist-esm/samples-dev/getAListOfOperationsForThisResourceProvider.d.ts.map +0 -1
  122. package/dist-esm/samples-dev/getAListOfOperationsForThisResourceProvider.js.map +0 -1
  123. package/dist-esm/samples-dev/getAListOfProjectResourcesInTheTeamServicesAccount.d.ts +0 -2
  124. package/dist-esm/samples-dev/getAListOfProjectResourcesInTheTeamServicesAccount.d.ts.map +0 -1
  125. package/dist-esm/samples-dev/getAListOfProjectResourcesInTheTeamServicesAccount.js.map +0 -1
  126. package/dist-esm/samples-dev/getAProjectResource.d.ts +0 -2
  127. package/dist-esm/samples-dev/getAProjectResource.d.ts.map +0 -1
  128. package/dist-esm/samples-dev/getAProjectResource.js.map +0 -1
  129. package/dist-esm/samples-dev/getAnAccountResource.d.ts +0 -2
  130. package/dist-esm/samples-dev/getAnAccountResource.d.ts.map +0 -1
  131. package/dist-esm/samples-dev/getAnAccountResource.js.map +0 -1
  132. package/dist-esm/samples-dev/getAnExtensionResource.d.ts +0 -2
  133. package/dist-esm/samples-dev/getAnExtensionResource.d.ts.map +0 -1
  134. package/dist-esm/samples-dev/getAnExtensionResource.js.map +0 -1
  135. package/dist-esm/samples-dev/getTheStatusOfTheProjectCreationJob.d.ts +0 -2
  136. package/dist-esm/samples-dev/getTheStatusOfTheProjectCreationJob.d.ts.map +0 -1
  137. package/dist-esm/samples-dev/getTheStatusOfTheProjectCreationJob.js.map +0 -1
  138. package/dist-esm/samples-dev/updateAProjectResource.d.ts +0 -2
  139. package/dist-esm/samples-dev/updateAProjectResource.d.ts.map +0 -1
  140. package/dist-esm/samples-dev/updateAProjectResource.js.map +0 -1
  141. package/dist-esm/samples-dev/updateAnExtensionResource.d.ts +0 -2
  142. package/dist-esm/samples-dev/updateAnExtensionResource.d.ts.map +0 -1
  143. package/dist-esm/samples-dev/updateAnExtensionResource.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accountsCheckNameAvailabilitySample.d.ts","sourceRoot":"","sources":["../../samples-dev/accountsCheckNameAvailabilitySample.ts"],"names":[],"mappings":""}
@@ -8,14 +8,14 @@
8
8
  import { __awaiter } from "tslib";
9
9
  // Copyright (c) Microsoft Corporation.
10
10
  // Licensed under the MIT License.
11
+ import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio";
12
+ import { DefaultAzureCredential } from "@azure/identity";
11
13
  /**
12
14
  * This sample demonstrates how to Checks if the specified Visual Studio Team Services account name is available. Resource name can be either an account name or an account name and PUID.
13
15
  *
14
16
  * @summary Checks if the specified Visual Studio Team Services account name is available. Resource name can be either an account name or an account name and PUID.
15
17
  * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/CheckNameAvailability.json
16
18
  */
17
- import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio";
18
- import { DefaultAzureCredential } from "@azure/identity";
19
19
  function checkAvailabilityOfAnAccountName() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
21
21
  const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90";
@@ -30,4 +30,4 @@ function checkAvailabilityOfAnAccountName() {
30
30
  });
31
31
  }
32
32
  checkAvailabilityOfAnAccountName().catch(console.error);
33
- //# sourceMappingURL=checkAvailabilityOfAnAccountName.js.map
33
+ //# sourceMappingURL=accountsCheckNameAvailabilitySample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accountsCheckNameAvailabilitySample.js","sourceRoot":"","sources":["../../samples-dev/accountsCheckNameAvailabilitySample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,kCAAkC,EACnC,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,gCAAgC;;QAC7C,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,IAAI,GAAmC;YAC3C,YAAY,EAAE,aAAa;YAC3B,YAAY,EAAE,SAAS;SACxB,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,kCAAkC,CACnD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,QAAQ,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC;QACjE,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,gCAAgC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=accountsCreateOrUpdateSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accountsCreateOrUpdateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/accountsCreateOrUpdateSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,38 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Creates or updates a Visual Studio Team Services account resource.
15
+ *
16
+ * @summary Creates or updates a Visual Studio Team Services account resource.
17
+ * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/CreateResource.json
18
+ */
19
+ function createAnAccountResource() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90";
22
+ const resourceGroupName = "VS-Example-Group";
23
+ const resourceName = "Example";
24
+ const body = {
25
+ accountName: "Example",
26
+ location: "Central US",
27
+ operationType: "create",
28
+ properties: {},
29
+ tags: {}
30
+ };
31
+ const credential = new DefaultAzureCredential();
32
+ const client = new VisualStudioResourceProviderClient(credential, subscriptionId);
33
+ const result = yield client.accounts.createOrUpdate(resourceGroupName, resourceName, body);
34
+ console.log(result);
35
+ });
36
+ }
37
+ createAnAccountResource().catch(console.error);
38
+ //# sourceMappingURL=accountsCreateOrUpdateSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accountsCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/accountsCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,kCAAkC,EACnC,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,uBAAuB;;QACpC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,kBAAkB,CAAC;QAC7C,MAAM,YAAY,GAAG,SAAS,CAAC;QAC/B,MAAM,IAAI,GAA2B;YACnC,WAAW,EAAE,SAAS;YACtB,QAAQ,EAAE,YAAY;YACtB,aAAa,EAAE,QAAQ;YACvB,UAAU,EAAE,EAAE;YACd,IAAI,EAAE,EAAE;SACT,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,kCAAkC,CACnD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,QAAQ,CAAC,cAAc,CACjD,iBAAiB,EACjB,YAAY,EACZ,IAAI,CACL,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,uBAAuB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=accountsDeleteSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accountsDeleteSample.d.ts","sourceRoot":"","sources":["../../samples-dev/accountsDeleteSample.ts"],"names":[],"mappings":""}
@@ -8,14 +8,14 @@
8
8
  import { __awaiter } from "tslib";
9
9
  // Copyright (c) Microsoft Corporation.
10
10
  // Licensed under the MIT License.
11
+ import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio";
12
+ import { DefaultAzureCredential } from "@azure/identity";
11
13
  /**
12
14
  * This sample demonstrates how to Deletes a Visual Studio Team Services account resource.
13
15
  *
14
16
  * @summary Deletes a Visual Studio Team Services account resource.
15
17
  * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/DeleteResource.json
16
18
  */
17
- import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio";
18
- import { DefaultAzureCredential } from "@azure/identity";
19
19
  function deleteAnAccountResource() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
21
21
  const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90";
@@ -28,4 +28,4 @@ function deleteAnAccountResource() {
28
28
  });
29
29
  }
30
30
  deleteAnAccountResource().catch(console.error);
31
- //# sourceMappingURL=deleteAnAccountResource.js.map
31
+ //# sourceMappingURL=accountsDeleteSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accountsDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/accountsDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,kCAAkC,EAAE,MAAM,yBAAyB,CAAC;AAC7E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,uBAAuB;;QACpC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,kBAAkB,CAAC;QAC7C,MAAM,YAAY,GAAG,SAAS,CAAC;QAC/B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,kCAAkC,CACnD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,iBAAiB,EAAE,YAAY,CAAC,CAAC;QAC7E,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,uBAAuB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=accountsGetSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accountsGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/accountsGetSample.ts"],"names":[],"mappings":""}
@@ -8,14 +8,14 @@
8
8
  import { __awaiter } from "tslib";
9
9
  // Copyright (c) Microsoft Corporation.
10
10
  // Licensed under the MIT License.
11
+ import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio";
12
+ import { DefaultAzureCredential } from "@azure/identity";
11
13
  /**
12
14
  * This sample demonstrates how to Gets the Visual Studio Team Services account resource details.
13
15
  *
14
16
  * @summary Gets the Visual Studio Team Services account resource details.
15
17
  * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetResource.json
16
18
  */
17
- import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio";
18
- import { DefaultAzureCredential } from "@azure/identity";
19
19
  function getAnAccountResource() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
21
21
  const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90";
@@ -28,4 +28,4 @@ function getAnAccountResource() {
28
28
  });
29
29
  }
30
30
  getAnAccountResource().catch(console.error);
31
- //# sourceMappingURL=getAnAccountResource.js.map
31
+ //# sourceMappingURL=accountsGetSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accountsGetSample.js","sourceRoot":"","sources":["../../samples-dev/accountsGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,kCAAkC,EAAE,MAAM,yBAAyB,CAAC;AAC7E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,oBAAoB;;QACjC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,kBAAkB,CAAC;QAC7C,MAAM,YAAY,GAAG,SAAS,CAAC;QAC/B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,kCAAkC,CACnD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,iBAAiB,EAAE,YAAY,CAAC,CAAC;QAC1E,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,oBAAoB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=accountsListByResourceGroupSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accountsListByResourceGroupSample.d.ts","sourceRoot":"","sources":["../../samples-dev/accountsListByResourceGroupSample.ts"],"names":[],"mappings":""}
@@ -8,14 +8,14 @@
8
8
  import { __awaiter } from "tslib";
9
9
  // Copyright (c) Microsoft Corporation.
10
10
  // Licensed under the MIT License.
11
+ import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio";
12
+ import { DefaultAzureCredential } from "@azure/identity";
11
13
  /**
12
14
  * This sample demonstrates how to Gets all Visual Studio Team Services account resources under the resource group linked to the specified Azure subscription.
13
15
  *
14
16
  * @summary Gets all Visual Studio Team Services account resources under the resource group linked to the specified Azure subscription.
15
17
  * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetResources_List.json
16
18
  */
17
- import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio";
18
- import { DefaultAzureCredential } from "@azure/identity";
19
19
  function getAListOfAccountResourcesInTheResourceGroup() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
21
21
  const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90";
@@ -27,4 +27,4 @@ function getAListOfAccountResourcesInTheResourceGroup() {
27
27
  });
28
28
  }
29
29
  getAListOfAccountResourcesInTheResourceGroup().catch(console.error);
30
- //# sourceMappingURL=getAListOfAccountResourcesInTheResourceGroup.js.map
30
+ //# sourceMappingURL=accountsListByResourceGroupSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accountsListByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/accountsListByResourceGroupSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,kCAAkC,EAAE,MAAM,yBAAyB,CAAC;AAC7E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,4CAA4C;;QACzD,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,kBAAkB,CAAC;QAC7C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,kCAAkC,CACnD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,QAAQ,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,CAAC;QAC5E,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,4CAA4C,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=accountsUpdateSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accountsUpdateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/accountsUpdateSample.ts"],"names":[],"mappings":""}
@@ -8,14 +8,14 @@
8
8
  import { __awaiter } from "tslib";
9
9
  // Copyright (c) Microsoft Corporation.
10
10
  // Licensed under the MIT License.
11
+ import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio";
12
+ import { DefaultAzureCredential } from "@azure/identity";
11
13
  /**
12
14
  * This sample demonstrates how to Updates tags for Visual Studio Team Services account resource.
13
15
  *
14
16
  * @summary Updates tags for Visual Studio Team Services account resource.
15
17
  * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/UpdateTags.json
16
18
  */
17
- import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio";
18
- import { DefaultAzureCredential } from "@azure/identity";
19
19
  function createAnAccountResource() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
21
21
  const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90";
@@ -29,4 +29,4 @@ function createAnAccountResource() {
29
29
  });
30
30
  }
31
31
  createAnAccountResource().catch(console.error);
32
- //# sourceMappingURL=createAnAccountResource.js.map
32
+ //# sourceMappingURL=accountsUpdateSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accountsUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/accountsUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,kCAAkC,EACnC,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,uBAAuB;;QACpC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,kBAAkB,CAAC;QAC7C,MAAM,YAAY,GAAG,SAAS,CAAC;QAC/B,MAAM,IAAI,GAAsB,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,CAAC;QAC7D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,kCAAkC,CACnD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,QAAQ,CAAC,MAAM,CACzC,iBAAiB,EACjB,YAAY,EACZ,IAAI,CACL,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,uBAAuB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=extensionsCreateSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extensionsCreateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/extensionsCreateSample.ts"],"names":[],"mappings":""}
@@ -8,14 +8,14 @@
8
8
  import { __awaiter } from "tslib";
9
9
  // Copyright (c) Microsoft Corporation.
10
10
  // Licensed under the MIT License.
11
+ import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio";
12
+ import { DefaultAzureCredential } from "@azure/identity";
11
13
  /**
12
14
  * This sample demonstrates how to Registers the extension with a Visual Studio Team Services account.
13
15
  *
14
16
  * @summary Registers the extension with a Visual Studio Team Services account.
15
17
  * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/CreateExtensionResource.json
16
18
  */
17
- import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio";
18
- import { DefaultAzureCredential } from "@azure/identity";
19
19
  function createAnExtensionResource() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
21
21
  const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90";
@@ -41,4 +41,4 @@ function createAnExtensionResource() {
41
41
  });
42
42
  }
43
43
  createAnExtensionResource().catch(console.error);
44
- //# sourceMappingURL=createAnExtensionResource.js.map
44
+ //# sourceMappingURL=extensionsCreateSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extensionsCreateSample.js","sourceRoot":"","sources":["../../samples-dev/extensionsCreateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,kCAAkC,EACnC,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,yBAAyB;;QACtC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,kBAAkB,CAAC;QAC7C,MAAM,mBAAmB,GAAG,gBAAgB,CAAC;QAC7C,MAAM,qBAAqB,GAAG,YAAY,CAAC;QAC3C,MAAM,IAAI,GAA6B;YACrC,QAAQ,EAAE,YAAY;YACtB,IAAI,EAAE;gBACJ,IAAI,EAAE,aAAa;gBACnB,OAAO,EAAE,sBAAsB;gBAC/B,aAAa,EAAE,EAAE;gBACjB,SAAS,EAAE,2BAA2B;gBACtC,OAAO,EAAE,KAAK;aACf;YACD,UAAU,EAAE,EAAE;YACd,IAAI,EAAE,EAAE;SACT,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,kCAAkC,CACnD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,MAAM,CAC3C,iBAAiB,EACjB,mBAAmB,EACnB,qBAAqB,EACrB,IAAI,CACL,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,yBAAyB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=extensionsDeleteSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extensionsDeleteSample.d.ts","sourceRoot":"","sources":["../../samples-dev/extensionsDeleteSample.ts"],"names":[],"mappings":""}
@@ -8,14 +8,14 @@
8
8
  import { __awaiter } from "tslib";
9
9
  // Copyright (c) Microsoft Corporation.
10
10
  // Licensed under the MIT License.
11
+ import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio";
12
+ import { DefaultAzureCredential } from "@azure/identity";
11
13
  /**
12
14
  * This sample demonstrates how to Removes an extension resource registration for a Visual Studio Team Services account.
13
15
  *
14
16
  * @summary Removes an extension resource registration for a Visual Studio Team Services account.
15
17
  * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/DeleteExtensionResource.json
16
18
  */
17
- import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio";
18
- import { DefaultAzureCredential } from "@azure/identity";
19
19
  function deleteAnExtensionResource() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
21
21
  const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90";
@@ -29,4 +29,4 @@ function deleteAnExtensionResource() {
29
29
  });
30
30
  }
31
31
  deleteAnExtensionResource().catch(console.error);
32
- //# sourceMappingURL=deleteAnExtensionResource.js.map
32
+ //# sourceMappingURL=extensionsDeleteSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extensionsDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/extensionsDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,kCAAkC,EAAE,MAAM,yBAAyB,CAAC;AAC7E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,yBAAyB;;QACtC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,kBAAkB,CAAC;QAC7C,MAAM,mBAAmB,GAAG,SAAS,CAAC;QACtC,MAAM,qBAAqB,GAAG,YAAY,CAAC;QAC3C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,kCAAkC,CACnD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,MAAM,CAC3C,iBAAiB,EACjB,mBAAmB,EACnB,qBAAqB,CACtB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,yBAAyB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=extensionsGetSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extensionsGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/extensionsGetSample.ts"],"names":[],"mappings":""}
@@ -8,14 +8,14 @@
8
8
  import { __awaiter } from "tslib";
9
9
  // Copyright (c) Microsoft Corporation.
10
10
  // Licensed under the MIT License.
11
+ import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio";
12
+ import { DefaultAzureCredential } from "@azure/identity";
11
13
  /**
12
14
  * This sample demonstrates how to Gets the details of an extension associated with a Visual Studio Team Services account resource.
13
15
  *
14
16
  * @summary Gets the details of an extension associated with a Visual Studio Team Services account resource.
15
17
  * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetExtensionResource.json
16
18
  */
17
- import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio";
18
- import { DefaultAzureCredential } from "@azure/identity";
19
19
  function getAnExtensionResource() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
21
21
  const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90";
@@ -29,4 +29,4 @@ function getAnExtensionResource() {
29
29
  });
30
30
  }
31
31
  getAnExtensionResource().catch(console.error);
32
- //# sourceMappingURL=getAnExtensionResource.js.map
32
+ //# sourceMappingURL=extensionsGetSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extensionsGetSample.js","sourceRoot":"","sources":["../../samples-dev/extensionsGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,kCAAkC,EAAE,MAAM,yBAAyB,CAAC;AAC7E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,sBAAsB;;QACnC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,kBAAkB,CAAC;QAC7C,MAAM,mBAAmB,GAAG,gBAAgB,CAAC;QAC7C,MAAM,qBAAqB,GAAG,YAAY,CAAC;QAC3C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,kCAAkC,CACnD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,GAAG,CACxC,iBAAiB,EACjB,mBAAmB,EACnB,qBAAqB,CACtB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,sBAAsB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=extensionsListByAccountSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extensionsListByAccountSample.d.ts","sourceRoot":"","sources":["../../samples-dev/extensionsListByAccountSample.ts"],"names":[],"mappings":""}
@@ -8,14 +8,14 @@
8
8
  import { __awaiter } from "tslib";
9
9
  // Copyright (c) Microsoft Corporation.
10
10
  // Licensed under the MIT License.
11
+ import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio";
12
+ import { DefaultAzureCredential } from "@azure/identity";
11
13
  /**
12
14
  * This sample demonstrates how to Gets the details of the extension resources created within the resource group.
13
15
  *
14
16
  * @summary Gets the details of the extension resources created within the resource group.
15
17
  * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetExtensionResources_List.json
16
18
  */
17
- import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio";
18
- import { DefaultAzureCredential } from "@azure/identity";
19
19
  function getAListOfExtensionResourcesWithinTheResourceGroup() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
21
21
  const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90";
@@ -28,4 +28,4 @@ function getAListOfExtensionResourcesWithinTheResourceGroup() {
28
28
  });
29
29
  }
30
30
  getAListOfExtensionResourcesWithinTheResourceGroup().catch(console.error);
31
- //# sourceMappingURL=getAListOfExtensionResourcesWithinTheResourceGroup.js.map
31
+ //# sourceMappingURL=extensionsListByAccountSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extensionsListByAccountSample.js","sourceRoot":"","sources":["../../samples-dev/extensionsListByAccountSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,kCAAkC,EAAE,MAAM,yBAAyB,CAAC;AAC7E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,kDAAkD;;QAC/D,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,kBAAkB,CAAC;QAC7C,MAAM,mBAAmB,GAAG,gBAAgB,CAAC;QAC7C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,kCAAkC,CACnD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,aAAa,CAClD,iBAAiB,EACjB,mBAAmB,CACpB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,kDAAkD,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=extensionsUpdateSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extensionsUpdateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/extensionsUpdateSample.ts"],"names":[],"mappings":""}
@@ -8,14 +8,14 @@
8
8
  import { __awaiter } from "tslib";
9
9
  // Copyright (c) Microsoft Corporation.
10
10
  // Licensed under the MIT License.
11
+ import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio";
12
+ import { DefaultAzureCredential } from "@azure/identity";
11
13
  /**
12
14
  * This sample demonstrates how to Updates an existing extension registration for the Visual Studio Team Services account.
13
15
  *
14
16
  * @summary Updates an existing extension registration for the Visual Studio Team Services account.
15
17
  * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/UpdateExtensionResource.json
16
18
  */
17
- import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio";
18
- import { DefaultAzureCredential } from "@azure/identity";
19
19
  function updateAnExtensionResource() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
21
21
  const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90";
@@ -41,4 +41,4 @@ function updateAnExtensionResource() {
41
41
  });
42
42
  }
43
43
  updateAnExtensionResource().catch(console.error);
44
- //# sourceMappingURL=updateAnExtensionResource.js.map
44
+ //# sourceMappingURL=extensionsUpdateSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extensionsUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/extensionsUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,kCAAkC,EACnC,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,yBAAyB;;QACtC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,kBAAkB,CAAC;QAC7C,MAAM,mBAAmB,GAAG,gBAAgB,CAAC;QAC7C,MAAM,qBAAqB,GAAG,SAAS,CAAC;QACxC,MAAM,IAAI,GAA6B;YACrC,QAAQ,EAAE,YAAY;YACtB,IAAI,EAAE;gBACJ,IAAI,EAAE,aAAa;gBACnB,OAAO,EAAE,sBAAsB;gBAC/B,aAAa,EAAE,EAAE;gBACjB,SAAS,EAAE,2BAA2B;gBACtC,OAAO,EAAE,KAAK;aACf;YACD,UAAU,EAAE,EAAE;YACd,IAAI,EAAE,EAAE;SACT,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,kCAAkC,CACnD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,MAAM,CAC3C,iBAAiB,EACjB,mBAAmB,EACnB,qBAAqB,EACrB,IAAI,CACL,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,yBAAyB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=operationsListSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operationsListSample.d.ts","sourceRoot":"","sources":["../../samples-dev/operationsListSample.ts"],"names":[],"mappings":""}
@@ -8,14 +8,14 @@
8
8
  import { __awaiter } from "tslib";
9
9
  // Copyright (c) Microsoft Corporation.
10
10
  // Licensed under the MIT License.
11
+ import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio";
12
+ import { DefaultAzureCredential } from "@azure/identity";
11
13
  /**
12
14
  * This sample demonstrates how to Gets the details of all operations possible on the Microsoft.VisualStudio resource provider.
13
15
  *
14
16
  * @summary Gets the details of all operations possible on the Microsoft.VisualStudio resource provider.
15
17
  * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetOperations.json
16
18
  */
17
- import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio";
18
- import { DefaultAzureCredential } from "@azure/identity";
19
19
  function getAListOfOperationsForThisResourceProvider() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
21
21
  const subscriptionId = "00000000-0000-0000-0000-000000000000";
@@ -26,4 +26,4 @@ function getAListOfOperationsForThisResourceProvider() {
26
26
  });
27
27
  }
28
28
  getAListOfOperationsForThisResourceProvider().catch(console.error);
29
- //# sourceMappingURL=getAListOfOperationsForThisResourceProvider.js.map
29
+ //# sourceMappingURL=operationsListSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operationsListSample.js","sourceRoot":"","sources":["../../samples-dev/operationsListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,kCAAkC,EAAE,MAAM,yBAAyB,CAAC;AAC7E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,2CAA2C;;QACxD,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,kCAAkC,CACnD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,IAAI,EAAE,CAAC;QAC9C,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,2CAA2C,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=projectsCreateSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"projectsCreateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/projectsCreateSample.ts"],"names":[],"mappings":""}
@@ -8,14 +8,14 @@
8
8
  import { __awaiter } from "tslib";
9
9
  // Copyright (c) Microsoft Corporation.
10
10
  // Licensed under the MIT License.
11
+ import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio";
12
+ import { DefaultAzureCredential } from "@azure/identity";
11
13
  /**
12
14
  * This sample demonstrates how to Creates a Team Services project in the collection with the specified name. 'VersionControlOption' and 'ProcessTemplateId' must be specified in the resource properties. Valid values for VersionControlOption: Git, Tfvc. Valid values for ProcessTemplateId: 6B724908-EF14-45CF-84F8-768B5384DA45, ADCC42AB-9882-485E-A3ED-7678F01F66BC, 27450541-8E31-4150-9947-DC59F998FC01 (these IDs correspond to Scrum, Agile, and CMMI process templates).
13
15
  *
14
16
  * @summary Creates a Team Services project in the collection with the specified name. 'VersionControlOption' and 'ProcessTemplateId' must be specified in the resource properties. Valid values for VersionControlOption: Git, Tfvc. Valid values for ProcessTemplateId: 6B724908-EF14-45CF-84F8-768B5384DA45, ADCC42AB-9882-485E-A3ED-7678F01F66BC, 27450541-8E31-4150-9947-DC59F998FC01 (these IDs correspond to Scrum, Agile, and CMMI process templates).
15
17
  * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/CreateProjectResource.json
16
18
  */
17
- import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio";
18
- import { DefaultAzureCredential } from "@azure/identity";
19
19
  function createAProjectResource() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
21
21
  const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90";
@@ -40,4 +40,4 @@ function createAProjectResource() {
40
40
  });
41
41
  }
42
42
  createAProjectResource().catch(console.error);
43
- //# sourceMappingURL=createAProjectResource.js.map
43
+ //# sourceMappingURL=projectsCreateSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"projectsCreateSample.js","sourceRoot":"","sources":["../../samples-dev/projectsCreateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,kCAAkC,EACnC,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,sBAAsB;;QACnC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,kBAAkB,CAAC;QAC7C,MAAM,gBAAgB,GAAG,gBAAgB,CAAC;QAC1C,MAAM,YAAY,GAAG,gBAAgB,CAAC;QACtC,MAAM,IAAI,GAAoB;YAC5B,IAAI,EAAE,gBAAgB;YACtB,IAAI,EAAE,wCAAwC;YAC9C,EAAE,EACA,oKAAoK;YACtK,QAAQ,EAAE,YAAY;YACtB,UAAU,EAAE;gBACV,iBAAiB,EAAE,sCAAsC;gBACzD,oBAAoB,EAAE,KAAK;aAC5B;YACD,IAAI,EAAE,EAAE;SACT,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,kCAAkC,CACnD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,QAAQ,CAAC,kBAAkB,CACrD,iBAAiB,EACjB,gBAAgB,EAChB,YAAY,EACZ,IAAI,CACL,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,sBAAsB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=projectsGetJobStatusSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"projectsGetJobStatusSample.d.ts","sourceRoot":"","sources":["../../samples-dev/projectsGetJobStatusSample.ts"],"names":[],"mappings":""}
@@ -8,14 +8,14 @@
8
8
  import { __awaiter } from "tslib";
9
9
  // Copyright (c) Microsoft Corporation.
10
10
  // Licensed under the MIT License.
11
+ import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio";
12
+ import { DefaultAzureCredential } from "@azure/identity";
11
13
  /**
12
14
  * This sample demonstrates how to Gets the status of the project resource creation job.
13
15
  *
14
16
  * @summary Gets the status of the project resource creation job.
15
17
  * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetProjectJobStatus.json
16
18
  */
17
- import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio";
18
- import { DefaultAzureCredential } from "@azure/identity";
19
19
  function getTheStatusOfTheProjectCreationJob() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
21
21
  const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90";
@@ -25,7 +25,7 @@ function getTheStatusOfTheProjectCreationJob() {
25
25
  const subContainerName = "ExampleProject";
26
26
  const operation = "put";
27
27
  const jobId = "126167d2-d710-4b5d-80a8-a1d58717142d";
28
- const options = { jobId: jobId };
28
+ const options = { jobId };
29
29
  const credential = new DefaultAzureCredential();
30
30
  const client = new VisualStudioResourceProviderClient(credential, subscriptionId);
31
31
  const result = yield client.projects.getJobStatus(resourceGroupName, rootResourceName, resourceName, subContainerName, operation, options);
@@ -33,4 +33,4 @@ function getTheStatusOfTheProjectCreationJob() {
33
33
  });
34
34
  }
35
35
  getTheStatusOfTheProjectCreationJob().catch(console.error);
36
- //# sourceMappingURL=getTheStatusOfTheProjectCreationJob.js.map
36
+ //# sourceMappingURL=projectsGetJobStatusSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"projectsGetJobStatusSample.js","sourceRoot":"","sources":["../../samples-dev/projectsGetJobStatusSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,kCAAkC,EACnC,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,mCAAmC;;QAChD,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,kBAAkB,CAAC;QAC7C,MAAM,gBAAgB,GAAG,gBAAgB,CAAC;QAC1C,MAAM,YAAY,GAAG,gBAAgB,CAAC;QACtC,MAAM,gBAAgB,GAAG,gBAAgB,CAAC;QAC1C,MAAM,SAAS,GAAG,KAAK,CAAC;QACxB,MAAM,KAAK,GAAG,sCAAsC,CAAC;QACrD,MAAM,OAAO,GAAuC,EAAE,KAAK,EAAE,CAAC;QAC9D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,kCAAkC,CACnD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,QAAQ,CAAC,YAAY,CAC/C,iBAAiB,EACjB,gBAAgB,EAChB,YAAY,EACZ,gBAAgB,EAChB,SAAS,EACT,OAAO,CACR,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,mCAAmC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=projectsGetSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"projectsGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/projectsGetSample.ts"],"names":[],"mappings":""}
@@ -8,14 +8,14 @@
8
8
  import { __awaiter } from "tslib";
9
9
  // Copyright (c) Microsoft Corporation.
10
10
  // Licensed under the MIT License.
11
+ import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio";
12
+ import { DefaultAzureCredential } from "@azure/identity";
11
13
  /**
12
14
  * This sample demonstrates how to Gets the details of a Team Services project resource.
13
15
  *
14
16
  * @summary Gets the details of a Team Services project resource.
15
17
  * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetProjectResource.json
16
18
  */
17
- import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio";
18
- import { DefaultAzureCredential } from "@azure/identity";
19
19
  function getAProjectResource() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
21
21
  const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90";
@@ -29,4 +29,4 @@ function getAProjectResource() {
29
29
  });
30
30
  }
31
31
  getAProjectResource().catch(console.error);
32
- //# sourceMappingURL=getAProjectResource.js.map
32
+ //# sourceMappingURL=projectsGetSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"projectsGetSample.js","sourceRoot":"","sources":["../../samples-dev/projectsGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,kCAAkC,EAAE,MAAM,yBAAyB,CAAC;AAC7E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,mBAAmB;;QAChC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,kBAAkB,CAAC;QAC7C,MAAM,gBAAgB,GAAG,gBAAgB,CAAC;QAC1C,MAAM,YAAY,GAAG,gBAAgB,CAAC;QACtC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,kCAAkC,CACnD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,QAAQ,CAAC,GAAG,CACtC,iBAAiB,EACjB,gBAAgB,EAChB,YAAY,CACb,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,mBAAmB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=projectsListByResourceGroupSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"projectsListByResourceGroupSample.d.ts","sourceRoot":"","sources":["../../samples-dev/projectsListByResourceGroupSample.ts"],"names":[],"mappings":""}
@@ -8,14 +8,14 @@
8
8
  import { __awaiter } from "tslib";
9
9
  // Copyright (c) Microsoft Corporation.
10
10
  // Licensed under the MIT License.
11
+ import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio";
12
+ import { DefaultAzureCredential } from "@azure/identity";
11
13
  /**
12
14
  * This sample demonstrates how to Gets all Visual Studio Team Services project resources created in the specified Team Services account.
13
15
  *
14
16
  * @summary Gets all Visual Studio Team Services project resources created in the specified Team Services account.
15
17
  * x-ms-original-file: specification/visualstudio/resource-manager/Microsoft.VisualStudio/preview/2014-04-01-preview/examples/GetProjectResources_List.json
16
18
  */
17
- import { VisualStudioResourceProviderClient } from "@azure/arm-visualstudio";
18
- import { DefaultAzureCredential } from "@azure/identity";
19
19
  function getAListOfProjectResourcesInTheTeamServicesAccount() {
20
20
  return __awaiter(this, void 0, void 0, function* () {
21
21
  const subscriptionId = "0de7f055-dbea-498d-8e9e-da287eedca90";
@@ -28,4 +28,4 @@ function getAListOfProjectResourcesInTheTeamServicesAccount() {
28
28
  });
29
29
  }
30
30
  getAListOfProjectResourcesInTheTeamServicesAccount().catch(console.error);
31
- //# sourceMappingURL=getAListOfProjectResourcesInTheTeamServicesAccount.js.map
31
+ //# sourceMappingURL=projectsListByResourceGroupSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"projectsListByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/projectsListByResourceGroupSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,kCAAkC,EAAE,MAAM,yBAAyB,CAAC;AAC7E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,kDAAkD;;QAC/D,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,kBAAkB,CAAC;QAC7C,MAAM,gBAAgB,GAAG,gBAAgB,CAAC;QAC1C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,kCAAkC,CACnD,UAAU,EACV,cAAc,CACf,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,QAAQ,CAAC,mBAAmB,CACtD,iBAAiB,EACjB,gBAAgB,CACjB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,kDAAkD,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}