@azure/arm-batch 10.0.1-alpha.20250718.1 → 10.0.1-alpha.20250721.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/batchManagementClient.js +23 -5
- package/dist/browser/batchManagementClient.js.map +1 -1
- package/dist/browser/lroImpl.js +7 -3
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/mappers.js +218 -102
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/operations/applicationOperations.js +23 -40
- package/dist/browser/operations/applicationOperations.js.map +1 -1
- package/dist/browser/operations/applicationPackageOperations.js +23 -40
- package/dist/browser/operations/applicationPackageOperations.js.map +1 -1
- package/dist/browser/operations/batchAccountOperations.js +111 -169
- package/dist/browser/operations/batchAccountOperations.js.map +1 -1
- package/dist/browser/operations/certificateOperations.js +34 -46
- package/dist/browser/operations/certificateOperations.js.map +1 -1
- package/dist/browser/operations/location.js +23 -40
- package/dist/browser/operations/location.js.map +1 -1
- package/dist/browser/operations/networkSecurityPerimeterOperations.js +34 -46
- package/dist/browser/operations/networkSecurityPerimeterOperations.js.map +1 -1
- package/dist/browser/operations/operations.js +23 -40
- package/dist/browser/operations/operations.js.map +1 -1
- package/dist/browser/operations/poolOperations.js +34 -46
- package/dist/browser/operations/poolOperations.js.map +1 -1
- package/dist/browser/operations/privateEndpointConnectionOperations.js +45 -52
- package/dist/browser/operations/privateEndpointConnectionOperations.js.map +1 -1
- package/dist/browser/operations/privateLinkResourceOperations.js +23 -40
- package/dist/browser/operations/privateLinkResourceOperations.js.map +1 -1
- package/dist/browser/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/commonjs/batchManagementClient.js +23 -5
- package/dist/commonjs/batchManagementClient.js.map +1 -1
- package/dist/commonjs/lroImpl.js +7 -3
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/mappers.js +218 -102
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/operations/applicationOperations.js +23 -39
- package/dist/commonjs/operations/applicationOperations.js.map +1 -1
- package/dist/commonjs/operations/applicationPackageOperations.js +23 -39
- package/dist/commonjs/operations/applicationPackageOperations.js.map +1 -1
- package/dist/commonjs/operations/batchAccountOperations.js +111 -168
- package/dist/commonjs/operations/batchAccountOperations.js.map +1 -1
- package/dist/commonjs/operations/certificateOperations.js +34 -45
- package/dist/commonjs/operations/certificateOperations.js.map +1 -1
- package/dist/commonjs/operations/location.js +23 -39
- package/dist/commonjs/operations/location.js.map +1 -1
- package/dist/commonjs/operations/networkSecurityPerimeterOperations.js +34 -45
- package/dist/commonjs/operations/networkSecurityPerimeterOperations.js.map +1 -1
- package/dist/commonjs/operations/operations.js +23 -39
- package/dist/commonjs/operations/operations.js.map +1 -1
- package/dist/commonjs/operations/poolOperations.js +34 -45
- package/dist/commonjs/operations/poolOperations.js.map +1 -1
- package/dist/commonjs/operations/privateEndpointConnectionOperations.js +45 -51
- package/dist/commonjs/operations/privateEndpointConnectionOperations.js.map +1 -1
- package/dist/commonjs/operations/privateLinkResourceOperations.js +23 -39
- package/dist/commonjs/operations/privateLinkResourceOperations.js.map +1 -1
- package/dist/commonjs/pagingHelper.js +2 -4
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/esm/batchManagementClient.js +23 -5
- package/dist/esm/batchManagementClient.js.map +1 -1
- package/dist/esm/lroImpl.js +7 -3
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/mappers.js +218 -102
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/operations/applicationOperations.js +23 -40
- package/dist/esm/operations/applicationOperations.js.map +1 -1
- package/dist/esm/operations/applicationPackageOperations.js +23 -40
- package/dist/esm/operations/applicationPackageOperations.js.map +1 -1
- package/dist/esm/operations/batchAccountOperations.js +111 -169
- package/dist/esm/operations/batchAccountOperations.js.map +1 -1
- package/dist/esm/operations/certificateOperations.js +34 -46
- package/dist/esm/operations/certificateOperations.js.map +1 -1
- package/dist/esm/operations/location.js +23 -40
- package/dist/esm/operations/location.js.map +1 -1
- package/dist/esm/operations/networkSecurityPerimeterOperations.js +34 -46
- package/dist/esm/operations/networkSecurityPerimeterOperations.js.map +1 -1
- package/dist/esm/operations/operations.js +23 -40
- package/dist/esm/operations/operations.js.map +1 -1
- package/dist/esm/operations/poolOperations.js +34 -46
- package/dist/esm/operations/poolOperations.js.map +1 -1
- package/dist/esm/operations/privateEndpointConnectionOperations.js +45 -52
- package/dist/esm/operations/privateEndpointConnectionOperations.js.map +1 -1
- package/dist/esm/operations/privateLinkResourceOperations.js +23 -40
- package/dist/esm/operations/privateLinkResourceOperations.js.map +1 -1
- package/dist/esm/pagingHelper.js +2 -4
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/react-native/batchManagementClient.js +23 -5
- package/dist/react-native/batchManagementClient.js.map +1 -1
- package/dist/react-native/lroImpl.js +7 -3
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/mappers.js +218 -102
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/operations/applicationOperations.js +23 -40
- package/dist/react-native/operations/applicationOperations.js.map +1 -1
- package/dist/react-native/operations/applicationPackageOperations.js +23 -40
- package/dist/react-native/operations/applicationPackageOperations.js.map +1 -1
- package/dist/react-native/operations/batchAccountOperations.js +111 -169
- package/dist/react-native/operations/batchAccountOperations.js.map +1 -1
- package/dist/react-native/operations/certificateOperations.js +34 -46
- package/dist/react-native/operations/certificateOperations.js.map +1 -1
- package/dist/react-native/operations/location.js +23 -40
- package/dist/react-native/operations/location.js.map +1 -1
- package/dist/react-native/operations/networkSecurityPerimeterOperations.js +34 -46
- package/dist/react-native/operations/networkSecurityPerimeterOperations.js.map +1 -1
- package/dist/react-native/operations/operations.js +23 -40
- package/dist/react-native/operations/operations.js.map +1 -1
- package/dist/react-native/operations/poolOperations.js +34 -46
- package/dist/react-native/operations/poolOperations.js.map +1 -1
- package/dist/react-native/operations/privateEndpointConnectionOperations.js +45 -52
- package/dist/react-native/operations/privateEndpointConnectionOperations.js.map +1 -1
- package/dist/react-native/operations/privateLinkResourceOperations.js +23 -40
- package/dist/react-native/operations/privateLinkResourceOperations.js.map +1 -1
- package/dist/react-native/pagingHelper.js +2 -4
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"batchAccountOperations.js","sourceRoot":"","sources":["../../../src/operations/batchAccountOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAGL,gBAAgB,GACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAwC9C,4CAA4C;AAC5C,0DAA0D;AAC1D,MAAM,OAAO,0BAA0B;IAGrC;;;OAGG;IACH,YAAY,MAA6B;QACvC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAwC;QAExC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CA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AC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,8BAA8B,GAA6B;IAC/D,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,kBAAkB;SACvC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,yDAAyD,GAC/D;IACE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,qCAAqC;SAC1D;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { BatchAccountOperations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { BatchManagementClient } from \"../batchManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n BatchAccount,\n BatchAccountListNextOptionalParams,\n BatchAccountListOptionalParams,\n BatchAccountListResponse,\n BatchAccountListByResourceGroupNextOptionalParams,\n BatchAccountListByResourceGroupOptionalParams,\n BatchAccountListByResourceGroupResponse,\n DetectorResponse,\n BatchAccountListDetectorsNextOptionalParams,\n BatchAccountListDetectorsOptionalParams,\n BatchAccountListDetectorsResponse,\n OutboundEnvironmentEndpoint,\n BatchAccountListOutboundNetworkDependenciesEndpointsNextOptionalParams,\n BatchAccountListOutboundNetworkDependenciesEndpointsOptionalParams,\n BatchAccountListOutboundNetworkDependenciesEndpointsResponse,\n BatchAccountCreateParameters,\n BatchAccountCreateOptionalParams,\n BatchAccountCreateResponse,\n BatchAccountUpdateParameters,\n BatchAccountUpdateOptionalParams,\n BatchAccountUpdateResponse,\n BatchAccountDeleteOptionalParams,\n BatchAccountGetOptionalParams,\n BatchAccountGetResponse,\n BatchAccountSynchronizeAutoStorageKeysOptionalParams,\n BatchAccountRegenerateKeyParameters,\n BatchAccountRegenerateKeyOptionalParams,\n BatchAccountRegenerateKeyResponse,\n BatchAccountGetKeysOptionalParams,\n BatchAccountGetKeysResponse,\n BatchAccountGetDetectorOptionalParams,\n BatchAccountGetDetectorResponse,\n BatchAccountListNextResponse,\n BatchAccountListByResourceGroupNextResponse,\n BatchAccountListDetectorsNextResponse,\n BatchAccountListOutboundNetworkDependenciesEndpointsNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing BatchAccountOperations operations. */\nexport class BatchAccountOperationsImpl implements BatchAccountOperations {\n private readonly client: BatchManagementClient;\n\n /**\n * Initialize a new instance of the class BatchAccountOperations class.\n * @param client Reference to the service client\n */\n constructor(client: BatchManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets information about the Batch accounts associated with the subscription.\n * @param options The options parameters.\n */\n public list(\n options?: BatchAccountListOptionalParams,\n ): PagedAsyncIterableIterator<BatchAccount> {\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?: BatchAccountListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<BatchAccount[]> {\n let result: BatchAccountListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: BatchAccountListOptionalParams,\n ): AsyncIterableIterator<BatchAccount> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets information about the Batch accounts associated with the specified resource group.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: BatchAccountListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<BatchAccount> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: BatchAccountListByResourceGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<BatchAccount[]> {\n let result: BatchAccountListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: BatchAccountListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<BatchAccount> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets information about the detectors available for a given Batch account.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param options The options parameters.\n */\n public listDetectors(\n resourceGroupName: string,\n accountName: string,\n options?: BatchAccountListDetectorsOptionalParams,\n ): PagedAsyncIterableIterator<DetectorResponse> {\n const iter = this.listDetectorsPagingAll(\n resourceGroupName,\n accountName,\n options,\n );\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.listDetectorsPagingPage(\n resourceGroupName,\n accountName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listDetectorsPagingPage(\n resourceGroupName: string,\n accountName: string,\n options?: BatchAccountListDetectorsOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<DetectorResponse[]> {\n let result: BatchAccountListDetectorsResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listDetectors(\n resourceGroupName,\n accountName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listDetectorsNext(\n resourceGroupName,\n accountName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listDetectorsPagingAll(\n resourceGroupName: string,\n accountName: string,\n options?: BatchAccountListDetectorsOptionalParams,\n ): AsyncIterableIterator<DetectorResponse> {\n for await (const page of this.listDetectorsPagingPage(\n resourceGroupName,\n accountName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists the endpoints that a Batch Compute Node under this Batch Account may call as part of Batch\n * service administration. If you are deploying a Pool inside of a virtual network that you specify,\n * you must make sure your network allows outbound access to these endpoints. Failure to allow access\n * to these endpoints may cause Batch to mark the affected nodes as unusable. For more information\n * about creating a pool inside of a virtual network, see\n * https://docs.microsoft.com/azure/batch/batch-virtual-network.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param options The options parameters.\n */\n public listOutboundNetworkDependenciesEndpoints(\n resourceGroupName: string,\n accountName: string,\n options?: BatchAccountListOutboundNetworkDependenciesEndpointsOptionalParams,\n ): PagedAsyncIterableIterator<OutboundEnvironmentEndpoint> {\n const iter = this.listOutboundNetworkDependenciesEndpointsPagingAll(\n resourceGroupName,\n accountName,\n options,\n );\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.listOutboundNetworkDependenciesEndpointsPagingPage(\n resourceGroupName,\n accountName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listOutboundNetworkDependenciesEndpointsPagingPage(\n resourceGroupName: string,\n accountName: string,\n options?: BatchAccountListOutboundNetworkDependenciesEndpointsOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<OutboundEnvironmentEndpoint[]> {\n let result: BatchAccountListOutboundNetworkDependenciesEndpointsResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listOutboundNetworkDependenciesEndpoints(\n resourceGroupName,\n accountName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listOutboundNetworkDependenciesEndpointsNext(\n resourceGroupName,\n accountName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listOutboundNetworkDependenciesEndpointsPagingAll(\n resourceGroupName: string,\n accountName: string,\n options?: BatchAccountListOutboundNetworkDependenciesEndpointsOptionalParams,\n ): AsyncIterableIterator<OutboundEnvironmentEndpoint> {\n for await (const page of this.listOutboundNetworkDependenciesEndpointsPagingPage(\n resourceGroupName,\n accountName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Creates a new Batch account with the specified parameters. Existing accounts cannot be updated with\n * this API and should instead be updated with the Update Batch Account API.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName A name for the Batch account which must be unique within the region. Batch\n * account names must be between 3 and 24 characters in length and must use only numbers and lowercase\n * letters. This name is used as part of the DNS name that is used to access the Batch service in the\n * region in which the account is created. For example: http://accountname.region.batch.azure.com/.\n * @param parameters Additional parameters for account creation.\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n accountName: string,\n parameters: BatchAccountCreateParameters,\n options?: BatchAccountCreateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<BatchAccountCreateResponse>,\n BatchAccountCreateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<BatchAccountCreateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n 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 = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, accountName, parameters, options },\n spec: createOperationSpec,\n });\n const poller = await createHttpPoller<\n BatchAccountCreateResponse,\n OperationState<BatchAccountCreateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates a new Batch account with the specified parameters. Existing accounts cannot be updated with\n * this API and should instead be updated with the Update Batch Account API.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName A name for the Batch account which must be unique within the region. Batch\n * account names must be between 3 and 24 characters in length and must use only numbers and lowercase\n * letters. This name is used as part of the DNS name that is used to access the Batch service in the\n * region in which the account is created. For example: http://accountname.region.batch.azure.com/.\n * @param parameters Additional parameters for account creation.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n accountName: string,\n parameters: BatchAccountCreateParameters,\n options?: BatchAccountCreateOptionalParams,\n ): Promise<BatchAccountCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n accountName,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Updates the properties of an existing Batch account.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param parameters Additional parameters for account update.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n accountName: string,\n parameters: BatchAccountUpdateParameters,\n options?: BatchAccountUpdateOptionalParams,\n ): Promise<BatchAccountUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, parameters, options },\n updateOperationSpec,\n );\n }\n\n /**\n * Deletes the specified Batch account.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n accountName: string,\n options?: BatchAccountDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<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 sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n 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 = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, accountName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes the specified Batch account.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n accountName: string,\n options?: BatchAccountDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n accountName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Gets information about the specified Batch account.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n accountName: string,\n options?: BatchAccountGetOptionalParams,\n ): Promise<BatchAccountGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Gets information about the Batch accounts associated with the subscription.\n * @param options The options parameters.\n */\n private _list(\n options?: BatchAccountListOptionalParams,\n ): Promise<BatchAccountListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * Gets information about the Batch accounts associated with the specified resource group.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: BatchAccountListByResourceGroupOptionalParams,\n ): Promise<BatchAccountListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec,\n );\n }\n\n /**\n * Synchronizes access keys for the auto-storage account configured for the specified Batch account,\n * only if storage key authentication is being used.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param options The options parameters.\n */\n synchronizeAutoStorageKeys(\n resourceGroupName: string,\n accountName: string,\n options?: BatchAccountSynchronizeAutoStorageKeysOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, options },\n synchronizeAutoStorageKeysOperationSpec,\n );\n }\n\n /**\n * This operation applies only to Batch accounts with allowedAuthenticationModes containing\n * 'SharedKey'. If the Batch account doesn't contain 'SharedKey' in its allowedAuthenticationMode,\n * clients cannot use shared keys to authenticate, and must use another allowedAuthenticationModes\n * instead. In this case, regenerating the keys will fail.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param parameters The type of key to regenerate.\n * @param options The options parameters.\n */\n regenerateKey(\n resourceGroupName: string,\n accountName: string,\n parameters: BatchAccountRegenerateKeyParameters,\n options?: BatchAccountRegenerateKeyOptionalParams,\n ): Promise<BatchAccountRegenerateKeyResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, parameters, options },\n regenerateKeyOperationSpec,\n );\n }\n\n /**\n * This operation applies only to Batch accounts with allowedAuthenticationModes containing\n * 'SharedKey'. If the Batch account doesn't contain 'SharedKey' in its allowedAuthenticationMode,\n * clients cannot use shared keys to authenticate, and must use another allowedAuthenticationModes\n * instead. In this case, getting the keys will fail.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param options The options parameters.\n */\n getKeys(\n resourceGroupName: string,\n accountName: string,\n options?: BatchAccountGetKeysOptionalParams,\n ): Promise<BatchAccountGetKeysResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, options },\n getKeysOperationSpec,\n );\n }\n\n /**\n * Gets information about the detectors available for a given Batch account.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param options The options parameters.\n */\n private _listDetectors(\n resourceGroupName: string,\n accountName: string,\n options?: BatchAccountListDetectorsOptionalParams,\n ): Promise<BatchAccountListDetectorsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, options },\n listDetectorsOperationSpec,\n );\n }\n\n /**\n * Gets information about the given detector for a given Batch account.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param detectorId The name of the detector.\n * @param options The options parameters.\n */\n getDetector(\n resourceGroupName: string,\n accountName: string,\n detectorId: string,\n options?: BatchAccountGetDetectorOptionalParams,\n ): Promise<BatchAccountGetDetectorResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, detectorId, options },\n getDetectorOperationSpec,\n );\n }\n\n /**\n * Lists the endpoints that a Batch Compute Node under this Batch Account may call as part of Batch\n * service administration. If you are deploying a Pool inside of a virtual network that you specify,\n * you must make sure your network allows outbound access to these endpoints. Failure to allow access\n * to these endpoints may cause Batch to mark the affected nodes as unusable. For more information\n * about creating a pool inside of a virtual network, see\n * https://docs.microsoft.com/azure/batch/batch-virtual-network.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param options The options parameters.\n */\n private _listOutboundNetworkDependenciesEndpoints(\n resourceGroupName: string,\n accountName: string,\n options?: BatchAccountListOutboundNetworkDependenciesEndpointsOptionalParams,\n ): Promise<BatchAccountListOutboundNetworkDependenciesEndpointsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, options },\n listOutboundNetworkDependenciesEndpointsOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: BatchAccountListNextOptionalParams,\n ): Promise<BatchAccountListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec,\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: BatchAccountListByResourceGroupNextOptionalParams,\n ): Promise<BatchAccountListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec,\n );\n }\n\n /**\n * ListDetectorsNext\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param nextLink The nextLink from the previous successful call to the ListDetectors method.\n * @param options The options parameters.\n */\n private _listDetectorsNext(\n resourceGroupName: string,\n accountName: string,\n nextLink: string,\n options?: BatchAccountListDetectorsNextOptionalParams,\n ): Promise<BatchAccountListDetectorsNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, nextLink, options },\n listDetectorsNextOperationSpec,\n );\n }\n\n /**\n * ListOutboundNetworkDependenciesEndpointsNext\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param nextLink The nextLink from the previous successful call to the\n * ListOutboundNetworkDependenciesEndpoints method.\n * @param options The options parameters.\n */\n private _listOutboundNetworkDependenciesEndpointsNext(\n resourceGroupName: string,\n accountName: string,\n nextLink: string,\n options?: BatchAccountListOutboundNetworkDependenciesEndpointsNextOptionalParams,\n ): Promise<BatchAccountListOutboundNetworkDependenciesEndpointsNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, nextLink, options },\n listOutboundNetworkDependenciesEndpointsNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.BatchAccount,\n },\n 201: {\n bodyMapper: Mappers.BatchAccount,\n },\n 202: {\n bodyMapper: Mappers.BatchAccount,\n },\n 204: {\n bodyMapper: Mappers.BatchAccount,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.BatchAccount,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BatchAccount,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Batch/batchAccounts\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BatchAccountListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BatchAccountListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst synchronizeAutoStorageKeysOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/syncAutoStorageKeys\",\n httpMethod: \"POST\",\n responses: {\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst regenerateKeyOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/regenerateKeys\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.BatchAccountKeys,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters2,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst getKeysOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/listKeys\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.BatchAccountKeys,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listDetectorsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/detectors\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DetectorListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getDetectorOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/detectors/{detectorId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DetectorResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n Parameters.detectorId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listOutboundNetworkDependenciesEndpointsOperationSpec: coreClient.OperationSpec =\n{\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/outboundNetworkDependenciesEndpoints\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OutboundEnvironmentEndpointCollection,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BatchAccountListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BatchAccountListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listDetectorsNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DetectorListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listOutboundNetworkDependenciesEndpointsNextOperationSpec: coreClient.OperationSpec =\n{\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OutboundEnvironmentEndpointCollection,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"batchAcc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Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { BatchAccountOperations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { BatchManagementClient } from \"../batchManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n BatchAccount,\n BatchAccountListNextOptionalParams,\n BatchAccountListOptionalParams,\n BatchAccountListResponse,\n BatchAccountListByResourceGroupNextOptionalParams,\n BatchAccountListByResourceGroupOptionalParams,\n BatchAccountListByResourceGroupResponse,\n DetectorResponse,\n BatchAccountListDetectorsNextOptionalParams,\n BatchAccountListDetectorsOptionalParams,\n BatchAccountListDetectorsResponse,\n OutboundEnvironmentEndpoint,\n BatchAccountListOutboundNetworkDependenciesEndpointsNextOptionalParams,\n BatchAccountListOutboundNetworkDependenciesEndpointsOptionalParams,\n BatchAccountListOutboundNetworkDependenciesEndpointsResponse,\n BatchAccountCreateParameters,\n BatchAccountCreateOptionalParams,\n BatchAccountCreateResponse,\n BatchAccountUpdateParameters,\n BatchAccountUpdateOptionalParams,\n BatchAccountUpdateResponse,\n BatchAccountDeleteOptionalParams,\n BatchAccountGetOptionalParams,\n BatchAccountGetResponse,\n BatchAccountSynchronizeAutoStorageKeysOptionalParams,\n BatchAccountRegenerateKeyParameters,\n BatchAccountRegenerateKeyOptionalParams,\n BatchAccountRegenerateKeyResponse,\n BatchAccountGetKeysOptionalParams,\n BatchAccountGetKeysResponse,\n BatchAccountGetDetectorOptionalParams,\n BatchAccountGetDetectorResponse,\n BatchAccountListNextResponse,\n BatchAccountListByResourceGroupNextResponse,\n BatchAccountListDetectorsNextResponse,\n BatchAccountListOutboundNetworkDependenciesEndpointsNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing BatchAccountOperations operations. */\nexport class BatchAccountOperationsImpl implements BatchAccountOperations {\n private readonly client: BatchManagementClient;\n\n /**\n * Initialize a new instance of the class BatchAccountOperations class.\n * @param client Reference to the service client\n */\n constructor(client: BatchManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets information about the Batch accounts associated with the subscription.\n * @param options The options parameters.\n */\n public list(\n options?: BatchAccountListOptionalParams,\n ): PagedAsyncIterableIterator<BatchAccount> {\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?: BatchAccountListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<BatchAccount[]> {\n let result: BatchAccountListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: BatchAccountListOptionalParams,\n ): AsyncIterableIterator<BatchAccount> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets information about the Batch accounts associated with the specified resource group.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: BatchAccountListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<BatchAccount> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: BatchAccountListByResourceGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<BatchAccount[]> {\n let result: BatchAccountListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: BatchAccountListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<BatchAccount> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets information about the detectors available for a given Batch account.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param options The options parameters.\n */\n public listDetectors(\n resourceGroupName: string,\n accountName: string,\n options?: BatchAccountListDetectorsOptionalParams,\n ): PagedAsyncIterableIterator<DetectorResponse> {\n const iter = this.listDetectorsPagingAll(\n resourceGroupName,\n accountName,\n options,\n );\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.listDetectorsPagingPage(\n resourceGroupName,\n accountName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listDetectorsPagingPage(\n resourceGroupName: string,\n accountName: string,\n options?: BatchAccountListDetectorsOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<DetectorResponse[]> {\n let result: BatchAccountListDetectorsResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listDetectors(\n resourceGroupName,\n accountName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listDetectorsNext(\n resourceGroupName,\n accountName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listDetectorsPagingAll(\n resourceGroupName: string,\n accountName: string,\n options?: BatchAccountListDetectorsOptionalParams,\n ): AsyncIterableIterator<DetectorResponse> {\n for await (const page of this.listDetectorsPagingPage(\n resourceGroupName,\n accountName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists the endpoints that a Batch Compute Node under this Batch Account may call as part of Batch\n * service administration. If you are deploying a Pool inside of a virtual network that you specify,\n * you must make sure your network allows outbound access to these endpoints. Failure to allow access\n * to these endpoints may cause Batch to mark the affected nodes as unusable. For more information\n * about creating a pool inside of a virtual network, see\n * https://docs.microsoft.com/azure/batch/batch-virtual-network.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param options The options parameters.\n */\n public listOutboundNetworkDependenciesEndpoints(\n resourceGroupName: string,\n accountName: string,\n options?: BatchAccountListOutboundNetworkDependenciesEndpointsOptionalParams,\n ): PagedAsyncIterableIterator<OutboundEnvironmentEndpoint> {\n const iter = this.listOutboundNetworkDependenciesEndpointsPagingAll(\n resourceGroupName,\n accountName,\n options,\n );\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.listOutboundNetworkDependenciesEndpointsPagingPage(\n resourceGroupName,\n accountName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listOutboundNetworkDependenciesEndpointsPagingPage(\n resourceGroupName: string,\n accountName: string,\n options?: BatchAccountListOutboundNetworkDependenciesEndpointsOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<OutboundEnvironmentEndpoint[]> {\n let result: BatchAccountListOutboundNetworkDependenciesEndpointsResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listOutboundNetworkDependenciesEndpoints(\n resourceGroupName,\n accountName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listOutboundNetworkDependenciesEndpointsNext(\n resourceGroupName,\n accountName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listOutboundNetworkDependenciesEndpointsPagingAll(\n resourceGroupName: string,\n accountName: string,\n options?: BatchAccountListOutboundNetworkDependenciesEndpointsOptionalParams,\n ): AsyncIterableIterator<OutboundEnvironmentEndpoint> {\n for await (const page of this.listOutboundNetworkDependenciesEndpointsPagingPage(\n resourceGroupName,\n accountName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Creates a new Batch account with the specified parameters. Existing accounts cannot be updated with\n * this API and should instead be updated with the Update Batch Account API.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName A name for the Batch account which must be unique within the region. Batch\n * account names must be between 3 and 24 characters in length and must use only numbers and lowercase\n * letters. This name is used as part of the DNS name that is used to access the Batch service in the\n * region in which the account is created. For example: http://accountname.region.batch.azure.com/.\n * @param parameters Additional parameters for account creation.\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n accountName: string,\n parameters: BatchAccountCreateParameters,\n options?: BatchAccountCreateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<BatchAccountCreateResponse>,\n BatchAccountCreateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<BatchAccountCreateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n 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 = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, accountName, parameters, options },\n spec: createOperationSpec,\n });\n const poller = await createHttpPoller<\n BatchAccountCreateResponse,\n OperationState<BatchAccountCreateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates a new Batch account with the specified parameters. Existing accounts cannot be updated with\n * this API and should instead be updated with the Update Batch Account API.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName A name for the Batch account which must be unique within the region. Batch\n * account names must be between 3 and 24 characters in length and must use only numbers and lowercase\n * letters. This name is used as part of the DNS name that is used to access the Batch service in the\n * region in which the account is created. For example: http://accountname.region.batch.azure.com/.\n * @param parameters Additional parameters for account creation.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n accountName: string,\n parameters: BatchAccountCreateParameters,\n options?: BatchAccountCreateOptionalParams,\n ): Promise<BatchAccountCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n accountName,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Updates the properties of an existing Batch account.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param parameters Additional parameters for account update.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n accountName: string,\n parameters: BatchAccountUpdateParameters,\n options?: BatchAccountUpdateOptionalParams,\n ): Promise<BatchAccountUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, parameters, options },\n updateOperationSpec,\n );\n }\n\n /**\n * Deletes the specified Batch account.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n accountName: string,\n options?: BatchAccountDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<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 sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n 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 = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, accountName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes the specified Batch account.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n accountName: string,\n options?: BatchAccountDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n accountName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Gets information about the specified Batch account.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n accountName: string,\n options?: BatchAccountGetOptionalParams,\n ): Promise<BatchAccountGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Gets information about the Batch accounts associated with the subscription.\n * @param options The options parameters.\n */\n private _list(\n options?: BatchAccountListOptionalParams,\n ): Promise<BatchAccountListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * Gets information about the Batch accounts associated with the specified resource group.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: BatchAccountListByResourceGroupOptionalParams,\n ): Promise<BatchAccountListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec,\n );\n }\n\n /**\n * Synchronizes access keys for the auto-storage account configured for the specified Batch account,\n * only if storage key authentication is being used.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param options The options parameters.\n */\n synchronizeAutoStorageKeys(\n resourceGroupName: string,\n accountName: string,\n options?: BatchAccountSynchronizeAutoStorageKeysOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, options },\n synchronizeAutoStorageKeysOperationSpec,\n );\n }\n\n /**\n * This operation applies only to Batch accounts with allowedAuthenticationModes containing\n * 'SharedKey'. If the Batch account doesn't contain 'SharedKey' in its allowedAuthenticationMode,\n * clients cannot use shared keys to authenticate, and must use another allowedAuthenticationModes\n * instead. In this case, regenerating the keys will fail.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param parameters The type of key to regenerate.\n * @param options The options parameters.\n */\n regenerateKey(\n resourceGroupName: string,\n accountName: string,\n parameters: BatchAccountRegenerateKeyParameters,\n options?: BatchAccountRegenerateKeyOptionalParams,\n ): Promise<BatchAccountRegenerateKeyResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, parameters, options },\n regenerateKeyOperationSpec,\n );\n }\n\n /**\n * This operation applies only to Batch accounts with allowedAuthenticationModes containing\n * 'SharedKey'. If the Batch account doesn't contain 'SharedKey' in its allowedAuthenticationMode,\n * clients cannot use shared keys to authenticate, and must use another allowedAuthenticationModes\n * instead. In this case, getting the keys will fail.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param options The options parameters.\n */\n getKeys(\n resourceGroupName: string,\n accountName: string,\n options?: BatchAccountGetKeysOptionalParams,\n ): Promise<BatchAccountGetKeysResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, options },\n getKeysOperationSpec,\n );\n }\n\n /**\n * Gets information about the detectors available for a given Batch account.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param options The options parameters.\n */\n private _listDetectors(\n resourceGroupName: string,\n accountName: string,\n options?: BatchAccountListDetectorsOptionalParams,\n ): Promise<BatchAccountListDetectorsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, options },\n listDetectorsOperationSpec,\n );\n }\n\n /**\n * Gets information about the given detector for a given Batch account.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param detectorId The name of the detector.\n * @param options The options parameters.\n */\n getDetector(\n resourceGroupName: string,\n accountName: string,\n detectorId: string,\n options?: BatchAccountGetDetectorOptionalParams,\n ): Promise<BatchAccountGetDetectorResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, detectorId, options },\n getDetectorOperationSpec,\n );\n }\n\n /**\n * Lists the endpoints that a Batch Compute Node under this Batch Account may call as part of Batch\n * service administration. If you are deploying a Pool inside of a virtual network that you specify,\n * you must make sure your network allows outbound access to these endpoints. Failure to allow access\n * to these endpoints may cause Batch to mark the affected nodes as unusable. For more information\n * about creating a pool inside of a virtual network, see\n * https://docs.microsoft.com/azure/batch/batch-virtual-network.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param options The options parameters.\n */\n private _listOutboundNetworkDependenciesEndpoints(\n resourceGroupName: string,\n accountName: string,\n options?: BatchAccountListOutboundNetworkDependenciesEndpointsOptionalParams,\n ): Promise<BatchAccountListOutboundNetworkDependenciesEndpointsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, options },\n listOutboundNetworkDependenciesEndpointsOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: BatchAccountListNextOptionalParams,\n ): Promise<BatchAccountListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec,\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: BatchAccountListByResourceGroupNextOptionalParams,\n ): Promise<BatchAccountListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec,\n );\n }\n\n /**\n * ListDetectorsNext\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param nextLink The nextLink from the previous successful call to the ListDetectors method.\n * @param options The options parameters.\n */\n private _listDetectorsNext(\n resourceGroupName: string,\n accountName: string,\n nextLink: string,\n options?: BatchAccountListDetectorsNextOptionalParams,\n ): Promise<BatchAccountListDetectorsNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, nextLink, options },\n listDetectorsNextOperationSpec,\n );\n }\n\n /**\n * ListOutboundNetworkDependenciesEndpointsNext\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param nextLink The nextLink from the previous successful call to the\n * ListOutboundNetworkDependenciesEndpoints method.\n * @param options The options parameters.\n */\n private _listOutboundNetworkDependenciesEndpointsNext(\n resourceGroupName: string,\n accountName: string,\n nextLink: string,\n options?: BatchAccountListOutboundNetworkDependenciesEndpointsNextOptionalParams,\n ): Promise<BatchAccountListOutboundNetworkDependenciesEndpointsNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, nextLink, options },\n listOutboundNetworkDependenciesEndpointsNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.BatchAccount,\n },\n 201: {\n bodyMapper: Mappers.BatchAccount,\n },\n 202: {\n bodyMapper: Mappers.BatchAccount,\n },\n 204: {\n bodyMapper: Mappers.BatchAccount,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.accountName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.BatchAccount,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BatchAccount,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Batch/batchAccounts\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BatchAccountListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BatchAccountListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst synchronizeAutoStorageKeysOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/syncAutoStorageKeys\",\n httpMethod: \"POST\",\n responses: {\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst regenerateKeyOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/regenerateKeys\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.BatchAccountKeys,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters2,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst getKeysOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/listKeys\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.BatchAccountKeys,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listDetectorsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/detectors\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DetectorListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getDetectorOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/detectors/{detectorId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DetectorResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n Parameters.detectorId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listOutboundNetworkDependenciesEndpointsOperationSpec: coreClient.OperationSpec =\n{\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/outboundNetworkDependenciesEndpoints\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OutboundEnvironmentEndpointCollection,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BatchAccountListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BatchAccountListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listDetectorsNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DetectorListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listOutboundNetworkDependenciesEndpointsNextOperationSpec: coreClient.OperationSpec =\n{\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OutboundEnvironmentEndpointCollection,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
8
|
import { setContinuationToken } from "../pagingHelper.js";
|
|
10
9
|
import * as coreClient from "@azure/core-client";
|
|
11
10
|
import * as Mappers from "../models/mappers.js";
|
|
@@ -15,6 +14,7 @@ import { createLroSpec } from "../lroImpl.js";
|
|
|
15
14
|
/// <reference lib="esnext.asynciterable" />
|
|
16
15
|
/** Class containing CertificateOperations operations. */
|
|
17
16
|
export class CertificateOperationsImpl {
|
|
17
|
+
client;
|
|
18
18
|
/**
|
|
19
19
|
* Initialize a new instance of the class CertificateOperations class.
|
|
20
20
|
* @param client Reference to the service client
|
|
@@ -40,52 +40,35 @@ export class CertificateOperationsImpl {
|
|
|
40
40
|
return this;
|
|
41
41
|
},
|
|
42
42
|
byPage: (settings) => {
|
|
43
|
-
if (settings
|
|
43
|
+
if (settings?.maxPageSize) {
|
|
44
44
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
45
45
|
}
|
|
46
46
|
return this.listByBatchAccountPagingPage(resourceGroupName, accountName, options, settings);
|
|
47
47
|
},
|
|
48
48
|
};
|
|
49
49
|
}
|
|
50
|
-
listByBatchAccountPagingPage(resourceGroupName, accountName, options, settings) {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
}
|
|
68
|
-
});
|
|
50
|
+
async *listByBatchAccountPagingPage(resourceGroupName, accountName, options, settings) {
|
|
51
|
+
let result;
|
|
52
|
+
let continuationToken = settings?.continuationToken;
|
|
53
|
+
if (!continuationToken) {
|
|
54
|
+
result = await this._listByBatchAccount(resourceGroupName, accountName, options);
|
|
55
|
+
let page = result.value || [];
|
|
56
|
+
continuationToken = result.nextLink;
|
|
57
|
+
setContinuationToken(page, continuationToken);
|
|
58
|
+
yield page;
|
|
59
|
+
}
|
|
60
|
+
while (continuationToken) {
|
|
61
|
+
result = await this._listByBatchAccountNext(resourceGroupName, accountName, continuationToken, options);
|
|
62
|
+
continuationToken = result.nextLink;
|
|
63
|
+
let page = result.value || [];
|
|
64
|
+
setContinuationToken(page, continuationToken);
|
|
65
|
+
yield page;
|
|
66
|
+
}
|
|
69
67
|
}
|
|
70
|
-
listByBatchAccountPagingAll(resourceGroupName, accountName, options) {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
for (var _d = true, _e = __asyncValues(this.listByBatchAccountPagingPage(resourceGroupName, accountName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
75
|
-
_c = _f.value;
|
|
76
|
-
_d = false;
|
|
77
|
-
const page = _c;
|
|
78
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
82
|
-
finally {
|
|
83
|
-
try {
|
|
84
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
85
|
-
}
|
|
86
|
-
finally { if (e_1) throw e_1.error; }
|
|
87
|
-
}
|
|
88
|
-
});
|
|
68
|
+
async *listByBatchAccountPagingAll(resourceGroupName, accountName, options) {
|
|
69
|
+
for await (const page of this.listByBatchAccountPagingPage(resourceGroupName, accountName, options)) {
|
|
70
|
+
yield* page;
|
|
71
|
+
}
|
|
89
72
|
}
|
|
90
73
|
/**
|
|
91
74
|
* Warning: This operation is deprecated and will be removed after February, 2024. Please use the
|
|
@@ -144,14 +127,19 @@ export class CertificateOperationsImpl {
|
|
|
144
127
|
return this.client.sendOperationRequest(args, spec);
|
|
145
128
|
};
|
|
146
129
|
const sendOperationFn = async (args, spec) => {
|
|
147
|
-
var _a;
|
|
148
130
|
let currentRawResponse = undefined;
|
|
149
|
-
const providedCallback =
|
|
131
|
+
const providedCallback = args.options?.onResponse;
|
|
150
132
|
const callback = (rawResponse, flatResponse) => {
|
|
151
133
|
currentRawResponse = rawResponse;
|
|
152
|
-
providedCallback
|
|
134
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
135
|
+
};
|
|
136
|
+
const updatedArgs = {
|
|
137
|
+
...args,
|
|
138
|
+
options: {
|
|
139
|
+
...args.options,
|
|
140
|
+
onResponse: callback,
|
|
141
|
+
},
|
|
153
142
|
};
|
|
154
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
155
143
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
156
144
|
return {
|
|
157
145
|
flatResponse,
|
|
@@ -168,8 +156,8 @@ export class CertificateOperationsImpl {
|
|
|
168
156
|
spec: deleteOperationSpec,
|
|
169
157
|
});
|
|
170
158
|
const poller = await createHttpPoller(lro, {
|
|
171
|
-
restoreFrom: options
|
|
172
|
-
intervalInMs: options
|
|
159
|
+
restoreFrom: options?.resumeFrom,
|
|
160
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
173
161
|
resourceLocationConfig: "location",
|
|
174
162
|
});
|
|
175
163
|
await poller.poll();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"certificateOperations.js","sourceRoot":"","sources":["../../../src/operations/certificateOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,s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AC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,eAAe;KAC3B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,sBAAsB;SAC3C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { CertificateOperations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { BatchManagementClient } from \"../batchManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n Certificate,\n CertificateListByBatchAccountNextOptionalParams,\n CertificateListByBatchAccountOptionalParams,\n CertificateListByBatchAccountResponse,\n CertificateCreateOrUpdateParameters,\n CertificateCreateOptionalParams,\n CertificateCreateResponse,\n CertificateUpdateOptionalParams,\n CertificateUpdateResponse,\n CertificateDeleteOptionalParams,\n CertificateGetOptionalParams,\n CertificateGetResponse,\n CertificateCancelDeletionOptionalParams,\n CertificateCancelDeletionResponse,\n CertificateListByBatchAccountNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing CertificateOperations operations. */\nexport class CertificateOperationsImpl implements CertificateOperations {\n private readonly client: BatchManagementClient;\n\n /**\n * Initialize a new instance of the class CertificateOperations class.\n * @param client Reference to the service client\n */\n constructor(client: BatchManagementClient) {\n this.client = client;\n }\n\n /**\n * Warning: This operation is deprecated and will be removed after February, 2024. Please use the\n * [Azure KeyVault\n * Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param options The options parameters.\n */\n public listByBatchAccount(\n resourceGroupName: string,\n accountName: string,\n options?: CertificateListByBatchAccountOptionalParams,\n ): PagedAsyncIterableIterator<Certificate> {\n const iter = this.listByBatchAccountPagingAll(\n resourceGroupName,\n accountName,\n options,\n );\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.listByBatchAccountPagingPage(\n resourceGroupName,\n accountName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByBatchAccountPagingPage(\n resourceGroupName: string,\n accountName: string,\n options?: CertificateListByBatchAccountOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Certificate[]> {\n let result: CertificateListByBatchAccountResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByBatchAccount(\n resourceGroupName,\n accountName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByBatchAccountNext(\n resourceGroupName,\n accountName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByBatchAccountPagingAll(\n resourceGroupName: string,\n accountName: string,\n options?: CertificateListByBatchAccountOptionalParams,\n ): AsyncIterableIterator<Certificate> {\n for await (const page of this.listByBatchAccountPagingPage(\n resourceGroupName,\n accountName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Warning: This operation is deprecated and will be removed after February, 2024. Please use the\n * [Azure KeyVault\n * Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param options The options parameters.\n */\n private _listByBatchAccount(\n resourceGroupName: string,\n accountName: string,\n options?: CertificateListByBatchAccountOptionalParams,\n ): Promise<CertificateListByBatchAccountResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, options },\n listByBatchAccountOperationSpec,\n );\n }\n\n /**\n * Warning: This operation is deprecated and will be removed after February, 2024. Please use the\n * [Azure KeyVault\n * Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param certificateName The identifier for the certificate. This must be made up of algorithm and\n * thumbprint separated by a dash, and must match the certificate data in the request. For example\n * SHA1-a3d1c5.\n * @param parameters Additional parameters for certificate creation.\n * @param options The options parameters.\n */\n create(\n resourceGroupName: string,\n accountName: string,\n certificateName: string,\n parameters: CertificateCreateOrUpdateParameters,\n options?: CertificateCreateOptionalParams,\n ): Promise<CertificateCreateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, certificateName, parameters, options },\n createOperationSpec,\n );\n }\n\n /**\n * Warning: This operation is deprecated and will be removed after February, 2024. Please use the\n * [Azure KeyVault\n * Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param certificateName The identifier for the certificate. This must be made up of algorithm and\n * thumbprint separated by a dash, and must match the certificate data in the request. For example\n * SHA1-a3d1c5.\n * @param parameters Certificate entity to update.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n accountName: string,\n certificateName: string,\n parameters: CertificateCreateOrUpdateParameters,\n options?: CertificateUpdateOptionalParams,\n ): Promise<CertificateUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, certificateName, parameters, options },\n updateOperationSpec,\n );\n }\n\n /**\n * Warning: This operation is deprecated and will be removed after February, 2024. Please use the\n * [Azure KeyVault\n * Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param certificateName The identifier for the certificate. This must be made up of algorithm and\n * thumbprint separated by a dash, and must match the certificate data in the request. For example\n * SHA1-a3d1c5.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n accountName: string,\n certificateName: string,\n options?: CertificateDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<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 sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n 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 = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, accountName, certificateName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Warning: This operation is deprecated and will be removed after February, 2024. Please use the\n * [Azure KeyVault\n * Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param certificateName The identifier for the certificate. This must be made up of algorithm and\n * thumbprint separated by a dash, and must match the certificate data in the request. For example\n * SHA1-a3d1c5.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n accountName: string,\n certificateName: string,\n options?: CertificateDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n accountName,\n certificateName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Warning: This operation is deprecated and will be removed after February, 2024. Please use the\n * [Azure KeyVault\n * Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param certificateName The identifier for the certificate. This must be made up of algorithm and\n * thumbprint separated by a dash, and must match the certificate data in the request. For example\n * SHA1-a3d1c5.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n accountName: string,\n certificateName: string,\n options?: CertificateGetOptionalParams,\n ): Promise<CertificateGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, certificateName, options },\n getOperationSpec,\n );\n }\n\n /**\n * If you try to delete a certificate that is being used by a pool or compute node, the status of the\n * certificate changes to deleteFailed. If you decide that you want to continue using the certificate,\n * you can use this operation to set the status of the certificate back to active. If you intend to\n * delete the certificate, you do not need to run this operation after the deletion failed. You must\n * make sure that the certificate is not being used by any resources, and then you can try again to\n * delete the certificate.\n *\n * Warning: This operation is deprecated and will be removed after February, 2024. Please use the\n * [Azure KeyVault\n * Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param certificateName The identifier for the certificate. This must be made up of algorithm and\n * thumbprint separated by a dash, and must match the certificate data in the request. For example\n * SHA1-a3d1c5.\n * @param options The options parameters.\n */\n cancelDeletion(\n resourceGroupName: string,\n accountName: string,\n certificateName: string,\n options?: CertificateCancelDeletionOptionalParams,\n ): Promise<CertificateCancelDeletionResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, certificateName, options },\n cancelDeletionOperationSpec,\n );\n }\n\n /**\n * ListByBatchAccountNext\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param nextLink The nextLink from the previous successful call to the ListByBatchAccount method.\n * @param options The options parameters.\n */\n private _listByBatchAccountNext(\n resourceGroupName: string,\n accountName: string,\n nextLink: string,\n options?: CertificateListByBatchAccountNextOptionalParams,\n ): Promise<CertificateListByBatchAccountNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, nextLink, options },\n listByBatchAccountNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByBatchAccountOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/certificates\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ListCertificatesResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.maxresults,\n Parameters.filter,\n Parameters.select,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/certificates/{certificateName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Certificate,\n headersMapper: Mappers.CertificateCreateHeaders,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters8,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n Parameters.certificateName,\n ],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/certificates/{certificateName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Certificate,\n headersMapper: Mappers.CertificateUpdateHeaders,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters8,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n Parameters.certificateName,\n ],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.ifMatch,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/certificates/{certificateName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n Parameters.certificateName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/certificates/{certificateName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Certificate,\n headersMapper: Mappers.CertificateGetHeaders,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n Parameters.certificateName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst cancelDeletionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/certificates/{certificateName}/cancelDelete\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.Certificate,\n headersMapper: Mappers.CertificateCancelDeletionHeaders,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n Parameters.certificateName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByBatchAccountNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ListCertificatesResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"certificateOperations.js","sourceRoot":"","sources":["../../../src/operations/certificateOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAGL,gBAAgB,GACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAmB9C,4CAA4C;AAC5C,yDAAyD;AACzD,MAAM,OAAO,yBAAyB;IACnB,MAAM,CAAwB;IAE/C;;;OAGG;IACH,YAAY,MAA6B;QACvC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACI,kBAAkB,CACvB,iBAAyB,EACzB,WAAmB,EACnB,OAAqD;QAErD,MAAM,IAAI,GAAG,IAAI,CAAC,2BAA2B,CAC3C,iBAAiB,EACjB,WAAW,EACX,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,4BAA4B,CACtC,iBAAiB,EACjB,WAAW,EACX,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAA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;YAC/B,aAAa,EAAE,OAAO,CAAC,gCAAgC;SACxD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,eAAe;KAC3B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,sBAAsB;SAC3C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { CertificateOperations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { BatchManagementClient } from \"../batchManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n Certificate,\n CertificateListByBatchAccountNextOptionalParams,\n CertificateListByBatchAccountOptionalParams,\n CertificateListByBatchAccountResponse,\n CertificateCreateOrUpdateParameters,\n CertificateCreateOptionalParams,\n CertificateCreateResponse,\n CertificateUpdateOptionalParams,\n CertificateUpdateResponse,\n CertificateDeleteOptionalParams,\n CertificateGetOptionalParams,\n CertificateGetResponse,\n CertificateCancelDeletionOptionalParams,\n CertificateCancelDeletionResponse,\n CertificateListByBatchAccountNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing CertificateOperations operations. */\nexport class CertificateOperationsImpl implements CertificateOperations {\n private readonly client: BatchManagementClient;\n\n /**\n * Initialize a new instance of the class CertificateOperations class.\n * @param client Reference to the service client\n */\n constructor(client: BatchManagementClient) {\n this.client = client;\n }\n\n /**\n * Warning: This operation is deprecated and will be removed after February, 2024. Please use the\n * [Azure KeyVault\n * Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param options The options parameters.\n */\n public listByBatchAccount(\n resourceGroupName: string,\n accountName: string,\n options?: CertificateListByBatchAccountOptionalParams,\n ): PagedAsyncIterableIterator<Certificate> {\n const iter = this.listByBatchAccountPagingAll(\n resourceGroupName,\n accountName,\n options,\n );\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.listByBatchAccountPagingPage(\n resourceGroupName,\n accountName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByBatchAccountPagingPage(\n resourceGroupName: string,\n accountName: string,\n options?: CertificateListByBatchAccountOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Certificate[]> {\n let result: CertificateListByBatchAccountResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByBatchAccount(\n resourceGroupName,\n accountName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByBatchAccountNext(\n resourceGroupName,\n accountName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByBatchAccountPagingAll(\n resourceGroupName: string,\n accountName: string,\n options?: CertificateListByBatchAccountOptionalParams,\n ): AsyncIterableIterator<Certificate> {\n for await (const page of this.listByBatchAccountPagingPage(\n resourceGroupName,\n accountName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Warning: This operation is deprecated and will be removed after February, 2024. Please use the\n * [Azure KeyVault\n * Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param options The options parameters.\n */\n private _listByBatchAccount(\n resourceGroupName: string,\n accountName: string,\n options?: CertificateListByBatchAccountOptionalParams,\n ): Promise<CertificateListByBatchAccountResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, options },\n listByBatchAccountOperationSpec,\n );\n }\n\n /**\n * Warning: This operation is deprecated and will be removed after February, 2024. Please use the\n * [Azure KeyVault\n * Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param certificateName The identifier for the certificate. This must be made up of algorithm and\n * thumbprint separated by a dash, and must match the certificate data in the request. For example\n * SHA1-a3d1c5.\n * @param parameters Additional parameters for certificate creation.\n * @param options The options parameters.\n */\n create(\n resourceGroupName: string,\n accountName: string,\n certificateName: string,\n parameters: CertificateCreateOrUpdateParameters,\n options?: CertificateCreateOptionalParams,\n ): Promise<CertificateCreateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, certificateName, parameters, options },\n createOperationSpec,\n );\n }\n\n /**\n * Warning: This operation is deprecated and will be removed after February, 2024. Please use the\n * [Azure KeyVault\n * Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param certificateName The identifier for the certificate. This must be made up of algorithm and\n * thumbprint separated by a dash, and must match the certificate data in the request. For example\n * SHA1-a3d1c5.\n * @param parameters Certificate entity to update.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n accountName: string,\n certificateName: string,\n parameters: CertificateCreateOrUpdateParameters,\n options?: CertificateUpdateOptionalParams,\n ): Promise<CertificateUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, certificateName, parameters, options },\n updateOperationSpec,\n );\n }\n\n /**\n * Warning: This operation is deprecated and will be removed after February, 2024. Please use the\n * [Azure KeyVault\n * Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param certificateName The identifier for the certificate. This must be made up of algorithm and\n * thumbprint separated by a dash, and must match the certificate data in the request. For example\n * SHA1-a3d1c5.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n accountName: string,\n certificateName: string,\n options?: CertificateDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<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 sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n 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 = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, accountName, certificateName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Warning: This operation is deprecated and will be removed after February, 2024. Please use the\n * [Azure KeyVault\n * Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param certificateName The identifier for the certificate. This must be made up of algorithm and\n * thumbprint separated by a dash, and must match the certificate data in the request. For example\n * SHA1-a3d1c5.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n accountName: string,\n certificateName: string,\n options?: CertificateDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n accountName,\n certificateName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Warning: This operation is deprecated and will be removed after February, 2024. Please use the\n * [Azure KeyVault\n * Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param certificateName The identifier for the certificate. This must be made up of algorithm and\n * thumbprint separated by a dash, and must match the certificate data in the request. For example\n * SHA1-a3d1c5.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n accountName: string,\n certificateName: string,\n options?: CertificateGetOptionalParams,\n ): Promise<CertificateGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, certificateName, options },\n getOperationSpec,\n );\n }\n\n /**\n * If you try to delete a certificate that is being used by a pool or compute node, the status of the\n * certificate changes to deleteFailed. If you decide that you want to continue using the certificate,\n * you can use this operation to set the status of the certificate back to active. If you intend to\n * delete the certificate, you do not need to run this operation after the deletion failed. You must\n * make sure that the certificate is not being used by any resources, and then you can try again to\n * delete the certificate.\n *\n * Warning: This operation is deprecated and will be removed after February, 2024. Please use the\n * [Azure KeyVault\n * Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param certificateName The identifier for the certificate. This must be made up of algorithm and\n * thumbprint separated by a dash, and must match the certificate data in the request. For example\n * SHA1-a3d1c5.\n * @param options The options parameters.\n */\n cancelDeletion(\n resourceGroupName: string,\n accountName: string,\n certificateName: string,\n options?: CertificateCancelDeletionOptionalParams,\n ): Promise<CertificateCancelDeletionResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, certificateName, options },\n cancelDeletionOperationSpec,\n );\n }\n\n /**\n * ListByBatchAccountNext\n * @param resourceGroupName The name of the resource group that contains the Batch account.\n * @param accountName The name of the Batch account.\n * @param nextLink The nextLink from the previous successful call to the ListByBatchAccount method.\n * @param options The options parameters.\n */\n private _listByBatchAccountNext(\n resourceGroupName: string,\n accountName: string,\n nextLink: string,\n options?: CertificateListByBatchAccountNextOptionalParams,\n ): Promise<CertificateListByBatchAccountNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, nextLink, options },\n listByBatchAccountNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByBatchAccountOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/certificates\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ListCertificatesResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.maxresults,\n Parameters.filter,\n Parameters.select,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/certificates/{certificateName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Certificate,\n headersMapper: Mappers.CertificateCreateHeaders,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters8,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n Parameters.certificateName,\n ],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.ifMatch,\n Parameters.ifNoneMatch,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/certificates/{certificateName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Certificate,\n headersMapper: Mappers.CertificateUpdateHeaders,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters8,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n Parameters.certificateName,\n ],\n headerParameters: [\n Parameters.contentType,\n Parameters.accept,\n Parameters.ifMatch,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/certificates/{certificateName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n Parameters.certificateName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/certificates/{certificateName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Certificate,\n headersMapper: Mappers.CertificateGetHeaders,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n Parameters.certificateName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst cancelDeletionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/certificates/{certificateName}/cancelDelete\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.Certificate,\n headersMapper: Mappers.CertificateCancelDeletionHeaders,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n Parameters.certificateName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByBatchAccountNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ListCertificatesResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.accountName1,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|