@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.
- package/CHANGELOG.md +11 -0
- package/{LICENSE.txt → LICENSE} +2 -2
- package/README.md +69 -80
- package/dist/index.js +1029 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/managedServiceIdentityClient.d.ts +20 -0
- package/dist-esm/src/managedServiceIdentityClient.d.ts.map +1 -0
- package/dist-esm/src/managedServiceIdentityClient.js +53 -0
- package/dist-esm/src/managedServiceIdentityClient.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +212 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +9 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +14 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +325 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +13 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +113 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +4 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +11 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/systemAssignedIdentities.d.ts +20 -0
- package/dist-esm/src/operations/systemAssignedIdentities.d.ts.map +1 -0
- package/dist-esm/src/operations/systemAssignedIdentities.js +48 -0
- package/dist-esm/src/operations/systemAssignedIdentities.js.map +1 -0
- package/dist-esm/src/operations/userAssignedIdentities.d.ts +83 -0
- package/dist-esm/src/operations/userAssignedIdentities.d.ts.map +1 -0
- package/dist-esm/src/operations/userAssignedIdentities.js +359 -0
- package/dist-esm/src/operations/userAssignedIdentities.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +11 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/systemAssignedIdentities.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/systemAssignedIdentities.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/systemAssignedIdentities.js +9 -0
- package/dist-esm/src/operationsInterfaces/systemAssignedIdentities.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/userAssignedIdentities.d.ts +47 -0
- package/dist-esm/src/operationsInterfaces/userAssignedIdentities.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/userAssignedIdentities.js +9 -0
- package/dist-esm/src/operationsInterfaces/userAssignedIdentities.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +67 -24
- package/review/arm-msi.api.md +218 -0
- package/rollup.config.js +184 -27
- package/src/index.ts +12 -0
- package/src/managedServiceIdentityClient.ts +74 -37
- package/src/models/index.ts +194 -304
- package/src/models/mappers.ts +245 -85
- package/src/models/parameters.ts +83 -24
- package/src/operations/index.ts +4 -5
- package/src/operations/operations.ts +87 -73
- package/src/operations/systemAssignedIdentities.ts +65 -0
- package/src/operations/userAssignedIdentities.ts +278 -307
- package/src/operationsInterfaces/index.ts +11 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/systemAssignedIdentities.ts +26 -0
- package/src/operationsInterfaces/userAssignedIdentities.ts +91 -0
- package/tsconfig.json +4 -4
- package/types/arm-msi.d.ts +330 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-msi.js +0 -830
- package/dist/arm-msi.js.map +0 -1
- package/dist/arm-msi.min.js +0 -1
- package/dist/arm-msi.min.js.map +0 -1
- package/esm/managedServiceIdentityClient.d.ts +0 -25
- package/esm/managedServiceIdentityClient.d.ts.map +0 -1
- package/esm/managedServiceIdentityClient.js +0 -39
- package/esm/managedServiceIdentityClient.js.map +0 -1
- package/esm/managedServiceIdentityClientContext.d.ts +0 -22
- package/esm/managedServiceIdentityClientContext.d.ts.map +0 -1
- package/esm/managedServiceIdentityClientContext.js +0 -61
- package/esm/managedServiceIdentityClientContext.js.map +0 -1
- package/esm/models/index.d.ts +0 -332
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -10
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -9
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js +0 -197
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -11
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -8
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -71
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/userAssignedIdentitiesMappers.d.ts +0 -2
- package/esm/models/userAssignedIdentitiesMappers.d.ts.map +0 -1
- package/esm/models/userAssignedIdentitiesMappers.js +0 -11
- package/esm/models/userAssignedIdentitiesMappers.js.map +0 -1
- package/esm/operations/index.d.ts +0 -3
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js +0 -12
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -46
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -77
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/userAssignedIdentities.d.ts +0 -172
- package/esm/operations/userAssignedIdentities.d.ts.map +0 -1
- package/esm/operations/userAssignedIdentities.js +0 -272
- package/esm/operations/userAssignedIdentities.js.map +0 -1
- package/src/managedServiceIdentityClientContext.ts +0 -68
- package/src/models/operationsMappers.ts +0 -17
- 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
|
-
|