@azure/arm-msi 1.2.1 → 2.0.0-alpha.20211217.3

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 (129) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/{LICENSE.txt → LICENSE} +2 -2
  3. package/README.md +69 -80
  4. package/dist/index.js +1029 -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/src/index.d.ts +5 -0
  9. package/dist-esm/src/index.d.ts.map +1 -0
  10. package/dist-esm/src/index.js +12 -0
  11. package/dist-esm/src/index.js.map +1 -0
  12. package/dist-esm/src/managedServiceIdentityClient.d.ts +20 -0
  13. package/dist-esm/src/managedServiceIdentityClient.d.ts.map +1 -0
  14. package/dist-esm/src/managedServiceIdentityClient.js +53 -0
  15. package/dist-esm/src/managedServiceIdentityClient.js.map +1 -0
  16. package/dist-esm/src/models/index.d.ts +212 -0
  17. package/dist-esm/src/models/index.d.ts.map +1 -0
  18. package/dist-esm/src/models/index.js +9 -0
  19. package/dist-esm/src/models/index.js.map +1 -0
  20. package/dist-esm/src/models/mappers.d.ts +14 -0
  21. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  22. package/dist-esm/src/models/mappers.js +325 -0
  23. package/dist-esm/src/models/mappers.js.map +1 -0
  24. package/dist-esm/src/models/parameters.d.ts +13 -0
  25. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  26. package/dist-esm/src/models/parameters.js +113 -0
  27. package/dist-esm/src/models/parameters.js.map +1 -0
  28. package/dist-esm/src/operations/index.d.ts +4 -0
  29. package/dist-esm/src/operations/index.d.ts.map +1 -0
  30. package/dist-esm/src/operations/index.js +11 -0
  31. package/dist-esm/src/operations/index.js.map +1 -0
  32. package/dist-esm/src/operations/operations.d.ts +32 -0
  33. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  34. package/dist-esm/src/operations/operations.js +120 -0
  35. package/dist-esm/src/operations/operations.js.map +1 -0
  36. package/dist-esm/src/operations/systemAssignedIdentities.d.ts +20 -0
  37. package/dist-esm/src/operations/systemAssignedIdentities.d.ts.map +1 -0
  38. package/dist-esm/src/operations/systemAssignedIdentities.js +48 -0
  39. package/dist-esm/src/operations/systemAssignedIdentities.js.map +1 -0
  40. package/dist-esm/src/operations/userAssignedIdentities.d.ts +83 -0
  41. package/dist-esm/src/operations/userAssignedIdentities.d.ts.map +1 -0
  42. package/dist-esm/src/operations/userAssignedIdentities.js +359 -0
  43. package/dist-esm/src/operations/userAssignedIdentities.js.map +1 -0
  44. package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
  45. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  46. package/dist-esm/src/operationsInterfaces/index.js +11 -0
  47. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  48. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  49. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  50. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  51. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  52. package/dist-esm/src/operationsInterfaces/systemAssignedIdentities.d.ts +12 -0
  53. package/dist-esm/src/operationsInterfaces/systemAssignedIdentities.d.ts.map +1 -0
  54. package/dist-esm/src/operationsInterfaces/systemAssignedIdentities.js +9 -0
  55. package/dist-esm/src/operationsInterfaces/systemAssignedIdentities.js.map +1 -0
  56. package/dist-esm/src/operationsInterfaces/userAssignedIdentities.d.ts +47 -0
  57. package/dist-esm/src/operationsInterfaces/userAssignedIdentities.d.ts.map +1 -0
  58. package/dist-esm/src/operationsInterfaces/userAssignedIdentities.js +9 -0
  59. package/dist-esm/src/operationsInterfaces/userAssignedIdentities.js.map +1 -0
  60. package/dist-esm/test/sampleTest.d.ts +2 -0
  61. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  62. package/dist-esm/test/sampleTest.js +40 -0
  63. package/dist-esm/test/sampleTest.js.map +1 -0
  64. package/package.json +67 -24
  65. package/review/arm-msi.api.md +218 -0
  66. package/rollup.config.js +184 -27
  67. package/src/index.ts +12 -0
  68. package/src/managedServiceIdentityClient.ts +74 -37
  69. package/src/models/index.ts +194 -304
  70. package/src/models/mappers.ts +245 -85
  71. package/src/models/parameters.ts +83 -24
  72. package/src/operations/index.ts +4 -5
  73. package/src/operations/operations.ts +87 -73
  74. package/src/operations/systemAssignedIdentities.ts +65 -0
  75. package/src/operations/userAssignedIdentities.ts +278 -307
  76. package/src/operationsInterfaces/index.ts +11 -0
  77. package/src/operationsInterfaces/operations.ts +22 -0
  78. package/src/operationsInterfaces/systemAssignedIdentities.ts +26 -0
  79. package/src/operationsInterfaces/userAssignedIdentities.ts +91 -0
  80. package/tsconfig.json +4 -4
  81. package/types/arm-msi.d.ts +330 -0
  82. package/types/tsdoc-metadata.json +11 -0
  83. package/dist/arm-msi.js +0 -830
  84. package/dist/arm-msi.js.map +0 -1
  85. package/dist/arm-msi.min.js +0 -1
  86. package/dist/arm-msi.min.js.map +0 -1
  87. package/esm/managedServiceIdentityClient.d.ts +0 -25
  88. package/esm/managedServiceIdentityClient.d.ts.map +0 -1
  89. package/esm/managedServiceIdentityClient.js +0 -39
  90. package/esm/managedServiceIdentityClient.js.map +0 -1
  91. package/esm/managedServiceIdentityClientContext.d.ts +0 -22
  92. package/esm/managedServiceIdentityClientContext.d.ts.map +0 -1
  93. package/esm/managedServiceIdentityClientContext.js +0 -61
  94. package/esm/managedServiceIdentityClientContext.js.map +0 -1
  95. package/esm/models/index.d.ts +0 -332
  96. package/esm/models/index.d.ts.map +0 -1
  97. package/esm/models/index.js +0 -10
  98. package/esm/models/index.js.map +0 -1
  99. package/esm/models/mappers.d.ts +0 -9
  100. package/esm/models/mappers.d.ts.map +0 -1
  101. package/esm/models/mappers.js +0 -197
  102. package/esm/models/mappers.js.map +0 -1
  103. package/esm/models/operationsMappers.d.ts +0 -2
  104. package/esm/models/operationsMappers.d.ts.map +0 -1
  105. package/esm/models/operationsMappers.js +0 -11
  106. package/esm/models/operationsMappers.js.map +0 -1
  107. package/esm/models/parameters.d.ts +0 -8
  108. package/esm/models/parameters.d.ts.map +0 -1
  109. package/esm/models/parameters.js +0 -71
  110. package/esm/models/parameters.js.map +0 -1
  111. package/esm/models/userAssignedIdentitiesMappers.d.ts +0 -2
  112. package/esm/models/userAssignedIdentitiesMappers.d.ts.map +0 -1
  113. package/esm/models/userAssignedIdentitiesMappers.js +0 -11
  114. package/esm/models/userAssignedIdentitiesMappers.js.map +0 -1
  115. package/esm/operations/index.d.ts +0 -3
  116. package/esm/operations/index.d.ts.map +0 -1
  117. package/esm/operations/index.js +0 -12
  118. package/esm/operations/index.js.map +0 -1
  119. package/esm/operations/operations.d.ts +0 -46
  120. package/esm/operations/operations.d.ts.map +0 -1
  121. package/esm/operations/operations.js +0 -77
  122. package/esm/operations/operations.js.map +0 -1
  123. package/esm/operations/userAssignedIdentities.d.ts +0 -172
  124. package/esm/operations/userAssignedIdentities.d.ts.map +0 -1
  125. package/esm/operations/userAssignedIdentities.js +0 -272
  126. package/esm/operations/userAssignedIdentities.js.map +0 -1
  127. package/src/managedServiceIdentityClientContext.ts +0 -68
  128. package/src/models/operationsMappers.ts +0 -17
  129. package/src/models/userAssignedIdentitiesMappers.ts +0 -17
@@ -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-msi";
17
- const packageVersion = "1.2.1";
18
-
19
- export class ManagedServiceIdentityClientContext extends msRestAzure.AzureServiceClient {
20
- credentials: msRest.ServiceClientCredentials | TokenCredential;
21
- subscriptionId: string;
22
- apiVersion?: string;
23
-
24
- /**
25
- * Initializes a new instance of the ManagedServiceIdentityClient 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 Id of the Subscription to which the identity belongs.
33
- * @param [options] The parameter options
34
- */
35
- constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.ManagedServiceIdentityClientOptions) {
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 = '2015-08-31-preview';
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
- CloudError
16
- } from "../models/mappers";
17
-
@@ -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
- UserAssignedIdentitiesListResult,
13
- Identity,
14
- BaseResource,
15
- CloudError
16
- } from "../models/mappers";
17
-