@azure/arm-msi 2.1.1-alpha.20250718.1 → 2.2.0-alpha.20250724.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.
- package/CHANGELOG.md +11 -10
- package/LICENSE +1 -1
- package/README.md +1 -2
- package/dist/browser/managedServiceIdentityClient.d.ts +2 -1
- package/dist/browser/managedServiceIdentityClient.d.ts.map +1 -1
- package/dist/browser/managedServiceIdentityClient.js +33 -23
- package/dist/browser/managedServiceIdentityClient.js.map +1 -1
- package/dist/browser/models/index.d.ts +20 -0
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +8 -0
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/mappers.d.ts.map +1 -1
- package/dist/browser/models/mappers.js +203 -160
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/models/parameters.js +47 -47
- package/dist/browser/models/parameters.js.map +1 -1
- package/dist/browser/operations/federatedIdentityCredentials.d.ts.map +1 -1
- package/dist/browser/operations/federatedIdentityCredentials.js +53 -70
- package/dist/browser/operations/federatedIdentityCredentials.js.map +1 -1
- package/dist/browser/operations/operations.js +32 -49
- package/dist/browser/operations/operations.js.map +1 -1
- package/dist/browser/operations/systemAssignedIdentities.js +5 -4
- package/dist/browser/operations/systemAssignedIdentities.js.map +1 -1
- package/dist/browser/operations/userAssignedIdentities.js +86 -120
- package/dist/browser/operations/userAssignedIdentities.js.map +1 -1
- package/dist/browser/operationsInterfaces/federatedIdentityCredentials.js.map +1 -1
- package/dist/browser/operationsInterfaces/operations.js.map +1 -1
- package/dist/browser/operationsInterfaces/systemAssignedIdentities.js.map +1 -1
- package/dist/browser/operationsInterfaces/userAssignedIdentities.js.map +1 -1
- package/dist/browser/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/commonjs/managedServiceIdentityClient.d.ts +2 -1
- package/dist/commonjs/managedServiceIdentityClient.d.ts.map +1 -1
- package/dist/commonjs/managedServiceIdentityClient.js +32 -22
- package/dist/commonjs/managedServiceIdentityClient.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +20 -0
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +9 -1
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/models/mappers.js +203 -160
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/models/parameters.js +46 -46
- package/dist/commonjs/models/parameters.js.map +1 -1
- package/dist/commonjs/operations/federatedIdentityCredentials.d.ts.map +1 -1
- package/dist/commonjs/operations/federatedIdentityCredentials.js +53 -69
- package/dist/commonjs/operations/federatedIdentityCredentials.js.map +1 -1
- package/dist/commonjs/operations/operations.js +32 -48
- package/dist/commonjs/operations/operations.js.map +1 -1
- package/dist/commonjs/operations/systemAssignedIdentities.js +5 -4
- package/dist/commonjs/operations/systemAssignedIdentities.js.map +1 -1
- package/dist/commonjs/operations/userAssignedIdentities.js +86 -119
- package/dist/commonjs/operations/userAssignedIdentities.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/federatedIdentityCredentials.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/systemAssignedIdentities.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/userAssignedIdentities.js.map +1 -1
- package/dist/commonjs/pagingHelper.js +2 -4
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +11 -11
- package/dist/esm/managedServiceIdentityClient.d.ts +2 -1
- package/dist/esm/managedServiceIdentityClient.d.ts.map +1 -1
- package/dist/esm/managedServiceIdentityClient.js +33 -23
- package/dist/esm/managedServiceIdentityClient.js.map +1 -1
- package/dist/esm/models/index.d.ts +20 -0
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +8 -0
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/mappers.d.ts.map +1 -1
- package/dist/esm/models/mappers.js +203 -160
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/models/parameters.js +47 -47
- package/dist/esm/models/parameters.js.map +1 -1
- package/dist/esm/operations/federatedIdentityCredentials.d.ts.map +1 -1
- package/dist/esm/operations/federatedIdentityCredentials.js +53 -70
- package/dist/esm/operations/federatedIdentityCredentials.js.map +1 -1
- package/dist/esm/operations/operations.js +32 -49
- package/dist/esm/operations/operations.js.map +1 -1
- package/dist/esm/operations/systemAssignedIdentities.js +5 -4
- package/dist/esm/operations/systemAssignedIdentities.js.map +1 -1
- package/dist/esm/operations/userAssignedIdentities.js +86 -120
- package/dist/esm/operations/userAssignedIdentities.js.map +1 -1
- package/dist/esm/operationsInterfaces/federatedIdentityCredentials.js.map +1 -1
- package/dist/esm/operationsInterfaces/operations.js.map +1 -1
- package/dist/esm/operationsInterfaces/systemAssignedIdentities.js.map +1 -1
- package/dist/esm/operationsInterfaces/userAssignedIdentities.js.map +1 -1
- package/dist/esm/pagingHelper.js +2 -4
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/react-native/managedServiceIdentityClient.d.ts +2 -1
- package/dist/react-native/managedServiceIdentityClient.d.ts.map +1 -1
- package/dist/react-native/managedServiceIdentityClient.js +33 -23
- package/dist/react-native/managedServiceIdentityClient.js.map +1 -1
- package/dist/react-native/models/index.d.ts +20 -0
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +8 -0
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/mappers.d.ts.map +1 -1
- package/dist/react-native/models/mappers.js +203 -160
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/models/parameters.js +47 -47
- package/dist/react-native/models/parameters.js.map +1 -1
- package/dist/react-native/operations/federatedIdentityCredentials.d.ts.map +1 -1
- package/dist/react-native/operations/federatedIdentityCredentials.js +53 -70
- package/dist/react-native/operations/federatedIdentityCredentials.js.map +1 -1
- package/dist/react-native/operations/operations.js +32 -49
- package/dist/react-native/operations/operations.js.map +1 -1
- package/dist/react-native/operations/systemAssignedIdentities.js +5 -4
- package/dist/react-native/operations/systemAssignedIdentities.js.map +1 -1
- package/dist/react-native/operations/userAssignedIdentities.js +86 -120
- package/dist/react-native/operations/userAssignedIdentities.js.map +1 -1
- package/dist/react-native/operationsInterfaces/federatedIdentityCredentials.js.map +1 -1
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -1
- package/dist/react-native/operationsInterfaces/systemAssignedIdentities.js.map +1 -1
- package/dist/react-native/operationsInterfaces/userAssignedIdentities.js.map +1 -1
- package/dist/react-native/pagingHelper.js +2 -4
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/package.json +22 -22
- package/review/arm-msi-node.api.md +313 -301
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"userAssignedIdentities.js","sourceRoot":"","sources":["../../../src/operations/userAssignedIdentities.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAsBtD,4CAA4C;AAC5C,0DAA0D;AAC1D,MAAM,OAAO,0BAA0B;IAGrC;;;OAGG;IACH,YAAY,MAAoC;QAC9C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,kBAAkB,CACvB,OAAgE;QAEhE,MAAM,IAAI,GAAG,IAAI,CAAC,2BAA2B,CAAC,OAAO,CAAC,CAAC;QACvD,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE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pB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gCAAgC;SACrD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,oCAAoC,GAA6B;IACrE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gCAAgC;SACrD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;KAC7B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { UserAssignedIdentities } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ManagedServiceIdentityClient } from \"../managedServiceIdentityClient.js\";\nimport {\n Identity,\n UserAssignedIdentitiesListBySubscriptionNextOptionalParams,\n UserAssignedIdentitiesListBySubscriptionOptionalParams,\n UserAssignedIdentitiesListBySubscriptionResponse,\n UserAssignedIdentitiesListByResourceGroupNextOptionalParams,\n UserAssignedIdentitiesListByResourceGroupOptionalParams,\n UserAssignedIdentitiesListByResourceGroupResponse,\n UserAssignedIdentitiesCreateOrUpdateOptionalParams,\n UserAssignedIdentitiesCreateOrUpdateResponse,\n IdentityUpdate,\n UserAssignedIdentitiesUpdateOptionalParams,\n UserAssignedIdentitiesUpdateResponse,\n UserAssignedIdentitiesGetOptionalParams,\n UserAssignedIdentitiesGetResponse,\n UserAssignedIdentitiesDeleteOptionalParams,\n UserAssignedIdentitiesListBySubscriptionNextResponse,\n UserAssignedIdentitiesListByResourceGroupNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing UserAssignedIdentities operations. */\nexport class UserAssignedIdentitiesImpl implements UserAssignedIdentities {\n private readonly client: ManagedServiceIdentityClient;\n\n /**\n * Initialize a new instance of the class UserAssignedIdentities class.\n * @param client Reference to the service client\n */\n constructor(client: ManagedServiceIdentityClient) {\n this.client = client;\n }\n\n /**\n * Lists all the userAssignedIdentities available under the specified subscription.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: UserAssignedIdentitiesListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<Identity> {\n const iter = this.listBySubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listBySubscriptionPagingPage(options, settings);\n }\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: UserAssignedIdentitiesListBySubscriptionOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Identity[]> {\n let result: UserAssignedIdentitiesListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: UserAssignedIdentitiesListBySubscriptionOptionalParams\n ): AsyncIterableIterator<Identity> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all the userAssignedIdentities available under the specified ResourceGroup.\n * @param resourceGroupName The name of the Resource Group to which the identity belongs.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: UserAssignedIdentitiesListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<Identity> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: UserAssignedIdentitiesListByResourceGroupOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Identity[]> {\n let result: UserAssignedIdentitiesListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: UserAssignedIdentitiesListByResourceGroupOptionalParams\n ): AsyncIterableIterator<Identity> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists all the userAssignedIdentities available under the specified subscription.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: UserAssignedIdentitiesListBySubscriptionOptionalParams\n ): Promise<UserAssignedIdentitiesListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec\n );\n }\n\n /**\n * Lists all the userAssignedIdentities available under the specified ResourceGroup.\n * @param resourceGroupName The name of the Resource Group to which the identity belongs.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: UserAssignedIdentitiesListByResourceGroupOptionalParams\n ): Promise<UserAssignedIdentitiesListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * Create or update an identity in the specified subscription and resource group.\n * @param resourceGroupName The name of the Resource Group to which the identity belongs.\n * @param resourceName The name of the identity resource.\n * @param parameters Parameters to create or update the identity\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n resourceName: string,\n parameters: Identity,\n options?: UserAssignedIdentitiesCreateOrUpdateOptionalParams\n ): Promise<UserAssignedIdentitiesCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, parameters, options },\n createOrUpdateOperationSpec\n );\n }\n\n /**\n * Update an identity in the specified subscription and resource group.\n * @param resourceGroupName The name of the Resource Group to which the identity belongs.\n * @param resourceName The name of the identity resource.\n * @param parameters Parameters to update the identity\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n resourceName: string,\n parameters: IdentityUpdate,\n options?: UserAssignedIdentitiesUpdateOptionalParams\n ): Promise<UserAssignedIdentitiesUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, parameters, options },\n updateOperationSpec\n );\n }\n\n /**\n * Gets the identity.\n * @param resourceGroupName The name of the Resource Group to which the identity belongs.\n * @param resourceName The name of the identity resource.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceName: string,\n options?: UserAssignedIdentitiesGetOptionalParams\n ): Promise<UserAssignedIdentitiesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n getOperationSpec\n );\n }\n\n /**\n * Deletes the identity.\n * @param resourceGroupName The name of the Resource Group to which the identity belongs.\n * @param resourceName The name of the identity resource.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n resourceName: string,\n options?: UserAssignedIdentitiesDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n deleteOperationSpec\n );\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: UserAssignedIdentitiesListBySubscriptionNextOptionalParams\n ): Promise<UserAssignedIdentitiesListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the Resource Group to which the identity belongs.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: UserAssignedIdentitiesListByResourceGroupNextOptionalParams\n ): Promise<UserAssignedIdentitiesListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.ManagedIdentity/userAssignedIdentities\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.UserAssignedIdentitiesListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.UserAssignedIdentitiesListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Identity\n },\n 201: {\n bodyMapper: Mappers.Identity\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Identity\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n requestBody: Parameters.parameters1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Identity\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.UserAssignedIdentitiesListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.UserAssignedIdentitiesListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
1
|
+
{"version":3,"file":"userAssignedIdentities.js","sourceRoot":"","sources":["../../../src/operations/userAssignedIdentities.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAsBtD,4CAA4C;AAC5C,0DAA0D;AAC1D,MAAM,OAAO,0BAA0B;IACpB,MAAM,CAA+B;IAEtD;;;OAGG;IACH,YAAY,MAAoC;QAC9C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,kBAAkB,CACvB,OAAgE;QAEhE,MAAM,IAAI,GAAG,IAAI,CAAC,2BAA2B,CAAC,OAAO,CAAC,CAAC;QACvD,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAA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AE;YACH,UAAU,EAAE,OAAO,CAAC,gCAAgC;SACrD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,oCAAoC,GAA6B;IACrE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gCAAgC;SACrD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;KAC7B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { UserAssignedIdentities } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ManagedServiceIdentityClient } from \"../managedServiceIdentityClient.js\";\nimport {\n Identity,\n UserAssignedIdentitiesListBySubscriptionNextOptionalParams,\n UserAssignedIdentitiesListBySubscriptionOptionalParams,\n UserAssignedIdentitiesListBySubscriptionResponse,\n UserAssignedIdentitiesListByResourceGroupNextOptionalParams,\n UserAssignedIdentitiesListByResourceGroupOptionalParams,\n UserAssignedIdentitiesListByResourceGroupResponse,\n UserAssignedIdentitiesCreateOrUpdateOptionalParams,\n UserAssignedIdentitiesCreateOrUpdateResponse,\n IdentityUpdate,\n UserAssignedIdentitiesUpdateOptionalParams,\n UserAssignedIdentitiesUpdateResponse,\n UserAssignedIdentitiesGetOptionalParams,\n UserAssignedIdentitiesGetResponse,\n UserAssignedIdentitiesDeleteOptionalParams,\n UserAssignedIdentitiesListBySubscriptionNextResponse,\n UserAssignedIdentitiesListByResourceGroupNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing UserAssignedIdentities operations. */\nexport class UserAssignedIdentitiesImpl implements UserAssignedIdentities {\n private readonly client: ManagedServiceIdentityClient;\n\n /**\n * Initialize a new instance of the class UserAssignedIdentities class.\n * @param client Reference to the service client\n */\n constructor(client: ManagedServiceIdentityClient) {\n this.client = client;\n }\n\n /**\n * Lists all the userAssignedIdentities available under the specified subscription.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: UserAssignedIdentitiesListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<Identity> {\n const iter = this.listBySubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listBySubscriptionPagingPage(options, settings);\n },\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: UserAssignedIdentitiesListBySubscriptionOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Identity[]> {\n let result: UserAssignedIdentitiesListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: UserAssignedIdentitiesListBySubscriptionOptionalParams,\n ): AsyncIterableIterator<Identity> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all the userAssignedIdentities available under the specified ResourceGroup.\n * @param resourceGroupName The name of the Resource Group to which the identity belongs.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: UserAssignedIdentitiesListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<Identity> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: UserAssignedIdentitiesListByResourceGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Identity[]> {\n let result: UserAssignedIdentitiesListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: UserAssignedIdentitiesListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<Identity> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists all the userAssignedIdentities available under the specified subscription.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: UserAssignedIdentitiesListBySubscriptionOptionalParams,\n ): Promise<UserAssignedIdentitiesListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec,\n );\n }\n\n /**\n * Lists all the userAssignedIdentities available under the specified ResourceGroup.\n * @param resourceGroupName The name of the Resource Group to which the identity belongs.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: UserAssignedIdentitiesListByResourceGroupOptionalParams,\n ): Promise<UserAssignedIdentitiesListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec,\n );\n }\n\n /**\n * Create or update an identity in the specified subscription and resource group.\n * @param resourceGroupName The name of the Resource Group to which the identity belongs.\n * @param resourceName The name of the identity resource.\n * @param parameters Parameters to create or update the identity\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n resourceName: string,\n parameters: Identity,\n options?: UserAssignedIdentitiesCreateOrUpdateOptionalParams,\n ): Promise<UserAssignedIdentitiesCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, parameters, options },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Update an identity in the specified subscription and resource group.\n * @param resourceGroupName The name of the Resource Group to which the identity belongs.\n * @param resourceName The name of the identity resource.\n * @param parameters Parameters to update the identity\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n resourceName: string,\n parameters: IdentityUpdate,\n options?: UserAssignedIdentitiesUpdateOptionalParams,\n ): Promise<UserAssignedIdentitiesUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, parameters, options },\n updateOperationSpec,\n );\n }\n\n /**\n * Gets the identity.\n * @param resourceGroupName The name of the Resource Group to which the identity belongs.\n * @param resourceName The name of the identity resource.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceName: string,\n options?: UserAssignedIdentitiesGetOptionalParams,\n ): Promise<UserAssignedIdentitiesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Deletes the identity.\n * @param resourceGroupName The name of the Resource Group to which the identity belongs.\n * @param resourceName The name of the identity resource.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n resourceName: string,\n options?: UserAssignedIdentitiesDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n deleteOperationSpec,\n );\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: UserAssignedIdentitiesListBySubscriptionNextOptionalParams,\n ): Promise<UserAssignedIdentitiesListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec,\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the Resource Group to which the identity belongs.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: UserAssignedIdentitiesListByResourceGroupNextOptionalParams,\n ): Promise<UserAssignedIdentitiesListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.ManagedIdentity/userAssignedIdentities\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.UserAssignedIdentitiesListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.UserAssignedIdentitiesListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Identity,\n },\n 201: {\n bodyMapper: Mappers.Identity,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Identity,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Identity,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{resourceName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.UserAssignedIdentitiesListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.UserAssignedIdentitiesListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"federatedIdentityCredentials.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/federatedIdentityCredentials.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n FederatedIdentityCredential,\n FederatedIdentityCredentialsListOptionalParams,\n FederatedIdentityCredentialsCreateOrUpdateOptionalParams,\n FederatedIdentityCredentialsCreateOrUpdateResponse,\n FederatedIdentityCredentialsGetOptionalParams,\n FederatedIdentityCredentialsGetResponse,\n FederatedIdentityCredentialsDeleteOptionalParams
|
1
|
+
{"version":3,"file":"federatedIdentityCredentials.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/federatedIdentityCredentials.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n FederatedIdentityCredential,\n FederatedIdentityCredentialsListOptionalParams,\n FederatedIdentityCredentialsCreateOrUpdateOptionalParams,\n FederatedIdentityCredentialsCreateOrUpdateResponse,\n FederatedIdentityCredentialsGetOptionalParams,\n FederatedIdentityCredentialsGetResponse,\n FederatedIdentityCredentialsDeleteOptionalParams,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a FederatedIdentityCredentials. */\nexport interface FederatedIdentityCredentials {\n /**\n * Lists all the federated identity credentials under the specified user assigned identity.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the identity resource.\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n resourceName: string,\n options?: FederatedIdentityCredentialsListOptionalParams,\n ): PagedAsyncIterableIterator<FederatedIdentityCredential>;\n /**\n * Create or update a federated identity credential under the specified user assigned identity.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the identity resource.\n * @param federatedIdentityCredentialResourceName The name of the federated identity credential\n * resource.\n * @param parameters Parameters to create or update the federated identity credential.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n resourceName: string,\n federatedIdentityCredentialResourceName: string,\n parameters: FederatedIdentityCredential,\n options?: FederatedIdentityCredentialsCreateOrUpdateOptionalParams,\n ): Promise<FederatedIdentityCredentialsCreateOrUpdateResponse>;\n /**\n * Gets the federated identity credential.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the identity resource.\n * @param federatedIdentityCredentialResourceName The name of the federated identity credential\n * resource.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceName: string,\n federatedIdentityCredentialResourceName: string,\n options?: FederatedIdentityCredentialsGetOptionalParams,\n ): Promise<FederatedIdentityCredentialsGetResponse>;\n /**\n * Deletes the federated identity credential.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName The name of the identity resource.\n * @param federatedIdentityCredentialResourceName The name of the federated identity credential\n * resource.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n resourceName: string,\n federatedIdentityCredentialResourceName: string,\n options?: FederatedIdentityCredentialsDeleteOptionalParams,\n ): Promise<void>;\n}\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { Operation, OperationsListOptionalParams } from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Operations. */\nexport interface Operations {\n /**\n * Lists available operations for the Microsoft.ManagedIdentity provider\n * @param options The options parameters.\n */\n list(\n options?: OperationsListOptionalParams
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { Operation, OperationsListOptionalParams } from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Operations. */\nexport interface Operations {\n /**\n * Lists available operations for the Microsoft.ManagedIdentity provider\n * @param options The options parameters.\n */\n list(\n options?: OperationsListOptionalParams,\n ): PagedAsyncIterableIterator<Operation>;\n}\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"systemAssignedIdentities.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/systemAssignedIdentities.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n SystemAssignedIdentitiesGetByScopeOptionalParams,\n SystemAssignedIdentitiesGetByScopeResponse
|
1
|
+
{"version":3,"file":"systemAssignedIdentities.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/systemAssignedIdentities.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n SystemAssignedIdentitiesGetByScopeOptionalParams,\n SystemAssignedIdentitiesGetByScopeResponse,\n} from \"../models/index.js\";\n\n/** Interface representing a SystemAssignedIdentities. */\nexport interface SystemAssignedIdentities {\n /**\n * Gets the systemAssignedIdentity available under the specified RP scope.\n * @param scope The resource provider scope of the resource. Parent resource being extended by Managed\n * Identities.\n * @param options The options parameters.\n */\n getByScope(\n scope: string,\n options?: SystemAssignedIdentitiesGetByScopeOptionalParams,\n ): Promise<SystemAssignedIdentitiesGetByScopeResponse>;\n}\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"userAssignedIdentities.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/userAssignedIdentities.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n Identity,\n UserAssignedIdentitiesListBySubscriptionOptionalParams,\n UserAssignedIdentitiesListByResourceGroupOptionalParams,\n UserAssignedIdentitiesCreateOrUpdateOptionalParams,\n UserAssignedIdentitiesCreateOrUpdateResponse,\n IdentityUpdate,\n UserAssignedIdentitiesUpdateOptionalParams,\n UserAssignedIdentitiesUpdateResponse,\n UserAssignedIdentitiesGetOptionalParams,\n UserAssignedIdentitiesGetResponse,\n UserAssignedIdentitiesDeleteOptionalParams
|
1
|
+
{"version":3,"file":"userAssignedIdentities.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/userAssignedIdentities.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n Identity,\n UserAssignedIdentitiesListBySubscriptionOptionalParams,\n UserAssignedIdentitiesListByResourceGroupOptionalParams,\n UserAssignedIdentitiesCreateOrUpdateOptionalParams,\n UserAssignedIdentitiesCreateOrUpdateResponse,\n IdentityUpdate,\n UserAssignedIdentitiesUpdateOptionalParams,\n UserAssignedIdentitiesUpdateResponse,\n UserAssignedIdentitiesGetOptionalParams,\n UserAssignedIdentitiesGetResponse,\n UserAssignedIdentitiesDeleteOptionalParams,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a UserAssignedIdentities. */\nexport interface UserAssignedIdentities {\n /**\n * Lists all the userAssignedIdentities available under the specified subscription.\n * @param options The options parameters.\n */\n listBySubscription(\n options?: UserAssignedIdentitiesListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<Identity>;\n /**\n * Lists all the userAssignedIdentities available under the specified ResourceGroup.\n * @param resourceGroupName The name of the Resource Group to which the identity belongs.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n options?: UserAssignedIdentitiesListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<Identity>;\n /**\n * Create or update an identity in the specified subscription and resource group.\n * @param resourceGroupName The name of the Resource Group to which the identity belongs.\n * @param resourceName The name of the identity resource.\n * @param parameters Parameters to create or update the identity\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n resourceName: string,\n parameters: Identity,\n options?: UserAssignedIdentitiesCreateOrUpdateOptionalParams,\n ): Promise<UserAssignedIdentitiesCreateOrUpdateResponse>;\n /**\n * Update an identity in the specified subscription and resource group.\n * @param resourceGroupName The name of the Resource Group to which the identity belongs.\n * @param resourceName The name of the identity resource.\n * @param parameters Parameters to update the identity\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n resourceName: string,\n parameters: IdentityUpdate,\n options?: UserAssignedIdentitiesUpdateOptionalParams,\n ): Promise<UserAssignedIdentitiesUpdateResponse>;\n /**\n * Gets the identity.\n * @param resourceGroupName The name of the Resource Group to which the identity belongs.\n * @param resourceName The name of the identity resource.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceName: string,\n options?: UserAssignedIdentitiesGetOptionalParams,\n ): Promise<UserAssignedIdentitiesGetResponse>;\n /**\n * Deletes the identity.\n * @param resourceGroupName The name of the Resource Group to which the identity belongs.\n * @param resourceName The name of the identity resource.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n resourceName: string,\n options?: UserAssignedIdentitiesDeleteOptionalParams,\n ): Promise<void>;\n}\n"]}
|
@@ -14,18 +14,16 @@ const pageMap = new WeakMap();
|
|
14
14
|
* @returns The continuation token that can be passed into byPage() during future calls.
|
15
15
|
*/
|
16
16
|
export function getContinuationToken(page) {
|
17
|
-
var _a;
|
18
17
|
if (typeof page !== "object" || page === null) {
|
19
18
|
return undefined;
|
20
19
|
}
|
21
|
-
return
|
20
|
+
return pageMap.get(page)?.continuationToken;
|
22
21
|
}
|
23
22
|
export function setContinuationToken(page, continuationToken) {
|
24
|
-
var _a;
|
25
23
|
if (typeof page !== "object" || page === null || !continuationToken) {
|
26
24
|
return;
|
27
25
|
}
|
28
|
-
const pageInfo =
|
26
|
+
const pageInfo = pageMap.get(page) ?? {};
|
29
27
|
pageInfo.continuationToken = continuationToken;
|
30
28
|
pageMap.set(page, pageInfo);
|
31
29
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa
|
1
|
+
{"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAClC,IAAa,EACb,iBAAqC;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given the last `.value` produced by the `byPage` iterator,\n * returns a continuation token that can be used to begin paging from\n * that point later.\n * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.\n * @returns The continuation token that can be passed into byPage() during future calls.\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(\n page: unknown,\n continuationToken: string | undefined,\n): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
|
package/package.json
CHANGED
@@ -3,14 +3,14 @@
|
|
3
3
|
"sdk-type": "mgmt",
|
4
4
|
"author": "Microsoft Corporation",
|
5
5
|
"description": "A generated SDK for ManagedServiceIdentityClient.",
|
6
|
-
"version": "2.
|
6
|
+
"version": "2.2.0-alpha.20250724.1",
|
7
7
|
"engines": {
|
8
8
|
"node": ">=20.0.0"
|
9
9
|
},
|
10
10
|
"dependencies": {
|
11
|
-
"@azure/core-auth": "^1.9.0",
|
12
|
-
"@azure/core-client": "^1.9.2",
|
13
11
|
"@azure/core-paging": "^1.6.2",
|
12
|
+
"@azure/core-client": "^1.9.2",
|
13
|
+
"@azure/core-auth": "^1.9.0",
|
14
14
|
"@azure/core-rest-pipeline": "^1.19.0",
|
15
15
|
"tslib": "^2.8.1"
|
16
16
|
},
|
@@ -26,19 +26,20 @@
|
|
26
26
|
"main": "./dist/commonjs/index.js",
|
27
27
|
"module": "./dist/esm/index.js",
|
28
28
|
"types": "./dist/commonjs/index.d.ts",
|
29
|
+
"type": "module",
|
29
30
|
"devDependencies": {
|
30
|
-
"
|
31
|
-
"
|
32
|
-
"@azure-tools/test-utils-vitest": ">=1.0.0-alpha <1.0.0-alphb",
|
31
|
+
"typescript": "~5.8.2",
|
32
|
+
"dotenv": "^16.0.0",
|
33
33
|
"@azure/dev-tool": ">=1.0.0-alpha <1.0.0-alphb",
|
34
34
|
"@azure/identity": "^4.6.0",
|
35
35
|
"@azure/logger": "^1.1.4",
|
36
|
+
"@azure-tools/test-recorder": ">=4.1.0-alpha <4.1.0-alphb",
|
37
|
+
"@azure-tools/test-credential": "^2.0.0",
|
38
|
+
"@azure-tools/test-utils-vitest": ">=1.0.0-alpha <1.0.0-alphb",
|
36
39
|
"@types/node": "^20.0.0",
|
37
40
|
"@vitest/browser": "^3.0.9",
|
38
41
|
"@vitest/coverage-istanbul": "^3.0.9",
|
39
|
-
"dotenv": "^16.0.0",
|
40
42
|
"playwright": "^1.50.1",
|
41
|
-
"typescript": "~5.8.2",
|
42
43
|
"vitest": "^3.0.9"
|
43
44
|
},
|
44
45
|
"repository": "github:Azure/azure-sdk-for-js",
|
@@ -49,7 +50,7 @@
|
|
49
50
|
"dist/",
|
50
51
|
"README.md",
|
51
52
|
"LICENSE",
|
52
|
-
"review
|
53
|
+
"review/*",
|
53
54
|
"CHANGELOG.md"
|
54
55
|
],
|
55
56
|
"scripts": {
|
@@ -79,18 +80,10 @@
|
|
79
80
|
]
|
80
81
|
},
|
81
82
|
"autoPublish": true,
|
82
|
-
"
|
83
|
-
"
|
84
|
-
"productName": "",
|
85
|
-
"productSlugs": [
|
86
|
-
"azure"
|
87
|
-
],
|
88
|
-
"disableDocsMs": true,
|
89
|
-
"apiRefLink": "https://learn.microsoft.com/javascript/api/@azure/arm-msi?view=azure-node-preview"
|
90
|
-
},
|
91
|
-
"type": "module",
|
83
|
+
"browser": "./dist/browser/index.js",
|
84
|
+
"react-native": "./dist/react-native/index.js",
|
92
85
|
"tshy": {
|
93
|
-
"project": "
|
86
|
+
"project": "../../../tsconfig.src.build.json",
|
94
87
|
"exports": {
|
95
88
|
"./package.json": "./package.json",
|
96
89
|
".": "./src/index.ts"
|
@@ -105,8 +98,15 @@
|
|
105
98
|
],
|
106
99
|
"selfLink": false
|
107
100
|
},
|
108
|
-
"
|
109
|
-
"
|
101
|
+
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/msi/arm-msi",
|
102
|
+
"//sampleConfiguration": {
|
103
|
+
"productName": "",
|
104
|
+
"productSlugs": [
|
105
|
+
"azure"
|
106
|
+
],
|
107
|
+
"disableDocsMs": true,
|
108
|
+
"apiRefLink": "https://learn.microsoft.com/javascript/api/@azure/arm-msi?view=azure-node-preview"
|
109
|
+
},
|
110
110
|
"exports": {
|
111
111
|
"./package.json": "./package.json",
|
112
112
|
".": {
|