@azure/arm-managedapplications 3.0.0-alpha.20250618.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,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AA6BtD,4CAA4C;AAC5C,0DAA0D;AAC1D,MAAa,0BAA0B;IAGrC;;;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,CAAC;QAC3E,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAA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AAE;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,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AA6BtD,4CAA4C;AAC5C,0DAA0D;AAC1D,MAAa,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,CAAC;QAC3E,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,QAA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AAc;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"]}
|
|
@@ -18,6 +18,7 @@ const lroImpl_js_1 = require("../lroImpl.js");
|
|
|
18
18
|
/// <reference lib="esnext.asynciterable" />
|
|
19
19
|
/** Class containing Applications operations. */
|
|
20
20
|
class ApplicationsImpl {
|
|
21
|
+
client;
|
|
21
22
|
/**
|
|
22
23
|
* Initialize a new instance of the class Applications class.
|
|
23
24
|
* @param client Reference to the service client
|
|
@@ -40,52 +41,35 @@ class ApplicationsImpl {
|
|
|
40
41
|
return this;
|
|
41
42
|
},
|
|
42
43
|
byPage: (settings) => {
|
|
43
|
-
if (settings
|
|
44
|
+
if (settings?.maxPageSize) {
|
|
44
45
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
45
46
|
}
|
|
46
47
|
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
47
48
|
}
|
|
48
49
|
};
|
|
49
50
|
}
|
|
50
|
-
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
}
|
|
68
|
-
});
|
|
51
|
+
async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
52
|
+
let result;
|
|
53
|
+
let continuationToken = settings?.continuationToken;
|
|
54
|
+
if (!continuationToken) {
|
|
55
|
+
result = await this._listByResourceGroup(resourceGroupName, options);
|
|
56
|
+
let page = result.value || [];
|
|
57
|
+
continuationToken = result.nextLink;
|
|
58
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
59
|
+
yield page;
|
|
60
|
+
}
|
|
61
|
+
while (continuationToken) {
|
|
62
|
+
result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);
|
|
63
|
+
continuationToken = result.nextLink;
|
|
64
|
+
let page = result.value || [];
|
|
65
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
66
|
+
yield page;
|
|
67
|
+
}
|
|
69
68
|
}
|
|
70
|
-
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
75
|
-
_c = _f.value;
|
|
76
|
-
_d = false;
|
|
77
|
-
const page = _c;
|
|
78
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
82
|
-
finally {
|
|
83
|
-
try {
|
|
84
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
85
|
-
}
|
|
86
|
-
finally { if (e_1) throw e_1.error; }
|
|
87
|
-
}
|
|
88
|
-
});
|
|
69
|
+
async *listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
70
|
+
for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
|
|
71
|
+
yield* page;
|
|
72
|
+
}
|
|
89
73
|
}
|
|
90
74
|
/**
|
|
91
75
|
* Lists all the applications within a subscription.
|
|
@@ -101,52 +85,35 @@ class ApplicationsImpl {
|
|
|
101
85
|
return this;
|
|
102
86
|
},
|
|
103
87
|
byPage: (settings) => {
|
|
104
|
-
if (settings
|
|
88
|
+
if (settings?.maxPageSize) {
|
|
105
89
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
106
90
|
}
|
|
107
91
|
return this.listBySubscriptionPagingPage(options, settings);
|
|
108
92
|
}
|
|
109
93
|
};
|
|
110
94
|
}
|
|
111
|
-
listBySubscriptionPagingPage(options, settings) {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
}
|
|
129
|
-
});
|
|
95
|
+
async *listBySubscriptionPagingPage(options, settings) {
|
|
96
|
+
let result;
|
|
97
|
+
let continuationToken = settings?.continuationToken;
|
|
98
|
+
if (!continuationToken) {
|
|
99
|
+
result = await this._listBySubscription(options);
|
|
100
|
+
let page = result.value || [];
|
|
101
|
+
continuationToken = result.nextLink;
|
|
102
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
103
|
+
yield page;
|
|
104
|
+
}
|
|
105
|
+
while (continuationToken) {
|
|
106
|
+
result = await this._listBySubscriptionNext(continuationToken, options);
|
|
107
|
+
continuationToken = result.nextLink;
|
|
108
|
+
let page = result.value || [];
|
|
109
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
110
|
+
yield page;
|
|
111
|
+
}
|
|
130
112
|
}
|
|
131
|
-
listBySubscriptionPagingAll(options) {
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
136
|
-
_c = _f.value;
|
|
137
|
-
_d = false;
|
|
138
|
-
const page = _c;
|
|
139
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
143
|
-
finally {
|
|
144
|
-
try {
|
|
145
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
146
|
-
}
|
|
147
|
-
finally { if (e_2) throw e_2.error; }
|
|
148
|
-
}
|
|
149
|
-
});
|
|
113
|
+
async *listBySubscriptionPagingAll(options) {
|
|
114
|
+
for await (const page of this.listBySubscriptionPagingPage(options)) {
|
|
115
|
+
yield* page;
|
|
116
|
+
}
|
|
150
117
|
}
|
|
151
118
|
/**
|
|
152
119
|
* Gets the managed application.
|
|
@@ -168,14 +135,19 @@ class ApplicationsImpl {
|
|
|
168
135
|
return this.client.sendOperationRequest(args, spec);
|
|
169
136
|
};
|
|
170
137
|
const sendOperationFn = async (args, spec) => {
|
|
171
|
-
var _a;
|
|
172
138
|
let currentRawResponse = undefined;
|
|
173
|
-
const providedCallback =
|
|
139
|
+
const providedCallback = args.options?.onResponse;
|
|
174
140
|
const callback = (rawResponse, flatResponse) => {
|
|
175
141
|
currentRawResponse = rawResponse;
|
|
176
|
-
providedCallback
|
|
142
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
143
|
+
};
|
|
144
|
+
const updatedArgs = {
|
|
145
|
+
...args,
|
|
146
|
+
options: {
|
|
147
|
+
...args.options,
|
|
148
|
+
onResponse: callback
|
|
149
|
+
}
|
|
177
150
|
};
|
|
178
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
179
151
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
180
152
|
return {
|
|
181
153
|
flatResponse,
|
|
@@ -192,8 +164,8 @@ class ApplicationsImpl {
|
|
|
192
164
|
spec: deleteOperationSpec
|
|
193
165
|
});
|
|
194
166
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
195
|
-
restoreFrom: options
|
|
196
|
-
intervalInMs: options
|
|
167
|
+
restoreFrom: options?.resumeFrom,
|
|
168
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
197
169
|
resourceLocationConfig: "azure-async-operation"
|
|
198
170
|
});
|
|
199
171
|
await poller.poll();
|
|
@@ -221,14 +193,19 @@ class ApplicationsImpl {
|
|
|
221
193
|
return this.client.sendOperationRequest(args, spec);
|
|
222
194
|
};
|
|
223
195
|
const sendOperationFn = async (args, spec) => {
|
|
224
|
-
var _a;
|
|
225
196
|
let currentRawResponse = undefined;
|
|
226
|
-
const providedCallback =
|
|
197
|
+
const providedCallback = args.options?.onResponse;
|
|
227
198
|
const callback = (rawResponse, flatResponse) => {
|
|
228
199
|
currentRawResponse = rawResponse;
|
|
229
|
-
providedCallback
|
|
200
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
201
|
+
};
|
|
202
|
+
const updatedArgs = {
|
|
203
|
+
...args,
|
|
204
|
+
options: {
|
|
205
|
+
...args.options,
|
|
206
|
+
onResponse: callback
|
|
207
|
+
}
|
|
230
208
|
};
|
|
231
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
232
209
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
233
210
|
return {
|
|
234
211
|
flatResponse,
|
|
@@ -245,8 +222,8 @@ class ApplicationsImpl {
|
|
|
245
222
|
spec: createOrUpdateOperationSpec
|
|
246
223
|
});
|
|
247
224
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
248
|
-
restoreFrom: options
|
|
249
|
-
intervalInMs: options
|
|
225
|
+
restoreFrom: options?.resumeFrom,
|
|
226
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
250
227
|
resourceLocationConfig: "azure-async-operation"
|
|
251
228
|
});
|
|
252
229
|
await poller.poll();
|
|
@@ -274,14 +251,19 @@ class ApplicationsImpl {
|
|
|
274
251
|
return this.client.sendOperationRequest(args, spec);
|
|
275
252
|
};
|
|
276
253
|
const sendOperationFn = async (args, spec) => {
|
|
277
|
-
var _a;
|
|
278
254
|
let currentRawResponse = undefined;
|
|
279
|
-
const providedCallback =
|
|
255
|
+
const providedCallback = args.options?.onResponse;
|
|
280
256
|
const callback = (rawResponse, flatResponse) => {
|
|
281
257
|
currentRawResponse = rawResponse;
|
|
282
|
-
providedCallback
|
|
258
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
259
|
+
};
|
|
260
|
+
const updatedArgs = {
|
|
261
|
+
...args,
|
|
262
|
+
options: {
|
|
263
|
+
...args.options,
|
|
264
|
+
onResponse: callback
|
|
265
|
+
}
|
|
283
266
|
};
|
|
284
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
285
267
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
286
268
|
return {
|
|
287
269
|
flatResponse,
|
|
@@ -298,8 +280,8 @@ class ApplicationsImpl {
|
|
|
298
280
|
spec: updateOperationSpec
|
|
299
281
|
});
|
|
300
282
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
301
|
-
restoreFrom: options
|
|
302
|
-
intervalInMs: options
|
|
283
|
+
restoreFrom: options?.resumeFrom,
|
|
284
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
303
285
|
resourceLocationConfig: "azure-async-operation"
|
|
304
286
|
});
|
|
305
287
|
await poller.poll();
|
|
@@ -352,14 +334,19 @@ class ApplicationsImpl {
|
|
|
352
334
|
return this.client.sendOperationRequest(args, spec);
|
|
353
335
|
};
|
|
354
336
|
const sendOperationFn = async (args, spec) => {
|
|
355
|
-
var _a;
|
|
356
337
|
let currentRawResponse = undefined;
|
|
357
|
-
const providedCallback =
|
|
338
|
+
const providedCallback = args.options?.onResponse;
|
|
358
339
|
const callback = (rawResponse, flatResponse) => {
|
|
359
340
|
currentRawResponse = rawResponse;
|
|
360
|
-
providedCallback
|
|
341
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
342
|
+
};
|
|
343
|
+
const updatedArgs = {
|
|
344
|
+
...args,
|
|
345
|
+
options: {
|
|
346
|
+
...args.options,
|
|
347
|
+
onResponse: callback
|
|
348
|
+
}
|
|
361
349
|
};
|
|
362
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
363
350
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
364
351
|
return {
|
|
365
352
|
flatResponse,
|
|
@@ -376,8 +363,8 @@ class ApplicationsImpl {
|
|
|
376
363
|
spec: deleteByIdOperationSpec
|
|
377
364
|
});
|
|
378
365
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
379
|
-
restoreFrom: options
|
|
380
|
-
intervalInMs: options
|
|
366
|
+
restoreFrom: options?.resumeFrom,
|
|
367
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
381
368
|
resourceLocationConfig: "azure-async-operation"
|
|
382
369
|
});
|
|
383
370
|
await poller.poll();
|
|
@@ -407,14 +394,19 @@ class ApplicationsImpl {
|
|
|
407
394
|
return this.client.sendOperationRequest(args, spec);
|
|
408
395
|
};
|
|
409
396
|
const sendOperationFn = async (args, spec) => {
|
|
410
|
-
var _a;
|
|
411
397
|
let currentRawResponse = undefined;
|
|
412
|
-
const providedCallback =
|
|
398
|
+
const providedCallback = args.options?.onResponse;
|
|
413
399
|
const callback = (rawResponse, flatResponse) => {
|
|
414
400
|
currentRawResponse = rawResponse;
|
|
415
|
-
providedCallback
|
|
401
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
402
|
+
};
|
|
403
|
+
const updatedArgs = {
|
|
404
|
+
...args,
|
|
405
|
+
options: {
|
|
406
|
+
...args.options,
|
|
407
|
+
onResponse: callback
|
|
408
|
+
}
|
|
416
409
|
};
|
|
417
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
418
410
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
419
411
|
return {
|
|
420
412
|
flatResponse,
|
|
@@ -431,8 +423,8 @@ class ApplicationsImpl {
|
|
|
431
423
|
spec: createOrUpdateByIdOperationSpec
|
|
432
424
|
});
|
|
433
425
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
434
|
-
restoreFrom: options
|
|
435
|
-
intervalInMs: options
|
|
426
|
+
restoreFrom: options?.resumeFrom,
|
|
427
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
436
428
|
resourceLocationConfig: "azure-async-operation"
|
|
437
429
|
});
|
|
438
430
|
await poller.poll();
|
|
@@ -462,14 +454,19 @@ class ApplicationsImpl {
|
|
|
462
454
|
return this.client.sendOperationRequest(args, spec);
|
|
463
455
|
};
|
|
464
456
|
const sendOperationFn = async (args, spec) => {
|
|
465
|
-
var _a;
|
|
466
457
|
let currentRawResponse = undefined;
|
|
467
|
-
const providedCallback =
|
|
458
|
+
const providedCallback = args.options?.onResponse;
|
|
468
459
|
const callback = (rawResponse, flatResponse) => {
|
|
469
460
|
currentRawResponse = rawResponse;
|
|
470
|
-
providedCallback
|
|
461
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
462
|
+
};
|
|
463
|
+
const updatedArgs = {
|
|
464
|
+
...args,
|
|
465
|
+
options: {
|
|
466
|
+
...args.options,
|
|
467
|
+
onResponse: callback
|
|
468
|
+
}
|
|
471
469
|
};
|
|
472
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
473
470
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
474
471
|
return {
|
|
475
472
|
flatResponse,
|
|
@@ -486,8 +483,8 @@ class ApplicationsImpl {
|
|
|
486
483
|
spec: updateByIdOperationSpec
|
|
487
484
|
});
|
|
488
485
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
489
|
-
restoreFrom: options
|
|
490
|
-
intervalInMs: options
|
|
486
|
+
restoreFrom: options?.resumeFrom,
|
|
487
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
491
488
|
resourceLocationConfig: "azure-async-operation"
|
|
492
489
|
});
|
|
493
490
|
await poller.poll();
|
|
@@ -515,14 +512,19 @@ class ApplicationsImpl {
|
|
|
515
512
|
return this.client.sendOperationRequest(args, spec);
|
|
516
513
|
};
|
|
517
514
|
const sendOperationFn = async (args, spec) => {
|
|
518
|
-
var _a;
|
|
519
515
|
let currentRawResponse = undefined;
|
|
520
|
-
const providedCallback =
|
|
516
|
+
const providedCallback = args.options?.onResponse;
|
|
521
517
|
const callback = (rawResponse, flatResponse) => {
|
|
522
518
|
currentRawResponse = rawResponse;
|
|
523
|
-
providedCallback
|
|
519
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
520
|
+
};
|
|
521
|
+
const updatedArgs = {
|
|
522
|
+
...args,
|
|
523
|
+
options: {
|
|
524
|
+
...args.options,
|
|
525
|
+
onResponse: callback
|
|
526
|
+
}
|
|
524
527
|
};
|
|
525
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
526
528
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
527
529
|
return {
|
|
528
530
|
flatResponse,
|
|
@@ -539,8 +541,8 @@ class ApplicationsImpl {
|
|
|
539
541
|
spec: refreshPermissionsOperationSpec
|
|
540
542
|
});
|
|
541
543
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
542
|
-
restoreFrom: options
|
|
543
|
-
intervalInMs: options
|
|
544
|
+
restoreFrom: options?.resumeFrom,
|
|
545
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
544
546
|
resourceLocationConfig: "location"
|
|
545
547
|
});
|
|
546
548
|
await poller.poll();
|
|
@@ -577,14 +579,19 @@ class ApplicationsImpl {
|
|
|
577
579
|
return this.client.sendOperationRequest(args, spec);
|
|
578
580
|
};
|
|
579
581
|
const sendOperationFn = async (args, spec) => {
|
|
580
|
-
var _a;
|
|
581
582
|
let currentRawResponse = undefined;
|
|
582
|
-
const providedCallback =
|
|
583
|
+
const providedCallback = args.options?.onResponse;
|
|
583
584
|
const callback = (rawResponse, flatResponse) => {
|
|
584
585
|
currentRawResponse = rawResponse;
|
|
585
|
-
providedCallback
|
|
586
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
587
|
+
};
|
|
588
|
+
const updatedArgs = {
|
|
589
|
+
...args,
|
|
590
|
+
options: {
|
|
591
|
+
...args.options,
|
|
592
|
+
onResponse: callback
|
|
593
|
+
}
|
|
586
594
|
};
|
|
587
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
588
595
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
589
596
|
return {
|
|
590
597
|
flatResponse,
|
|
@@ -601,8 +608,8 @@ class ApplicationsImpl {
|
|
|
601
608
|
spec: updateAccessOperationSpec
|
|
602
609
|
});
|
|
603
610
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
604
|
-
restoreFrom: options
|
|
605
|
-
intervalInMs: options
|
|
611
|
+
restoreFrom: options?.resumeFrom,
|
|
612
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
606
613
|
resourceLocationConfig: "location"
|
|
607
614
|
});
|
|
608
615
|
await poller.poll();
|