@azure/arm-operations 4.0.0-beta.3 → 4.0.0-beta.4

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/models/mappers.ts","../src/models/parameters.ts","../src/lroImpl.ts","../src/operations/solutions.ts","../src/operations/managementAssociations.ts","../src/operations/managementConfigurations.ts","../src/operations/operations.ts","../src/operationsManagementClient.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\nimport * as coreClient from \"@azure/core-client\";\n\nexport const Solution: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Solution\",\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 plan: {\n serializedName: \"plan\",\n type: {\n name: \"Composite\",\n className: \"SolutionPlan\"\n }\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"SolutionProperties\"\n }\n }\n }\n }\n};\n\nexport const SolutionPlan: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SolutionPlan\",\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 promotionCode: {\n serializedName: \"promotionCode\",\n type: {\n name: \"String\"\n }\n },\n product: {\n serializedName: \"product\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SolutionProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SolutionProperties\",\n modelProperties: {\n workspaceResourceId: {\n serializedName: \"workspaceResourceId\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n provisioningState: {\n serializedName: \"provisioningState\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n containedResources: {\n serializedName: \"containedResources\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n referencedResources: {\n serializedName: \"referencedResources\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const CodeMessageError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CodeMessageError\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"CodeMessageErrorError\"\n }\n }\n }\n }\n};\n\nexport const CodeMessageErrorError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CodeMessageErrorError\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SolutionPatch: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SolutionPatch\",\n modelProperties: {\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n }\n }\n }\n};\n\nexport const SolutionPropertiesList: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SolutionPropertiesList\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Solution\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ManagementAssociationPropertiesList: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ManagementAssociationPropertiesList\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ManagementAssociation\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ManagementAssociation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ManagementAssociation\",\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 properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"ManagementAssociationProperties\"\n }\n }\n }\n }\n};\n\nexport const ManagementAssociationProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ManagementAssociationProperties\",\n modelProperties: {\n applicationId: {\n serializedName: \"applicationId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ManagementConfigurationPropertiesList: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ManagementConfigurationPropertiesList\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ManagementConfiguration\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ManagementConfiguration: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ManagementConfiguration\",\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 properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"ManagementConfigurationProperties\"\n }\n }\n }\n }\n};\n\nexport const ManagementConfigurationProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ManagementConfigurationProperties\",\n modelProperties: {\n applicationId: {\n serializedName: \"applicationId\",\n type: {\n name: \"String\"\n }\n },\n parentResourceType: {\n serializedName: \"parentResourceType\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n parameters: {\n serializedName: \"parameters\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ArmTemplateParameter\"\n }\n }\n }\n },\n provisioningState: {\n serializedName: \"provisioningState\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n template: {\n serializedName: \"template\",\n required: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n }\n }\n }\n};\n\nexport const ArmTemplateParameter: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ArmTemplateParameter\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n value: {\n serializedName: \"value\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\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 }\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","/*\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 Solution as SolutionMapper,\n SolutionPatch as SolutionPatchMapper,\n ManagementAssociation as ManagementAssociationMapper,\n ManagementConfiguration as ManagementConfigurationMapper\n} from \"../models/mappers\";\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: SolutionMapper\n};\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 subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\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 apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2015-11-01-preview\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const solutionName: OperationURLParameter = {\n parameterPath: \"solutionName\",\n mapper: {\n serializedName: \"solutionName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const parameters1: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: SolutionPatchMapper\n};\n\nexport const parameters2: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ManagementAssociationMapper\n};\n\nexport const providerName: OperationURLParameter = {\n parameterPath: \"providerName\",\n mapper: {\n serializedName: \"providerName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const resourceType: OperationURLParameter = {\n parameterPath: \"resourceType\",\n mapper: {\n serializedName: \"resourceType\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const resourceName: OperationURLParameter = {\n parameterPath: \"resourceName\",\n mapper: {\n serializedName: \"resourceName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const managementAssociationName: OperationURLParameter = {\n parameterPath: \"managementAssociationName\",\n mapper: {\n serializedName: \"managementAssociationName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const parameters3: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ManagementConfigurationMapper\n};\n\nexport const managementConfigurationName: OperationURLParameter = {\n parameterPath: \"managementConfigurationName\",\n mapper: {\n serializedName: \"managementConfigurationName\",\n required: true,\n type: {\n name: \"String\"\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 { 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 { Solutions } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { OperationsManagementClient } from \"../operationsManagementClient\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl\";\nimport {\n Solution,\n SolutionsCreateOrUpdateOptionalParams,\n SolutionsCreateOrUpdateResponse,\n SolutionPatch,\n SolutionsUpdateOptionalParams,\n SolutionsUpdateResponse,\n SolutionsDeleteOptionalParams,\n SolutionsGetOptionalParams,\n SolutionsGetResponse,\n SolutionsListByResourceGroupOptionalParams,\n SolutionsListByResourceGroupResponse,\n SolutionsListBySubscriptionOptionalParams,\n SolutionsListBySubscriptionResponse\n} from \"../models\";\n\n/** Class containing Solutions operations. */\nexport class SolutionsImpl implements Solutions {\n private readonly client: OperationsManagementClient;\n\n /**\n * Initialize a new instance of the class Solutions class.\n * @param client Reference to the service client\n */\n constructor(client: OperationsManagementClient) {\n this.client = client;\n }\n\n /**\n * Creates or updates the Solution.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param solutionName User Solution Name.\n * @param parameters The parameters required to create OMS Solution.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n solutionName: string,\n parameters: Solution,\n options?: SolutionsCreateOrUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<SolutionsCreateOrUpdateResponse>,\n SolutionsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<SolutionsCreateOrUpdateResponse> => {\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, solutionName, 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 or updates the Solution.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param solutionName User Solution Name.\n * @param parameters The parameters required to create OMS Solution.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n solutionName: string,\n parameters: Solution,\n options?: SolutionsCreateOrUpdateOptionalParams\n ): Promise<SolutionsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n solutionName,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Patch a Solution. Only updating tags supported.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param solutionName User Solution Name.\n * @param parameters The parameters required to patch a Solution.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n solutionName: string,\n parameters: SolutionPatch,\n options?: SolutionsUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<SolutionsUpdateResponse>,\n SolutionsUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<SolutionsUpdateResponse> => {\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, solutionName, parameters, options },\n updateOperationSpec\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 * Patch a Solution. Only updating tags supported.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param solutionName User Solution Name.\n * @param parameters The parameters required to patch a Solution.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n solutionName: string,\n parameters: SolutionPatch,\n options?: SolutionsUpdateOptionalParams\n ): Promise<SolutionsUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n solutionName,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes the solution in the subscription.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param solutionName User Solution Name.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n solutionName: string,\n options?: SolutionsDeleteOptionalParams\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, solutionName, 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 solution in the subscription.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param solutionName User Solution Name.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n solutionName: string,\n options?: SolutionsDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n solutionName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Retrieves the user solution.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param solutionName User Solution Name.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n solutionName: string,\n options?: SolutionsGetOptionalParams\n ): Promise<SolutionsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, solutionName, options },\n getOperationSpec\n );\n }\n\n /**\n * Retrieves the solution list. It will retrieve both first party and third party solutions\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n options?: SolutionsListByResourceGroupOptionalParams\n ): Promise<SolutionsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * Retrieves the solution list. It will retrieve both first party and third party solutions\n * @param options The options parameters.\n */\n listBySubscription(\n options?: SolutionsListBySubscriptionOptionalParams\n ): Promise<SolutionsListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/solutions/{solutionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Solution\n },\n 201: {\n bodyMapper: Mappers.Solution\n },\n 202: {\n bodyMapper: Mappers.Solution\n },\n 204: {\n bodyMapper: Mappers.Solution\n },\n default: {\n bodyMapper: Mappers.CodeMessageError\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.solutionName\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/solutions/{solutionName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Solution\n },\n 201: {\n bodyMapper: Mappers.Solution\n },\n 202: {\n bodyMapper: Mappers.Solution\n },\n 204: {\n bodyMapper: Mappers.Solution\n },\n default: {\n bodyMapper: Mappers.CodeMessageError\n }\n },\n requestBody: Parameters.parameters1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.solutionName\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/solutions/{solutionName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CodeMessageError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.solutionName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/solutions/{solutionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Solution\n },\n default: {\n bodyMapper: Mappers.CodeMessageError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.solutionName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/solutions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SolutionPropertiesList\n },\n default: {\n bodyMapper: Mappers.CodeMessageError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.OperationsManagement/solutions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SolutionPropertiesList\n },\n default: {\n bodyMapper: Mappers.CodeMessageError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\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 { ManagementAssociations } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { OperationsManagementClient } from \"../operationsManagementClient\";\nimport {\n ManagementAssociationsListBySubscriptionOptionalParams,\n ManagementAssociationsListBySubscriptionResponse,\n ManagementAssociation,\n ManagementAssociationsCreateOrUpdateOptionalParams,\n ManagementAssociationsCreateOrUpdateResponse,\n ManagementAssociationsDeleteOptionalParams,\n ManagementAssociationsGetOptionalParams,\n ManagementAssociationsGetResponse\n} from \"../models\";\n\n/** Class containing ManagementAssociations operations. */\nexport class ManagementAssociationsImpl implements ManagementAssociations {\n private readonly client: OperationsManagementClient;\n\n /**\n * Initialize a new instance of the class ManagementAssociations class.\n * @param client Reference to the service client\n */\n constructor(client: OperationsManagementClient) {\n this.client = client;\n }\n\n /**\n * Retrieves the ManagementAssociations list.\n * @param options The options parameters.\n */\n listBySubscription(\n options?: ManagementAssociationsListBySubscriptionOptionalParams\n ): Promise<ManagementAssociationsListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec\n );\n }\n\n /**\n * Creates or updates the ManagementAssociation.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param providerName Provider name for the parent resource.\n * @param resourceType Resource type for the parent resource\n * @param resourceName Parent resource name.\n * @param managementAssociationName User ManagementAssociation Name.\n * @param parameters The parameters required to create ManagementAssociation extension.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n providerName: string,\n resourceType: string,\n resourceName: string,\n managementAssociationName: string,\n parameters: ManagementAssociation,\n options?: ManagementAssociationsCreateOrUpdateOptionalParams\n ): Promise<ManagementAssociationsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n providerName,\n resourceType,\n resourceName,\n managementAssociationName,\n parameters,\n options\n },\n createOrUpdateOperationSpec\n );\n }\n\n /**\n * Deletes the ManagementAssociation in the subscription.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param providerName Provider name for the parent resource.\n * @param resourceType Resource type for the parent resource\n * @param resourceName Parent resource name.\n * @param managementAssociationName User ManagementAssociation Name.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n providerName: string,\n resourceType: string,\n resourceName: string,\n managementAssociationName: string,\n options?: ManagementAssociationsDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n providerName,\n resourceType,\n resourceName,\n managementAssociationName,\n options\n },\n deleteOperationSpec\n );\n }\n\n /**\n * Retrieves the user ManagementAssociation.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param providerName Provider name for the parent resource.\n * @param resourceType Resource type for the parent resource\n * @param resourceName Parent resource name.\n * @param managementAssociationName User ManagementAssociation Name.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n providerName: string,\n resourceType: string,\n resourceName: string,\n managementAssociationName: string,\n options?: ManagementAssociationsGetOptionalParams\n ): Promise<ManagementAssociationsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n providerName,\n resourceType,\n resourceName,\n managementAssociationName,\n options\n },\n getOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.OperationsManagement/ManagementAssociations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementAssociationPropertiesList\n },\n default: {\n bodyMapper: Mappers.CodeMessageError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.OperationsManagement/ManagementAssociations/{managementAssociationName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementAssociation\n },\n default: {\n bodyMapper: Mappers.CodeMessageError\n }\n },\n requestBody: Parameters.parameters2,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.providerName,\n Parameters.resourceType,\n Parameters.resourceName,\n Parameters.managementAssociationName\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.OperationsManagement/ManagementAssociations/{managementAssociationName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CodeMessageError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.providerName,\n Parameters.resourceType,\n Parameters.resourceName,\n Parameters.managementAssociationName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.OperationsManagement/ManagementAssociations/{managementAssociationName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementAssociation\n },\n default: {\n bodyMapper: Mappers.CodeMessageError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.providerName,\n Parameters.resourceType,\n Parameters.resourceName,\n Parameters.managementAssociationName\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 { ManagementConfigurations } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { OperationsManagementClient } from \"../operationsManagementClient\";\nimport {\n ManagementConfigurationsListBySubscriptionOptionalParams,\n ManagementConfigurationsListBySubscriptionResponse,\n ManagementConfiguration,\n ManagementConfigurationsCreateOrUpdateOptionalParams,\n ManagementConfigurationsCreateOrUpdateResponse,\n ManagementConfigurationsDeleteOptionalParams,\n ManagementConfigurationsGetOptionalParams,\n ManagementConfigurationsGetResponse\n} from \"../models\";\n\n/** Class containing ManagementConfigurations operations. */\nexport class ManagementConfigurationsImpl implements ManagementConfigurations {\n private readonly client: OperationsManagementClient;\n\n /**\n * Initialize a new instance of the class ManagementConfigurations class.\n * @param client Reference to the service client\n */\n constructor(client: OperationsManagementClient) {\n this.client = client;\n }\n\n /**\n * Retrieves the ManagementConfigurations list.\n * @param options The options parameters.\n */\n listBySubscription(\n options?: ManagementConfigurationsListBySubscriptionOptionalParams\n ): Promise<ManagementConfigurationsListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec\n );\n }\n\n /**\n * Creates or updates the ManagementConfiguration.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param managementConfigurationName User Management Configuration Name.\n * @param parameters The parameters required to create OMS Solution.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n managementConfigurationName: string,\n parameters: ManagementConfiguration,\n options?: ManagementConfigurationsCreateOrUpdateOptionalParams\n ): Promise<ManagementConfigurationsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, managementConfigurationName, parameters, options },\n createOrUpdateOperationSpec\n );\n }\n\n /**\n * Deletes the ManagementConfiguration in the subscription.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param managementConfigurationName User Management Configuration Name.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n managementConfigurationName: string,\n options?: ManagementConfigurationsDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, managementConfigurationName, options },\n deleteOperationSpec\n );\n }\n\n /**\n * Retrieves the user ManagementConfiguration.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param managementConfigurationName User Management Configuration Name.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n managementConfigurationName: string,\n options?: ManagementConfigurationsGetOptionalParams\n ): Promise<ManagementConfigurationsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, managementConfigurationName, options },\n getOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.OperationsManagement/ManagementConfigurations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementConfigurationPropertiesList\n },\n default: {\n bodyMapper: Mappers.CodeMessageError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/ManagementConfigurations/{managementConfigurationName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementConfiguration\n },\n default: {\n bodyMapper: Mappers.CodeMessageError\n }\n },\n requestBody: Parameters.parameters3,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.managementConfigurationName\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/ManagementConfigurations/{managementConfigurationName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CodeMessageError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.managementConfigurationName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/ManagementConfigurations/{managementConfigurationName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementConfiguration\n },\n default: {\n bodyMapper: Mappers.CodeMessageError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.managementConfigurationName\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 } from \"@azure/core-paging\";\nimport { Operations } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { OperationsManagementClient } from \"../operationsManagementClient\";\nimport {\n Operation,\n OperationsListOptionalParams,\n OperationsListResponse\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: OperationsManagementClient;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: OperationsManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all of the available OperationsManagement Rest API operations.\n * @param options The options parameters.\n */\n public list(\n options?: OperationsListOptionalParams\n ): PagedAsyncIterableIterator<Operation> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listPagingPage(options);\n }\n };\n }\n\n private async *listPagingPage(\n options?: OperationsListOptionalParams\n ): AsyncIterableIterator<Operation[]> {\n let result = await this._list(options);\n yield result.value || [];\n }\n\n private async *listPagingAll(\n options?: OperationsListOptionalParams\n ): AsyncIterableIterator<Operation> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all of the available OperationsManagement Rest API operations.\n * @param options The options parameters.\n */\n private _list(\n options?: OperationsListOptionalParams\n ): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.OperationsManagement/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};\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 * as coreAuth from \"@azure/core-auth\";\nimport {\n SolutionsImpl,\n ManagementAssociationsImpl,\n ManagementConfigurationsImpl,\n OperationsImpl\n} from \"./operations\";\nimport {\n Solutions,\n ManagementAssociations,\n ManagementConfigurations,\n Operations\n} from \"./operationsInterfaces\";\nimport { OperationsManagementClientOptionalParams } from \"./models\";\n\nexport class OperationsManagementClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the OperationsManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId Gets subscription credentials which uniquely identify Microsoft Azure\n * subscription. The subscription ID forms part of the URI for every service call.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: OperationsManagementClientOptionalParams\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: OperationsManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-operations/4.0.0-beta.3`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n if (!options.credentialScopes) {\n options.credentialScopes = [\"https://management.azure.com/.default\"];\n }\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n baseUri:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n const bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n if (!bearerTokenAuthenticationPolicyFound) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n scopes: `${optionsWithDefaults.baseUri}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\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 || \"2015-11-01-preview\";\n this.solutions = new SolutionsImpl(this);\n this.managementAssociations = new ManagementAssociationsImpl(this);\n this.managementConfigurations = new ManagementConfigurationsImpl(this);\n this.operations = new OperationsImpl(this);\n }\n\n solutions: Solutions;\n managementAssociations: ManagementAssociations;\n managementConfigurations: ManagementConfigurations;\n operations: Operations;\n}\n"],"names":["SolutionMapper","SolutionPatchMapper","ManagementAssociationMapper","ManagementConfigurationMapper","__rest","__awaiter","createOrUpdateOperationSpec","LroEngine","deleteOperationSpec","getOperationSpec","listBySubscriptionOperationSpec","serializer","coreClient","Mappers.Solution","Mappers.CodeMessageError","Parameters.parameters","Parameters.apiVersion","Parameters.$host","Parameters.subscriptionId","Parameters.resourceGroupName","Parameters.solutionName","Parameters.contentType","Parameters.accept","Parameters.parameters1","Mappers.SolutionPropertiesList","Mappers.ManagementAssociationPropertiesList","Mappers.ManagementAssociation","Parameters.parameters2","Parameters.providerName","Parameters.resourceType","Parameters.resourceName","Parameters.managementAssociationName","Mappers.ManagementConfigurationPropertiesList","Mappers.ManagementConfiguration","Parameters.parameters3","Parameters.managementConfigurationName","__await","__asyncValues","__asyncDelegator","Mappers.OperationListResult","coreRestPipeline"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;AAMG;AAII,MAAM,QAAQ,GAA+B;AAClD,IAAA,IAAI,EAAE;AACJ,QAAA,IAAI,EAAE,WAAW;AACjB,QAAA,SAAS,EAAE,UAAU;AACrB,QAAA,eAAe,EAAE;AACf,YAAA,EAAE,EAAE;AACF,gBAAA,cAAc,EAAE,IAAI;AACpB,gBAAA,QAAQ,EAAE,IAAI;AACd,gBAAA,IAAI,EAAE;AACJ,oBAAA,IAAI,EAAE,QAAQ;AACf,iBAAA;AACF,aAAA;AACD,YAAA,IAAI,EAAE;AACJ,gBAAA,cAAc,EAAE,MAAM;AACtB,gBAAA,QAAQ,EAAE,IAAI;AACd,gBAAA,IAAI,EAAE;AACJ,oBAAA,IAAI,EAAE,QAAQ;AACf,iBAAA;AACF,aAAA;AACD,YAAA,IAAI,EAAE;AACJ,gBAAA,cAAc,EAAE,MAAM;AACtB,gBAAA,QAAQ,EAAE,IAAI;AACd,gBAAA,IAAI,EAAE;AACJ,oBAAA,IAAI,EAAE,QAAQ;AACf,iBAAA;AACF,aAAA;AACD,YAAA,QAAQ,EAAE;AACR,gBAAA,cAAc,EAAE,UAAU;AAC1B,gBAAA,IAAI,EAAE;AACJ,oBAAA,IAAI,EAAE,QAAQ;AACf,iBAAA;AACF,aAAA;AACD,YAAA,IAAI,EAAE;AACJ,gBAAA,cAAc,EAAE,MAAM;AACtB,gBAAA,IAAI,EAAE;AACJ,oBAAA,IAAI,EAAE,YAAY;oBAClB,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ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2BAAgB,CAAC,+BAA+B,CAAC;AAC/C,oBAAA,MAAM,EAAE,CAAA,EAAG,mBAAmB,CAAC,OAAO,CAAW,SAAA,CAAA;AACjD,oBAAA,kBAAkB,EAAE;wBAClB,2BAA2B,EACzB5B,qBAAU,CAAC,gCAAgC;AAC9C,qBAAA;AACF,iBAAA,CAAC,CACH,CAAC;AACH,aAAA;AACF,SAAA;;AAED,QAAA,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;;QAGrC,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,IAAI,8BAA8B,CAAC;QAC7D,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,oBAAoB,CAAC;QAC7D,IAAI,CAAC,SAAS,GAAG,IAAI,aAAa,CAAC,IAAI,CAAC,CAAC;QACzC,IAAI,CAAC,sBAAsB,GAAG,IAAI,0BAA0B,CAAC,IAAI,CAAC,CAAC;QACnE,IAAI,CAAC,wBAAwB,GAAG,IAAI,4BAA4B,CAAC,IAAI,CAAC,CAAC;QACvE,IAAI,CAAC,UAAU,GAAG,IAAI,cAAc,CAAC,IAAI,CAAC,CAAC;KAC5C;AAMF;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../src/pagingHelper.ts","../src/models/mappers.ts","../src/models/parameters.ts","../src/lroImpl.ts","../src/operations/solutions.ts","../src/operations/managementAssociations.ts","../src/operations/managementConfigurations.ts","../src/operations/operations.ts","../src/operationsManagementClient.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\nexport const Solution: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Solution\",\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 plan: {\n serializedName: \"plan\",\n type: {\n name: \"Composite\",\n className: \"SolutionPlan\"\n }\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"SolutionProperties\"\n }\n }\n }\n }\n};\n\nexport const SolutionPlan: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SolutionPlan\",\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 promotionCode: {\n serializedName: \"promotionCode\",\n type: {\n name: \"String\"\n }\n },\n product: {\n serializedName: \"product\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SolutionProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SolutionProperties\",\n modelProperties: {\n workspaceResourceId: {\n serializedName: \"workspaceResourceId\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n provisioningState: {\n serializedName: \"provisioningState\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n containedResources: {\n serializedName: \"containedResources\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n },\n referencedResources: {\n serializedName: \"referencedResources\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const CodeMessageError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CodeMessageError\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"CodeMessageErrorError\"\n }\n }\n }\n }\n};\n\nexport const CodeMessageErrorError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CodeMessageErrorError\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const SolutionPatch: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SolutionPatch\",\n modelProperties: {\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n }\n }\n }\n};\n\nexport const SolutionPropertiesList: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SolutionPropertiesList\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Solution\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ManagementAssociationPropertiesList: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ManagementAssociationPropertiesList\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ManagementAssociation\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ManagementAssociation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ManagementAssociation\",\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 properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"ManagementAssociationProperties\"\n }\n }\n }\n }\n};\n\nexport const ManagementAssociationProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ManagementAssociationProperties\",\n modelProperties: {\n applicationId: {\n serializedName: \"applicationId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const ManagementConfigurationPropertiesList: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ManagementConfigurationPropertiesList\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ManagementConfiguration\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ManagementConfiguration: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ManagementConfiguration\",\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 properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"ManagementConfigurationProperties\"\n }\n }\n }\n }\n};\n\nexport const ManagementConfigurationProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ManagementConfigurationProperties\",\n modelProperties: {\n applicationId: {\n serializedName: \"applicationId\",\n type: {\n name: \"String\"\n }\n },\n parentResourceType: {\n serializedName: \"parentResourceType\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n parameters: {\n serializedName: \"parameters\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ArmTemplateParameter\"\n }\n }\n }\n },\n provisioningState: {\n serializedName: \"provisioningState\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n template: {\n serializedName: \"template\",\n required: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n }\n }\n }\n};\n\nexport const ArmTemplateParameter: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ArmTemplateParameter\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\"\n }\n },\n value: {\n serializedName: \"value\",\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\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 }\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","/*\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 Solution as SolutionMapper,\n SolutionPatch as SolutionPatchMapper,\n ManagementAssociation as ManagementAssociationMapper,\n ManagementConfiguration as ManagementConfigurationMapper\n} from \"../models/mappers\";\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: SolutionMapper\n};\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 subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\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 apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2015-11-01-preview\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const solutionName: OperationURLParameter = {\n parameterPath: \"solutionName\",\n mapper: {\n serializedName: \"solutionName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const parameters1: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: SolutionPatchMapper\n};\n\nexport const parameters2: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ManagementAssociationMapper\n};\n\nexport const providerName: OperationURLParameter = {\n parameterPath: \"providerName\",\n mapper: {\n serializedName: \"providerName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const resourceType: OperationURLParameter = {\n parameterPath: \"resourceType\",\n mapper: {\n serializedName: \"resourceType\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const resourceName: OperationURLParameter = {\n parameterPath: \"resourceName\",\n mapper: {\n serializedName: \"resourceName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const managementAssociationName: OperationURLParameter = {\n parameterPath: \"managementAssociationName\",\n mapper: {\n serializedName: \"managementAssociationName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const parameters3: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ManagementConfigurationMapper\n};\n\nexport const managementConfigurationName: OperationURLParameter = {\n parameterPath: \"managementConfigurationName\",\n mapper: {\n serializedName: \"managementConfigurationName\",\n required: true,\n type: {\n name: \"String\"\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 { 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 { Solutions } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { OperationsManagementClient } from \"../operationsManagementClient\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl\";\nimport {\n Solution,\n SolutionsCreateOrUpdateOptionalParams,\n SolutionsCreateOrUpdateResponse,\n SolutionPatch,\n SolutionsUpdateOptionalParams,\n SolutionsUpdateResponse,\n SolutionsDeleteOptionalParams,\n SolutionsGetOptionalParams,\n SolutionsGetResponse,\n SolutionsListByResourceGroupOptionalParams,\n SolutionsListByResourceGroupResponse,\n SolutionsListBySubscriptionOptionalParams,\n SolutionsListBySubscriptionResponse\n} from \"../models\";\n\n/** Class containing Solutions operations. */\nexport class SolutionsImpl implements Solutions {\n private readonly client: OperationsManagementClient;\n\n /**\n * Initialize a new instance of the class Solutions class.\n * @param client Reference to the service client\n */\n constructor(client: OperationsManagementClient) {\n this.client = client;\n }\n\n /**\n * Creates or updates the Solution.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param solutionName User Solution Name.\n * @param parameters The parameters required to create OMS Solution.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n solutionName: string,\n parameters: Solution,\n options?: SolutionsCreateOrUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<SolutionsCreateOrUpdateResponse>,\n SolutionsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<SolutionsCreateOrUpdateResponse> => {\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, solutionName, 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 or updates the Solution.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param solutionName User Solution Name.\n * @param parameters The parameters required to create OMS Solution.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n solutionName: string,\n parameters: Solution,\n options?: SolutionsCreateOrUpdateOptionalParams\n ): Promise<SolutionsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n solutionName,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Patch a Solution. Only updating tags supported.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param solutionName User Solution Name.\n * @param parameters The parameters required to patch a Solution.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n solutionName: string,\n parameters: SolutionPatch,\n options?: SolutionsUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<SolutionsUpdateResponse>,\n SolutionsUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<SolutionsUpdateResponse> => {\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, solutionName, parameters, options },\n updateOperationSpec\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 * Patch a Solution. Only updating tags supported.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param solutionName User Solution Name.\n * @param parameters The parameters required to patch a Solution.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n solutionName: string,\n parameters: SolutionPatch,\n options?: SolutionsUpdateOptionalParams\n ): Promise<SolutionsUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n solutionName,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes the solution in the subscription.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param solutionName User Solution Name.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n solutionName: string,\n options?: SolutionsDeleteOptionalParams\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, solutionName, 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 solution in the subscription.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param solutionName User Solution Name.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n solutionName: string,\n options?: SolutionsDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n solutionName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Retrieves the user solution.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param solutionName User Solution Name.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n solutionName: string,\n options?: SolutionsGetOptionalParams\n ): Promise<SolutionsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, solutionName, options },\n getOperationSpec\n );\n }\n\n /**\n * Retrieves the solution list. It will retrieve both first party and third party solutions\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n options?: SolutionsListByResourceGroupOptionalParams\n ): Promise<SolutionsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * Retrieves the solution list. It will retrieve both first party and third party solutions\n * @param options The options parameters.\n */\n listBySubscription(\n options?: SolutionsListBySubscriptionOptionalParams\n ): Promise<SolutionsListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/solutions/{solutionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Solution\n },\n 201: {\n bodyMapper: Mappers.Solution\n },\n 202: {\n bodyMapper: Mappers.Solution\n },\n 204: {\n bodyMapper: Mappers.Solution\n },\n default: {\n bodyMapper: Mappers.CodeMessageError\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.solutionName\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/solutions/{solutionName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Solution\n },\n 201: {\n bodyMapper: Mappers.Solution\n },\n 202: {\n bodyMapper: Mappers.Solution\n },\n 204: {\n bodyMapper: Mappers.Solution\n },\n default: {\n bodyMapper: Mappers.CodeMessageError\n }\n },\n requestBody: Parameters.parameters1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.solutionName\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/solutions/{solutionName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CodeMessageError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.solutionName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/solutions/{solutionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Solution\n },\n default: {\n bodyMapper: Mappers.CodeMessageError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.solutionName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/solutions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SolutionPropertiesList\n },\n default: {\n bodyMapper: Mappers.CodeMessageError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.OperationsManagement/solutions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SolutionPropertiesList\n },\n default: {\n bodyMapper: Mappers.CodeMessageError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\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 { ManagementAssociations } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { OperationsManagementClient } from \"../operationsManagementClient\";\nimport {\n ManagementAssociationsListBySubscriptionOptionalParams,\n ManagementAssociationsListBySubscriptionResponse,\n ManagementAssociation,\n ManagementAssociationsCreateOrUpdateOptionalParams,\n ManagementAssociationsCreateOrUpdateResponse,\n ManagementAssociationsDeleteOptionalParams,\n ManagementAssociationsGetOptionalParams,\n ManagementAssociationsGetResponse\n} from \"../models\";\n\n/** Class containing ManagementAssociations operations. */\nexport class ManagementAssociationsImpl implements ManagementAssociations {\n private readonly client: OperationsManagementClient;\n\n /**\n * Initialize a new instance of the class ManagementAssociations class.\n * @param client Reference to the service client\n */\n constructor(client: OperationsManagementClient) {\n this.client = client;\n }\n\n /**\n * Retrieves the ManagementAssociations list.\n * @param options The options parameters.\n */\n listBySubscription(\n options?: ManagementAssociationsListBySubscriptionOptionalParams\n ): Promise<ManagementAssociationsListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec\n );\n }\n\n /**\n * Creates or updates the ManagementAssociation.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param providerName Provider name for the parent resource.\n * @param resourceType Resource type for the parent resource\n * @param resourceName Parent resource name.\n * @param managementAssociationName User ManagementAssociation Name.\n * @param parameters The parameters required to create ManagementAssociation extension.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n providerName: string,\n resourceType: string,\n resourceName: string,\n managementAssociationName: string,\n parameters: ManagementAssociation,\n options?: ManagementAssociationsCreateOrUpdateOptionalParams\n ): Promise<ManagementAssociationsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n providerName,\n resourceType,\n resourceName,\n managementAssociationName,\n parameters,\n options\n },\n createOrUpdateOperationSpec\n );\n }\n\n /**\n * Deletes the ManagementAssociation in the subscription.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param providerName Provider name for the parent resource.\n * @param resourceType Resource type for the parent resource\n * @param resourceName Parent resource name.\n * @param managementAssociationName User ManagementAssociation Name.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n providerName: string,\n resourceType: string,\n resourceName: string,\n managementAssociationName: string,\n options?: ManagementAssociationsDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n providerName,\n resourceType,\n resourceName,\n managementAssociationName,\n options\n },\n deleteOperationSpec\n );\n }\n\n /**\n * Retrieves the user ManagementAssociation.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param providerName Provider name for the parent resource.\n * @param resourceType Resource type for the parent resource\n * @param resourceName Parent resource name.\n * @param managementAssociationName User ManagementAssociation Name.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n providerName: string,\n resourceType: string,\n resourceName: string,\n managementAssociationName: string,\n options?: ManagementAssociationsGetOptionalParams\n ): Promise<ManagementAssociationsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n providerName,\n resourceType,\n resourceName,\n managementAssociationName,\n options\n },\n getOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.OperationsManagement/ManagementAssociations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementAssociationPropertiesList\n },\n default: {\n bodyMapper: Mappers.CodeMessageError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.OperationsManagement/ManagementAssociations/{managementAssociationName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementAssociation\n },\n default: {\n bodyMapper: Mappers.CodeMessageError\n }\n },\n requestBody: Parameters.parameters2,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.providerName,\n Parameters.resourceType,\n Parameters.resourceName,\n Parameters.managementAssociationName\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.OperationsManagement/ManagementAssociations/{managementAssociationName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CodeMessageError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.providerName,\n Parameters.resourceType,\n Parameters.resourceName,\n Parameters.managementAssociationName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.OperationsManagement/ManagementAssociations/{managementAssociationName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementAssociation\n },\n default: {\n bodyMapper: Mappers.CodeMessageError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.providerName,\n Parameters.resourceType,\n Parameters.resourceName,\n Parameters.managementAssociationName\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 { ManagementConfigurations } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { OperationsManagementClient } from \"../operationsManagementClient\";\nimport {\n ManagementConfigurationsListBySubscriptionOptionalParams,\n ManagementConfigurationsListBySubscriptionResponse,\n ManagementConfiguration,\n ManagementConfigurationsCreateOrUpdateOptionalParams,\n ManagementConfigurationsCreateOrUpdateResponse,\n ManagementConfigurationsDeleteOptionalParams,\n ManagementConfigurationsGetOptionalParams,\n ManagementConfigurationsGetResponse\n} from \"../models\";\n\n/** Class containing ManagementConfigurations operations. */\nexport class ManagementConfigurationsImpl implements ManagementConfigurations {\n private readonly client: OperationsManagementClient;\n\n /**\n * Initialize a new instance of the class ManagementConfigurations class.\n * @param client Reference to the service client\n */\n constructor(client: OperationsManagementClient) {\n this.client = client;\n }\n\n /**\n * Retrieves the ManagementConfigurations list.\n * @param options The options parameters.\n */\n listBySubscription(\n options?: ManagementConfigurationsListBySubscriptionOptionalParams\n ): Promise<ManagementConfigurationsListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec\n );\n }\n\n /**\n * Creates or updates the ManagementConfiguration.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param managementConfigurationName User Management Configuration Name.\n * @param parameters The parameters required to create OMS Solution.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n managementConfigurationName: string,\n parameters: ManagementConfiguration,\n options?: ManagementConfigurationsCreateOrUpdateOptionalParams\n ): Promise<ManagementConfigurationsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, managementConfigurationName, parameters, options },\n createOrUpdateOperationSpec\n );\n }\n\n /**\n * Deletes the ManagementConfiguration in the subscription.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param managementConfigurationName User Management Configuration Name.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n managementConfigurationName: string,\n options?: ManagementConfigurationsDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, managementConfigurationName, options },\n deleteOperationSpec\n );\n }\n\n /**\n * Retrieves the user ManagementConfiguration.\n * @param resourceGroupName The name of the resource group to get. The name is case insensitive.\n * @param managementConfigurationName User Management Configuration Name.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n managementConfigurationName: string,\n options?: ManagementConfigurationsGetOptionalParams\n ): Promise<ManagementConfigurationsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, managementConfigurationName, options },\n getOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.OperationsManagement/ManagementConfigurations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementConfigurationPropertiesList\n },\n default: {\n bodyMapper: Mappers.CodeMessageError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/ManagementConfigurations/{managementConfigurationName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementConfiguration\n },\n default: {\n bodyMapper: Mappers.CodeMessageError\n }\n },\n requestBody: Parameters.parameters3,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.managementConfigurationName\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/ManagementConfigurations/{managementConfigurationName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CodeMessageError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.managementConfigurationName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/ManagementConfigurations/{managementConfigurationName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementConfiguration\n },\n default: {\n bodyMapper: Mappers.CodeMessageError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.managementConfigurationName\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 { Operations } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { OperationsManagementClient } from \"../operationsManagementClient\";\nimport {\n Operation,\n OperationsListOptionalParams,\n OperationsListResponse\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: OperationsManagementClient;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: OperationsManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all of the available OperationsManagement Rest API operations.\n * @param options The options parameters.\n */\n public list(\n options?: OperationsListOptionalParams\n ): PagedAsyncIterableIterator<Operation> {\n const iter = this.listPagingAll(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.listPagingPage(options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n options?: OperationsListOptionalParams,\n _settings?: PageSettings\n ): AsyncIterableIterator<Operation[]> {\n let result: OperationsListResponse;\n result = await this._list(options);\n yield result.value || [];\n }\n\n private async *listPagingAll(\n options?: OperationsListOptionalParams\n ): AsyncIterableIterator<Operation> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all of the available OperationsManagement Rest API operations.\n * @param options The options parameters.\n */\n private _list(\n options?: OperationsListOptionalParams\n ): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.OperationsManagement/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};\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 {\n SolutionsImpl,\n ManagementAssociationsImpl,\n ManagementConfigurationsImpl,\n OperationsImpl\n} from \"./operations\";\nimport {\n Solutions,\n ManagementAssociations,\n ManagementConfigurations,\n Operations\n} from \"./operationsInterfaces\";\nimport { OperationsManagementClientOptionalParams } from \"./models\";\n\nexport class OperationsManagementClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the OperationsManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId Gets subscription credentials which uniquely identify Microsoft Azure\n * subscription. The subscription ID forms part of the URI for every service call.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: OperationsManagementClientOptionalParams\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: OperationsManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-operations/4.0.0-beta.4`;\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 || \"2015-11-01-preview\";\n this.solutions = new SolutionsImpl(this);\n this.managementAssociations = new ManagementAssociationsImpl(this);\n this.managementConfigurations = new ManagementConfigurationsImpl(this);\n this.operations = new OperationsImpl(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 solutions: Solutions;\n managementAssociations: ManagementAssociations;\n managementConfigurations: ManagementConfigurations;\n operations: Operations;\n}\n"],"names":["SolutionMapper","SolutionPatchMapper","ManagementAssociationMapper","ManagementConfigurationMapper","__rest","__awaiter","createOrUpdateOperationSpec","LroEngine","deleteOperationSpec","getOperationSpec","listBySubscriptionOperationSpec","serializer","coreClient","Mappers.Solution","Mappers.CodeMessageError","Parameters.parameters","Parameters.apiVersion","Parameters.$host","Parameters.subscriptionId","Parameters.resourceGroupName","Parameters.solutionName","Parameters.contentType","Parameters.accept","Parameters.parameters1","Mappers.SolutionPropertiesList","Mappers.ManagementAssociationPropertiesList","Mappers.ManagementAssociation","Parameters.parameters2","Parameters.providerName","Parameters.resourceType","Parameters.resourceName","Parameters.managementAssociationName","Mappers.ManagementConfigurationPropertiesList","Mappers.ManagementConfiguration","Parameters.parameters3","Parameters.managementConfigurationName","__await","__asyncValues","__asyncDelegator","Mappers.OperationListResult","coreRestPipeline"],"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,CA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AAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,KAAI;4BACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE;gCACpC,OAAO,cAAc,GAAG,UAAU,CAAC;AACpC,6BAAA;AAAM,iCAAA;AACL,gCAAA,OAAO,IAAI,CAAC;AACb,6BAAA;AACH,yBAAC,CAAC,CAAC;AACH,wBAAA,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACpD,qBAAA;AACD,oBAAA,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;iBACtB,CAAA,CAAA;AAAA,aAAA;SACF,CAAC;AACF,QAAA,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;KAC3C;AAMF;;;;;"}
package/dist/index.min.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var coreClient=require("@azure/core-client"),coreRestPipeline=require("@azure/core-rest-pipeline"),tslib=require("tslib"),coreLro=require("@azure/core-lro");function _interopNamespace(a){if(a&&a.__esModule)return a;var t=Object.create(null);return a&&Object.keys(a).forEach(function(e){var r;"default"!==e&&(r=Object.getOwnPropertyDescriptor(a,e),Object.defineProperty(t,e,r.get?r:{enumerable:!0,get:function(){return a[e]}}))}),t.default=a,Object.freeze(t)}var coreClient__namespace=_interopNamespace(coreClient),coreRestPipeline__namespace=_interopNamespace(coreRestPipeline);const Solution={type:{name:"Composite",className:"Solution",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},type:{serializedName:"type",readOnly:!0,type:{name:"String"}},location:{serializedName:"location",type:{name:"String"}},tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}},plan:{serializedName:"plan",type:{name:"Composite",className:"SolutionPlan"}},properties:{serializedName:"properties",type:{name:"Composite",className:"SolutionProperties"}}}}},SolutionPlan={type:{name:"Composite",className:"SolutionPlan",modelProperties:{name:{serializedName:"name",type:{name:"String"}},publisher:{serializedName:"publisher",type:{name:"String"}},promotionCode:{serializedName:"promotionCode",type:{name:"String"}},product:{serializedName:"product",type:{name:"String"}}}}},SolutionProperties={type:{name:"Composite",className:"SolutionProperties",modelProperties:{workspaceResourceId:{serializedName:"workspaceResourceId",required:!0,type:{name:"String"}},provisioningState:{serializedName:"provisioningState",readOnly:!0,type:{name:"String"}},containedResources:{serializedName:"containedResources",type:{name:"Sequence",element:{type:{name:"String"}}}},referencedResources:{serializedName:"referencedResources",type:{name:"Sequence",element:{type:{name:"String"}}}}}}},CodeMessageError={type:{name:"Composite",className:"CodeMessageError",modelProperties:{error:{serializedName:"error",type:{name:"Composite",className:"CodeMessageErrorError"}}}}},CodeMessageErrorError={type:{name:"Composite",className:"CodeMessageErrorError",modelProperties:{code:{serializedName:"code",type:{name:"String"}},message:{serializedName:"message",type:{name:"String"}}}}},SolutionPatch={type:{name:"Composite",className:"SolutionPatch",modelProperties:{tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},SolutionPropertiesList={type:{name:"Composite",className:"SolutionPropertiesList",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"Solution"}}}}}}},ManagementAssociationPropertiesList={type:{name:"Composite",className:"ManagementAssociationPropertiesList",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"ManagementAssociation"}}}}}}},ManagementAssociation={type:{name:"Composite",className:"ManagementAssociation",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},type:{serializedName:"type",readOnly:!0,type:{name:"String"}},location:{serializedName:"location",type:{name:"String"}},properties:{serializedName:"properties",type:{name:"Composite",className:"ManagementAssociationProperties"}}}}},ManagementAssociationProperties={type:{name:"Composite",className:"ManagementAssociationProperties",modelProperties:{applicationId:{serializedName:"applicationId",required:!0,type:{name:"String"}}}}},ManagementConfigurationPropertiesList={type:{name:"Composite",className:"ManagementConfigurationPropertiesList",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"ManagementConfiguration"}}}}}}},ManagementConfiguration={type:{name:"Composite",className:"ManagementConfiguration",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},type:{serializedName:"type",readOnly:!0,type:{name:"String"}},location:{serializedName:"location",type:{name:"String"}},properties:{serializedName:"properties",type:{name:"Composite",className:"ManagementConfigurationProperties"}}}}},ManagementConfigurationProperties={type:{name:"Composite",className:"ManagementConfigurationProperties",modelProperties:{applicationId:{serializedName:"applicationId",type:{name:"String"}},parentResourceType:{serializedName:"parentResourceType",required:!0,type:{name:"String"}},parameters:{serializedName:"parameters",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ArmTemplateParameter"}}}},provisioningState:{serializedName:"provisioningState",readOnly:!0,type:{name:"String"}},template:{serializedName:"template",required:!0,type:{name:"Dictionary",value:{type:{name:"any"}}}}}}},ArmTemplateParameter={type:{name:"Composite",className:"ArmTemplateParameter",modelProperties:{name:{serializedName:"name",type:{name:"String"}},value:{serializedName:"value",type:{name:"String"}}}}},OperationListResult={type:{name:"Composite",className:"OperationListResult",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"Operation"}}}}}}},Operation={type:{name:"Composite",className:"Operation",modelProperties:{name:{serializedName:"name",type:{name:"String"}},display:{serializedName:"display",type:{name:"Composite",className:"OperationDisplay"}}}}},OperationDisplay={type:{name:"Composite",className:"OperationDisplay",modelProperties:{provider:{serializedName:"provider",type:{name:"String"}},resource:{serializedName:"resource",type:{name:"String"}},operation:{serializedName:"operation",type:{name:"String"}}}}};var Mappers=Object.freeze({__proto__:null,Solution:Solution,SolutionPlan:SolutionPlan,SolutionProperties:SolutionProperties,CodeMessageError:CodeMessageError,CodeMessageErrorError:CodeMessageErrorError,SolutionPatch:SolutionPatch,SolutionPropertiesList:SolutionPropertiesList,ManagementAssociationPropertiesList:ManagementAssociationPropertiesList,ManagementAssociation:ManagementAssociation,ManagementAssociationProperties:ManagementAssociationProperties,ManagementConfigurationPropertiesList:ManagementConfigurationPropertiesList,ManagementConfiguration:ManagementConfiguration,ManagementConfigurationProperties:ManagementConfigurationProperties,ArmTemplateParameter:ArmTemplateParameter,OperationListResult:OperationListResult,Operation:Operation,OperationDisplay:OperationDisplay});const contentType={parameterPath:["options","contentType"],mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},parameters={parameterPath:"parameters",mapper:Solution},accept={parameterPath:"accept",mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},$host={parameterPath:"$host",mapper:{serializedName:"$host",required:!0,type:{name:"String"}},skipEncoding:!0},subscriptionId={parameterPath:"subscriptionId",mapper:{serializedName:"subscriptionId",required:!0,type:{name:"String"}}},resourceGroupName={parameterPath:"resourceGroupName",mapper:{constraints:{Pattern:new RegExp("^[-\\w\\._\\(\\)]+$"),MaxLength:90,MinLength:1},serializedName:"resourceGroupName",required:!0,type:{name:"String"}}},apiVersion={parameterPath:"apiVersion",mapper:{defaultValue:"2015-11-01-preview",isConstant:!0,serializedName:"api-version",type:{name:"String"}}},solutionName={parameterPath:"solutionName",mapper:{serializedName:"solutionName",required:!0,type:{name:"String"}}},parameters1={parameterPath:"parameters",mapper:SolutionPatch},parameters2={parameterPath:"parameters",mapper:ManagementAssociation},providerName={parameterPath:"providerName",mapper:{serializedName:"providerName",required:!0,type:{name:"String"}}},resourceType={parameterPath:"resourceType",mapper:{serializedName:"resourceType",required:!0,type:{name:"String"}}},resourceName={parameterPath:"resourceName",mapper:{serializedName:"resourceName",required:!0,type:{name:"String"}}},managementAssociationName={parameterPath:"managementAssociationName",mapper:{serializedName:"managementAssociationName",required:!0,type:{name:"String"}}},parameters3={parameterPath:"parameters",mapper:ManagementConfiguration},managementConfigurationName={parameterPath:"managementConfigurationName",mapper:{serializedName:"managementConfigurationName",required:!0,type:{name:"String"}}};class LroImpl{constructor(e,r,a,t=a.path,i=a.httpMethod){this.sendOperationFn=e,this.args=r,this.spec=a,this.requestPath=t,this.requestMethod=i}sendInitialRequest(){return tslib.__awaiter(this,void 0,void 0,function*(){return this.sendOperationFn(this.args,this.spec)})}sendPollRequest(r){return tslib.__awaiter(this,void 0,void 0,function*(){var e=this.spec,e=tslib.__rest(e,["requestBody"]);return this.sendOperationFn(this.args,Object.assign(Object.assign({},e),{path:r,httpMethod:"GET"}))})}}class SolutionsImpl{constructor(e){this.client=e}beginCreateOrUpdate(a,t,i,o){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,r)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,r)});var e=new LroImpl((r,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let a=void 0;const t=null==(e=r.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},r),{options:Object.assign(Object.assign({},r.options),{onResponse:(e,r)=>{a=e,null!==t&&void 0!==t&&t(e,r)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:a.status,body:a.parsedBody,headers:a.headers.toJSON()}}}),{resourceGroupName:a,solutionName:t,parameters:i,options:o},createOrUpdateOperationSpec$2);const r=new coreLro.LroEngine(e,{resumeFrom:null==o?void 0:o.resumeFrom,intervalInMs:null==o?void 0:o.updateIntervalInMs});return yield r.poll(),r})}beginCreateOrUpdateAndWait(r,a,t,i){return tslib.__awaiter(this,void 0,void 0,function*(){const e=yield this.beginCreateOrUpdate(r,a,t,i);return e.pollUntilDone()})}beginUpdate(a,t,i,o){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,r)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,r)});var e=new LroImpl((r,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let a=void 0;const t=null==(e=r.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},r),{options:Object.assign(Object.assign({},r.options),{onResponse:(e,r)=>{a=e,null!==t&&void 0!==t&&t(e,r)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:a.status,body:a.parsedBody,headers:a.headers.toJSON()}}}),{resourceGroupName:a,solutionName:t,parameters:i,options:o},updateOperationSpec);const r=new coreLro.LroEngine(e,{resumeFrom:null==o?void 0:o.resumeFrom,intervalInMs:null==o?void 0:o.updateIntervalInMs});return yield r.poll(),r})}beginUpdateAndWait(r,a,t,i){return tslib.__awaiter(this,void 0,void 0,function*(){const e=yield this.beginUpdate(r,a,t,i);return e.pollUntilDone()})}beginDelete(a,t,i){return tslib.__awaiter(this,void 0,void 0,function*(){const s=(e,r)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,r)});var e=new LroImpl((r,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let a=void 0;const t=null==(e=r.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},r),{options:Object.assign(Object.assign({},r.options),{onResponse:(e,r)=>{a=e,null!==t&&void 0!==t&&t(e,r)}})});return{flatResponse:yield s(e,i),rawResponse:{statusCode:a.status,body:a.parsedBody,headers:a.headers.toJSON()}}}),{resourceGroupName:a,solutionName:t,options:i},deleteOperationSpec$2);const r=new coreLro.LroEngine(e,{resumeFrom:null==i?void 0:i.resumeFrom,intervalInMs:null==i?void 0:i.updateIntervalInMs});return yield r.poll(),r})}beginDeleteAndWait(r,a,t){return tslib.__awaiter(this,void 0,void 0,function*(){const e=yield this.beginDelete(r,a,t);return e.pollUntilDone()})}get(e,r,a){return this.client.sendOperationRequest({resourceGroupName:e,solutionName:r,options:a},getOperationSpec$2)}listByResourceGroup(e,r){return this.client.sendOperationRequest({resourceGroupName:e,options:r},listByResourceGroupOperationSpec)}listBySubscription(e){return this.client.sendOperationRequest({options:e},listBySubscriptionOperationSpec$2)}}const serializer$3=coreClient__namespace.createSerializer(Mappers,!1),createOrUpdateOperationSpec$2={path:"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/solutions/{solutionName}",httpMethod:"PUT",responses:{200:{bodyMapper:Solution},201:{bodyMapper:Solution},202:{bodyMapper:Solution},204:{bodyMapper:Solution},default:{bodyMapper:CodeMessageError}},requestBody:parameters,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,solutionName],headerParameters:[contentType,accept],mediaType:"json",serializer:serializer$3},updateOperationSpec={path:"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/solutions/{solutionName}",httpMethod:"PATCH",responses:{200:{bodyMapper:Solution},201:{bodyMapper:Solution},202:{bodyMapper:Solution},204:{bodyMapper:Solution},default:{bodyMapper:CodeMessageError}},requestBody:parameters1,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,solutionName],headerParameters:[contentType,accept],mediaType:"json",serializer:serializer$3},deleteOperationSpec$2={path:"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/solutions/{solutionName}",httpMethod:"DELETE",responses:{200:{},201:{},202:{},204:{},default:{bodyMapper:CodeMessageError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,solutionName],headerParameters:[accept],serializer:serializer$3},getOperationSpec$2={path:"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/solutions/{solutionName}",httpMethod:"GET",responses:{200:{bodyMapper:Solution},default:{bodyMapper:CodeMessageError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,solutionName],headerParameters:[accept],serializer:serializer$3},listByResourceGroupOperationSpec={path:"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/solutions",httpMethod:"GET",responses:{200:{bodyMapper:SolutionPropertiesList},default:{bodyMapper:CodeMessageError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName],headerParameters:[accept],serializer:serializer$3},listBySubscriptionOperationSpec$2={path:"/subscriptions/{subscriptionId}/providers/Microsoft.OperationsManagement/solutions",httpMethod:"GET",responses:{200:{bodyMapper:SolutionPropertiesList},default:{bodyMapper:CodeMessageError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer$3};class ManagementAssociationsImpl{constructor(e){this.client=e}listBySubscription(e){return this.client.sendOperationRequest({options:e},listBySubscriptionOperationSpec$1)}createOrUpdate(e,r,a,t,i,s,o){return this.client.sendOperationRequest({resourceGroupName:e,providerName:r,resourceType:a,resourceName:t,managementAssociationName:i,parameters:s,options:o},createOrUpdateOperationSpec$1)}delete(e,r,a,t,i,s){return this.client.sendOperationRequest({resourceGroupName:e,providerName:r,resourceType:a,resourceName:t,managementAssociationName:i,options:s},deleteOperationSpec$1)}get(e,r,a,t,i,s){return this.client.sendOperationRequest({resourceGroupName:e,providerName:r,resourceType:a,resourceName:t,managementAssociationName:i,options:s},getOperationSpec$1)}}const serializer$2=coreClient__namespace.createSerializer(Mappers,!1),listBySubscriptionOperationSpec$1={path:"/subscriptions/{subscriptionId}/providers/Microsoft.OperationsManagement/ManagementAssociations",httpMethod:"GET",responses:{200:{bodyMapper:ManagementAssociationPropertiesList},default:{bodyMapper:CodeMessageError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer$2},createOrUpdateOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.OperationsManagement/ManagementAssociations/{managementAssociationName}",httpMethod:"PUT",responses:{200:{bodyMapper:ManagementAssociation},default:{bodyMapper:CodeMessageError}},requestBody:parameters2,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,providerName,resourceType,resourceName,managementAssociationName],headerParameters:[contentType,accept],mediaType:"json",serializer:serializer$2},deleteOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.OperationsManagement/ManagementAssociations/{managementAssociationName}",httpMethod:"DELETE",responses:{200:{},default:{bodyMapper:CodeMessageError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,providerName,resourceType,resourceName,managementAssociationName],headerParameters:[accept],serializer:serializer$2},getOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.OperationsManagement/ManagementAssociations/{managementAssociationName}",httpMethod:"GET",responses:{200:{bodyMapper:ManagementAssociation},default:{bodyMapper:CodeMessageError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,providerName,resourceType,resourceName,managementAssociationName],headerParameters:[accept],serializer:serializer$2};class ManagementConfigurationsImpl{constructor(e){this.client=e}listBySubscription(e){return this.client.sendOperationRequest({options:e},listBySubscriptionOperationSpec)}createOrUpdate(e,r,a,t){return this.client.sendOperationRequest({resourceGroupName:e,managementConfigurationName:r,parameters:a,options:t},createOrUpdateOperationSpec)}delete(e,r,a){return this.client.sendOperationRequest({resourceGroupName:e,managementConfigurationName:r,options:a},deleteOperationSpec)}get(e,r,a){return this.client.sendOperationRequest({resourceGroupName:e,managementConfigurationName:r,options:a},getOperationSpec)}}const serializer$1=coreClient__namespace.createSerializer(Mappers,!1),listBySubscriptionOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.OperationsManagement/ManagementConfigurations",httpMethod:"GET",responses:{200:{bodyMapper:ManagementConfigurationPropertiesList},default:{bodyMapper:CodeMessageError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer$1},createOrUpdateOperationSpec={path:"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/ManagementConfigurations/{managementConfigurationName}",httpMethod:"PUT",responses:{200:{bodyMapper:ManagementConfiguration},default:{bodyMapper:CodeMessageError}},requestBody:parameters3,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,managementConfigurationName],headerParameters:[contentType,accept],mediaType:"json",serializer:serializer$1},deleteOperationSpec={path:"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/ManagementConfigurations/{managementConfigurationName}",httpMethod:"DELETE",responses:{200:{},default:{bodyMapper:CodeMessageError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,managementConfigurationName],headerParameters:[accept],serializer:serializer$1},getOperationSpec={path:"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/ManagementConfigurations/{managementConfigurationName}",httpMethod:"GET",responses:{200:{bodyMapper:ManagementConfiguration},default:{bodyMapper:CodeMessageError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,managementConfigurationName],headerParameters:[accept],serializer:serializer$1};class OperationsImpl{constructor(e){this.client=e}list(e){const r=this.listPagingAll(e);return{next(){return r.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e)}}listPagingPage(r){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(r));yield yield tslib.__await(e.value||[])})}listPagingAll(s){return tslib.__asyncGenerator(this,arguments,function*(){var r,e;try{for(var a,t=tslib.__asyncValues(this.listPagingPage(s));!(a=yield tslib.__await(t.next())).done;){var i=a.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){r={error:e}}finally{try{a&&!a.done&&(e=t.return)&&(yield tslib.__await(e.call(t)))}finally{if(r)throw r.error}}})}_list(e){return this.client.sendOperationRequest({options:e},listOperationSpec)}}const serializer=coreClient__namespace.createSerializer(Mappers,!1),listOperationSpec={path:"/providers/Microsoft.OperationsManagement/operations",httpMethod:"GET",responses:{200:{bodyMapper:OperationListResult}},queryParameters:[apiVersion],urlParameters:[$host],headerParameters:[accept],serializer:serializer};class OperationsManagementClient extends coreClient__namespace.ServiceClient{constructor(e,r,a){if(void 0===e)throw new Error("'credentials' cannot be null");if(void 0===r)throw new Error("'subscriptionId' cannot be null");var e={requestContentType:"application/json; charset=utf-8",credential:e},t="azsdk-js-arm-operations/4.0.0-beta.3",t=(a=a||{}).userAgentOptions&&a.userAgentOptions.userAgentPrefix?a.userAgentOptions.userAgentPrefix+" "+t:t,e=(a.credentialScopes||(a.credentialScopes=["https://management.azure.com/.default"]),Object.assign(Object.assign(Object.assign({},e),a),{userAgentOptions:{userAgentPrefix:t},baseUri:null!=(t=null!=(e=a.endpoint)?e:a.baseUri)?t:"https://management.azure.com"}));if(super(e),null!=a&&a.pipeline&&0<a.pipeline.getOrderedPolicies().length){const i=a.pipeline.getOrderedPolicies();i.some(e=>e.name===coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName)||(this.pipeline.removePolicy({name:coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName}),this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({scopes:e.baseUri+"/.default",challengeCallbacks:{authorizeRequestOnChallenge:coreClient__namespace.authorizeRequestOnClaimChallenge}})))}this.subscriptionId=r,this.$host=a.$host||"https://management.azure.com",this.apiVersion=a.apiVersion||"2015-11-01-preview",this.solutions=new SolutionsImpl(this),this.managementAssociations=new ManagementAssociationsImpl(this),this.managementConfigurations=new ManagementConfigurationsImpl(this),this.operations=new OperationsImpl(this)}}exports.OperationsManagementClient=OperationsManagementClient;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var tslib=require("tslib"),coreClient=require("@azure/core-client"),coreRestPipeline=require("@azure/core-rest-pipeline"),coreLro=require("@azure/core-lro");function _interopNamespace(t){var a;return t&&t.__esModule?t:(a=Object.create(null),t&&Object.keys(t).forEach(function(e){var r;"default"!==e&&(r=Object.getOwnPropertyDescriptor(t,e),Object.defineProperty(a,e,r.get?r:{enumerable:!0,get:function(){return t[e]}}))}),a.default=t,Object.freeze(a))}var coreClient__namespace=_interopNamespace(coreClient),coreRestPipeline__namespace=_interopNamespace(coreRestPipeline);const pageMap=new WeakMap;function getContinuationToken(e){return"object"!=typeof e||null===e||null==(e=pageMap.get(e))?void 0:e.continuationToken}const Solution={type:{name:"Composite",className:"Solution",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},type:{serializedName:"type",readOnly:!0,type:{name:"String"}},location:{serializedName:"location",type:{name:"String"}},tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}},plan:{serializedName:"plan",type:{name:"Composite",className:"SolutionPlan"}},properties:{serializedName:"properties",type:{name:"Composite",className:"SolutionProperties"}}}}},SolutionPlan={type:{name:"Composite",className:"SolutionPlan",modelProperties:{name:{serializedName:"name",type:{name:"String"}},publisher:{serializedName:"publisher",type:{name:"String"}},promotionCode:{serializedName:"promotionCode",type:{name:"String"}},product:{serializedName:"product",type:{name:"String"}}}}},SolutionProperties={type:{name:"Composite",className:"SolutionProperties",modelProperties:{workspaceResourceId:{serializedName:"workspaceResourceId",required:!0,type:{name:"String"}},provisioningState:{serializedName:"provisioningState",readOnly:!0,type:{name:"String"}},containedResources:{serializedName:"containedResources",type:{name:"Sequence",element:{type:{name:"String"}}}},referencedResources:{serializedName:"referencedResources",type:{name:"Sequence",element:{type:{name:"String"}}}}}}},CodeMessageError={type:{name:"Composite",className:"CodeMessageError",modelProperties:{error:{serializedName:"error",type:{name:"Composite",className:"CodeMessageErrorError"}}}}},CodeMessageErrorError={type:{name:"Composite",className:"CodeMessageErrorError",modelProperties:{code:{serializedName:"code",type:{name:"String"}},message:{serializedName:"message",type:{name:"String"}}}}},SolutionPatch={type:{name:"Composite",className:"SolutionPatch",modelProperties:{tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},SolutionPropertiesList={type:{name:"Composite",className:"SolutionPropertiesList",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"Solution"}}}}}}},ManagementAssociationPropertiesList={type:{name:"Composite",className:"ManagementAssociationPropertiesList",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"ManagementAssociation"}}}}}}},ManagementAssociation={type:{name:"Composite",className:"ManagementAssociation",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},type:{serializedName:"type",readOnly:!0,type:{name:"String"}},location:{serializedName:"location",type:{name:"String"}},properties:{serializedName:"properties",type:{name:"Composite",className:"ManagementAssociationProperties"}}}}},ManagementAssociationProperties={type:{name:"Composite",className:"ManagementAssociationProperties",modelProperties:{applicationId:{serializedName:"applicationId",required:!0,type:{name:"String"}}}}},ManagementConfigurationPropertiesList={type:{name:"Composite",className:"ManagementConfigurationPropertiesList",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"ManagementConfiguration"}}}}}}},ManagementConfiguration={type:{name:"Composite",className:"ManagementConfiguration",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},type:{serializedName:"type",readOnly:!0,type:{name:"String"}},location:{serializedName:"location",type:{name:"String"}},properties:{serializedName:"properties",type:{name:"Composite",className:"ManagementConfigurationProperties"}}}}},ManagementConfigurationProperties={type:{name:"Composite",className:"ManagementConfigurationProperties",modelProperties:{applicationId:{serializedName:"applicationId",type:{name:"String"}},parentResourceType:{serializedName:"parentResourceType",required:!0,type:{name:"String"}},parameters:{serializedName:"parameters",required:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ArmTemplateParameter"}}}},provisioningState:{serializedName:"provisioningState",readOnly:!0,type:{name:"String"}},template:{serializedName:"template",required:!0,type:{name:"Dictionary",value:{type:{name:"any"}}}}}}},ArmTemplateParameter={type:{name:"Composite",className:"ArmTemplateParameter",modelProperties:{name:{serializedName:"name",type:{name:"String"}},value:{serializedName:"value",type:{name:"String"}}}}},OperationListResult={type:{name:"Composite",className:"OperationListResult",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"Operation"}}}}}}},Operation={type:{name:"Composite",className:"Operation",modelProperties:{name:{serializedName:"name",type:{name:"String"}},display:{serializedName:"display",type:{name:"Composite",className:"OperationDisplay"}}}}},OperationDisplay={type:{name:"Composite",className:"OperationDisplay",modelProperties:{provider:{serializedName:"provider",type:{name:"String"}},resource:{serializedName:"resource",type:{name:"String"}},operation:{serializedName:"operation",type:{name:"String"}}}}};var Mappers=Object.freeze({__proto__:null,Solution:Solution,SolutionPlan:SolutionPlan,SolutionProperties:SolutionProperties,CodeMessageError:CodeMessageError,CodeMessageErrorError:CodeMessageErrorError,SolutionPatch:SolutionPatch,SolutionPropertiesList:SolutionPropertiesList,ManagementAssociationPropertiesList:ManagementAssociationPropertiesList,ManagementAssociation:ManagementAssociation,ManagementAssociationProperties:ManagementAssociationProperties,ManagementConfigurationPropertiesList:ManagementConfigurationPropertiesList,ManagementConfiguration:ManagementConfiguration,ManagementConfigurationProperties:ManagementConfigurationProperties,ArmTemplateParameter:ArmTemplateParameter,OperationListResult:OperationListResult,Operation:Operation,OperationDisplay:OperationDisplay});const contentType={parameterPath:["options","contentType"],mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},parameters={parameterPath:"parameters",mapper:Solution},accept={parameterPath:"accept",mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},$host={parameterPath:"$host",mapper:{serializedName:"$host",required:!0,type:{name:"String"}},skipEncoding:!0},subscriptionId={parameterPath:"subscriptionId",mapper:{serializedName:"subscriptionId",required:!0,type:{name:"String"}}},resourceGroupName={parameterPath:"resourceGroupName",mapper:{constraints:{Pattern:new RegExp("^[-\\w\\._\\(\\)]+$"),MaxLength:90,MinLength:1},serializedName:"resourceGroupName",required:!0,type:{name:"String"}}},apiVersion={parameterPath:"apiVersion",mapper:{defaultValue:"2015-11-01-preview",isConstant:!0,serializedName:"api-version",type:{name:"String"}}},solutionName={parameterPath:"solutionName",mapper:{serializedName:"solutionName",required:!0,type:{name:"String"}}},parameters1={parameterPath:"parameters",mapper:SolutionPatch},parameters2={parameterPath:"parameters",mapper:ManagementAssociation},providerName={parameterPath:"providerName",mapper:{serializedName:"providerName",required:!0,type:{name:"String"}}},resourceType={parameterPath:"resourceType",mapper:{serializedName:"resourceType",required:!0,type:{name:"String"}}},resourceName={parameterPath:"resourceName",mapper:{serializedName:"resourceName",required:!0,type:{name:"String"}}},managementAssociationName={parameterPath:"managementAssociationName",mapper:{serializedName:"managementAssociationName",required:!0,type:{name:"String"}}},parameters3={parameterPath:"parameters",mapper:ManagementConfiguration},managementConfigurationName={parameterPath:"managementConfigurationName",mapper:{serializedName:"managementConfigurationName",required:!0,type:{name:"String"}}};class LroImpl{constructor(e,r,t,a=t.path,i=t.httpMethod){this.sendOperationFn=e,this.args=r,this.spec=t,this.requestPath=a,this.requestMethod=i}sendInitialRequest(){return tslib.__awaiter(this,void 0,void 0,function*(){return this.sendOperationFn(this.args,this.spec)})}sendPollRequest(r){return tslib.__awaiter(this,void 0,void 0,function*(){var e=this.spec,e=tslib.__rest(e,["requestBody"]);return this.sendOperationFn(this.args,Object.assign(Object.assign({},e),{path:r,httpMethod:"GET"}))})}}class SolutionsImpl{constructor(e){this.client=e}beginCreateOrUpdate(r,t,a,i){return tslib.__awaiter(this,void 0,void 0,function*(){const o=(e,r)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,r)});var e=new LroImpl((r,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const a=null==(e=r.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},r),{options:Object.assign(Object.assign({},r.options),{onResponse:(e,r)=>{t=e,null!==a&&void 0!==a&&a(e,r)}})});return{flatResponse:yield o(e,i),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{resourceGroupName:r,solutionName:t,parameters:a,options:i},createOrUpdateOperationSpec$2),e=new coreLro.LroEngine(e,{resumeFrom:null==i?void 0:i.resumeFrom,intervalInMs:null==i?void 0:i.updateIntervalInMs});return yield e.poll(),e})}beginCreateOrUpdateAndWait(e,r,t,a){return tslib.__awaiter(this,void 0,void 0,function*(){return(yield this.beginCreateOrUpdate(e,r,t,a)).pollUntilDone()})}beginUpdate(r,t,a,i){return tslib.__awaiter(this,void 0,void 0,function*(){const o=(e,r)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,r)});var e=new LroImpl((r,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const a=null==(e=r.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},r),{options:Object.assign(Object.assign({},r.options),{onResponse:(e,r)=>{t=e,null!==a&&void 0!==a&&a(e,r)}})});return{flatResponse:yield o(e,i),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{resourceGroupName:r,solutionName:t,parameters:a,options:i},updateOperationSpec),e=new coreLro.LroEngine(e,{resumeFrom:null==i?void 0:i.resumeFrom,intervalInMs:null==i?void 0:i.updateIntervalInMs});return yield e.poll(),e})}beginUpdateAndWait(e,r,t,a){return tslib.__awaiter(this,void 0,void 0,function*(){return(yield this.beginUpdate(e,r,t,a)).pollUntilDone()})}beginDelete(r,t,a){return tslib.__awaiter(this,void 0,void 0,function*(){const o=(e,r)=>tslib.__awaiter(this,void 0,void 0,function*(){return this.client.sendOperationRequest(e,r)});var e=new LroImpl((r,i)=>tslib.__awaiter(this,void 0,void 0,function*(){let t=void 0;const a=null==(e=r.options)?void 0:e.onResponse;var e=Object.assign(Object.assign({},r),{options:Object.assign(Object.assign({},r.options),{onResponse:(e,r)=>{t=e,null!==a&&void 0!==a&&a(e,r)}})});return{flatResponse:yield o(e,i),rawResponse:{statusCode:t.status,body:t.parsedBody,headers:t.headers.toJSON()}}}),{resourceGroupName:r,solutionName:t,options:a},deleteOperationSpec$2),e=new coreLro.LroEngine(e,{resumeFrom:null==a?void 0:a.resumeFrom,intervalInMs:null==a?void 0:a.updateIntervalInMs});return yield e.poll(),e})}beginDeleteAndWait(e,r,t){return tslib.__awaiter(this,void 0,void 0,function*(){return(yield this.beginDelete(e,r,t)).pollUntilDone()})}get(e,r,t){return this.client.sendOperationRequest({resourceGroupName:e,solutionName:r,options:t},getOperationSpec$2)}listByResourceGroup(e,r){return this.client.sendOperationRequest({resourceGroupName:e,options:r},listByResourceGroupOperationSpec)}listBySubscription(e){return this.client.sendOperationRequest({options:e},listBySubscriptionOperationSpec$2)}}const serializer$3=coreClient__namespace.createSerializer(Mappers,!1),createOrUpdateOperationSpec$2={path:"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/solutions/{solutionName}",httpMethod:"PUT",responses:{200:{bodyMapper:Solution},201:{bodyMapper:Solution},202:{bodyMapper:Solution},204:{bodyMapper:Solution},default:{bodyMapper:CodeMessageError}},requestBody:parameters,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,solutionName],headerParameters:[contentType,accept],mediaType:"json",serializer:serializer$3},updateOperationSpec={path:"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/solutions/{solutionName}",httpMethod:"PATCH",responses:{200:{bodyMapper:Solution},201:{bodyMapper:Solution},202:{bodyMapper:Solution},204:{bodyMapper:Solution},default:{bodyMapper:CodeMessageError}},requestBody:parameters1,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,solutionName],headerParameters:[contentType,accept],mediaType:"json",serializer:serializer$3},deleteOperationSpec$2={path:"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/solutions/{solutionName}",httpMethod:"DELETE",responses:{200:{},201:{},202:{},204:{},default:{bodyMapper:CodeMessageError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,solutionName],headerParameters:[accept],serializer:serializer$3},getOperationSpec$2={path:"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/solutions/{solutionName}",httpMethod:"GET",responses:{200:{bodyMapper:Solution},default:{bodyMapper:CodeMessageError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,solutionName],headerParameters:[accept],serializer:serializer$3},listByResourceGroupOperationSpec={path:"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/solutions",httpMethod:"GET",responses:{200:{bodyMapper:SolutionPropertiesList},default:{bodyMapper:CodeMessageError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName],headerParameters:[accept],serializer:serializer$3},listBySubscriptionOperationSpec$2={path:"/subscriptions/{subscriptionId}/providers/Microsoft.OperationsManagement/solutions",httpMethod:"GET",responses:{200:{bodyMapper:SolutionPropertiesList},default:{bodyMapper:CodeMessageError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer$3};class ManagementAssociationsImpl{constructor(e){this.client=e}listBySubscription(e){return this.client.sendOperationRequest({options:e},listBySubscriptionOperationSpec$1)}createOrUpdate(e,r,t,a,i,o,s){return this.client.sendOperationRequest({resourceGroupName:e,providerName:r,resourceType:t,resourceName:a,managementAssociationName:i,parameters:o,options:s},createOrUpdateOperationSpec$1)}delete(e,r,t,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,providerName:r,resourceType:t,resourceName:a,managementAssociationName:i,options:o},deleteOperationSpec$1)}get(e,r,t,a,i,o){return this.client.sendOperationRequest({resourceGroupName:e,providerName:r,resourceType:t,resourceName:a,managementAssociationName:i,options:o},getOperationSpec$1)}}const serializer$2=coreClient__namespace.createSerializer(Mappers,!1),listBySubscriptionOperationSpec$1={path:"/subscriptions/{subscriptionId}/providers/Microsoft.OperationsManagement/ManagementAssociations",httpMethod:"GET",responses:{200:{bodyMapper:ManagementAssociationPropertiesList},default:{bodyMapper:CodeMessageError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer$2},createOrUpdateOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.OperationsManagement/ManagementAssociations/{managementAssociationName}",httpMethod:"PUT",responses:{200:{bodyMapper:ManagementAssociation},default:{bodyMapper:CodeMessageError}},requestBody:parameters2,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,providerName,resourceType,resourceName,managementAssociationName],headerParameters:[contentType,accept],mediaType:"json",serializer:serializer$2},deleteOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.OperationsManagement/ManagementAssociations/{managementAssociationName}",httpMethod:"DELETE",responses:{200:{},default:{bodyMapper:CodeMessageError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,providerName,resourceType,resourceName,managementAssociationName],headerParameters:[accept],serializer:serializer$2},getOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.OperationsManagement/ManagementAssociations/{managementAssociationName}",httpMethod:"GET",responses:{200:{bodyMapper:ManagementAssociation},default:{bodyMapper:CodeMessageError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,providerName,resourceType,resourceName,managementAssociationName],headerParameters:[accept],serializer:serializer$2};class ManagementConfigurationsImpl{constructor(e){this.client=e}listBySubscription(e){return this.client.sendOperationRequest({options:e},listBySubscriptionOperationSpec)}createOrUpdate(e,r,t,a){return this.client.sendOperationRequest({resourceGroupName:e,managementConfigurationName:r,parameters:t,options:a},createOrUpdateOperationSpec)}delete(e,r,t){return this.client.sendOperationRequest({resourceGroupName:e,managementConfigurationName:r,options:t},deleteOperationSpec)}get(e,r,t){return this.client.sendOperationRequest({resourceGroupName:e,managementConfigurationName:r,options:t},getOperationSpec)}}const serializer$1=coreClient__namespace.createSerializer(Mappers,!1),listBySubscriptionOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.OperationsManagement/ManagementConfigurations",httpMethod:"GET",responses:{200:{bodyMapper:ManagementConfigurationPropertiesList},default:{bodyMapper:CodeMessageError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer$1},createOrUpdateOperationSpec={path:"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/ManagementConfigurations/{managementConfigurationName}",httpMethod:"PUT",responses:{200:{bodyMapper:ManagementConfiguration},default:{bodyMapper:CodeMessageError}},requestBody:parameters3,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,managementConfigurationName],headerParameters:[contentType,accept],mediaType:"json",serializer:serializer$1},deleteOperationSpec={path:"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/ManagementConfigurations/{managementConfigurationName}",httpMethod:"DELETE",responses:{200:{},default:{bodyMapper:CodeMessageError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,managementConfigurationName],headerParameters:[accept],serializer:serializer$1},getOperationSpec={path:"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/ManagementConfigurations/{managementConfigurationName}",httpMethod:"GET",responses:{200:{bodyMapper:ManagementConfiguration},default:{bodyMapper:CodeMessageError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,managementConfigurationName],headerParameters:[accept],serializer:serializer$1};class OperationsImpl{constructor(e){this.client=e}list(r){const e=this.listPagingAll(r);return{next(){return e.next()},[Symbol.asyncIterator](){return this},byPage:e=>{if(null!=e&&e.maxPageSize)throw new Error("maxPageSize is not supported by this operation.");return this.listPagingPage(r,e)}}}listPagingPage(r,e){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(r));yield yield tslib.__await(e.value||[])})}listPagingAll(o){return tslib.__asyncGenerator(this,arguments,function*(){var r,e;try{for(var t,a=tslib.__asyncValues(this.listPagingPage(o));!(t=yield tslib.__await(a.next())).done;){var i=t.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(i)))}}catch(e){r={error:e}}finally{try{t&&!t.done&&(e=a.return)&&(yield tslib.__await(e.call(a)))}finally{if(r)throw r.error}}})}_list(e){return this.client.sendOperationRequest({options:e},listOperationSpec)}}const serializer=coreClient__namespace.createSerializer(Mappers,!1),listOperationSpec={path:"/providers/Microsoft.OperationsManagement/operations",httpMethod:"GET",responses:{200:{bodyMapper:OperationListResult}},queryParameters:[apiVersion],urlParameters:[$host],headerParameters:[accept],serializer:serializer};class OperationsManagementClient extends coreClient__namespace.ServiceClient{constructor(e,r,t){if(void 0===e)throw new Error("'credentials' cannot be null");if(void 0===r)throw new Error("'subscriptionId' cannot be null");var a,i="azsdk-js-arm-operations/4.0.0-beta.4",i=(t=t||{}).userAgentOptions&&t.userAgentOptions.userAgentPrefix?t.userAgentOptions.userAgentPrefix+" "+i:i,i=Object.assign(Object.assign(Object.assign({},{requestContentType:"application/json; charset=utf-8",credential:e}),t),{userAgentOptions:{userAgentPrefix:i},endpoint:null!=(i=null!=(i=t.endpoint)?i:t.baseUri)?i:"https://management.azure.com"});super(i);let o=!1;null!=t&&t.pipeline&&0<t.pipeline.getOrderedPolicies().length&&(a=t.pipeline.getOrderedPolicies(),o=a.some(e=>e.name===coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName)),t&&t.pipeline&&0!=t.pipeline.getOrderedPolicies().length&&o||(this.pipeline.removePolicy({name:coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName}),this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({credential:e,scopes:null!=(a=i.credentialScopes)?a:i.endpoint+"/.default",challengeCallbacks:{authorizeRequestOnChallenge:coreClient__namespace.authorizeRequestOnClaimChallenge}}))),this.subscriptionId=r,this.$host=t.$host||"https://management.azure.com",this.apiVersion=t.apiVersion||"2015-11-01-preview",this.solutions=new SolutionsImpl(this),this.managementAssociations=new ManagementAssociationsImpl(this),this.managementConfigurations=new ManagementConfigurationsImpl(this),this.operations=new OperationsImpl(this),this.addCustomApiVersionPolicy(t.apiVersion)}addCustomApiVersionPolicy(i){i&&this.pipeline.addPolicy({name:"CustomApiVersionPolicy",sendRequest(t,a){return tslib.__awaiter(this,void 0,void 0,function*(){var e,r=t.url.split("?");return 1<r.length&&(e=r[1].split("&").map(e=>-1<e.indexOf("api-version")?"api-version="+i:e),t.url=r[0]+"?"+e.join("&")),a(t)})}})}}exports.OperationsManagementClient=OperationsManagementClient,exports.getContinuationToken=getContinuationToken;