@azure/arm-workspaces 0.2.0 → 1.0.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 (149) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +69 -80
  4. package/dist/index.js +1009 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/samples-dev/listWorkspaceKeys.d.ts +2 -0
  9. package/dist-esm/samples-dev/listWorkspaceKeys.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/listWorkspaceKeys.js +31 -0
  11. package/dist-esm/samples-dev/listWorkspaceKeys.js.map +1 -0
  12. package/dist-esm/samples-dev/resyncStorageKeys.d.ts +2 -0
  13. package/dist-esm/samples-dev/resyncStorageKeys.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/resyncStorageKeys.js +31 -0
  15. package/dist-esm/samples-dev/resyncStorageKeys.js.map +1 -0
  16. package/dist-esm/samples-dev/workspaceCreate.d.ts +2 -0
  17. package/dist-esm/samples-dev/workspaceCreate.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/workspaceCreate.js +38 -0
  19. package/dist-esm/samples-dev/workspaceCreate.js.map +1 -0
  20. package/dist-esm/samples-dev/workspaceDelete.d.ts +2 -0
  21. package/dist-esm/samples-dev/workspaceDelete.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/workspaceDelete.js +31 -0
  23. package/dist-esm/samples-dev/workspaceDelete.js.map +1 -0
  24. package/dist-esm/samples-dev/workspaceGet.d.ts +2 -0
  25. package/dist-esm/samples-dev/workspaceGet.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/workspaceGet.js +31 -0
  27. package/dist-esm/samples-dev/workspaceGet.js.map +1 -0
  28. package/dist-esm/samples-dev/workspaceGetBySubscription.d.ts +2 -0
  29. package/dist-esm/samples-dev/workspaceGetBySubscription.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/workspaceGetBySubscription.js +43 -0
  31. package/dist-esm/samples-dev/workspaceGetBySubscription.js.map +1 -0
  32. package/dist-esm/samples-dev/workspaceListResourceGroup.d.ts +2 -0
  33. package/dist-esm/samples-dev/workspaceListResourceGroup.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/workspaceListResourceGroup.js +44 -0
  35. package/dist-esm/samples-dev/workspaceListResourceGroup.js.map +1 -0
  36. package/dist-esm/samples-dev/workspaceUpdate.d.ts +2 -0
  37. package/dist-esm/samples-dev/workspaceUpdate.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/workspaceUpdate.js +36 -0
  39. package/dist-esm/samples-dev/workspaceUpdate.js.map +1 -0
  40. package/dist-esm/src/index.d.ts +5 -0
  41. package/dist-esm/src/index.d.ts.map +1 -0
  42. package/dist-esm/src/index.js +12 -0
  43. package/dist-esm/src/index.js.map +1 -0
  44. package/dist-esm/src/machineLearningWorkspacesManagementClient.d.ts +19 -0
  45. package/dist-esm/src/machineLearningWorkspacesManagementClient.d.ts.map +1 -0
  46. package/dist-esm/src/machineLearningWorkspacesManagementClient.js +52 -0
  47. package/dist-esm/src/machineLearningWorkspacesManagementClient.js.map +1 -0
  48. package/dist-esm/src/models/index.d.ts +190 -0
  49. package/dist-esm/src/models/index.d.ts.map +1 -0
  50. package/dist-esm/src/models/index.js +9 -0
  51. package/dist-esm/src/models/index.js.map +1 -0
  52. package/dist-esm/src/models/mappers.d.ts +12 -0
  53. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  54. package/{esm → dist-esm/src}/models/mappers.js +177 -167
  55. package/dist-esm/src/models/mappers.js.map +1 -0
  56. package/dist-esm/src/models/parameters.d.ts +12 -0
  57. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  58. package/dist-esm/src/models/parameters.js +102 -0
  59. package/dist-esm/src/models/parameters.js.map +1 -0
  60. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  61. package/dist-esm/src/operations/index.d.ts.map +1 -0
  62. package/dist-esm/src/operations/index.js +10 -0
  63. package/dist-esm/src/operations/index.js.map +1 -0
  64. package/dist-esm/src/operations/operations.d.ts +26 -0
  65. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  66. package/dist-esm/src/operations/operations.js +90 -0
  67. package/dist-esm/src/operations/operations.js.map +1 -0
  68. package/dist-esm/src/operations/workspaces.d.ts +106 -0
  69. package/dist-esm/src/operations/workspaces.d.ts.map +1 -0
  70. package/dist-esm/src/operations/workspaces.js +423 -0
  71. package/dist-esm/src/operations/workspaces.js.map +1 -0
  72. package/dist-esm/src/operationsInterfaces/index.d.ts +3 -0
  73. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  74. package/dist-esm/src/operationsInterfaces/index.js +10 -0
  75. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  76. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  77. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  78. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  79. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  80. package/dist-esm/src/operationsInterfaces/workspaces.d.ts +68 -0
  81. package/dist-esm/src/operationsInterfaces/workspaces.d.ts.map +1 -0
  82. package/dist-esm/src/operationsInterfaces/workspaces.js +9 -0
  83. package/dist-esm/src/operationsInterfaces/workspaces.js.map +1 -0
  84. package/dist-esm/test/sampleTest.d.ts +2 -0
  85. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  86. package/dist-esm/test/sampleTest.js +40 -0
  87. package/dist-esm/test/sampleTest.js.map +1 -0
  88. package/package.json +81 -34
  89. package/review/arm-workspaces.api.md +206 -0
  90. package/rollup.config.js +184 -27
  91. package/src/index.ts +12 -0
  92. package/src/machineLearningWorkspacesManagementClient.ts +64 -37
  93. package/src/models/index.ts +184 -393
  94. package/src/models/mappers.ts +177 -166
  95. package/src/models/parameters.ts +73 -26
  96. package/src/operations/index.ts +3 -5
  97. package/src/operations/operations.ts +66 -42
  98. package/src/operations/workspaces.ts +329 -406
  99. package/src/operationsInterfaces/index.ts +10 -0
  100. package/src/operationsInterfaces/operations.ts +22 -0
  101. package/src/operationsInterfaces/workspaces.ts +123 -0
  102. package/tsconfig.json +6 -5
  103. package/types/arm-workspaces.d.ts +316 -0
  104. package/types/tsdoc-metadata.json +11 -0
  105. package/dist/arm-workspaces.js +0 -990
  106. package/dist/arm-workspaces.js.map +0 -1
  107. package/dist/arm-workspaces.min.js +0 -1
  108. package/dist/arm-workspaces.min.js.map +0 -1
  109. package/esm/machineLearningWorkspacesManagementClient.d.ts +0 -25
  110. package/esm/machineLearningWorkspacesManagementClient.d.ts.map +0 -1
  111. package/esm/machineLearningWorkspacesManagementClient.js +0 -39
  112. package/esm/machineLearningWorkspacesManagementClient.js.map +0 -1
  113. package/esm/machineLearningWorkspacesManagementClientContext.d.ts +0 -22
  114. package/esm/machineLearningWorkspacesManagementClientContext.d.ts.map +0 -1
  115. package/esm/machineLearningWorkspacesManagementClientContext.js +0 -61
  116. package/esm/machineLearningWorkspacesManagementClientContext.js.map +0 -1
  117. package/esm/models/index.d.ts +0 -417
  118. package/esm/models/index.d.ts.map +0 -1
  119. package/esm/models/index.js +0 -10
  120. package/esm/models/index.js.map +0 -1
  121. package/esm/models/mappers.d.ts +0 -13
  122. package/esm/models/mappers.d.ts.map +0 -1
  123. package/esm/models/mappers.js.map +0 -1
  124. package/esm/models/operationsMappers.d.ts +0 -2
  125. package/esm/models/operationsMappers.d.ts.map +0 -1
  126. package/esm/models/operationsMappers.js +0 -11
  127. package/esm/models/operationsMappers.js.map +0 -1
  128. package/esm/models/parameters.d.ts +0 -8
  129. package/esm/models/parameters.d.ts.map +0 -1
  130. package/esm/models/parameters.js +0 -71
  131. package/esm/models/parameters.js.map +0 -1
  132. package/esm/models/workspacesMappers.d.ts +0 -2
  133. package/esm/models/workspacesMappers.d.ts.map +0 -1
  134. package/esm/models/workspacesMappers.js +0 -11
  135. package/esm/models/workspacesMappers.js.map +0 -1
  136. package/esm/operations/index.d.ts.map +0 -1
  137. package/esm/operations/index.js +0 -12
  138. package/esm/operations/index.js.map +0 -1
  139. package/esm/operations/operations.d.ts +0 -28
  140. package/esm/operations/operations.d.ts.map +0 -1
  141. package/esm/operations/operations.js +0 -51
  142. package/esm/operations/operations.js.map +0 -1
  143. package/esm/operations/workspaces.d.ts +0 -235
  144. package/esm/operations/workspaces.d.ts.map +0 -1
  145. package/esm/operations/workspaces.js +0 -329
  146. package/esm/operations/workspaces.js.map +0 -1
  147. package/src/machineLearningWorkspacesManagementClientContext.ts +0 -68
  148. package/src/models/operationsMappers.ts +0 -17
  149. package/src/models/workspacesMappers.ts +0 -20
@@ -1,68 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
9
- */
10
-
11
- import * as Models from "./models";
12
- import * as msRest from "@azure/ms-rest-js";
13
- import { TokenCredential } from "@azure/core-auth";
14
- import * as msRestAzure from "@azure/ms-rest-azure-js";
15
-
16
- const packageName = "@azure/arm-workspaces";
17
- const packageVersion = "0.2.0";
18
-
19
- export class MachineLearningWorkspacesManagementClientContext extends msRestAzure.AzureServiceClient {
20
- credentials: msRest.ServiceClientCredentials | TokenCredential;
21
- subscriptionId: string;
22
- apiVersion?: string;
23
-
24
- /**
25
- * Initializes a new instance of the MachineLearningWorkspacesManagementClient class.
26
- * @param credentials Credentials needed for the client to connect to Azure. Credentials
27
- * implementing the TokenCredential interface from the @azure/identity package are recommended. For
28
- * more information about these credentials, see
29
- * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
30
- * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
31
- * @azure/ms-rest-browserauth are also supported.
32
- * @param subscriptionId The Microsoft Azure subscription ID.
33
- * @param [options] The parameter options
34
- */
35
- constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.MachineLearningWorkspacesManagementClientOptions) {
36
- if (credentials == undefined) {
37
- throw new Error('\'credentials\' cannot be null.');
38
- }
39
- if (subscriptionId == undefined) {
40
- throw new Error('\'subscriptionId\' cannot be null.');
41
- }
42
-
43
- if (!options) {
44
- options = {};
45
- }
46
- if(!options.userAgent) {
47
- const defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
48
- options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
49
- }
50
-
51
- super(credentials, options);
52
-
53
- this.apiVersion = '2016-04-01';
54
- this.acceptLanguage = 'en-US';
55
- this.longRunningOperationRetryTimeout = 30;
56
- this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
57
- this.requestContentType = "application/json; charset=utf-8";
58
- this.credentials = credentials;
59
- this.subscriptionId = subscriptionId;
60
-
61
- if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
62
- this.acceptLanguage = options.acceptLanguage;
63
- }
64
- if(options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
65
- this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
66
- }
67
- }
68
- }
@@ -1,17 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
9
- */
10
-
11
- export {
12
- OperationListResult,
13
- Operation,
14
- OperationDisplay,
15
- ErrorResponse
16
- } from "../models/mappers";
17
-
@@ -1,20 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
9
- */
10
-
11
- export {
12
- Workspace,
13
- Resource,
14
- BaseResource,
15
- ErrorResponse,
16
- WorkspaceUpdateParameters,
17
- WorkspaceKeysResponse,
18
- WorkspaceListResult
19
- } from "../models/mappers";
20
-