@azure/arm-managedapplications 3.0.0-alpha.20250619.1 → 3.0.0-alpha.20250718.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/applicationClient.js +38 -45
- package/dist/browser/applicationClient.js.map +1 -1
- package/dist/browser/lroImpl.js +7 -3
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/mappers.js +137 -66
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/operations/applicationDefinitions.js +45 -79
- package/dist/browser/operations/applicationDefinitions.js.map +1 -1
- package/dist/browser/operations/applications.js +133 -127
- package/dist/browser/operations/applications.js.map +1 -1
- package/dist/browser/operations/jitRequests.js +12 -6
- package/dist/browser/operations/jitRequests.js.map +1 -1
- package/dist/browser/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/commonjs/applicationClient.js +38 -44
- package/dist/commonjs/applicationClient.js.map +1 -1
- package/dist/commonjs/lroImpl.js +7 -3
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/mappers.js +137 -66
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/operations/applicationDefinitions.js +45 -78
- package/dist/commonjs/operations/applicationDefinitions.js.map +1 -1
- package/dist/commonjs/operations/applications.js +133 -126
- package/dist/commonjs/operations/applications.js.map +1 -1
- package/dist/commonjs/operations/jitRequests.js +12 -6
- package/dist/commonjs/operations/jitRequests.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/applicationClient.js +38 -45
- package/dist/esm/applicationClient.js.map +1 -1
- package/dist/esm/lroImpl.js +7 -3
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/mappers.js +137 -66
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/operations/applicationDefinitions.js +45 -79
- package/dist/esm/operations/applicationDefinitions.js.map +1 -1
- package/dist/esm/operations/applications.js +133 -127
- package/dist/esm/operations/applications.js.map +1 -1
- package/dist/esm/operations/jitRequests.js +12 -6
- package/dist/esm/operations/jitRequests.js.map +1 -1
- package/dist/esm/pagingHelper.js +2 -4
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/react-native/applicationClient.js +38 -45
- package/dist/react-native/applicationClient.js.map +1 -1
- package/dist/react-native/lroImpl.js +7 -3
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/mappers.js +137 -66
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/operations/applicationDefinitions.js +45 -79
- package/dist/react-native/operations/applicationDefinitions.js.map +1 -1
- package/dist/react-native/operations/applications.js +133 -127
- package/dist/react-native/operations/applications.js.map +1 -1
- package/dist/react-native/operations/jitRequests.js +12 -6
- package/dist/react-native/operations/jitRequests.js.map +1 -1
- package/dist/react-native/pagingHelper.js +2 -4
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/package.json +2 -2
- /package/review/{arm-managedapplications.api.md → arm-managedapplications-node.api.md} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applicationDefinitions.js","sourceRoot":"","sources":["../../../src/operations/applicationDefinitions.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;AA6BtD,4CAA4C;AAC5C,0DAA0D;AAC1D,MAAM,OAAO,0BAA0B;IAGrC;;;OAGG;IACH,YAAY,MAAyB;QACnC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,mBAAmB,CACxB,iBAAyB,EACzB,OAAiE;QAEjE,MA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S,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,+BAA+B;SACpD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;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;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,+BAA+B;SACpD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;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","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 { ApplicationDefinitions } 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 { ApplicationClient } from \"../applicationClient.js\";\nimport {\n ApplicationDefinition,\n ApplicationDefinitionsListByResourceGroupNextOptionalParams,\n ApplicationDefinitionsListByResourceGroupOptionalParams,\n ApplicationDefinitionsListByResourceGroupResponse,\n ApplicationDefinitionsListBySubscriptionNextOptionalParams,\n ApplicationDefinitionsListBySubscriptionOptionalParams,\n ApplicationDefinitionsListBySubscriptionResponse,\n ApplicationDefinitionsGetOptionalParams,\n ApplicationDefinitionsGetResponse,\n ApplicationDefinitionsDeleteOptionalParams,\n ApplicationDefinitionsCreateOrUpdateOptionalParams,\n ApplicationDefinitionsCreateOrUpdateResponse,\n ApplicationDefinitionPatchable,\n ApplicationDefinitionsUpdateOptionalParams,\n ApplicationDefinitionsUpdateResponse,\n ApplicationDefinitionsGetByIdOptionalParams,\n ApplicationDefinitionsGetByIdResponse,\n ApplicationDefinitionsDeleteByIdOptionalParams,\n ApplicationDefinitionsCreateOrUpdateByIdOptionalParams,\n ApplicationDefinitionsCreateOrUpdateByIdResponse,\n ApplicationDefinitionsUpdateByIdOptionalParams,\n ApplicationDefinitionsUpdateByIdResponse,\n ApplicationDefinitionsListByResourceGroupNextResponse,\n ApplicationDefinitionsListBySubscriptionNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ApplicationDefinitions operations. */\nexport class ApplicationDefinitionsImpl implements ApplicationDefinitions {\n private readonly client: ApplicationClient;\n\n /**\n * Initialize a new instance of the class ApplicationDefinitions class.\n * @param client Reference to the service client\n */\n constructor(client: ApplicationClient) {\n this.client = client;\n }\n\n /**\n * Lists the managed application definitions in a resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: ApplicationDefinitionsListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<ApplicationDefinition> {\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?: ApplicationDefinitionsListByResourceGroupOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<ApplicationDefinition[]> {\n let result: ApplicationDefinitionsListByResourceGroupResponse;\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?: ApplicationDefinitionsListByResourceGroupOptionalParams\n ): AsyncIterableIterator<ApplicationDefinition> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists all the application definitions within a subscription.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: ApplicationDefinitionsListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<ApplicationDefinition> {\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?: ApplicationDefinitionsListBySubscriptionOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<ApplicationDefinition[]> {\n let result: ApplicationDefinitionsListBySubscriptionResponse;\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?: ApplicationDefinitionsListBySubscriptionOptionalParams\n ): AsyncIterableIterator<ApplicationDefinition> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets the managed application definition.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param applicationDefinitionName The name of the managed application definition.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n applicationDefinitionName: string,\n options?: ApplicationDefinitionsGetOptionalParams\n ): Promise<ApplicationDefinitionsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, applicationDefinitionName, options },\n getOperationSpec\n );\n }\n\n /**\n * Deletes the managed application definition.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param applicationDefinitionName The name of the managed application definition.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n applicationDefinitionName: string,\n options?: ApplicationDefinitionsDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, applicationDefinitionName, options },\n deleteOperationSpec\n );\n }\n\n /**\n * Creates or updates a managed application definition.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param applicationDefinitionName The name of the managed application definition.\n * @param parameters Parameters supplied to the create or update an managed application definition.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n applicationDefinitionName: string,\n parameters: ApplicationDefinition,\n options?: ApplicationDefinitionsCreateOrUpdateOptionalParams\n ): Promise<ApplicationDefinitionsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, applicationDefinitionName, parameters, options },\n createOrUpdateOperationSpec\n );\n }\n\n /**\n * Updates the managed application definition.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param applicationDefinitionName The name of the managed application definition.\n * @param parameters Parameters supplied to the update a managed application definition.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n applicationDefinitionName: string,\n parameters: ApplicationDefinitionPatchable,\n options?: ApplicationDefinitionsUpdateOptionalParams\n ): Promise<ApplicationDefinitionsUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, applicationDefinitionName, parameters, options },\n updateOperationSpec\n );\n }\n\n /**\n * Lists the managed application definitions in a resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: ApplicationDefinitionsListByResourceGroupOptionalParams\n ): Promise<ApplicationDefinitionsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * Lists all the application definitions within a subscription.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: ApplicationDefinitionsListBySubscriptionOptionalParams\n ): Promise<ApplicationDefinitionsListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec\n );\n }\n\n /**\n * Gets the managed application definition.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param applicationDefinitionName The name of the managed application definition.\n * @param options The options parameters.\n */\n getById(\n resourceGroupName: string,\n applicationDefinitionName: string,\n options?: ApplicationDefinitionsGetByIdOptionalParams\n ): Promise<ApplicationDefinitionsGetByIdResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, applicationDefinitionName, options },\n getByIdOperationSpec\n );\n }\n\n /**\n * Deletes the managed application definition.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param applicationDefinitionName The name of the managed application definition.\n * @param options The options parameters.\n */\n deleteById(\n resourceGroupName: string,\n applicationDefinitionName: string,\n options?: ApplicationDefinitionsDeleteByIdOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, applicationDefinitionName, options },\n deleteByIdOperationSpec\n );\n }\n\n /**\n * Creates or updates a managed application definition.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param applicationDefinitionName The name of the managed application definition.\n * @param parameters Parameters supplied to the create or update a managed application definition.\n * @param options The options parameters.\n */\n createOrUpdateById(\n resourceGroupName: string,\n applicationDefinitionName: string,\n parameters: ApplicationDefinition,\n options?: ApplicationDefinitionsCreateOrUpdateByIdOptionalParams\n ): Promise<ApplicationDefinitionsCreateOrUpdateByIdResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, applicationDefinitionName, parameters, options },\n createOrUpdateByIdOperationSpec\n );\n }\n\n /**\n * Updates the managed application definition.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param applicationDefinitionName The name of the managed application definition.\n * @param parameters Parameters supplied to the update a managed application definition.\n * @param options The options parameters.\n */\n updateById(\n resourceGroupName: string,\n applicationDefinitionName: string,\n parameters: ApplicationDefinitionPatchable,\n options?: ApplicationDefinitionsUpdateByIdOptionalParams\n ): Promise<ApplicationDefinitionsUpdateByIdResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, applicationDefinitionName, parameters, options },\n updateByIdOperationSpec\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\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?: ApplicationDefinitionsListByResourceGroupNextOptionalParams\n ): Promise<ApplicationDefinitionsListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec\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?: ApplicationDefinitionsListBySubscriptionNextOptionalParams\n ): Promise<ApplicationDefinitionsListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applicationDefinitions/{applicationDefinitionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplicationDefinition\n },\n 404: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.applicationDefinitionName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applicationDefinitions/{applicationDefinitionName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.applicationDefinitionName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applicationDefinitions/{applicationDefinitionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplicationDefinition\n },\n 201: {\n bodyMapper: Mappers.ApplicationDefinition\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters4,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.applicationDefinitionName\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.Solutions/applicationDefinitions/{applicationDefinitionName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplicationDefinition\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters5,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.applicationDefinitionName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applicationDefinitions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplicationDefinitionListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\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 listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Solutions/applicationDefinitions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplicationDefinitionListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getByIdOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applicationDefinitions/{applicationDefinitionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplicationDefinition\n },\n 404: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.applicationDefinitionName,\n Parameters.resourceGroupName1\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst deleteByIdOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applicationDefinitions/{applicationDefinitionName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.applicationDefinitionName,\n Parameters.resourceGroupName1\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateByIdOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applicationDefinitions/{applicationDefinitionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplicationDefinition\n },\n 201: {\n bodyMapper: Mappers.ApplicationDefinition\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters4,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.applicationDefinitionName,\n Parameters.resourceGroupName1\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst updateByIdOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applicationDefinitions/{applicationDefinitionName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplicationDefinition\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters5,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.applicationDefinitionName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplicationDefinitionListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\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.ApplicationDefinitionListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
1
|
+
{"version":3,"file":"applicationDefinitions.js","sourceRoot":"","sources":["../../../src/operations/applicationDefinitions.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;AA6BtD,4CAA4C;AAC5C,0DAA0D;AAC1D,MAAM,OAAO,0BAA0B;IACpB,MAAM,CAAoB;IAE3C;;;OAGG;IACH,YAAY,MAAyB;QACnC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,mBAAmB,CACxB,iBAAyB,EACzB,OAAiE;QAEjE,MAAM,IAAI,GAAG,IAAI,CAAC,4BAA4B,CAAC,iBAAiB,EAAE,OAAO,CAAC,CA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AAO,CAAC,+BAA+B;SACpD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;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","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 { ApplicationDefinitions } 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 { ApplicationClient } from \"../applicationClient.js\";\nimport {\n ApplicationDefinition,\n ApplicationDefinitionsListByResourceGroupNextOptionalParams,\n ApplicationDefinitionsListByResourceGroupOptionalParams,\n ApplicationDefinitionsListByResourceGroupResponse,\n ApplicationDefinitionsListBySubscriptionNextOptionalParams,\n ApplicationDefinitionsListBySubscriptionOptionalParams,\n ApplicationDefinitionsListBySubscriptionResponse,\n ApplicationDefinitionsGetOptionalParams,\n ApplicationDefinitionsGetResponse,\n ApplicationDefinitionsDeleteOptionalParams,\n ApplicationDefinitionsCreateOrUpdateOptionalParams,\n ApplicationDefinitionsCreateOrUpdateResponse,\n ApplicationDefinitionPatchable,\n ApplicationDefinitionsUpdateOptionalParams,\n ApplicationDefinitionsUpdateResponse,\n ApplicationDefinitionsGetByIdOptionalParams,\n ApplicationDefinitionsGetByIdResponse,\n ApplicationDefinitionsDeleteByIdOptionalParams,\n ApplicationDefinitionsCreateOrUpdateByIdOptionalParams,\n ApplicationDefinitionsCreateOrUpdateByIdResponse,\n ApplicationDefinitionsUpdateByIdOptionalParams,\n ApplicationDefinitionsUpdateByIdResponse,\n ApplicationDefinitionsListByResourceGroupNextResponse,\n ApplicationDefinitionsListBySubscriptionNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ApplicationDefinitions operations. */\nexport class ApplicationDefinitionsImpl implements ApplicationDefinitions {\n private readonly client: ApplicationClient;\n\n /**\n * Initialize a new instance of the class ApplicationDefinitions class.\n * @param client Reference to the service client\n */\n constructor(client: ApplicationClient) {\n this.client = client;\n }\n\n /**\n * Lists the managed application definitions in a resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: ApplicationDefinitionsListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<ApplicationDefinition> {\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?: ApplicationDefinitionsListByResourceGroupOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<ApplicationDefinition[]> {\n let result: ApplicationDefinitionsListByResourceGroupResponse;\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?: ApplicationDefinitionsListByResourceGroupOptionalParams\n ): AsyncIterableIterator<ApplicationDefinition> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists all the application definitions within a subscription.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: ApplicationDefinitionsListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<ApplicationDefinition> {\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?: ApplicationDefinitionsListBySubscriptionOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<ApplicationDefinition[]> {\n let result: ApplicationDefinitionsListBySubscriptionResponse;\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?: ApplicationDefinitionsListBySubscriptionOptionalParams\n ): AsyncIterableIterator<ApplicationDefinition> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets the managed application definition.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param applicationDefinitionName The name of the managed application definition.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n applicationDefinitionName: string,\n options?: ApplicationDefinitionsGetOptionalParams\n ): Promise<ApplicationDefinitionsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, applicationDefinitionName, options },\n getOperationSpec\n );\n }\n\n /**\n * Deletes the managed application definition.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param applicationDefinitionName The name of the managed application definition.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n applicationDefinitionName: string,\n options?: ApplicationDefinitionsDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, applicationDefinitionName, options },\n deleteOperationSpec\n );\n }\n\n /**\n * Creates or updates a managed application definition.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param applicationDefinitionName The name of the managed application definition.\n * @param parameters Parameters supplied to the create or update an managed application definition.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n applicationDefinitionName: string,\n parameters: ApplicationDefinition,\n options?: ApplicationDefinitionsCreateOrUpdateOptionalParams\n ): Promise<ApplicationDefinitionsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, applicationDefinitionName, parameters, options },\n createOrUpdateOperationSpec\n );\n }\n\n /**\n * Updates the managed application definition.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param applicationDefinitionName The name of the managed application definition.\n * @param parameters Parameters supplied to the update a managed application definition.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n applicationDefinitionName: string,\n parameters: ApplicationDefinitionPatchable,\n options?: ApplicationDefinitionsUpdateOptionalParams\n ): Promise<ApplicationDefinitionsUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, applicationDefinitionName, parameters, options },\n updateOperationSpec\n );\n }\n\n /**\n * Lists the managed application definitions in a resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: ApplicationDefinitionsListByResourceGroupOptionalParams\n ): Promise<ApplicationDefinitionsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * Lists all the application definitions within a subscription.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: ApplicationDefinitionsListBySubscriptionOptionalParams\n ): Promise<ApplicationDefinitionsListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec\n );\n }\n\n /**\n * Gets the managed application definition.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param applicationDefinitionName The name of the managed application definition.\n * @param options The options parameters.\n */\n getById(\n resourceGroupName: string,\n applicationDefinitionName: string,\n options?: ApplicationDefinitionsGetByIdOptionalParams\n ): Promise<ApplicationDefinitionsGetByIdResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, applicationDefinitionName, options },\n getByIdOperationSpec\n );\n }\n\n /**\n * Deletes the managed application definition.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param applicationDefinitionName The name of the managed application definition.\n * @param options The options parameters.\n */\n deleteById(\n resourceGroupName: string,\n applicationDefinitionName: string,\n options?: ApplicationDefinitionsDeleteByIdOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, applicationDefinitionName, options },\n deleteByIdOperationSpec\n );\n }\n\n /**\n * Creates or updates a managed application definition.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param applicationDefinitionName The name of the managed application definition.\n * @param parameters Parameters supplied to the create or update a managed application definition.\n * @param options The options parameters.\n */\n createOrUpdateById(\n resourceGroupName: string,\n applicationDefinitionName: string,\n parameters: ApplicationDefinition,\n options?: ApplicationDefinitionsCreateOrUpdateByIdOptionalParams\n ): Promise<ApplicationDefinitionsCreateOrUpdateByIdResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, applicationDefinitionName, parameters, options },\n createOrUpdateByIdOperationSpec\n );\n }\n\n /**\n * Updates the managed application definition.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param applicationDefinitionName The name of the managed application definition.\n * @param parameters Parameters supplied to the update a managed application definition.\n * @param options The options parameters.\n */\n updateById(\n resourceGroupName: string,\n applicationDefinitionName: string,\n parameters: ApplicationDefinitionPatchable,\n options?: ApplicationDefinitionsUpdateByIdOptionalParams\n ): Promise<ApplicationDefinitionsUpdateByIdResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, applicationDefinitionName, parameters, options },\n updateByIdOperationSpec\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\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?: ApplicationDefinitionsListByResourceGroupNextOptionalParams\n ): Promise<ApplicationDefinitionsListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec\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?: ApplicationDefinitionsListBySubscriptionNextOptionalParams\n ): Promise<ApplicationDefinitionsListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applicationDefinitions/{applicationDefinitionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplicationDefinition\n },\n 404: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.applicationDefinitionName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applicationDefinitions/{applicationDefinitionName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.applicationDefinitionName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applicationDefinitions/{applicationDefinitionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplicationDefinition\n },\n 201: {\n bodyMapper: Mappers.ApplicationDefinition\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters4,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.applicationDefinitionName\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.Solutions/applicationDefinitions/{applicationDefinitionName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplicationDefinition\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters5,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.applicationDefinitionName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applicationDefinitions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplicationDefinitionListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\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 listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Solutions/applicationDefinitions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplicationDefinitionListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getByIdOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applicationDefinitions/{applicationDefinitionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplicationDefinition\n },\n 404: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.applicationDefinitionName,\n Parameters.resourceGroupName1\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst deleteByIdOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applicationDefinitions/{applicationDefinitionName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.applicationDefinitionName,\n Parameters.resourceGroupName1\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateByIdOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applicationDefinitions/{applicationDefinitionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplicationDefinition\n },\n 201: {\n bodyMapper: Mappers.ApplicationDefinition\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters4,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.applicationDefinitionName,\n Parameters.resourceGroupName1\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst updateByIdOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applicationDefinitions/{applicationDefinitionName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplicationDefinition\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters5,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.applicationDefinitionName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplicationDefinitionListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\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.ApplicationDefinitionListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
8
|
import { setContinuationToken } from "../pagingHelper.js";
|
|
10
9
|
import * as coreClient from "@azure/core-client";
|
|
11
10
|
import * as Mappers from "../models/mappers.js";
|
|
@@ -15,6 +14,7 @@ import { createLroSpec } from "../lroImpl.js";
|
|
|
15
14
|
/// <reference lib="esnext.asynciterable" />
|
|
16
15
|
/** Class containing Applications operations. */
|
|
17
16
|
export class ApplicationsImpl {
|
|
17
|
+
client;
|
|
18
18
|
/**
|
|
19
19
|
* Initialize a new instance of the class Applications class.
|
|
20
20
|
* @param client Reference to the service client
|
|
@@ -37,52 +37,35 @@ export class ApplicationsImpl {
|
|
|
37
37
|
return this;
|
|
38
38
|
},
|
|
39
39
|
byPage: (settings) => {
|
|
40
|
-
if (settings
|
|
40
|
+
if (settings?.maxPageSize) {
|
|
41
41
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
42
42
|
}
|
|
43
43
|
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
|
-
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
}
|
|
65
|
-
});
|
|
47
|
+
async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
48
|
+
let result;
|
|
49
|
+
let continuationToken = settings?.continuationToken;
|
|
50
|
+
if (!continuationToken) {
|
|
51
|
+
result = await this._listByResourceGroup(resourceGroupName, options);
|
|
52
|
+
let page = result.value || [];
|
|
53
|
+
continuationToken = result.nextLink;
|
|
54
|
+
setContinuationToken(page, continuationToken);
|
|
55
|
+
yield page;
|
|
56
|
+
}
|
|
57
|
+
while (continuationToken) {
|
|
58
|
+
result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);
|
|
59
|
+
continuationToken = result.nextLink;
|
|
60
|
+
let page = result.value || [];
|
|
61
|
+
setContinuationToken(page, continuationToken);
|
|
62
|
+
yield page;
|
|
63
|
+
}
|
|
66
64
|
}
|
|
67
|
-
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
for (var _d = true, _e = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
72
|
-
_c = _f.value;
|
|
73
|
-
_d = false;
|
|
74
|
-
const page = _c;
|
|
75
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
79
|
-
finally {
|
|
80
|
-
try {
|
|
81
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
82
|
-
}
|
|
83
|
-
finally { if (e_1) throw e_1.error; }
|
|
84
|
-
}
|
|
85
|
-
});
|
|
65
|
+
async *listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
66
|
+
for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
|
|
67
|
+
yield* page;
|
|
68
|
+
}
|
|
86
69
|
}
|
|
87
70
|
/**
|
|
88
71
|
* Lists all the applications within a subscription.
|
|
@@ -98,52 +81,35 @@ export class ApplicationsImpl {
|
|
|
98
81
|
return this;
|
|
99
82
|
},
|
|
100
83
|
byPage: (settings) => {
|
|
101
|
-
if (settings
|
|
84
|
+
if (settings?.maxPageSize) {
|
|
102
85
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
103
86
|
}
|
|
104
87
|
return this.listBySubscriptionPagingPage(options, settings);
|
|
105
88
|
}
|
|
106
89
|
};
|
|
107
90
|
}
|
|
108
|
-
listBySubscriptionPagingPage(options, settings) {
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
}
|
|
126
|
-
});
|
|
91
|
+
async *listBySubscriptionPagingPage(options, settings) {
|
|
92
|
+
let result;
|
|
93
|
+
let continuationToken = settings?.continuationToken;
|
|
94
|
+
if (!continuationToken) {
|
|
95
|
+
result = await this._listBySubscription(options);
|
|
96
|
+
let page = result.value || [];
|
|
97
|
+
continuationToken = result.nextLink;
|
|
98
|
+
setContinuationToken(page, continuationToken);
|
|
99
|
+
yield page;
|
|
100
|
+
}
|
|
101
|
+
while (continuationToken) {
|
|
102
|
+
result = await this._listBySubscriptionNext(continuationToken, options);
|
|
103
|
+
continuationToken = result.nextLink;
|
|
104
|
+
let page = result.value || [];
|
|
105
|
+
setContinuationToken(page, continuationToken);
|
|
106
|
+
yield page;
|
|
107
|
+
}
|
|
127
108
|
}
|
|
128
|
-
listBySubscriptionPagingAll(options) {
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
for (var _d = true, _e = __asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
133
|
-
_c = _f.value;
|
|
134
|
-
_d = false;
|
|
135
|
-
const page = _c;
|
|
136
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
140
|
-
finally {
|
|
141
|
-
try {
|
|
142
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
143
|
-
}
|
|
144
|
-
finally { if (e_2) throw e_2.error; }
|
|
145
|
-
}
|
|
146
|
-
});
|
|
109
|
+
async *listBySubscriptionPagingAll(options) {
|
|
110
|
+
for await (const page of this.listBySubscriptionPagingPage(options)) {
|
|
111
|
+
yield* page;
|
|
112
|
+
}
|
|
147
113
|
}
|
|
148
114
|
/**
|
|
149
115
|
* Gets the managed application.
|
|
@@ -165,14 +131,19 @@ export class ApplicationsImpl {
|
|
|
165
131
|
return this.client.sendOperationRequest(args, spec);
|
|
166
132
|
};
|
|
167
133
|
const sendOperationFn = async (args, spec) => {
|
|
168
|
-
var _a;
|
|
169
134
|
let currentRawResponse = undefined;
|
|
170
|
-
const providedCallback =
|
|
135
|
+
const providedCallback = args.options?.onResponse;
|
|
171
136
|
const callback = (rawResponse, flatResponse) => {
|
|
172
137
|
currentRawResponse = rawResponse;
|
|
173
|
-
providedCallback
|
|
138
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
139
|
+
};
|
|
140
|
+
const updatedArgs = {
|
|
141
|
+
...args,
|
|
142
|
+
options: {
|
|
143
|
+
...args.options,
|
|
144
|
+
onResponse: callback
|
|
145
|
+
}
|
|
174
146
|
};
|
|
175
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
176
147
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
177
148
|
return {
|
|
178
149
|
flatResponse,
|
|
@@ -189,8 +160,8 @@ export class ApplicationsImpl {
|
|
|
189
160
|
spec: deleteOperationSpec
|
|
190
161
|
});
|
|
191
162
|
const poller = await createHttpPoller(lro, {
|
|
192
|
-
restoreFrom: options
|
|
193
|
-
intervalInMs: options
|
|
163
|
+
restoreFrom: options?.resumeFrom,
|
|
164
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
194
165
|
resourceLocationConfig: "azure-async-operation"
|
|
195
166
|
});
|
|
196
167
|
await poller.poll();
|
|
@@ -218,14 +189,19 @@ export class ApplicationsImpl {
|
|
|
218
189
|
return this.client.sendOperationRequest(args, spec);
|
|
219
190
|
};
|
|
220
191
|
const sendOperationFn = async (args, spec) => {
|
|
221
|
-
var _a;
|
|
222
192
|
let currentRawResponse = undefined;
|
|
223
|
-
const providedCallback =
|
|
193
|
+
const providedCallback = args.options?.onResponse;
|
|
224
194
|
const callback = (rawResponse, flatResponse) => {
|
|
225
195
|
currentRawResponse = rawResponse;
|
|
226
|
-
providedCallback
|
|
196
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
197
|
+
};
|
|
198
|
+
const updatedArgs = {
|
|
199
|
+
...args,
|
|
200
|
+
options: {
|
|
201
|
+
...args.options,
|
|
202
|
+
onResponse: callback
|
|
203
|
+
}
|
|
227
204
|
};
|
|
228
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
229
205
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
230
206
|
return {
|
|
231
207
|
flatResponse,
|
|
@@ -242,8 +218,8 @@ export class ApplicationsImpl {
|
|
|
242
218
|
spec: createOrUpdateOperationSpec
|
|
243
219
|
});
|
|
244
220
|
const poller = await createHttpPoller(lro, {
|
|
245
|
-
restoreFrom: options
|
|
246
|
-
intervalInMs: options
|
|
221
|
+
restoreFrom: options?.resumeFrom,
|
|
222
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
247
223
|
resourceLocationConfig: "azure-async-operation"
|
|
248
224
|
});
|
|
249
225
|
await poller.poll();
|
|
@@ -271,14 +247,19 @@ export class ApplicationsImpl {
|
|
|
271
247
|
return this.client.sendOperationRequest(args, spec);
|
|
272
248
|
};
|
|
273
249
|
const sendOperationFn = async (args, spec) => {
|
|
274
|
-
var _a;
|
|
275
250
|
let currentRawResponse = undefined;
|
|
276
|
-
const providedCallback =
|
|
251
|
+
const providedCallback = args.options?.onResponse;
|
|
277
252
|
const callback = (rawResponse, flatResponse) => {
|
|
278
253
|
currentRawResponse = rawResponse;
|
|
279
|
-
providedCallback
|
|
254
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
255
|
+
};
|
|
256
|
+
const updatedArgs = {
|
|
257
|
+
...args,
|
|
258
|
+
options: {
|
|
259
|
+
...args.options,
|
|
260
|
+
onResponse: callback
|
|
261
|
+
}
|
|
280
262
|
};
|
|
281
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
282
263
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
283
264
|
return {
|
|
284
265
|
flatResponse,
|
|
@@ -295,8 +276,8 @@ export class ApplicationsImpl {
|
|
|
295
276
|
spec: updateOperationSpec
|
|
296
277
|
});
|
|
297
278
|
const poller = await createHttpPoller(lro, {
|
|
298
|
-
restoreFrom: options
|
|
299
|
-
intervalInMs: options
|
|
279
|
+
restoreFrom: options?.resumeFrom,
|
|
280
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
300
281
|
resourceLocationConfig: "azure-async-operation"
|
|
301
282
|
});
|
|
302
283
|
await poller.poll();
|
|
@@ -349,14 +330,19 @@ export class ApplicationsImpl {
|
|
|
349
330
|
return this.client.sendOperationRequest(args, spec);
|
|
350
331
|
};
|
|
351
332
|
const sendOperationFn = async (args, spec) => {
|
|
352
|
-
var _a;
|
|
353
333
|
let currentRawResponse = undefined;
|
|
354
|
-
const providedCallback =
|
|
334
|
+
const providedCallback = args.options?.onResponse;
|
|
355
335
|
const callback = (rawResponse, flatResponse) => {
|
|
356
336
|
currentRawResponse = rawResponse;
|
|
357
|
-
providedCallback
|
|
337
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
338
|
+
};
|
|
339
|
+
const updatedArgs = {
|
|
340
|
+
...args,
|
|
341
|
+
options: {
|
|
342
|
+
...args.options,
|
|
343
|
+
onResponse: callback
|
|
344
|
+
}
|
|
358
345
|
};
|
|
359
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
360
346
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
361
347
|
return {
|
|
362
348
|
flatResponse,
|
|
@@ -373,8 +359,8 @@ export class ApplicationsImpl {
|
|
|
373
359
|
spec: deleteByIdOperationSpec
|
|
374
360
|
});
|
|
375
361
|
const poller = await createHttpPoller(lro, {
|
|
376
|
-
restoreFrom: options
|
|
377
|
-
intervalInMs: options
|
|
362
|
+
restoreFrom: options?.resumeFrom,
|
|
363
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
378
364
|
resourceLocationConfig: "azure-async-operation"
|
|
379
365
|
});
|
|
380
366
|
await poller.poll();
|
|
@@ -404,14 +390,19 @@ export class ApplicationsImpl {
|
|
|
404
390
|
return this.client.sendOperationRequest(args, spec);
|
|
405
391
|
};
|
|
406
392
|
const sendOperationFn = async (args, spec) => {
|
|
407
|
-
var _a;
|
|
408
393
|
let currentRawResponse = undefined;
|
|
409
|
-
const providedCallback =
|
|
394
|
+
const providedCallback = args.options?.onResponse;
|
|
410
395
|
const callback = (rawResponse, flatResponse) => {
|
|
411
396
|
currentRawResponse = rawResponse;
|
|
412
|
-
providedCallback
|
|
397
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
398
|
+
};
|
|
399
|
+
const updatedArgs = {
|
|
400
|
+
...args,
|
|
401
|
+
options: {
|
|
402
|
+
...args.options,
|
|
403
|
+
onResponse: callback
|
|
404
|
+
}
|
|
413
405
|
};
|
|
414
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
415
406
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
416
407
|
return {
|
|
417
408
|
flatResponse,
|
|
@@ -428,8 +419,8 @@ export class ApplicationsImpl {
|
|
|
428
419
|
spec: createOrUpdateByIdOperationSpec
|
|
429
420
|
});
|
|
430
421
|
const poller = await createHttpPoller(lro, {
|
|
431
|
-
restoreFrom: options
|
|
432
|
-
intervalInMs: options
|
|
422
|
+
restoreFrom: options?.resumeFrom,
|
|
423
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
433
424
|
resourceLocationConfig: "azure-async-operation"
|
|
434
425
|
});
|
|
435
426
|
await poller.poll();
|
|
@@ -459,14 +450,19 @@ export class ApplicationsImpl {
|
|
|
459
450
|
return this.client.sendOperationRequest(args, spec);
|
|
460
451
|
};
|
|
461
452
|
const sendOperationFn = async (args, spec) => {
|
|
462
|
-
var _a;
|
|
463
453
|
let currentRawResponse = undefined;
|
|
464
|
-
const providedCallback =
|
|
454
|
+
const providedCallback = args.options?.onResponse;
|
|
465
455
|
const callback = (rawResponse, flatResponse) => {
|
|
466
456
|
currentRawResponse = rawResponse;
|
|
467
|
-
providedCallback
|
|
457
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
458
|
+
};
|
|
459
|
+
const updatedArgs = {
|
|
460
|
+
...args,
|
|
461
|
+
options: {
|
|
462
|
+
...args.options,
|
|
463
|
+
onResponse: callback
|
|
464
|
+
}
|
|
468
465
|
};
|
|
469
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
470
466
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
471
467
|
return {
|
|
472
468
|
flatResponse,
|
|
@@ -483,8 +479,8 @@ export class ApplicationsImpl {
|
|
|
483
479
|
spec: updateByIdOperationSpec
|
|
484
480
|
});
|
|
485
481
|
const poller = await createHttpPoller(lro, {
|
|
486
|
-
restoreFrom: options
|
|
487
|
-
intervalInMs: options
|
|
482
|
+
restoreFrom: options?.resumeFrom,
|
|
483
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
488
484
|
resourceLocationConfig: "azure-async-operation"
|
|
489
485
|
});
|
|
490
486
|
await poller.poll();
|
|
@@ -512,14 +508,19 @@ export class ApplicationsImpl {
|
|
|
512
508
|
return this.client.sendOperationRequest(args, spec);
|
|
513
509
|
};
|
|
514
510
|
const sendOperationFn = async (args, spec) => {
|
|
515
|
-
var _a;
|
|
516
511
|
let currentRawResponse = undefined;
|
|
517
|
-
const providedCallback =
|
|
512
|
+
const providedCallback = args.options?.onResponse;
|
|
518
513
|
const callback = (rawResponse, flatResponse) => {
|
|
519
514
|
currentRawResponse = rawResponse;
|
|
520
|
-
providedCallback
|
|
515
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
516
|
+
};
|
|
517
|
+
const updatedArgs = {
|
|
518
|
+
...args,
|
|
519
|
+
options: {
|
|
520
|
+
...args.options,
|
|
521
|
+
onResponse: callback
|
|
522
|
+
}
|
|
521
523
|
};
|
|
522
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
523
524
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
524
525
|
return {
|
|
525
526
|
flatResponse,
|
|
@@ -536,8 +537,8 @@ export class ApplicationsImpl {
|
|
|
536
537
|
spec: refreshPermissionsOperationSpec
|
|
537
538
|
});
|
|
538
539
|
const poller = await createHttpPoller(lro, {
|
|
539
|
-
restoreFrom: options
|
|
540
|
-
intervalInMs: options
|
|
540
|
+
restoreFrom: options?.resumeFrom,
|
|
541
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
541
542
|
resourceLocationConfig: "location"
|
|
542
543
|
});
|
|
543
544
|
await poller.poll();
|
|
@@ -574,14 +575,19 @@ export class ApplicationsImpl {
|
|
|
574
575
|
return this.client.sendOperationRequest(args, spec);
|
|
575
576
|
};
|
|
576
577
|
const sendOperationFn = async (args, spec) => {
|
|
577
|
-
var _a;
|
|
578
578
|
let currentRawResponse = undefined;
|
|
579
|
-
const providedCallback =
|
|
579
|
+
const providedCallback = args.options?.onResponse;
|
|
580
580
|
const callback = (rawResponse, flatResponse) => {
|
|
581
581
|
currentRawResponse = rawResponse;
|
|
582
|
-
providedCallback
|
|
582
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
583
|
+
};
|
|
584
|
+
const updatedArgs = {
|
|
585
|
+
...args,
|
|
586
|
+
options: {
|
|
587
|
+
...args.options,
|
|
588
|
+
onResponse: callback
|
|
589
|
+
}
|
|
583
590
|
};
|
|
584
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
585
591
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
586
592
|
return {
|
|
587
593
|
flatResponse,
|
|
@@ -598,8 +604,8 @@ export class ApplicationsImpl {
|
|
|
598
604
|
spec: updateAccessOperationSpec
|
|
599
605
|
});
|
|
600
606
|
const poller = await createHttpPoller(lro, {
|
|
601
|
-
restoreFrom: options
|
|
602
|
-
intervalInMs: options
|
|
607
|
+
restoreFrom: options?.resumeFrom,
|
|
608
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
603
609
|
resourceLocationConfig: "location"
|
|
604
610
|
});
|
|
605
611
|
await poller.poll();
|