@azure/arm-managedapplications 2.1.1-alpha.20230320.1 → 2.1.1-alpha.20230501.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../src/pagingHelper.ts","../src/models/index.ts","../src/models/mappers.ts","../src/models/parameters.ts","../src/lroImpl.ts","../src/operations/applications.ts","../src/operations/applicationDefinitions.ts","../src/applicationClient.ts"],"sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given a result page from a pageable operation, returns a\n * continuation token that can be used to begin paging from\n * that point later.\n * @param page A result object from calling .byPage() on a paged operation.\n * @returns The continuation token that can be passed into byPage().\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(\n page: unknown,\n continuationToken: string | undefined\n): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n","/*\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 * as coreClient from \"@azure/core-client\";\n\n/** Result of the request to list Microsoft.Solutions operations. It contains a list of operations and a URL link to get the next set of results. */\nexport interface OperationListResult {\n /** List of Microsoft.Solutions operations. */\n value?: Operation[];\n /** URL to get the next set of operation list results if there are any. */\n nextLink?: string;\n}\n\n/** Microsoft.Solutions operation */\nexport interface Operation {\n /** Operation name: {provider}/{resource}/{operation} */\n name?: string;\n /** The object that represents the operation. */\n display?: OperationDisplay;\n}\n\n/** The object that represents the operation. */\nexport interface OperationDisplay {\n /** Service provider: Microsoft.Solutions */\n provider?: string;\n /** Resource on which the operation is performed: Application, JitRequest, etc. */\n resource?: string;\n /** Operation type: Read, write, delete, etc. */\n operation?: string;\n}\n\n/** Plan for the managed application. */\nexport interface Plan {\n /** The plan name. */\n name: string;\n /** The publisher ID. */\n publisher: string;\n /** The product code. */\n product: string;\n /** The promotion code. */\n promotionCode?: string;\n /** The plan's version. */\n version: string;\n}\n\n/** SKU for the resource. */\nexport interface Sku {\n /** The SKU name. */\n name: string;\n /** The SKU tier. */\n tier?: string;\n /** The SKU size. */\n size?: string;\n /** The SKU family. */\n family?: string;\n /** The SKU model. */\n model?: string;\n /** The SKU capacity. */\n capacity?: number;\n}\n\n/** Identity for the resource. */\nexport interface Identity {\n /**\n * The principal ID of resource identity.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly principalId?: string;\n /**\n * The tenant ID of resource.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly tenantId?: string;\n /** The identity type. */\n type?: \"SystemAssigned\";\n}\n\n/** Resource information. */\nexport interface Resource {\n /**\n * Resource ID\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * Resource name\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * Resource type\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /** Resource location */\n location?: string;\n /** Resource tags */\n tags?: { [propertyName: string]: string };\n}\n\n/** Error response indicates managed application is not able to process the incoming request. The reason is provided in the error message. */\nexport interface ErrorResponse {\n /** Http status code. */\n httpStatus?: string;\n /** Error code. */\n errorCode?: string;\n /** Error message indicating why the operation failed. */\n errorMessage?: string;\n}\n\n/** Plan for the managed application. */\nexport interface PlanPatchable {\n /** The plan name. */\n name?: string;\n /** The publisher ID. */\n publisher?: string;\n /** The product code. */\n product?: string;\n /** The promotion code. */\n promotionCode?: string;\n /** The plan's version. */\n version?: string;\n}\n\n/** The managed application provider authorization. */\nexport interface ApplicationProviderAuthorization {\n /** The provider's principal identifier. This is the identity that the provider will use to call ARM to manage the managed application resources. */\n principalId: string;\n /** The provider's role definition identifier. This role will define all the permissions that the provider must have on the managed application's container resource group. This role definition cannot have permission to delete the resource group. */\n roleDefinitionId: string;\n}\n\n/** Managed application artifact. */\nexport interface ApplicationArtifact {\n /** The managed application artifact name. */\n name?: string;\n /** The managed application artifact blob uri. */\n uri?: string;\n /** The managed application artifact type. */\n type?: ApplicationArtifactType;\n}\n\n/** List of managed application definitions. */\nexport interface ApplicationDefinitionListResult {\n /** The array of managed application definitions. */\n value?: ApplicationDefinition[];\n /** The URL to use for getting the next set of results. */\n nextLink?: string;\n}\n\n/** List of managed applications. */\nexport interface ApplicationListResult {\n /** The array of managed applications. */\n value?: Application[];\n /** The URL to use for getting the next set of results. */\n nextLink?: string;\n}\n\n/** Resource information. */\nexport interface GenericResource extends Resource {\n /** ID of the resource that manages this resource. */\n managedBy?: string;\n /** The SKU of the resource. */\n sku?: Sku;\n /** The identity of the resource. */\n identity?: Identity;\n}\n\n/** Information about managed application. */\nexport interface Application extends GenericResource {\n /** The plan information. */\n plan?: Plan;\n /** The kind of the managed application. Allowed values are MarketPlace and ServiceCatalog. */\n kind: string;\n /** The managed resource group Id. */\n managedResourceGroupId: string;\n /** The fully qualified path of managed application definition Id. */\n applicationDefinitionId?: string;\n /** Name and value pairs that define the managed application parameters. It can be a JObject or a well formed JSON string. */\n parameters?: Record<string, unknown>;\n /**\n * Name and value pairs that define the managed application outputs.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly outputs?: Record<string, unknown>;\n /**\n * The managed application provisioning state.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly provisioningState?: ProvisioningState;\n}\n\n/** Information about managed application. */\nexport interface ApplicationPatchable extends GenericResource {\n /** The plan information. */\n plan?: PlanPatchable;\n /** The kind of the managed application. Allowed values are MarketPlace and ServiceCatalog. */\n kind?: string;\n /** The managed resource group Id. */\n managedResourceGroupId?: string;\n /** The fully qualified path of managed application definition Id. */\n applicationDefinitionId?: string;\n /** Name and value pairs that define the managed application parameters. It can be a JObject or a well formed JSON string. */\n parameters?: Record<string, unknown>;\n /**\n * Name and value pairs that define the managed application outputs.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly outputs?: Record<string, unknown>;\n /**\n * The managed application provisioning state.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly provisioningState?: ProvisioningState;\n}\n\n/** Information about managed application definition. */\nexport interface ApplicationDefinition extends GenericResource {\n /** The managed application lock level. */\n lockLevel: ApplicationLockLevel;\n /** The managed application definition display name. */\n displayName?: string;\n /** A value indicating whether the package is enabled or not. */\n isEnabled?: string;\n /** The managed application provider authorizations. */\n authorizations: ApplicationProviderAuthorization[];\n /** The collection of managed application artifacts. The portal will use the files specified as artifacts to construct the user experience of creating a managed application from a managed application definition. */\n artifacts?: ApplicationArtifact[];\n /** The managed application definition description. */\n description?: string;\n /** The managed application definition package file Uri. Use this element */\n packageFileUri?: string;\n /** The inline main template json which has resources to be provisioned. It can be a JObject or well-formed JSON string. */\n mainTemplate?: Record<string, unknown>;\n /** The createUiDefinition json for the backing template with Microsoft.Solutions/applications resource. It can be a JObject or well-formed JSON string. */\n createUiDefinition?: Record<string, unknown>;\n}\n\n/** Known values of {@link ProvisioningState} that the service accepts. */\nexport enum KnownProvisioningState {\n /** Accepted */\n Accepted = \"Accepted\",\n /** Running */\n Running = \"Running\",\n /** Ready */\n Ready = \"Ready\",\n /** Creating */\n Creating = \"Creating\",\n /** Created */\n Created = \"Created\",\n /** Deleting */\n Deleting = \"Deleting\",\n /** Deleted */\n Deleted = \"Deleted\",\n /** Canceled */\n Canceled = \"Canceled\",\n /** Failed */\n Failed = \"Failed\",\n /** Succeeded */\n Succeeded = \"Succeeded\",\n /** Updating */\n Updating = \"Updating\"\n}\n\n/**\n * Defines values for ProvisioningState. \\\n * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Accepted** \\\n * **Running** \\\n * **Ready** \\\n * **Creating** \\\n * **Created** \\\n * **Deleting** \\\n * **Deleted** \\\n * **Canceled** \\\n * **Failed** \\\n * **Succeeded** \\\n * **Updating**\n */\nexport type ProvisioningState = string;\n/** Defines values for ApplicationLockLevel. */\nexport type ApplicationLockLevel = \"CanNotDelete\" | \"ReadOnly\" | \"None\";\n/** Defines values for ApplicationArtifactType. */\nexport type ApplicationArtifactType = \"Template\" | \"Custom\";\n\n/** Optional parameters. */\nexport interface ListOperationsOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listOperations operation. */\nexport type ListOperationsResponse = OperationListResult;\n\n/** Optional parameters. */\nexport interface ListOperationsNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listOperationsNext operation. */\nexport type ListOperationsNextResponse = OperationListResult;\n\n/** Optional parameters. */\nexport interface ApplicationsGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type ApplicationsGetResponse = Application;\n\n/** Optional parameters. */\nexport interface ApplicationsDeleteOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Optional parameters. */\nexport interface ApplicationsCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type ApplicationsCreateOrUpdateResponse = Application;\n\n/** Optional parameters. */\nexport interface ApplicationsUpdateOptionalParams\n extends coreClient.OperationOptions {\n /** Parameters supplied to update an existing managed application. */\n parameters?: ApplicationPatchable;\n}\n\n/** Contains response data for the update operation. */\nexport type ApplicationsUpdateResponse = Application;\n\n/** Optional parameters. */\nexport interface ApplicationsListByResourceGroupOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByResourceGroup operation. */\nexport type ApplicationsListByResourceGroupResponse = ApplicationListResult;\n\n/** Optional parameters. */\nexport interface ApplicationsListBySubscriptionOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listBySubscription operation. */\nexport type ApplicationsListBySubscriptionResponse = ApplicationListResult;\n\n/** Optional parameters. */\nexport interface ApplicationsGetByIdOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getById operation. */\nexport type ApplicationsGetByIdResponse = Application;\n\n/** Optional parameters. */\nexport interface ApplicationsDeleteByIdOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Optional parameters. */\nexport interface ApplicationsCreateOrUpdateByIdOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the createOrUpdateById operation. */\nexport type ApplicationsCreateOrUpdateByIdResponse = Application;\n\n/** Optional parameters. */\nexport interface ApplicationsUpdateByIdOptionalParams\n extends coreClient.OperationOptions {\n /** Parameters supplied to update an existing managed application. */\n parameters?: Application;\n}\n\n/** Contains response data for the updateById operation. */\nexport type ApplicationsUpdateByIdResponse = Application;\n\n/** Optional parameters. */\nexport interface ApplicationsListByResourceGroupNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByResourceGroupNext operation. */\nexport type ApplicationsListByResourceGroupNextResponse = ApplicationListResult;\n\n/** Optional parameters. */\nexport interface ApplicationsListBySubscriptionNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listBySubscriptionNext operation. */\nexport type ApplicationsListBySubscriptionNextResponse = ApplicationListResult;\n\n/** Optional parameters. */\nexport interface ApplicationDefinitionsGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type ApplicationDefinitionsGetResponse = ApplicationDefinition;\n\n/** Optional parameters. */\nexport interface ApplicationDefinitionsDeleteOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Optional parameters. */\nexport interface ApplicationDefinitionsCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type ApplicationDefinitionsCreateOrUpdateResponse = ApplicationDefinition;\n\n/** Optional parameters. */\nexport interface ApplicationDefinitionsListByResourceGroupOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByResourceGroup operation. */\nexport type ApplicationDefinitionsListByResourceGroupResponse = ApplicationDefinitionListResult;\n\n/** Optional parameters. */\nexport interface ApplicationDefinitionsGetByIdOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getById operation. */\nexport type ApplicationDefinitionsGetByIdResponse = ApplicationDefinition;\n\n/** Optional parameters. */\nexport interface ApplicationDefinitionsDeleteByIdOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Optional parameters. */\nexport interface ApplicationDefinitionsCreateOrUpdateByIdOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the createOrUpdateById operation. */\nexport type ApplicationDefinitionsCreateOrUpdateByIdResponse = ApplicationDefinition;\n\n/** Optional parameters. */\nexport interface ApplicationDefinitionsListByResourceGroupNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByResourceGroupNext operation. */\nexport type ApplicationDefinitionsListByResourceGroupNextResponse = ApplicationDefinitionListResult;\n\n/** Optional parameters. */\nexport interface ApplicationClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** server parameter */\n $host?: string;\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n","/*\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 * as coreClient from \"@azure/core-client\";\n\nexport const OperationListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Operation\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Operation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Operation\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n display: {\n serializedName: \"display\",\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\"\n }\n }\n }\n }\n};\n\nexport const OperationDisplay: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\",\n modelProperties: {\n provider: {\n serializedName: \"provider\",\n type: {\n name: \"String\"\n }\n },\n resource: {\n serializedName: \"resource\",\n type: {\n name: \"String\"\n }\n },\n operation: {\n serializedName: \"operation\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Plan: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Plan\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n publisher: {\n serializedName: \"publisher\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n product: {\n serializedName: \"product\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n promotionCode: {\n serializedName: \"promotionCode\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"version\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Sku: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Sku\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n tier: {\n serializedName: \"tier\",\n type: {\n name: \"String\"\n }\n },\n size: {\n serializedName: \"size\",\n type: {\n name: \"String\"\n }\n },\n family: {\n serializedName: \"family\",\n type: {\n name: \"String\"\n }\n },\n model: {\n serializedName: \"model\",\n type: {\n name: \"String\"\n }\n },\n capacity: {\n serializedName: \"capacity\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const Identity: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Identity\",\n modelProperties: {\n principalId: {\n serializedName: \"principalId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n tenantId: {\n serializedName: \"tenantId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n defaultValue: \"SystemAssigned\",\n isConstant: true,\n serializedName: \"type\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Resource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Resource\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\"\n }\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n }\n }\n }\n};\n\nexport const ErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\",\n modelProperties: {\n httpStatus: {\n serializedName: \"httpStatus\",\n type: {\n name: \"String\"\n }\n },\n errorCode: {\n serializedName: \"errorCode\",\n type: {\n name: \"String\"\n }\n },\n errorMessage: {\n serializedName: \"errorMessage\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PlanPatchable: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PlanPatchable\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n publisher: {\n serializedName: \"publisher\",\n type: {\n name: \"String\"\n }\n },\n product: {\n serializedName: \"product\",\n type: {\n name: \"String\"\n }\n },\n promotionCode: {\n serializedName: \"promotionCode\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"version\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ApplicationProviderAuthorization: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ApplicationProviderAuthorization\",\n modelProperties: {\n principalId: {\n serializedName: \"principalId\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n roleDefinitionId: {\n serializedName: \"roleDefinitionId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ApplicationArtifact: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ApplicationArtifact\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n uri: {\n serializedName: \"uri\",\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n type: {\n name: \"Enum\",\n allowedValues: [\"Template\", \"Custom\"]\n }\n }\n }\n }\n};\n\nexport const ApplicationDefinitionListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ApplicationDefinitionListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ApplicationDefinition\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ApplicationListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ApplicationListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Application\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GenericResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GenericResource\",\n modelProperties: {\n ...Resource.type.modelProperties,\n managedBy: {\n serializedName: \"managedBy\",\n type: {\n name: \"String\"\n }\n },\n sku: {\n serializedName: \"sku\",\n type: {\n name: \"Composite\",\n className: \"Sku\"\n }\n },\n identity: {\n serializedName: \"identity\",\n type: {\n name: \"Composite\",\n className: \"Identity\"\n }\n }\n }\n }\n};\n\nexport const Application: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Application\",\n modelProperties: {\n ...GenericResource.type.modelProperties,\n plan: {\n serializedName: \"plan\",\n type: {\n name: \"Composite\",\n className: \"Plan\"\n }\n },\n kind: {\n constraints: {\n Pattern: new RegExp(\"^[-\\\\w\\\\._,\\\\(\\\\)]+$\")\n },\n serializedName: \"kind\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n managedResourceGroupId: {\n serializedName: \"properties.managedResourceGroupId\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n applicationDefinitionId: {\n serializedName: \"properties.applicationDefinitionId\",\n type: {\n name: \"String\"\n }\n },\n parameters: {\n serializedName: \"properties.parameters\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n },\n outputs: {\n serializedName: \"properties.outputs\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n },\n provisioningState: {\n serializedName: \"properties.provisioningState\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ApplicationPatchable: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ApplicationPatchable\",\n modelProperties: {\n ...GenericResource.type.modelProperties,\n plan: {\n serializedName: \"plan\",\n type: {\n name: \"Composite\",\n className: \"PlanPatchable\"\n }\n },\n kind: {\n constraints: {\n Pattern: new RegExp(\"^[-\\\\w\\\\._,\\\\(\\\\)]+$\")\n },\n serializedName: \"kind\",\n type: {\n name: \"String\"\n }\n },\n managedResourceGroupId: {\n serializedName: \"properties.managedResourceGroupId\",\n type: {\n name: \"String\"\n }\n },\n applicationDefinitionId: {\n serializedName: \"properties.applicationDefinitionId\",\n type: {\n name: \"String\"\n }\n },\n parameters: {\n serializedName: \"properties.parameters\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n },\n outputs: {\n serializedName: \"properties.outputs\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n },\n provisioningState: {\n serializedName: \"properties.provisioningState\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ApplicationDefinition: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ApplicationDefinition\",\n modelProperties: {\n ...GenericResource.type.modelProperties,\n lockLevel: {\n serializedName: \"properties.lockLevel\",\n required: true,\n type: {\n name: \"Enum\",\n allowedValues: [\"CanNotDelete\", \"ReadOnly\", \"None\"]\n }\n },\n displayName: {\n serializedName: \"properties.displayName\",\n type: {\n name: \"String\"\n }\n },\n isEnabled: {\n serializedName: \"properties.isEnabled\",\n type: {\n name: \"String\"\n }\n },\n authorizations: {\n serializedName: \"properties.authorizations\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ApplicationProviderAuthorization\"\n }\n }\n }\n },\n artifacts: {\n serializedName: \"properties.artifacts\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ApplicationArtifact\"\n }\n }\n }\n },\n description: {\n serializedName: \"properties.description\",\n type: {\n name: \"String\"\n }\n },\n packageFileUri: {\n serializedName: \"properties.packageFileUri\",\n type: {\n name: \"String\"\n }\n },\n mainTemplate: {\n serializedName: \"properties.mainTemplate\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n },\n createUiDefinition: {\n serializedName: \"properties.createUiDefinition\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n }\n }\n }\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport {\n Application as ApplicationMapper,\n ApplicationPatchable as ApplicationPatchableMapper,\n ApplicationDefinition as ApplicationDefinitionMapper\n} from \"../models/mappers\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2018-06-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[-\\\\w\\\\._\\\\(\\\\)]+$\"),\n MaxLength: 90,\n MinLength: 1\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const applicationName: OperationURLParameter = {\n parameterPath: \"applicationName\",\n mapper: {\n constraints: {\n MaxLength: 64,\n MinLength: 3\n },\n serializedName: \"applicationName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const parameters: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ApplicationMapper\n};\n\nexport const parameters1: OperationParameter = {\n parameterPath: [\"options\", \"parameters\"],\n mapper: ApplicationPatchableMapper\n};\n\nexport const applicationId: OperationURLParameter = {\n parameterPath: \"applicationId\",\n mapper: {\n serializedName: \"applicationId\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const parameters2: OperationParameter = {\n parameterPath: [\"options\", \"parameters\"],\n mapper: ApplicationMapper\n};\n\nexport const applicationDefinitionName: OperationURLParameter = {\n parameterPath: \"applicationDefinitionName\",\n mapper: {\n constraints: {\n MaxLength: 64,\n MinLength: 3\n },\n serializedName: \"applicationDefinitionName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const parameters3: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ApplicationDefinitionMapper\n};\n","/*\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 { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport class LroImpl<T> implements LongRunningOperation<T> {\n constructor(\n private sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>,\n private args: Record<string, unknown>,\n private spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>,\n public requestPath: string = spec.path!,\n public requestMethod: string = spec.httpMethod\n ) {}\n public async sendInitialRequest(): Promise<LroResponse<T>> {\n return this.sendOperationFn(this.args, this.spec);\n }\n public async sendPollRequest(path: string): Promise<LroResponse<T>> {\n const { requestBody, ...restSpec } = this.spec;\n return this.sendOperationFn(this.args, {\n ...restSpec,\n path,\n httpMethod: \"GET\"\n });\n }\n}\n","/*\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\";\nimport { Applications } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { ApplicationClient } from \"../applicationClient\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl\";\nimport {\n Application,\n ApplicationsListByResourceGroupNextOptionalParams,\n ApplicationsListByResourceGroupOptionalParams,\n ApplicationsListByResourceGroupResponse,\n ApplicationsListBySubscriptionNextOptionalParams,\n ApplicationsListBySubscriptionOptionalParams,\n ApplicationsListBySubscriptionResponse,\n ApplicationsGetOptionalParams,\n ApplicationsGetResponse,\n ApplicationsDeleteOptionalParams,\n ApplicationsCreateOrUpdateOptionalParams,\n ApplicationsCreateOrUpdateResponse,\n ApplicationsUpdateOptionalParams,\n ApplicationsUpdateResponse,\n ApplicationsGetByIdOptionalParams,\n ApplicationsGetByIdResponse,\n ApplicationsDeleteByIdOptionalParams,\n ApplicationsCreateOrUpdateByIdOptionalParams,\n ApplicationsCreateOrUpdateByIdResponse,\n ApplicationsUpdateByIdOptionalParams,\n ApplicationsUpdateByIdResponse,\n ApplicationsListByResourceGroupNextResponse,\n ApplicationsListBySubscriptionNextResponse\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Applications operations. */\nexport class ApplicationsImpl implements Applications {\n private readonly client: ApplicationClient;\n\n /**\n * Initialize a new instance of the class Applications class.\n * @param client Reference to the service client\n */\n constructor(client: ApplicationClient) {\n this.client = client;\n }\n\n /**\n * Gets all the applications within 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?: ApplicationsListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<Application> {\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?: ApplicationsListByResourceGroupOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Application[]> {\n let result: ApplicationsListByResourceGroupResponse;\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?: ApplicationsListByResourceGroupOptionalParams\n ): AsyncIterableIterator<Application> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets all the applications within a subscription.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: ApplicationsListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<Application> {\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?: ApplicationsListBySubscriptionOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Application[]> {\n let result: ApplicationsListBySubscriptionResponse;\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?: ApplicationsListBySubscriptionOptionalParams\n ): AsyncIterableIterator<Application> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets the managed application.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param applicationName The name of the managed application.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n applicationName: string,\n options?: ApplicationsGetOptionalParams\n ): Promise<ApplicationsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, applicationName, options },\n getOperationSpec\n );\n }\n\n /**\n * Deletes the managed application.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param applicationName The name of the managed application.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n applicationName: string,\n options?: ApplicationsDeleteOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, applicationName, options },\n deleteOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes the managed application.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param applicationName The name of the managed application.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n applicationName: string,\n options?: ApplicationsDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n applicationName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Creates a new managed application.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param applicationName The name of the managed application.\n * @param parameters Parameters supplied to the create or update a managed application.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n applicationName: string,\n parameters: Application,\n options?: ApplicationsCreateOrUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<ApplicationsCreateOrUpdateResponse>,\n ApplicationsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<ApplicationsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, applicationName, parameters, options },\n createOrUpdateOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates a new managed application.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param applicationName The name of the managed application.\n * @param parameters Parameters supplied to the create or update a managed application.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n applicationName: string,\n parameters: Application,\n options?: ApplicationsCreateOrUpdateOptionalParams\n ): Promise<ApplicationsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n applicationName,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Updates an existing managed application. The only value that can be updated via PATCH currently is\n * the tags.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param applicationName The name of the managed application.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n applicationName: string,\n options?: ApplicationsUpdateOptionalParams\n ): Promise<ApplicationsUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, applicationName, options },\n updateOperationSpec\n );\n }\n\n /**\n * Gets all the applications within 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?: ApplicationsListByResourceGroupOptionalParams\n ): Promise<ApplicationsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * Gets all the applications within a subscription.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: ApplicationsListBySubscriptionOptionalParams\n ): Promise<ApplicationsListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec\n );\n }\n\n /**\n * Gets the managed application.\n * @param applicationId The fully qualified ID of the managed application, including the managed\n * application name and the managed application resource type. Use the format,\n * /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}\n * @param options The options parameters.\n */\n getById(\n applicationId: string,\n options?: ApplicationsGetByIdOptionalParams\n ): Promise<ApplicationsGetByIdResponse> {\n return this.client.sendOperationRequest(\n { applicationId, options },\n getByIdOperationSpec\n );\n }\n\n /**\n * Deletes the managed application.\n * @param applicationId The fully qualified ID of the managed application, including the managed\n * application name and the managed application resource type. Use the format,\n * /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}\n * @param options The options parameters.\n */\n async beginDeleteById(\n applicationId: string,\n options?: ApplicationsDeleteByIdOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { applicationId, options },\n deleteByIdOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes the managed application.\n * @param applicationId The fully qualified ID of the managed application, including the managed\n * application name and the managed application resource type. Use the format,\n * /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}\n * @param options The options parameters.\n */\n async beginDeleteByIdAndWait(\n applicationId: string,\n options?: ApplicationsDeleteByIdOptionalParams\n ): Promise<void> {\n const poller = await this.beginDeleteById(applicationId, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Creates a new managed application.\n * @param applicationId The fully qualified ID of the managed application, including the managed\n * application name and the managed application resource type. Use the format,\n * /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}\n * @param parameters Parameters supplied to the create or update a managed application.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateById(\n applicationId: string,\n parameters: Application,\n options?: ApplicationsCreateOrUpdateByIdOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<ApplicationsCreateOrUpdateByIdResponse>,\n ApplicationsCreateOrUpdateByIdResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<ApplicationsCreateOrUpdateByIdResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { applicationId, parameters, options },\n createOrUpdateByIdOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates a new managed application.\n * @param applicationId The fully qualified ID of the managed application, including the managed\n * application name and the managed application resource type. Use the format,\n * /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}\n * @param parameters Parameters supplied to the create or update a managed application.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateByIdAndWait(\n applicationId: string,\n parameters: Application,\n options?: ApplicationsCreateOrUpdateByIdOptionalParams\n ): Promise<ApplicationsCreateOrUpdateByIdResponse> {\n const poller = await this.beginCreateOrUpdateById(\n applicationId,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Updates an existing managed application. The only value that can be updated via PATCH currently is\n * the tags.\n * @param applicationId The fully qualified ID of the managed application, including the managed\n * application name and the managed application resource type. Use the format,\n * /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}\n * @param options The options parameters.\n */\n updateById(\n applicationId: string,\n options?: ApplicationsUpdateByIdOptionalParams\n ): Promise<ApplicationsUpdateByIdResponse> {\n return this.client.sendOperationRequest(\n { applicationId, 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?: ApplicationsListByResourceGroupNextOptionalParams\n ): Promise<ApplicationsListByResourceGroupNextResponse> {\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?: ApplicationsListBySubscriptionNextOptionalParams\n ): Promise<ApplicationsListBySubscriptionNextResponse> {\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/applications/{applicationName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Application\n },\n 404: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.applicationName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applications/{applicationName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.applicationName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applications/{applicationName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Application\n },\n 201: {\n bodyMapper: Mappers.Application\n },\n 202: {\n bodyMapper: Mappers.Application\n },\n 204: {\n bodyMapper: Mappers.Application\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.applicationName,\n Parameters.subscriptionId\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/applications/{applicationName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Application\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.applicationName,\n Parameters.subscriptionId\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/applications\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplicationListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Solutions/applications\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplicationListResult\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: \"/{applicationId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Application\n },\n 404: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.applicationId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst deleteByIdOperationSpec: coreClient.OperationSpec = {\n path: \"/{applicationId}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.applicationId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateByIdOperationSpec: coreClient.OperationSpec = {\n path: \"/{applicationId}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Application\n },\n 201: {\n bodyMapper: Mappers.Application\n },\n 202: {\n bodyMapper: Mappers.Application\n },\n 204: {\n bodyMapper: Mappers.Application\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.applicationId],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst updateByIdOperationSpec: coreClient.OperationSpec = {\n path: \"/{applicationId}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Application\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters2,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.applicationId],\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.ApplicationListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.resourceGroupName,\n Parameters.subscriptionId\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.ApplicationListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n","/*\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\";\nimport { ApplicationDefinitions } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { ApplicationClient } from \"../applicationClient\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl\";\nimport {\n ApplicationDefinition,\n ApplicationDefinitionsListByResourceGroupNextOptionalParams,\n ApplicationDefinitionsListByResourceGroupOptionalParams,\n ApplicationDefinitionsListByResourceGroupResponse,\n ApplicationDefinitionsGetOptionalParams,\n ApplicationDefinitionsGetResponse,\n ApplicationDefinitionsDeleteOptionalParams,\n ApplicationDefinitionsCreateOrUpdateOptionalParams,\n ApplicationDefinitionsCreateOrUpdateResponse,\n ApplicationDefinitionsGetByIdOptionalParams,\n ApplicationDefinitionsGetByIdResponse,\n ApplicationDefinitionsDeleteByIdOptionalParams,\n ApplicationDefinitionsCreateOrUpdateByIdOptionalParams,\n ApplicationDefinitionsCreateOrUpdateByIdResponse,\n ApplicationDefinitionsListByResourceGroupNextResponse\n} from \"../models\";\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 * 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 to delete.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n applicationDefinitionName: string,\n options?: ApplicationDefinitionsDeleteOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, applicationDefinitionName, options },\n deleteOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\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 to delete.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n applicationDefinitionName: string,\n options?: ApplicationDefinitionsDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n applicationDefinitionName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Creates a new 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 async beginCreateOrUpdate(\n resourceGroupName: string,\n applicationDefinitionName: string,\n parameters: ApplicationDefinition,\n options?: ApplicationDefinitionsCreateOrUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<ApplicationDefinitionsCreateOrUpdateResponse>,\n ApplicationDefinitionsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<ApplicationDefinitionsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, applicationDefinitionName, parameters, options },\n createOrUpdateOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates a new 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 async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n applicationDefinitionName: string,\n parameters: ApplicationDefinition,\n options?: ApplicationDefinitionsCreateOrUpdateOptionalParams\n ): Promise<ApplicationDefinitionsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n applicationDefinitionName,\n parameters,\n options\n );\n return poller.pollUntilDone();\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 * 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 async beginDeleteById(\n resourceGroupName: string,\n applicationDefinitionName: string,\n options?: ApplicationDefinitionsDeleteByIdOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, applicationDefinitionName, options },\n deleteByIdOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\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 async beginDeleteByIdAndWait(\n resourceGroupName: string,\n applicationDefinitionName: string,\n options?: ApplicationDefinitionsDeleteByIdOptionalParams\n ): Promise<void> {\n const poller = await this.beginDeleteById(\n resourceGroupName,\n applicationDefinitionName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Creates a new 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 async beginCreateOrUpdateById(\n resourceGroupName: string,\n applicationDefinitionName: string,\n parameters: ApplicationDefinition,\n options?: ApplicationDefinitionsCreateOrUpdateByIdOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<ApplicationDefinitionsCreateOrUpdateByIdResponse>,\n ApplicationDefinitionsCreateOrUpdateByIdResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<ApplicationDefinitionsCreateOrUpdateByIdResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, applicationDefinitionName, parameters, options },\n createOrUpdateByIdOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates a new 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 async beginCreateOrUpdateByIdAndWait(\n resourceGroupName: string,\n applicationDefinitionName: string,\n parameters: ApplicationDefinition,\n options?: ApplicationDefinitionsCreateOrUpdateByIdOptionalParams\n ): Promise<ApplicationDefinitionsCreateOrUpdateByIdResponse> {\n const poller = await this.beginCreateOrUpdateById(\n resourceGroupName,\n applicationDefinitionName,\n parameters,\n options\n );\n return poller.pollUntilDone();\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// 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.resourceGroupName,\n Parameters.subscriptionId,\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 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\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 202: {\n bodyMapper: Mappers.ApplicationDefinition\n },\n 204: {\n bodyMapper: Mappers.ApplicationDefinition\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters3,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\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.resourceGroupName,\n Parameters.subscriptionId\n ],\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.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.applicationDefinitionName\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 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.applicationDefinitionName\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 202: {\n bodyMapper: Mappers.ApplicationDefinition\n },\n 204: {\n bodyMapper: Mappers.ApplicationDefinition\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters3,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\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 queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.resourceGroupName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n","/*\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 * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"./pagingHelper\";\nimport { ApplicationsImpl, ApplicationDefinitionsImpl } from \"./operations\";\nimport { Applications, ApplicationDefinitions } from \"./operationsInterfaces\";\nimport * as Parameters from \"./models/parameters\";\nimport * as Mappers from \"./models/mappers\";\nimport {\n ApplicationClientOptionalParams,\n Operation,\n ListOperationsNextOptionalParams,\n ListOperationsOptionalParams,\n ListOperationsResponse,\n ListOperationsNextResponse\n} from \"./models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\nexport class ApplicationClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the ApplicationClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: ApplicationClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: ApplicationClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-managedapplications/2.1.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2018-06-01\";\n this.applications = new ApplicationsImpl(this);\n this.applicationDefinitions = new ApplicationDefinitionsImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n }\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n /**\n * Lists all of the available Microsoft.Solutions REST API operations.\n * @param options The options parameters.\n */\n public listOperations(\n options?: ListOperationsOptionalParams\n ): PagedAsyncIterableIterator<Operation> {\n const iter = this.listOperationsPagingAll(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.listOperationsPagingPage(options, settings);\n }\n };\n }\n\n private async *listOperationsPagingPage(\n options?: ListOperationsOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Operation[]> {\n let result: ListOperationsResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listOperations(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._listOperationsNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listOperationsPagingAll(\n options?: ListOperationsOptionalParams\n ): AsyncIterableIterator<Operation> {\n for await (const page of this.listOperationsPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all of the available Microsoft.Solutions REST API operations.\n * @param options The options parameters.\n */\n private _listOperations(\n options?: ListOperationsOptionalParams\n ): Promise<ListOperationsResponse> {\n return this.sendOperationRequest({ options }, listOperationsOperationSpec);\n }\n\n /**\n * ListOperationsNext\n * @param nextLink The nextLink from the previous successful call to the ListOperations method.\n * @param options The options parameters.\n */\n private _listOperationsNext(\n nextLink: string,\n options?: ListOperationsNextOptionalParams\n ): Promise<ListOperationsNextResponse> {\n return this.sendOperationRequest(\n { nextLink, options },\n listOperationsNextOperationSpec\n );\n }\n\n applications: Applications;\n applicationDefinitions: ApplicationDefinitions;\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationsOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Solutions/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listOperationsNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\n"],"names":["KnownProvisioningState","ApplicationMapper","ApplicationPatchableMapper","ApplicationDefinitionMapper","__rest","__await","__asyncValues","__asyncDelegator","getOperationSpec","__awaiter","deleteOperationSpec","LroEngine","createOrUpdateOperationSpec","listByResourceGroupOperationSpec","getByIdOperationSpec","deleteByIdOperationSpec","createOrUpdateByIdOperationSpec","listByResourceGroupNextOperationSpec","serializer","coreClient","Mappers.Application","Mappers.ErrorResponse","Parameters.apiVersion","Parameters.$host","Parameters.resourceGroupName","Parameters.applicationName","Parameters.subscriptionId","Parameters.accept","Parameters.parameters","Parameters.contentType","Parameters.parameters1","Mappers.ApplicationListResult","Parameters.applicationId","Parameters.parameters2","Parameters.nextLink","Mappers.ApplicationDefinition","Parameters.applicationDefinitionName","Parameters.parameters3","Mappers.ApplicationDefinitionListResult","coreRestPipeline","Mappers.OperationListResult"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;AAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;AAMG;AACG,SAAU,oBAAoB,CAAC,IAAa,EAAA;;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE;AAC7C,QAAA,OAAO,SAAS,CAAC;AAClB,KAAA;IACD,OAAO,CAAA,EAAA,GAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,MAAE,IAAA,IAAA,EAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAA,iBAAiB,CAAC;AAC9C,CAAC;AAEe,SAAA,oBAAoB,CAClC,IAAa,EACb,iBAAqC,EAAA;;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE;QACnE,OAAO;AACR,KAAA;IACD,MAAM,QAAQ,GAAG,CAAA,EAAA,GAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,MAAI,IAAA,IAAA,EAAA,KAAA,KAAA,CAAA,GAAA,EAAA,GAAA,EAAE,CAAC;AACzC,IAAA,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;AAC/C,IAAA,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B;;ACtCA;;;;;;AAMG;AA6OH;AACYA,wCAuBX;AAvBD,CAAA,UAA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AC;AAE3E,MAAM,2BAA2B,GAA6B;AAC5D,IAAA,IAAI,EAAE,2CAA2C;AACjD,IAAA,UAAU,EAAE,KAAK;AACjB,IAAA,SAAS,EAAE;AACT,QAAA,GAAG,EAAE;YACH,UAAU,EAAEqB,mBAA2B;AACxC,SAAA;AACF,KAAA;AACD,IAAA,eAAe,EAAE,CAAClB,UAAqB,CAAC;AACxC,IAAA,aAAa,EAAE,CAACC,KAAgB,CAAC;AACjC,IAAA,gBAAgB,EAAE,CAACI,MAAiB,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,+BAA+B,GAA6B;AAChE,IAAA,IAAI,EAAE,YAAY;AAClB,IAAA,UAAU,EAAE,KAAK;AACjB,IAAA,SAAS,EAAE;AACT,QAAA,GAAG,EAAE;YACH,UAAU,EAAEa,mBAA2B;AACxC,SAAA;AACF,KAAA;AACD,IAAA,eAAe,EAAE,CAAClB,UAAqB,CAAC;IACxC,aAAa,EAAE,CAACC,KAAgB,EAAEW,QAAmB,CAAC;AACtD,IAAA,gBAAgB,EAAE,CAACP,MAAiB,CAAC;IACrC,UAAU;CACX;;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../src/pagingHelper.ts","../src/models/index.ts","../src/models/mappers.ts","../src/models/parameters.ts","../src/lroImpl.ts","../src/operations/applications.ts","../src/operations/applicationDefinitions.ts","../src/applicationClient.ts"],"sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given a result page from a pageable operation, returns a\n * continuation token that can be used to begin paging from\n * that point later.\n * @param page A result object from calling .byPage() on a paged operation.\n * @returns The continuation token that can be passed into byPage().\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(\n page: unknown,\n continuationToken: string | undefined\n): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n","/*\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 * as coreClient from \"@azure/core-client\";\n\n/** Result of the request to list Microsoft.Solutions operations. It contains a list of operations and a URL link to get the next set of results. */\nexport interface OperationListResult {\n /** List of Microsoft.Solutions operations. */\n value?: Operation[];\n /** URL to get the next set of operation list results if there are any. */\n nextLink?: string;\n}\n\n/** Microsoft.Solutions operation */\nexport interface Operation {\n /** Operation name: {provider}/{resource}/{operation} */\n name?: string;\n /** The object that represents the operation. */\n display?: OperationDisplay;\n}\n\n/** The object that represents the operation. */\nexport interface OperationDisplay {\n /** Service provider: Microsoft.Solutions */\n provider?: string;\n /** Resource on which the operation is performed: Application, JitRequest, etc. */\n resource?: string;\n /** Operation type: Read, write, delete, etc. */\n operation?: string;\n}\n\n/** Plan for the managed application. */\nexport interface Plan {\n /** The plan name. */\n name: string;\n /** The publisher ID. */\n publisher: string;\n /** The product code. */\n product: string;\n /** The promotion code. */\n promotionCode?: string;\n /** The plan's version. */\n version: string;\n}\n\n/** SKU for the resource. */\nexport interface Sku {\n /** The SKU name. */\n name: string;\n /** The SKU tier. */\n tier?: string;\n /** The SKU size. */\n size?: string;\n /** The SKU family. */\n family?: string;\n /** The SKU model. */\n model?: string;\n /** The SKU capacity. */\n capacity?: number;\n}\n\n/** Identity for the resource. */\nexport interface Identity {\n /**\n * The principal ID of resource identity.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly principalId?: string;\n /**\n * The tenant ID of resource.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly tenantId?: string;\n /** The identity type. */\n type?: \"SystemAssigned\";\n}\n\n/** Resource information. */\nexport interface Resource {\n /**\n * Resource ID\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * Resource name\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * Resource type\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /** Resource location */\n location?: string;\n /** Resource tags */\n tags?: { [propertyName: string]: string };\n}\n\n/** Error response indicates managed application is not able to process the incoming request. The reason is provided in the error message. */\nexport interface ErrorResponse {\n /** Http status code. */\n httpStatus?: string;\n /** Error code. */\n errorCode?: string;\n /** Error message indicating why the operation failed. */\n errorMessage?: string;\n}\n\n/** Plan for the managed application. */\nexport interface PlanPatchable {\n /** The plan name. */\n name?: string;\n /** The publisher ID. */\n publisher?: string;\n /** The product code. */\n product?: string;\n /** The promotion code. */\n promotionCode?: string;\n /** The plan's version. */\n version?: string;\n}\n\n/** The managed application provider authorization. */\nexport interface ApplicationProviderAuthorization {\n /** The provider's principal identifier. This is the identity that the provider will use to call ARM to manage the managed application resources. */\n principalId: string;\n /** The provider's role definition identifier. This role will define all the permissions that the provider must have on the managed application's container resource group. This role definition cannot have permission to delete the resource group. */\n roleDefinitionId: string;\n}\n\n/** Managed application artifact. */\nexport interface ApplicationArtifact {\n /** The managed application artifact name. */\n name?: string;\n /** The managed application artifact blob uri. */\n uri?: string;\n /** The managed application artifact type. */\n type?: ApplicationArtifactType;\n}\n\n/** List of managed application definitions. */\nexport interface ApplicationDefinitionListResult {\n /** The array of managed application definitions. */\n value?: ApplicationDefinition[];\n /** The URL to use for getting the next set of results. */\n nextLink?: string;\n}\n\n/** List of managed applications. */\nexport interface ApplicationListResult {\n /** The array of managed applications. */\n value?: Application[];\n /** The URL to use for getting the next set of results. */\n nextLink?: string;\n}\n\n/** Resource information. */\nexport interface GenericResource extends Resource {\n /** ID of the resource that manages this resource. */\n managedBy?: string;\n /** The SKU of the resource. */\n sku?: Sku;\n /** The identity of the resource. */\n identity?: Identity;\n}\n\n/** Information about managed application. */\nexport interface Application extends GenericResource {\n /** The plan information. */\n plan?: Plan;\n /** The kind of the managed application. Allowed values are MarketPlace and ServiceCatalog. */\n kind: string;\n /** The managed resource group Id. */\n managedResourceGroupId: string;\n /** The fully qualified path of managed application definition Id. */\n applicationDefinitionId?: string;\n /** Name and value pairs that define the managed application parameters. It can be a JObject or a well formed JSON string. */\n parameters?: Record<string, unknown>;\n /**\n * Name and value pairs that define the managed application outputs.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly outputs?: Record<string, unknown>;\n /**\n * The managed application provisioning state.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly provisioningState?: ProvisioningState;\n}\n\n/** Information about managed application. */\nexport interface ApplicationPatchable extends GenericResource {\n /** The plan information. */\n plan?: PlanPatchable;\n /** The kind of the managed application. Allowed values are MarketPlace and ServiceCatalog. */\n kind?: string;\n /** The managed resource group Id. */\n managedResourceGroupId?: string;\n /** The fully qualified path of managed application definition Id. */\n applicationDefinitionId?: string;\n /** Name and value pairs that define the managed application parameters. It can be a JObject or a well formed JSON string. */\n parameters?: Record<string, unknown>;\n /**\n * Name and value pairs that define the managed application outputs.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly outputs?: Record<string, unknown>;\n /**\n * The managed application provisioning state.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly provisioningState?: ProvisioningState;\n}\n\n/** Information about managed application definition. */\nexport interface ApplicationDefinition extends GenericResource {\n /** The managed application lock level. */\n lockLevel: ApplicationLockLevel;\n /** The managed application definition display name. */\n displayName?: string;\n /** A value indicating whether the package is enabled or not. */\n isEnabled?: string;\n /** The managed application provider authorizations. */\n authorizations: ApplicationProviderAuthorization[];\n /** The collection of managed application artifacts. The portal will use the files specified as artifacts to construct the user experience of creating a managed application from a managed application definition. */\n artifacts?: ApplicationArtifact[];\n /** The managed application definition description. */\n description?: string;\n /** The managed application definition package file Uri. Use this element */\n packageFileUri?: string;\n /** The inline main template json which has resources to be provisioned. It can be a JObject or well-formed JSON string. */\n mainTemplate?: Record<string, unknown>;\n /** The createUiDefinition json for the backing template with Microsoft.Solutions/applications resource. It can be a JObject or well-formed JSON string. */\n createUiDefinition?: Record<string, unknown>;\n}\n\n/** Known values of {@link ProvisioningState} that the service accepts. */\nexport enum KnownProvisioningState {\n /** Accepted */\n Accepted = \"Accepted\",\n /** Running */\n Running = \"Running\",\n /** Ready */\n Ready = \"Ready\",\n /** Creating */\n Creating = \"Creating\",\n /** Created */\n Created = \"Created\",\n /** Deleting */\n Deleting = \"Deleting\",\n /** Deleted */\n Deleted = \"Deleted\",\n /** Canceled */\n Canceled = \"Canceled\",\n /** Failed */\n Failed = \"Failed\",\n /** Succeeded */\n Succeeded = \"Succeeded\",\n /** Updating */\n Updating = \"Updating\"\n}\n\n/**\n * Defines values for ProvisioningState. \\\n * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Accepted** \\\n * **Running** \\\n * **Ready** \\\n * **Creating** \\\n * **Created** \\\n * **Deleting** \\\n * **Deleted** \\\n * **Canceled** \\\n * **Failed** \\\n * **Succeeded** \\\n * **Updating**\n */\nexport type ProvisioningState = string;\n/** Defines values for ApplicationLockLevel. */\nexport type ApplicationLockLevel = \"CanNotDelete\" | \"ReadOnly\" | \"None\";\n/** Defines values for ApplicationArtifactType. */\nexport type ApplicationArtifactType = \"Template\" | \"Custom\";\n\n/** Optional parameters. */\nexport interface ListOperationsOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listOperations operation. */\nexport type ListOperationsResponse = OperationListResult;\n\n/** Optional parameters. */\nexport interface ListOperationsNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listOperationsNext operation. */\nexport type ListOperationsNextResponse = OperationListResult;\n\n/** Optional parameters. */\nexport interface ApplicationsGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type ApplicationsGetResponse = Application;\n\n/** Optional parameters. */\nexport interface ApplicationsDeleteOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Optional parameters. */\nexport interface ApplicationsCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type ApplicationsCreateOrUpdateResponse = Application;\n\n/** Optional parameters. */\nexport interface ApplicationsUpdateOptionalParams\n extends coreClient.OperationOptions {\n /** Parameters supplied to update an existing managed application. */\n parameters?: ApplicationPatchable;\n}\n\n/** Contains response data for the update operation. */\nexport type ApplicationsUpdateResponse = Application;\n\n/** Optional parameters. */\nexport interface ApplicationsListByResourceGroupOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByResourceGroup operation. */\nexport type ApplicationsListByResourceGroupResponse = ApplicationListResult;\n\n/** Optional parameters. */\nexport interface ApplicationsListBySubscriptionOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listBySubscription operation. */\nexport type ApplicationsListBySubscriptionResponse = ApplicationListResult;\n\n/** Optional parameters. */\nexport interface ApplicationsGetByIdOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getById operation. */\nexport type ApplicationsGetByIdResponse = Application;\n\n/** Optional parameters. */\nexport interface ApplicationsDeleteByIdOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Optional parameters. */\nexport interface ApplicationsCreateOrUpdateByIdOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the createOrUpdateById operation. */\nexport type ApplicationsCreateOrUpdateByIdResponse = Application;\n\n/** Optional parameters. */\nexport interface ApplicationsUpdateByIdOptionalParams\n extends coreClient.OperationOptions {\n /** Parameters supplied to update an existing managed application. */\n parameters?: Application;\n}\n\n/** Contains response data for the updateById operation. */\nexport type ApplicationsUpdateByIdResponse = Application;\n\n/** Optional parameters. */\nexport interface ApplicationsListByResourceGroupNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByResourceGroupNext operation. */\nexport type ApplicationsListByResourceGroupNextResponse = ApplicationListResult;\n\n/** Optional parameters. */\nexport interface ApplicationsListBySubscriptionNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listBySubscriptionNext operation. */\nexport type ApplicationsListBySubscriptionNextResponse = ApplicationListResult;\n\n/** Optional parameters. */\nexport interface ApplicationDefinitionsGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type ApplicationDefinitionsGetResponse = ApplicationDefinition;\n\n/** Optional parameters. */\nexport interface ApplicationDefinitionsDeleteOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Optional parameters. */\nexport interface ApplicationDefinitionsCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type ApplicationDefinitionsCreateOrUpdateResponse = ApplicationDefinition;\n\n/** Optional parameters. */\nexport interface ApplicationDefinitionsListByResourceGroupOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByResourceGroup operation. */\nexport type ApplicationDefinitionsListByResourceGroupResponse = ApplicationDefinitionListResult;\n\n/** Optional parameters. */\nexport interface ApplicationDefinitionsGetByIdOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getById operation. */\nexport type ApplicationDefinitionsGetByIdResponse = ApplicationDefinition;\n\n/** Optional parameters. */\nexport interface ApplicationDefinitionsDeleteByIdOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Optional parameters. */\nexport interface ApplicationDefinitionsCreateOrUpdateByIdOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the createOrUpdateById operation. */\nexport type ApplicationDefinitionsCreateOrUpdateByIdResponse = ApplicationDefinition;\n\n/** Optional parameters. */\nexport interface ApplicationDefinitionsListByResourceGroupNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByResourceGroupNext operation. */\nexport type ApplicationDefinitionsListByResourceGroupNextResponse = ApplicationDefinitionListResult;\n\n/** Optional parameters. */\nexport interface ApplicationClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** server parameter */\n $host?: string;\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n","/*\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 * as coreClient from \"@azure/core-client\";\n\nexport const OperationListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Operation\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Operation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Operation\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n display: {\n serializedName: \"display\",\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\"\n }\n }\n }\n }\n};\n\nexport const OperationDisplay: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\",\n modelProperties: {\n provider: {\n serializedName: \"provider\",\n type: {\n name: \"String\"\n }\n },\n resource: {\n serializedName: \"resource\",\n type: {\n name: \"String\"\n }\n },\n operation: {\n serializedName: \"operation\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Plan: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Plan\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n publisher: {\n serializedName: \"publisher\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n product: {\n serializedName: \"product\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n promotionCode: {\n serializedName: \"promotionCode\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"version\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Sku: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Sku\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n tier: {\n serializedName: \"tier\",\n type: {\n name: \"String\"\n }\n },\n size: {\n serializedName: \"size\",\n type: {\n name: \"String\"\n }\n },\n family: {\n serializedName: \"family\",\n type: {\n name: \"String\"\n }\n },\n model: {\n serializedName: \"model\",\n type: {\n name: \"String\"\n }\n },\n capacity: {\n serializedName: \"capacity\",\n type: {\n name: \"Number\"\n }\n }\n }\n }\n};\n\nexport const Identity: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Identity\",\n modelProperties: {\n principalId: {\n serializedName: \"principalId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n tenantId: {\n serializedName: \"tenantId\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n defaultValue: \"SystemAssigned\",\n isConstant: true,\n serializedName: \"type\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const Resource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Resource\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\"\n }\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n }\n }\n }\n};\n\nexport const ErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\",\n modelProperties: {\n httpStatus: {\n serializedName: \"httpStatus\",\n type: {\n name: \"String\"\n }\n },\n errorCode: {\n serializedName: \"errorCode\",\n type: {\n name: \"String\"\n }\n },\n errorMessage: {\n serializedName: \"errorMessage\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const PlanPatchable: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PlanPatchable\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n publisher: {\n serializedName: \"publisher\",\n type: {\n name: \"String\"\n }\n },\n product: {\n serializedName: \"product\",\n type: {\n name: \"String\"\n }\n },\n promotionCode: {\n serializedName: \"promotionCode\",\n type: {\n name: \"String\"\n }\n },\n version: {\n serializedName: \"version\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ApplicationProviderAuthorization: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ApplicationProviderAuthorization\",\n modelProperties: {\n principalId: {\n serializedName: \"principalId\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n roleDefinitionId: {\n serializedName: \"roleDefinitionId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ApplicationArtifact: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ApplicationArtifact\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n uri: {\n serializedName: \"uri\",\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n type: {\n name: \"Enum\",\n allowedValues: [\"Template\", \"Custom\"]\n }\n }\n }\n }\n};\n\nexport const ApplicationDefinitionListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ApplicationDefinitionListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ApplicationDefinition\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ApplicationListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ApplicationListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Application\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const GenericResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"GenericResource\",\n modelProperties: {\n ...Resource.type.modelProperties,\n managedBy: {\n serializedName: \"managedBy\",\n type: {\n name: \"String\"\n }\n },\n sku: {\n serializedName: \"sku\",\n type: {\n name: \"Composite\",\n className: \"Sku\"\n }\n },\n identity: {\n serializedName: \"identity\",\n type: {\n name: \"Composite\",\n className: \"Identity\"\n }\n }\n }\n }\n};\n\nexport const Application: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Application\",\n modelProperties: {\n ...GenericResource.type.modelProperties,\n plan: {\n serializedName: \"plan\",\n type: {\n name: \"Composite\",\n className: \"Plan\"\n }\n },\n kind: {\n constraints: {\n Pattern: new RegExp(\"^[-\\\\w\\\\._,\\\\(\\\\)]+$\")\n },\n serializedName: \"kind\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n managedResourceGroupId: {\n serializedName: \"properties.managedResourceGroupId\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n applicationDefinitionId: {\n serializedName: \"properties.applicationDefinitionId\",\n type: {\n name: \"String\"\n }\n },\n parameters: {\n serializedName: \"properties.parameters\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n },\n outputs: {\n serializedName: \"properties.outputs\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n },\n provisioningState: {\n serializedName: \"properties.provisioningState\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ApplicationPatchable: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ApplicationPatchable\",\n modelProperties: {\n ...GenericResource.type.modelProperties,\n plan: {\n serializedName: \"plan\",\n type: {\n name: \"Composite\",\n className: \"PlanPatchable\"\n }\n },\n kind: {\n constraints: {\n Pattern: new RegExp(\"^[-\\\\w\\\\._,\\\\(\\\\)]+$\")\n },\n serializedName: \"kind\",\n type: {\n name: \"String\"\n }\n },\n managedResourceGroupId: {\n serializedName: \"properties.managedResourceGroupId\",\n type: {\n name: \"String\"\n }\n },\n applicationDefinitionId: {\n serializedName: \"properties.applicationDefinitionId\",\n type: {\n name: \"String\"\n }\n },\n parameters: {\n serializedName: \"properties.parameters\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n },\n outputs: {\n serializedName: \"properties.outputs\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n },\n provisioningState: {\n serializedName: \"properties.provisioningState\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ApplicationDefinition: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ApplicationDefinition\",\n modelProperties: {\n ...GenericResource.type.modelProperties,\n lockLevel: {\n serializedName: \"properties.lockLevel\",\n required: true,\n type: {\n name: \"Enum\",\n allowedValues: [\"CanNotDelete\", \"ReadOnly\", \"None\"]\n }\n },\n displayName: {\n serializedName: \"properties.displayName\",\n type: {\n name: \"String\"\n }\n },\n isEnabled: {\n serializedName: \"properties.isEnabled\",\n type: {\n name: \"String\"\n }\n },\n authorizations: {\n serializedName: \"properties.authorizations\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ApplicationProviderAuthorization\"\n }\n }\n }\n },\n artifacts: {\n serializedName: \"properties.artifacts\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ApplicationArtifact\"\n }\n }\n }\n },\n description: {\n serializedName: \"properties.description\",\n type: {\n name: \"String\"\n }\n },\n packageFileUri: {\n serializedName: \"properties.packageFileUri\",\n type: {\n name: \"String\"\n }\n },\n mainTemplate: {\n serializedName: \"properties.mainTemplate\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n },\n createUiDefinition: {\n serializedName: \"properties.createUiDefinition\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n }\n }\n }\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport {\n Application as ApplicationMapper,\n ApplicationPatchable as ApplicationPatchableMapper,\n ApplicationDefinition as ApplicationDefinitionMapper\n} from \"../models/mappers\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2018-06-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[-\\\\w\\\\._\\\\(\\\\)]+$\"),\n MaxLength: 90,\n MinLength: 1\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const applicationName: OperationURLParameter = {\n parameterPath: \"applicationName\",\n mapper: {\n constraints: {\n MaxLength: 64,\n MinLength: 3\n },\n serializedName: \"applicationName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const parameters: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ApplicationMapper\n};\n\nexport const parameters1: OperationParameter = {\n parameterPath: [\"options\", \"parameters\"],\n mapper: ApplicationPatchableMapper\n};\n\nexport const applicationId: OperationURLParameter = {\n parameterPath: \"applicationId\",\n mapper: {\n serializedName: \"applicationId\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const parameters2: OperationParameter = {\n parameterPath: [\"options\", \"parameters\"],\n mapper: ApplicationMapper\n};\n\nexport const applicationDefinitionName: OperationURLParameter = {\n parameterPath: \"applicationDefinitionName\",\n mapper: {\n constraints: {\n MaxLength: 64,\n MinLength: 3\n },\n serializedName: \"applicationDefinitionName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const parameters3: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ApplicationDefinitionMapper\n};\n","/*\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 { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport class LroImpl<T> implements LongRunningOperation<T> {\n constructor(\n private sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>,\n private args: Record<string, unknown>,\n private spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>,\n public requestPath: string = spec.path!,\n public requestMethod: string = spec.httpMethod\n ) {}\n public async sendInitialRequest(): Promise<LroResponse<T>> {\n return this.sendOperationFn(this.args, this.spec);\n }\n public async sendPollRequest(path: string): Promise<LroResponse<T>> {\n const { requestBody, ...restSpec } = this.spec;\n return this.sendOperationFn(this.args, {\n ...restSpec,\n path,\n httpMethod: \"GET\"\n });\n }\n}\n","/*\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\";\nimport { Applications } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { ApplicationClient } from \"../applicationClient\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl\";\nimport {\n Application,\n ApplicationsListByResourceGroupNextOptionalParams,\n ApplicationsListByResourceGroupOptionalParams,\n ApplicationsListByResourceGroupResponse,\n ApplicationsListBySubscriptionNextOptionalParams,\n ApplicationsListBySubscriptionOptionalParams,\n ApplicationsListBySubscriptionResponse,\n ApplicationsGetOptionalParams,\n ApplicationsGetResponse,\n ApplicationsDeleteOptionalParams,\n ApplicationsCreateOrUpdateOptionalParams,\n ApplicationsCreateOrUpdateResponse,\n ApplicationsUpdateOptionalParams,\n ApplicationsUpdateResponse,\n ApplicationsGetByIdOptionalParams,\n ApplicationsGetByIdResponse,\n ApplicationsDeleteByIdOptionalParams,\n ApplicationsCreateOrUpdateByIdOptionalParams,\n ApplicationsCreateOrUpdateByIdResponse,\n ApplicationsUpdateByIdOptionalParams,\n ApplicationsUpdateByIdResponse,\n ApplicationsListByResourceGroupNextResponse,\n ApplicationsListBySubscriptionNextResponse\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Applications operations. */\nexport class ApplicationsImpl implements Applications {\n private readonly client: ApplicationClient;\n\n /**\n * Initialize a new instance of the class Applications class.\n * @param client Reference to the service client\n */\n constructor(client: ApplicationClient) {\n this.client = client;\n }\n\n /**\n * Gets all the applications within 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?: ApplicationsListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<Application> {\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?: ApplicationsListByResourceGroupOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Application[]> {\n let result: ApplicationsListByResourceGroupResponse;\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?: ApplicationsListByResourceGroupOptionalParams\n ): AsyncIterableIterator<Application> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets all the applications within a subscription.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: ApplicationsListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<Application> {\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?: ApplicationsListBySubscriptionOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Application[]> {\n let result: ApplicationsListBySubscriptionResponse;\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?: ApplicationsListBySubscriptionOptionalParams\n ): AsyncIterableIterator<Application> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets the managed application.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param applicationName The name of the managed application.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n applicationName: string,\n options?: ApplicationsGetOptionalParams\n ): Promise<ApplicationsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, applicationName, options },\n getOperationSpec\n );\n }\n\n /**\n * Deletes the managed application.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param applicationName The name of the managed application.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n applicationName: string,\n options?: ApplicationsDeleteOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, applicationName, options },\n deleteOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes the managed application.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param applicationName The name of the managed application.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n applicationName: string,\n options?: ApplicationsDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n applicationName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Creates a new managed application.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param applicationName The name of the managed application.\n * @param parameters Parameters supplied to the create or update a managed application.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n applicationName: string,\n parameters: Application,\n options?: ApplicationsCreateOrUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<ApplicationsCreateOrUpdateResponse>,\n ApplicationsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<ApplicationsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, applicationName, parameters, options },\n createOrUpdateOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates a new managed application.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param applicationName The name of the managed application.\n * @param parameters Parameters supplied to the create or update a managed application.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n applicationName: string,\n parameters: Application,\n options?: ApplicationsCreateOrUpdateOptionalParams\n ): Promise<ApplicationsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n applicationName,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Updates an existing managed application. The only value that can be updated via PATCH currently is\n * the tags.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param applicationName The name of the managed application.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n applicationName: string,\n options?: ApplicationsUpdateOptionalParams\n ): Promise<ApplicationsUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, applicationName, options },\n updateOperationSpec\n );\n }\n\n /**\n * Gets all the applications within 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?: ApplicationsListByResourceGroupOptionalParams\n ): Promise<ApplicationsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * Gets all the applications within a subscription.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: ApplicationsListBySubscriptionOptionalParams\n ): Promise<ApplicationsListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec\n );\n }\n\n /**\n * Gets the managed application.\n * @param applicationId The fully qualified ID of the managed application, including the managed\n * application name and the managed application resource type. Use the format,\n * /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}\n * @param options The options parameters.\n */\n getById(\n applicationId: string,\n options?: ApplicationsGetByIdOptionalParams\n ): Promise<ApplicationsGetByIdResponse> {\n return this.client.sendOperationRequest(\n { applicationId, options },\n getByIdOperationSpec\n );\n }\n\n /**\n * Deletes the managed application.\n * @param applicationId The fully qualified ID of the managed application, including the managed\n * application name and the managed application resource type. Use the format,\n * /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}\n * @param options The options parameters.\n */\n async beginDeleteById(\n applicationId: string,\n options?: ApplicationsDeleteByIdOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { applicationId, options },\n deleteByIdOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes the managed application.\n * @param applicationId The fully qualified ID of the managed application, including the managed\n * application name and the managed application resource type. Use the format,\n * /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}\n * @param options The options parameters.\n */\n async beginDeleteByIdAndWait(\n applicationId: string,\n options?: ApplicationsDeleteByIdOptionalParams\n ): Promise<void> {\n const poller = await this.beginDeleteById(applicationId, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Creates a new managed application.\n * @param applicationId The fully qualified ID of the managed application, including the managed\n * application name and the managed application resource type. Use the format,\n * /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}\n * @param parameters Parameters supplied to the create or update a managed application.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateById(\n applicationId: string,\n parameters: Application,\n options?: ApplicationsCreateOrUpdateByIdOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<ApplicationsCreateOrUpdateByIdResponse>,\n ApplicationsCreateOrUpdateByIdResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<ApplicationsCreateOrUpdateByIdResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { applicationId, parameters, options },\n createOrUpdateByIdOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates a new managed application.\n * @param applicationId The fully qualified ID of the managed application, including the managed\n * application name and the managed application resource type. Use the format,\n * /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}\n * @param parameters Parameters supplied to the create or update a managed application.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateByIdAndWait(\n applicationId: string,\n parameters: Application,\n options?: ApplicationsCreateOrUpdateByIdOptionalParams\n ): Promise<ApplicationsCreateOrUpdateByIdResponse> {\n const poller = await this.beginCreateOrUpdateById(\n applicationId,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Updates an existing managed application. The only value that can be updated via PATCH currently is\n * the tags.\n * @param applicationId The fully qualified ID of the managed application, including the managed\n * application name and the managed application resource type. Use the format,\n * /subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/applications/{application-name}\n * @param options The options parameters.\n */\n updateById(\n applicationId: string,\n options?: ApplicationsUpdateByIdOptionalParams\n ): Promise<ApplicationsUpdateByIdResponse> {\n return this.client.sendOperationRequest(\n { applicationId, 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?: ApplicationsListByResourceGroupNextOptionalParams\n ): Promise<ApplicationsListByResourceGroupNextResponse> {\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?: ApplicationsListBySubscriptionNextOptionalParams\n ): Promise<ApplicationsListBySubscriptionNextResponse> {\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/applications/{applicationName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Application\n },\n 404: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.applicationName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applications/{applicationName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.applicationName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applications/{applicationName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Application\n },\n 201: {\n bodyMapper: Mappers.Application\n },\n 202: {\n bodyMapper: Mappers.Application\n },\n 204: {\n bodyMapper: Mappers.Application\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.applicationName,\n Parameters.subscriptionId\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/applications/{applicationName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Application\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.applicationName,\n Parameters.subscriptionId\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/applications\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplicationListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Solutions/applications\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ApplicationListResult\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: \"/{applicationId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Application\n },\n 404: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.applicationId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst deleteByIdOperationSpec: coreClient.OperationSpec = {\n path: \"/{applicationId}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.applicationId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateByIdOperationSpec: coreClient.OperationSpec = {\n path: \"/{applicationId}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Application\n },\n 201: {\n bodyMapper: Mappers.Application\n },\n 202: {\n bodyMapper: Mappers.Application\n },\n 204: {\n bodyMapper: Mappers.Application\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.applicationId],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst updateByIdOperationSpec: coreClient.OperationSpec = {\n path: \"/{applicationId}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Application\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters2,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.applicationId],\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.ApplicationListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.resourceGroupName,\n Parameters.subscriptionId\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.ApplicationListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n","/*\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\";\nimport { ApplicationDefinitions } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { ApplicationClient } from \"../applicationClient\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl\";\nimport {\n ApplicationDefinition,\n ApplicationDefinitionsListByResourceGroupNextOptionalParams,\n ApplicationDefinitionsListByResourceGroupOptionalParams,\n ApplicationDefinitionsListByResourceGroupResponse,\n ApplicationDefinitionsGetOptionalParams,\n ApplicationDefinitionsGetResponse,\n ApplicationDefinitionsDeleteOptionalParams,\n ApplicationDefinitionsCreateOrUpdateOptionalParams,\n ApplicationDefinitionsCreateOrUpdateResponse,\n ApplicationDefinitionsGetByIdOptionalParams,\n ApplicationDefinitionsGetByIdResponse,\n ApplicationDefinitionsDeleteByIdOptionalParams,\n ApplicationDefinitionsCreateOrUpdateByIdOptionalParams,\n ApplicationDefinitionsCreateOrUpdateByIdResponse,\n ApplicationDefinitionsListByResourceGroupNextResponse\n} from \"../models\";\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 * 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 to delete.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n applicationDefinitionName: string,\n options?: ApplicationDefinitionsDeleteOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, applicationDefinitionName, options },\n deleteOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\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 to delete.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n applicationDefinitionName: string,\n options?: ApplicationDefinitionsDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n applicationDefinitionName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Creates a new 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 async beginCreateOrUpdate(\n resourceGroupName: string,\n applicationDefinitionName: string,\n parameters: ApplicationDefinition,\n options?: ApplicationDefinitionsCreateOrUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<ApplicationDefinitionsCreateOrUpdateResponse>,\n ApplicationDefinitionsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<ApplicationDefinitionsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, applicationDefinitionName, parameters, options },\n createOrUpdateOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates a new 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 async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n applicationDefinitionName: string,\n parameters: ApplicationDefinition,\n options?: ApplicationDefinitionsCreateOrUpdateOptionalParams\n ): Promise<ApplicationDefinitionsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n applicationDefinitionName,\n parameters,\n options\n );\n return poller.pollUntilDone();\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 * 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 async beginDeleteById(\n resourceGroupName: string,\n applicationDefinitionName: string,\n options?: ApplicationDefinitionsDeleteByIdOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, applicationDefinitionName, options },\n deleteByIdOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\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 async beginDeleteByIdAndWait(\n resourceGroupName: string,\n applicationDefinitionName: string,\n options?: ApplicationDefinitionsDeleteByIdOptionalParams\n ): Promise<void> {\n const poller = await this.beginDeleteById(\n resourceGroupName,\n applicationDefinitionName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Creates a new 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 async beginCreateOrUpdateById(\n resourceGroupName: string,\n applicationDefinitionName: string,\n parameters: ApplicationDefinition,\n options?: ApplicationDefinitionsCreateOrUpdateByIdOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<ApplicationDefinitionsCreateOrUpdateByIdResponse>,\n ApplicationDefinitionsCreateOrUpdateByIdResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<ApplicationDefinitionsCreateOrUpdateByIdResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, applicationDefinitionName, parameters, options },\n createOrUpdateByIdOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates a new 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 async beginCreateOrUpdateByIdAndWait(\n resourceGroupName: string,\n applicationDefinitionName: string,\n parameters: ApplicationDefinition,\n options?: ApplicationDefinitionsCreateOrUpdateByIdOptionalParams\n ): Promise<ApplicationDefinitionsCreateOrUpdateByIdResponse> {\n const poller = await this.beginCreateOrUpdateById(\n resourceGroupName,\n applicationDefinitionName,\n parameters,\n options\n );\n return poller.pollUntilDone();\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// 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.resourceGroupName,\n Parameters.subscriptionId,\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 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\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 202: {\n bodyMapper: Mappers.ApplicationDefinition\n },\n 204: {\n bodyMapper: Mappers.ApplicationDefinition\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters3,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\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.resourceGroupName,\n Parameters.subscriptionId\n ],\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.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.applicationDefinitionName\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 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.applicationDefinitionName\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 202: {\n bodyMapper: Mappers.ApplicationDefinition\n },\n 204: {\n bodyMapper: Mappers.ApplicationDefinition\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters3,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\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 queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.resourceGroupName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n","/*\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 * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"./pagingHelper\";\nimport { ApplicationsImpl, ApplicationDefinitionsImpl } from \"./operations\";\nimport { Applications, ApplicationDefinitions } from \"./operationsInterfaces\";\nimport * as Parameters from \"./models/parameters\";\nimport * as Mappers from \"./models/mappers\";\nimport {\n ApplicationClientOptionalParams,\n Operation,\n ListOperationsNextOptionalParams,\n ListOperationsOptionalParams,\n ListOperationsResponse,\n ListOperationsNextResponse\n} from \"./models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\nexport class ApplicationClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the ApplicationClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: ApplicationClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: ApplicationClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-managedapplications/2.1.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2018-06-01\";\n this.applications = new ApplicationsImpl(this);\n this.applicationDefinitions = new ApplicationDefinitionsImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n }\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n /**\n * Lists all of the available Microsoft.Solutions REST API operations.\n * @param options The options parameters.\n */\n public listOperations(\n options?: ListOperationsOptionalParams\n ): PagedAsyncIterableIterator<Operation> {\n const iter = this.listOperationsPagingAll(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.listOperationsPagingPage(options, settings);\n }\n };\n }\n\n private async *listOperationsPagingPage(\n options?: ListOperationsOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Operation[]> {\n let result: ListOperationsResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listOperations(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._listOperationsNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listOperationsPagingAll(\n options?: ListOperationsOptionalParams\n ): AsyncIterableIterator<Operation> {\n for await (const page of this.listOperationsPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all of the available Microsoft.Solutions REST API operations.\n * @param options The options parameters.\n */\n private _listOperations(\n options?: ListOperationsOptionalParams\n ): Promise<ListOperationsResponse> {\n return this.sendOperationRequest({ options }, listOperationsOperationSpec);\n }\n\n /**\n * ListOperationsNext\n * @param nextLink The nextLink from the previous successful call to the ListOperations method.\n * @param options The options parameters.\n */\n private _listOperationsNext(\n nextLink: string,\n options?: ListOperationsNextOptionalParams\n ): Promise<ListOperationsNextResponse> {\n return this.sendOperationRequest(\n { nextLink, options },\n listOperationsNextOperationSpec\n );\n }\n\n applications: Applications;\n applicationDefinitions: ApplicationDefinitions;\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationsOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Solutions/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listOperationsNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\n"],"names":["KnownProvisioningState","ApplicationMapper","ApplicationPatchableMapper","ApplicationDefinitionMapper","__rest","__await","__asyncValues","__asyncDelegator","getOperationSpec","__awaiter","deleteOperationSpec","LroEngine","createOrUpdateOperationSpec","listByResourceGroupOperationSpec","getByIdOperationSpec","deleteByIdOperationSpec","createOrUpdateByIdOperationSpec","listByResourceGroupNextOperationSpec","serializer","coreClient","Mappers.Application","Mappers.ErrorResponse","Parameters.apiVersion","Parameters.$host","Parameters.resourceGroupName","Parameters.applicationName","Parameters.subscriptionId","Parameters.accept","Parameters.parameters","Parameters.contentType","Parameters.parameters1","Mappers.ApplicationListResult","Parameters.applicationId","Parameters.parameters2","Parameters.nextLink","Mappers.ApplicationDefinition","Parameters.applicationDefinitionName","Parameters.parameters3","Mappers.ApplicationDefinitionListResult","coreRestPipeline","Mappers.OperationListResult"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;AAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;AAMG;AACG,SAAU,oBAAoB,CAAC,IAAa,EAAA;;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE;AAC7C,QAAA,OAAO,SAAS,CAAC;AAClB,KAAA;IACD,OAAO,CAAA,EAAA,GAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,MAAE,IAAA,IAAA,EAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAA,iBAA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