@azure/arm-containerregistry 11.0.0-alpha.20250421.1 → 11.0.0-alpha.20250423.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/CHANGELOG.md +266 -0
- package/LICENSE +1 -1
- package/README.md +3 -3
- package/dist/browser/containerRegistryManagementClient.d.ts +3 -0
- package/dist/browser/containerRegistryManagementClient.d.ts.map +1 -1
- package/dist/browser/containerRegistryManagementClient.js +28 -1
- package/dist/browser/containerRegistryManagementClient.js.map +1 -1
- package/dist/browser/models/index.d.ts +55 -58
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +10 -2
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/mappers.d.ts +5 -3
- package/dist/browser/models/mappers.d.ts.map +1 -1
- package/dist/browser/models/mappers.js +87 -83
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/models/parameters.d.ts +0 -1
- package/dist/browser/models/parameters.d.ts.map +1 -1
- package/dist/browser/models/parameters.js +1 -12
- package/dist/browser/models/parameters.js.map +1 -1
- package/dist/browser/operations/agentPools.d.ts +3 -3
- package/dist/browser/operations/agentPools.d.ts.map +1 -1
- package/dist/browser/operations/agentPools.js +28 -17
- package/dist/browser/operations/agentPools.js.map +1 -1
- package/dist/browser/operations/registries.d.ts +1 -9
- package/dist/browser/operations/registries.d.ts.map +1 -1
- package/dist/browser/operations/registries.js +6 -58
- package/dist/browser/operations/registries.js.map +1 -1
- package/dist/browser/operations/runs.d.ts +2 -20
- package/dist/browser/operations/runs.d.ts.map +1 -1
- package/dist/browser/operations/runs.js +15 -122
- package/dist/browser/operations/runs.js.map +1 -1
- package/dist/browser/operations/taskRuns.d.ts +1 -9
- package/dist/browser/operations/taskRuns.d.ts.map +1 -1
- package/dist/browser/operations/taskRuns.js +17 -60
- package/dist/browser/operations/taskRuns.js.map +1 -1
- package/dist/browser/operations/tasks.d.ts +3 -30
- package/dist/browser/operations/tasks.d.ts.map +1 -1
- package/dist/browser/operations/tasks.js +31 -181
- package/dist/browser/operations/tasks.js.map +1 -1
- package/dist/browser/operationsInterfaces/agentPools.d.ts +3 -3
- package/dist/browser/operationsInterfaces/agentPools.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/agentPools.js.map +1 -1
- package/dist/browser/operationsInterfaces/registries.d.ts +1 -9
- package/dist/browser/operationsInterfaces/registries.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/registries.js.map +1 -1
- package/dist/browser/operationsInterfaces/runs.d.ts +2 -20
- package/dist/browser/operationsInterfaces/runs.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/runs.js.map +1 -1
- package/dist/browser/operationsInterfaces/taskRuns.d.ts +1 -9
- package/dist/browser/operationsInterfaces/taskRuns.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/taskRuns.js.map +1 -1
- package/dist/browser/operationsInterfaces/tasks.d.ts +3 -30
- package/dist/browser/operationsInterfaces/tasks.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/tasks.js.map +1 -1
- package/dist/commonjs/containerRegistryManagementClient.d.ts +3 -0
- package/dist/commonjs/containerRegistryManagementClient.d.ts.map +1 -1
- package/dist/commonjs/containerRegistryManagementClient.js +28 -1
- package/dist/commonjs/containerRegistryManagementClient.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +55 -58
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +12 -4
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/mappers.d.ts +5 -3
- package/dist/commonjs/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/models/mappers.js +90 -86
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/models/parameters.d.ts +0 -1
- package/dist/commonjs/models/parameters.d.ts.map +1 -1
- package/dist/commonjs/models/parameters.js +3 -14
- package/dist/commonjs/models/parameters.js.map +1 -1
- package/dist/commonjs/operations/agentPools.d.ts +3 -3
- package/dist/commonjs/operations/agentPools.d.ts.map +1 -1
- package/dist/commonjs/operations/agentPools.js +28 -17
- package/dist/commonjs/operations/agentPools.js.map +1 -1
- package/dist/commonjs/operations/registries.d.ts +1 -9
- package/dist/commonjs/operations/registries.d.ts.map +1 -1
- package/dist/commonjs/operations/registries.js +6 -58
- package/dist/commonjs/operations/registries.js.map +1 -1
- package/dist/commonjs/operations/runs.d.ts +2 -20
- package/dist/commonjs/operations/runs.d.ts.map +1 -1
- package/dist/commonjs/operations/runs.js +15 -122
- package/dist/commonjs/operations/runs.js.map +1 -1
- package/dist/commonjs/operations/taskRuns.d.ts +1 -9
- package/dist/commonjs/operations/taskRuns.d.ts.map +1 -1
- package/dist/commonjs/operations/taskRuns.js +17 -60
- package/dist/commonjs/operations/taskRuns.js.map +1 -1
- package/dist/commonjs/operations/tasks.d.ts +3 -30
- package/dist/commonjs/operations/tasks.d.ts.map +1 -1
- package/dist/commonjs/operations/tasks.js +31 -181
- package/dist/commonjs/operations/tasks.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/agentPools.d.ts +3 -3
- package/dist/commonjs/operationsInterfaces/agentPools.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/agentPools.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/registries.d.ts +1 -9
- package/dist/commonjs/operationsInterfaces/registries.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/registries.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/runs.d.ts +2 -20
- package/dist/commonjs/operationsInterfaces/runs.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/runs.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/taskRuns.d.ts +1 -9
- package/dist/commonjs/operationsInterfaces/taskRuns.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/taskRuns.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/tasks.d.ts +3 -30
- package/dist/commonjs/operationsInterfaces/tasks.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/tasks.js.map +1 -1
- package/dist/esm/containerRegistryManagementClient.d.ts +3 -0
- package/dist/esm/containerRegistryManagementClient.d.ts.map +1 -1
- package/dist/esm/containerRegistryManagementClient.js +28 -1
- package/dist/esm/containerRegistryManagementClient.js.map +1 -1
- package/dist/esm/models/index.d.ts +55 -58
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +10 -2
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/mappers.d.ts +5 -3
- package/dist/esm/models/mappers.d.ts.map +1 -1
- package/dist/esm/models/mappers.js +87 -83
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/models/parameters.d.ts +0 -1
- package/dist/esm/models/parameters.d.ts.map +1 -1
- package/dist/esm/models/parameters.js +1 -12
- package/dist/esm/models/parameters.js.map +1 -1
- package/dist/esm/operations/agentPools.d.ts +3 -3
- package/dist/esm/operations/agentPools.d.ts.map +1 -1
- package/dist/esm/operations/agentPools.js +28 -17
- package/dist/esm/operations/agentPools.js.map +1 -1
- package/dist/esm/operations/registries.d.ts +1 -9
- package/dist/esm/operations/registries.d.ts.map +1 -1
- package/dist/esm/operations/registries.js +6 -58
- package/dist/esm/operations/registries.js.map +1 -1
- package/dist/esm/operations/runs.d.ts +2 -20
- package/dist/esm/operations/runs.d.ts.map +1 -1
- package/dist/esm/operations/runs.js +15 -122
- package/dist/esm/operations/runs.js.map +1 -1
- package/dist/esm/operations/taskRuns.d.ts +1 -9
- package/dist/esm/operations/taskRuns.d.ts.map +1 -1
- package/dist/esm/operations/taskRuns.js +17 -60
- package/dist/esm/operations/taskRuns.js.map +1 -1
- package/dist/esm/operations/tasks.d.ts +3 -30
- package/dist/esm/operations/tasks.d.ts.map +1 -1
- package/dist/esm/operations/tasks.js +31 -181
- package/dist/esm/operations/tasks.js.map +1 -1
- package/dist/esm/operationsInterfaces/agentPools.d.ts +3 -3
- package/dist/esm/operationsInterfaces/agentPools.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/agentPools.js.map +1 -1
- package/dist/esm/operationsInterfaces/registries.d.ts +1 -9
- package/dist/esm/operationsInterfaces/registries.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/registries.js.map +1 -1
- package/dist/esm/operationsInterfaces/runs.d.ts +2 -20
- package/dist/esm/operationsInterfaces/runs.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/runs.js.map +1 -1
- package/dist/esm/operationsInterfaces/taskRuns.d.ts +1 -9
- package/dist/esm/operationsInterfaces/taskRuns.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/taskRuns.js.map +1 -1
- package/dist/esm/operationsInterfaces/tasks.d.ts +3 -30
- package/dist/esm/operationsInterfaces/tasks.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/tasks.js.map +1 -1
- package/dist/react-native/containerRegistryManagementClient.d.ts +3 -0
- package/dist/react-native/containerRegistryManagementClient.d.ts.map +1 -1
- package/dist/react-native/containerRegistryManagementClient.js +28 -1
- package/dist/react-native/containerRegistryManagementClient.js.map +1 -1
- package/dist/react-native/models/index.d.ts +55 -58
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +10 -2
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/mappers.d.ts +5 -3
- package/dist/react-native/models/mappers.d.ts.map +1 -1
- package/dist/react-native/models/mappers.js +87 -83
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/models/parameters.d.ts +0 -1
- package/dist/react-native/models/parameters.d.ts.map +1 -1
- package/dist/react-native/models/parameters.js +1 -12
- package/dist/react-native/models/parameters.js.map +1 -1
- package/dist/react-native/operations/agentPools.d.ts +3 -3
- package/dist/react-native/operations/agentPools.d.ts.map +1 -1
- package/dist/react-native/operations/agentPools.js +28 -17
- package/dist/react-native/operations/agentPools.js.map +1 -1
- package/dist/react-native/operations/registries.d.ts +1 -9
- package/dist/react-native/operations/registries.d.ts.map +1 -1
- package/dist/react-native/operations/registries.js +6 -58
- package/dist/react-native/operations/registries.js.map +1 -1
- package/dist/react-native/operations/runs.d.ts +2 -20
- package/dist/react-native/operations/runs.d.ts.map +1 -1
- package/dist/react-native/operations/runs.js +15 -122
- package/dist/react-native/operations/runs.js.map +1 -1
- package/dist/react-native/operations/taskRuns.d.ts +1 -9
- package/dist/react-native/operations/taskRuns.d.ts.map +1 -1
- package/dist/react-native/operations/taskRuns.js +17 -60
- package/dist/react-native/operations/taskRuns.js.map +1 -1
- package/dist/react-native/operations/tasks.d.ts +3 -30
- package/dist/react-native/operations/tasks.d.ts.map +1 -1
- package/dist/react-native/operations/tasks.js +31 -181
- package/dist/react-native/operations/tasks.js.map +1 -1
- package/dist/react-native/operationsInterfaces/agentPools.d.ts +3 -3
- package/dist/react-native/operationsInterfaces/agentPools.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/agentPools.js.map +1 -1
- package/dist/react-native/operationsInterfaces/registries.d.ts +1 -9
- package/dist/react-native/operationsInterfaces/registries.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/registries.js.map +1 -1
- package/dist/react-native/operationsInterfaces/runs.d.ts +2 -20
- package/dist/react-native/operationsInterfaces/runs.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/runs.js.map +1 -1
- package/dist/react-native/operationsInterfaces/taskRuns.d.ts +1 -9
- package/dist/react-native/operationsInterfaces/taskRuns.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/taskRuns.js.map +1 -1
- package/dist/react-native/operationsInterfaces/tasks.d.ts +3 -30
- package/dist/react-native/operationsInterfaces/tasks.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/tasks.js.map +1 -1
- package/package.json +7 -7
- package/review/arm-containerregistry.api.md +57 -50
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"tasks.js","sourceRoot":"","sources":["../../../src/operations/tasks.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIy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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 { Tasks } 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 { ContainerRegistryManagementClient } from \"../containerRegistryManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n Task,\n TasksListNextOptionalParams,\n TasksListOptionalParams,\n TasksListResponse,\n TasksGetOptionalParams,\n TasksGetResponse,\n TasksCreateOptionalParams,\n TasksCreateResponse,\n TasksDeleteOptionalParams,\n TaskUpdateParameters,\n TasksUpdateOptionalParams,\n TasksUpdateResponse,\n TasksGetDetailsOptionalParams,\n TasksGetDetailsResponse,\n TasksListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Tasks operations. */\nexport class TasksImpl implements Tasks {\n private readonly client: ContainerRegistryManagementClient;\n\n /**\n * Initialize a new instance of the class Tasks class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerRegistryManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all the tasks for a specified container registry.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n registryName: string,\n options?: TasksListOptionalParams,\n ): PagedAsyncIterableIterator<Task> {\n const iter = this.listPagingAll(resourceGroupName, registryName, 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(\n resourceGroupName,\n registryName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n registryName: string,\n options?: TasksListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Task[]> {\n let result: TasksListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, registryName, 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(\n resourceGroupName,\n registryName,\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 *listPagingAll(\n resourceGroupName: string,\n registryName: string,\n options?: TasksListOptionalParams,\n ): AsyncIterableIterator<Task> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n registryName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists all the tasks for a specified container registry.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n registryName: string,\n options?: TasksListOptionalParams,\n ): Promise<TasksListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Get the properties of a specified task.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param taskName The name of the container registry task.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n registryName: string,\n taskName: string,\n options?: TasksGetOptionalParams,\n ): Promise<TasksGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, taskName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Creates a task for a container registry with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param taskName The name of the container registry task.\n * @param taskCreateParameters The parameters for creating a task.\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n registryName: string,\n taskName: string,\n taskCreateParameters: Task,\n options?: TasksCreateOptionalParams,\n ): Promise<\n SimplePollerLike<OperationState<TasksCreateResponse>, TasksCreateResponse>\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<TasksCreateResponse> => {\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: {\n resourceGroupName,\n registryName,\n taskName,\n taskCreateParameters,\n options,\n },\n spec: createOperationSpec,\n });\n const poller = await createHttpPoller<\n TasksCreateResponse,\n OperationState<TasksCreateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates a task for a container registry with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param taskName The name of the container registry task.\n * @param taskCreateParameters The parameters for creating a task.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n registryName: string,\n taskName: string,\n taskCreateParameters: Task,\n options?: TasksCreateOptionalParams,\n ): Promise<TasksCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n registryName,\n taskName,\n taskCreateParameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes a specified task.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param taskName The name of the container registry task.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n registryName: string,\n taskName: string,\n options?: TasksDeleteOptionalParams,\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, registryName, taskName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes a specified task.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param taskName The name of the container registry task.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n registryName: string,\n taskName: string,\n options?: TasksDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n registryName,\n taskName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Updates a task with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param taskName The name of the container registry task.\n * @param taskUpdateParameters The parameters for updating a task.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n registryName: string,\n taskName: string,\n taskUpdateParameters: TaskUpdateParameters,\n options?: TasksUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<OperationState<TasksUpdateResponse>, TasksUpdateResponse>\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<TasksUpdateResponse> => {\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: {\n resourceGroupName,\n registryName,\n taskName,\n taskUpdateParameters,\n options,\n },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n TasksUpdateResponse,\n OperationState<TasksUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Updates a task with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param taskName The name of the container registry task.\n * @param taskUpdateParameters The parameters for updating a task.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n registryName: string,\n taskName: string,\n taskUpdateParameters: TaskUpdateParameters,\n options?: TasksUpdateOptionalParams,\n ): Promise<TasksUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n registryName,\n taskName,\n taskUpdateParameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Returns a task with extended information that includes all secrets.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param taskName The name of the container registry task.\n * @param options The options parameters.\n */\n getDetails(\n resourceGroupName: string,\n registryName: string,\n taskName: string,\n options?: TasksGetDetailsOptionalParams,\n ): Promise<TasksGetDetailsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, taskName, options },\n getDetailsOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\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 resourceGroupName: string,\n registryName: string,\n nextLink: string,\n options?: TasksListNextOptionalParams,\n ): Promise<TasksListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TaskListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseForContainerRegistry,\n },\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.registryName,\n Parameters.resourceGroupName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Task,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseForContainerRegistry,\n },\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.registryName,\n Parameters.resourceGroupName1,\n Parameters.taskName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Task,\n },\n 201: {\n bodyMapper: Mappers.Task,\n },\n 202: {\n bodyMapper: Mappers.Task,\n },\n 204: {\n bodyMapper: Mappers.Task,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseForContainerRegistry,\n },\n },\n requestBody: Parameters.taskCreateParameters,\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.registryName,\n Parameters.resourceGroupName1,\n Parameters.taskName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponseForContainerRegistry,\n },\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.registryName,\n Parameters.resourceGroupName1,\n Parameters.taskName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Task,\n },\n 201: {\n bodyMapper: Mappers.Task,\n },\n 202: {\n bodyMapper: Mappers.Task,\n },\n 204: {\n bodyMapper: Mappers.Task,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseForContainerRegistry,\n },\n },\n requestBody: Parameters.taskUpdateParameters,\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.registryName,\n Parameters.resourceGroupName1,\n Parameters.taskName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst getDetailsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName}/listDetails\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.Task,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseForContainerRegistry,\n },\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.registryName,\n Parameters.resourceGroupName1,\n Parameters.taskName,\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.TaskListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponseForContainerRegistry,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.registryName,\n Parameters.nextLink,\n Parameters.resourceGroupName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
1
|
+
{"version":3,"file":"tasks.js","sourceRoot":"","sources":["../../../src/operations/tasks.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAoBtD,4CAA4C;AAC5C,yCAAyC;AACzC,MAAa,SAAS;IAGpB;;;OAGG;IACH,YAAY,MAAyC;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,YAAoB,EACpB,OAAiC;QAEjC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,YAAY,EAAE,OAAO,CAAC,CAAC;QAC1E,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,CAAC,cAAc,CACxB,iBAAiB,EACjB,YAAY,EACZ,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,iBAAyB,EACzB,YAAoB,EACpB,OAAiC,EACjC,QAAuB;;YAEvB,IAAI,MAAyB,CAAC;YAC9B,IAAI,iBAAiB,GAAG,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,iBAAiB,CAAC;YACpD,IAAI,CAAC,iBAAiB,EAAE,CAAC;gBACvB,MAAM,GAAG,sBAAM,I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AAc;QACzB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,kBAAkB;KAC9B;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 { Tasks } 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 { ContainerRegistryManagementClient } from \"../containerRegistryManagementClient.js\";\nimport {\n Task,\n TasksListNextOptionalParams,\n TasksListOptionalParams,\n TasksListResponse,\n TasksGetOptionalParams,\n TasksGetResponse,\n TasksCreateOptionalParams,\n TasksCreateResponse,\n TasksDeleteOptionalParams,\n TaskUpdateParameters,\n TasksUpdateOptionalParams,\n TasksUpdateResponse,\n TasksGetDetailsOptionalParams,\n TasksGetDetailsResponse,\n TasksListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Tasks operations. */\nexport class TasksImpl implements Tasks {\n private readonly client: ContainerRegistryManagementClient;\n\n /**\n * Initialize a new instance of the class Tasks class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerRegistryManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all the tasks for a specified container registry.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n registryName: string,\n options?: TasksListOptionalParams,\n ): PagedAsyncIterableIterator<Task> {\n const iter = this.listPagingAll(resourceGroupName, registryName, 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(\n resourceGroupName,\n registryName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n registryName: string,\n options?: TasksListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Task[]> {\n let result: TasksListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, registryName, 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(\n resourceGroupName,\n registryName,\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 *listPagingAll(\n resourceGroupName: string,\n registryName: string,\n options?: TasksListOptionalParams,\n ): AsyncIterableIterator<Task> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n registryName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists all the tasks for a specified container registry.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n registryName: string,\n options?: TasksListOptionalParams,\n ): Promise<TasksListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Get the properties of a specified task.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param taskName The name of the container registry task.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n registryName: string,\n taskName: string,\n options?: TasksGetOptionalParams,\n ): Promise<TasksGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, taskName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Creates a task for a container registry with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param taskName The name of the container registry task.\n * @param taskCreateParameters The parameters for creating a task.\n * @param options The options parameters.\n */\n create(\n resourceGroupName: string,\n registryName: string,\n taskName: string,\n taskCreateParameters: Task,\n options?: TasksCreateOptionalParams,\n ): Promise<TasksCreateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n registryName,\n taskName,\n taskCreateParameters,\n options,\n },\n createOperationSpec,\n );\n }\n\n /**\n * Deletes a specified task.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param taskName The name of the container registry task.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n registryName: string,\n taskName: string,\n options?: TasksDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, taskName, options },\n deleteOperationSpec,\n );\n }\n\n /**\n * Updates a task with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param taskName The name of the container registry task.\n * @param taskUpdateParameters The parameters for updating a task.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n registryName: string,\n taskName: string,\n taskUpdateParameters: TaskUpdateParameters,\n options?: TasksUpdateOptionalParams,\n ): Promise<TasksUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n registryName,\n taskName,\n taskUpdateParameters,\n options,\n },\n updateOperationSpec,\n );\n }\n\n /**\n * Returns a task with extended information that includes all secrets.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param taskName The name of the container registry task.\n * @param options The options parameters.\n */\n getDetails(\n resourceGroupName: string,\n registryName: string,\n taskName: string,\n options?: TasksGetDetailsOptionalParams,\n ): Promise<TasksGetDetailsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, taskName, options },\n getDetailsOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\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 resourceGroupName: string,\n registryName: string,\n nextLink: string,\n options?: TasksListNextOptionalParams,\n ): Promise<TasksListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, registryName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TaskListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.registryName,\n Parameters.resourceGroupName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Task,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.registryName,\n Parameters.resourceGroupName1,\n Parameters.taskName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Task,\n },\n 201: {\n bodyMapper: Mappers.Task,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.taskCreateParameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.registryName,\n Parameters.resourceGroupName1,\n Parameters.taskName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.registryName,\n Parameters.resourceGroupName1,\n Parameters.taskName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Task,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.taskUpdateParameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.registryName,\n Parameters.resourceGroupName1,\n Parameters.taskName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst getDetailsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName}/listDetails\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.Task,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.registryName,\n Parameters.resourceGroupName1,\n Parameters.taskName,\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.TaskListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.registryName,\n Parameters.nextLink,\n Parameters.resourceGroupName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
2
2
|
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
3
|
-
import { AgentPool, AgentPoolsListOptionalParams, AgentPoolsGetOptionalParams, AgentPoolsGetResponse, AgentPoolsCreateOptionalParams, AgentPoolsCreateResponse, AgentPoolsDeleteOptionalParams, AgentPoolUpdateParameters, AgentPoolsUpdateOptionalParams, AgentPoolsUpdateResponse, AgentPoolsGetQueueStatusOptionalParams, AgentPoolsGetQueueStatusResponse } from "../models/index.js";
|
3
|
+
import { AgentPool, AgentPoolsListOptionalParams, AgentPoolsGetOptionalParams, AgentPoolsGetResponse, AgentPoolsCreateOptionalParams, AgentPoolsCreateResponse, AgentPoolsDeleteOptionalParams, AgentPoolsDeleteResponse, AgentPoolUpdateParameters, AgentPoolsUpdateOptionalParams, AgentPoolsUpdateResponse, AgentPoolsGetQueueStatusOptionalParams, AgentPoolsGetQueueStatusResponse } from "../models/index.js";
|
4
4
|
/** Interface representing a AgentPools. */
|
5
5
|
export interface AgentPools {
|
6
6
|
/**
|
@@ -43,7 +43,7 @@ export interface AgentPools {
|
|
43
43
|
* @param agentPoolName The name of the agent pool.
|
44
44
|
* @param options The options parameters.
|
45
45
|
*/
|
46
|
-
beginDelete(resourceGroupName: string, registryName: string, agentPoolName: string, options?: AgentPoolsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<
|
46
|
+
beginDelete(resourceGroupName: string, registryName: string, agentPoolName: string, options?: AgentPoolsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<AgentPoolsDeleteResponse>, AgentPoolsDeleteResponse>>;
|
47
47
|
/**
|
48
48
|
* Deletes a specified agent pool resource.
|
49
49
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
@@ -51,7 +51,7 @@ export interface AgentPools {
|
|
51
51
|
* @param agentPoolName The name of the agent pool.
|
52
52
|
* @param options The options parameters.
|
53
53
|
*/
|
54
|
-
beginDeleteAndWait(resourceGroupName: string, registryName: string, agentPoolName: string, options?: AgentPoolsDeleteOptionalParams): Promise<
|
54
|
+
beginDeleteAndWait(resourceGroupName: string, registryName: string, agentPoolName: string, options?: AgentPoolsDeleteOptionalParams): Promise<AgentPoolsDeleteResponse>;
|
55
55
|
/**
|
56
56
|
* Updates an agent pool with the specified parameters.
|
57
57
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"agentPools.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/agentPools.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,SAAS,EACT,4BAA4B,EAC5B,2BAA2B,EAC3B,qBAAqB,EACrB,8BAA8B,EAC9B,wBAAwB,EACxB,8BAA8B,EAC9B,yBAAyB,EACzB,8BAA8B,EAC9B,wBAAwB,EACxB,sCAAsC,EACtC,gCAAgC,EACjC,MAAM,oBAAoB,CAAC;AAG5B,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;;;OAKG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC,CAAC;IACzC;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,qBAAqB,CAAC,CAAC;IAClC;;;;;;;OAOG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,aAAa,EAAE,MAAM,EACrB,SAAS,EAAE,SAAS,EACpB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,wBAAwB,CAAC,EACxC,wBAAwB,CACzB,CACF,CAAC;IACF;;;;;;;OAOG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,aAAa,EAAE,MAAM,EACrB,SAAS,EAAE,SAAS,EACpB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC,CAAC;IACrC;;;;;;OAMG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,
|
1
|
+
{"version":3,"file":"agentPools.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/agentPools.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,SAAS,EACT,4BAA4B,EAC5B,2BAA2B,EAC3B,qBAAqB,EACrB,8BAA8B,EAC9B,wBAAwB,EACxB,8BAA8B,EAC9B,wBAAwB,EACxB,yBAAyB,EACzB,8BAA8B,EAC9B,wBAAwB,EACxB,sCAAsC,EACtC,gCAAg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CAAC;IACrC;;;;;;;OAOG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,yBAAyB,EAC3C,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,wBAAwB,CAAC,EACxC,wBAAwB,CACzB,CACF,CAAC;IACF;;;;;;;OAOG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,aAAa,EAAE,MAAM,EACrB,gBAAgB,EAAE,yBAAyB,EAC3C,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC,CAAC;IACrC;;;;;;OAMG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,gCAAgC,CAAC,CAAC;CAC9C"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"agentPools.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/agentPools.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","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 } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n AgentPool,\n AgentPoolsListOptionalParams,\n AgentPoolsGetOptionalParams,\n AgentPoolsGetResponse,\n AgentPoolsCreateOptionalParams,\n AgentPoolsCreateResponse,\n AgentPoolsDeleteOptionalParams,\n AgentPoolUpdateParameters,\n AgentPoolsUpdateOptionalParams,\n AgentPoolsUpdateResponse,\n AgentPoolsGetQueueStatusOptionalParams,\n AgentPoolsGetQueueStatusResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a AgentPools. */\nexport interface AgentPools {\n /**\n * Lists all the agent pools for a specified container registry.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n registryName: string,\n options?: AgentPoolsListOptionalParams,\n ): PagedAsyncIterableIterator<AgentPool>;\n /**\n * Gets the detailed information for a given agent pool.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n registryName: string,\n agentPoolName: string,\n options?: AgentPoolsGetOptionalParams,\n ): Promise<AgentPoolsGetResponse>;\n /**\n * Creates an agent pool for a container registry with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param agentPoolName The name of the agent pool.\n * @param agentPool The parameters of an agent pool that needs to scheduled.\n * @param options The options parameters.\n */\n beginCreate(\n resourceGroupName: string,\n registryName: string,\n agentPoolName: string,\n agentPool: AgentPool,\n options?: AgentPoolsCreateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<AgentPoolsCreateResponse>,\n AgentPoolsCreateResponse\n >\n >;\n /**\n * Creates an agent pool for a container registry with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param agentPoolName The name of the agent pool.\n * @param agentPool The parameters of an agent pool that needs to scheduled.\n * @param options The options parameters.\n */\n beginCreateAndWait(\n resourceGroupName: string,\n registryName: string,\n agentPoolName: string,\n agentPool: AgentPool,\n options?: AgentPoolsCreateOptionalParams,\n ): Promise<AgentPoolsCreateResponse>;\n /**\n * Deletes a specified agent pool resource.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n registryName: string,\n agentPoolName: string,\n options?: AgentPoolsDeleteOptionalParams,\n ): Promise
|
1
|
+
{"version":3,"file":"agentPools.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/agentPools.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","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 } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n AgentPool,\n AgentPoolsListOptionalParams,\n AgentPoolsGetOptionalParams,\n AgentPoolsGetResponse,\n AgentPoolsCreateOptionalParams,\n AgentPoolsCreateResponse,\n AgentPoolsDeleteOptionalParams,\n AgentPoolsDeleteResponse,\n AgentPoolUpdateParameters,\n AgentPoolsUpdateOptionalParams,\n AgentPoolsUpdateResponse,\n AgentPoolsGetQueueStatusOptionalParams,\n AgentPoolsGetQueueStatusResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a AgentPools. */\nexport interface AgentPools {\n /**\n * Lists all the agent pools for a specified container registry.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n registryName: string,\n options?: AgentPoolsListOptionalParams,\n ): PagedAsyncIterableIterator<AgentPool>;\n /**\n * Gets the detailed information for a given agent pool.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n registryName: string,\n agentPoolName: string,\n options?: AgentPoolsGetOptionalParams,\n ): Promise<AgentPoolsGetResponse>;\n /**\n * Creates an agent pool for a container registry with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param agentPoolName The name of the agent pool.\n * @param agentPool The parameters of an agent pool that needs to scheduled.\n * @param options The options parameters.\n */\n beginCreate(\n resourceGroupName: string,\n registryName: string,\n agentPoolName: string,\n agentPool: AgentPool,\n options?: AgentPoolsCreateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<AgentPoolsCreateResponse>,\n AgentPoolsCreateResponse\n >\n >;\n /**\n * Creates an agent pool for a container registry with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param agentPoolName The name of the agent pool.\n * @param agentPool The parameters of an agent pool that needs to scheduled.\n * @param options The options parameters.\n */\n beginCreateAndWait(\n resourceGroupName: string,\n registryName: string,\n agentPoolName: string,\n agentPool: AgentPool,\n options?: AgentPoolsCreateOptionalParams,\n ): Promise<AgentPoolsCreateResponse>;\n /**\n * Deletes a specified agent pool resource.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n registryName: string,\n agentPoolName: string,\n options?: AgentPoolsDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<AgentPoolsDeleteResponse>,\n AgentPoolsDeleteResponse\n >\n >;\n /**\n * Deletes a specified agent pool resource.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n registryName: string,\n agentPoolName: string,\n options?: AgentPoolsDeleteOptionalParams,\n ): Promise<AgentPoolsDeleteResponse>;\n /**\n * Updates an agent pool with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param agentPoolName The name of the agent pool.\n * @param updateParameters The parameters for updating an agent pool.\n * @param options The options parameters.\n */\n beginUpdate(\n resourceGroupName: string,\n registryName: string,\n agentPoolName: string,\n updateParameters: AgentPoolUpdateParameters,\n options?: AgentPoolsUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<AgentPoolsUpdateResponse>,\n AgentPoolsUpdateResponse\n >\n >;\n /**\n * Updates an agent pool with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param agentPoolName The name of the agent pool.\n * @param updateParameters The parameters for updating an agent pool.\n * @param options The options parameters.\n */\n beginUpdateAndWait(\n resourceGroupName: string,\n registryName: string,\n agentPoolName: string,\n updateParameters: AgentPoolUpdateParameters,\n options?: AgentPoolsUpdateOptionalParams,\n ): Promise<AgentPoolsUpdateResponse>;\n /**\n * Gets the count of queued runs for a given agent pool.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param agentPoolName The name of the agent pool.\n * @param options The options parameters.\n */\n getQueueStatus(\n resourceGroupName: string,\n registryName: string,\n agentPoolName: string,\n options?: AgentPoolsGetQueueStatusOptionalParams,\n ): Promise<AgentPoolsGetQueueStatusResponse>;\n}\n"]}
|
@@ -151,15 +151,7 @@ export interface Registries {
|
|
151
151
|
* @param runRequest The parameters of a run that needs to scheduled.
|
152
152
|
* @param options The options parameters.
|
153
153
|
*/
|
154
|
-
|
155
|
-
/**
|
156
|
-
* Schedules a new run based on the request parameters and add it to the run queue.
|
157
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
158
|
-
* @param registryName The name of the container registry.
|
159
|
-
* @param runRequest The parameters of a run that needs to scheduled.
|
160
|
-
* @param options The options parameters.
|
161
|
-
*/
|
162
|
-
beginScheduleRunAndWait(resourceGroupName: string, registryName: string, runRequest: RunRequestUnion, options?: RegistriesScheduleRunOptionalParams): Promise<RegistriesScheduleRunResponse>;
|
154
|
+
scheduleRun(resourceGroupName: string, registryName: string, runRequest: RunRequestUnion, options?: RegistriesScheduleRunOptionalParams): Promise<RegistriesScheduleRunResponse>;
|
163
155
|
/**
|
164
156
|
* Get the upload location for the user to be able to upload the source.
|
165
157
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"registries.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/registries.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,QAAQ,EACR,4BAA4B,EAC5B,2CAA2C,EAC3C,mBAAmB,EACnB,gDAAgD,EAChD,qBAAqB,EACrB,mCAAmC,EACnC,wBAAwB,EACxB,6CAA6C,EAC7C,uCAAuC,EACvC,2BAA2B,EAC3B,qBAAqB,EACrB,8BAA8B,EAC9B,wBAAwB,EACxB,8BAA8B,EAC9B,wBAAwB,EACxB,8BAA8B,EAC9B,wBAAwB,EACxB,kCAAkC,EAClC,4BAA4B,EAC5B,8CAA8C,EAC9C,wCAAwC,EACxC,uCAAuC,EACvC,iCAAiC,EACjC,8BAA8B,EAC9B,4CAA4C,EAC5C,sCAAsC,EACtC,6BAA6B,EAC7B,2CAA2C,EAC3C,qCAAqC,EACrC,eAAe,EACf,mCAAmC,EACnC,6BAA6B,EAC7B,+CAA+C,EAC/C,yCAAyC,EAC1C,MAAM,oBAAoB,CAAC;AAG5B,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,QAAQ,CAAC,CAAC;IACxC;;;;OAIG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,2CAA2C,GACpD,0BAA0B,CAAC,QAAQ,CAAC,CAAC;IACxC;;;;;OAKG;IACH,wBAAwB,CACtB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,gDA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8BAA8B,EAC9D,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,sCAAsC,CAAC,CAAC;IACnD;;;;;;OAMG;IACH,wBAAwB,CACtB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,6BAA6B,EAAE,6BAA6B,EAC5D,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,qCAAqC,CAAC,EACrD,qCAAqC,CACtC,CACF,CAAC;IACF;;;;;;OAMG;IACH,+BAA+B,CAC7B,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,6BAA6B,EAAE,6BAA6B,EAC5D,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC,CAAC;IAClD;;;;;;OAMG;IACH,
|
1
|
+
{"version":3,"file":"registries.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/registries.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,QAAQ,EACR,4BAA4B,EAC5B,2CAA2C,EAC3C,mBAAmB,EACnB,gDAAgD,EAChD,qBAAqB,EACrB,mCAAmC,EACnC,wBAAwB,EACxB,6CAA6C,EAC7C,uCAAuC,EACvC,2BAA2B,EAC3B,qBAAqB,EACrB,8BAA8B,EAC9B,wBAAwB,EACxB,8BAA8B,EAC9B,wBAAwB,EACxB,8BAA8B,EAC9B,wBAAwB,EACxB,kCAAkC,EAClC,4BAA4B,EAC5B,8CAA8C,EAC9C,wCAAwC,EACxC,uCAAuC,EACvC,iCAAiC,EACjC,8BAA8B,EAC9B,4CAA4C,EAC5C,sCAAsC,EACtC,6BAA6B,EAC7B,2CAA2C,EAC3C,qCAAqC,EACrC,eAAe,EACf,mCAAmC,EACnC,6BAA6B,EAC7B,+CAA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CAAC,CAAC;CACvD"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"registries.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/registries.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","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 } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n Registry,\n RegistriesListOptionalParams,\n RegistriesListByResourceGroupOptionalParams,\n PrivateLinkResource,\n RegistriesListPrivateLinkResourcesOptionalParams,\n ImportImageParameters,\n RegistriesImportImageOptionalParams,\n RegistryNameCheckRequest,\n RegistriesCheckNameAvailabilityOptionalParams,\n RegistriesCheckNameAvailabilityResponse,\n RegistriesGetOptionalParams,\n RegistriesGetResponse,\n RegistriesCreateOptionalParams,\n RegistriesCreateResponse,\n RegistriesDeleteOptionalParams,\n RegistryUpdateParameters,\n RegistriesUpdateOptionalParams,\n RegistriesUpdateResponse,\n RegistriesListUsagesOptionalParams,\n RegistriesListUsagesResponse,\n RegistriesGetPrivateLinkResourceOptionalParams,\n RegistriesGetPrivateLinkResourceResponse,\n RegistriesListCredentialsOptionalParams,\n RegistriesListCredentialsResponse,\n RegenerateCredentialParameters,\n RegistriesRegenerateCredentialOptionalParams,\n RegistriesRegenerateCredentialResponse,\n GenerateCredentialsParameters,\n RegistriesGenerateCredentialsOptionalParams,\n RegistriesGenerateCredentialsResponse,\n RunRequestUnion,\n RegistriesScheduleRunOptionalParams,\n RegistriesScheduleRunResponse,\n RegistriesGetBuildSourceUploadUrlOptionalParams,\n RegistriesGetBuildSourceUploadUrlResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Registries. */\nexport interface Registries {\n /**\n * Lists all the container registries under the specified subscription.\n * @param options The options parameters.\n */\n list(\n options?: RegistriesListOptionalParams,\n ): PagedAsyncIterableIterator<Registry>;\n /**\n * Lists all the container registries under the specified resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n options?: RegistriesListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<Registry>;\n /**\n * Lists the private link resources for a container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n listPrivateLinkResources(\n resourceGroupName: string,\n registryName: string,\n options?: RegistriesListPrivateLinkResourcesOptionalParams,\n ): PagedAsyncIterableIterator<PrivateLinkResource>;\n /**\n * Copies an image to this container registry from the specified container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param parameters The parameters specifying the image to copy and the source container registry.\n * @param options The options parameters.\n */\n beginImportImage(\n resourceGroupName: string,\n registryName: string,\n parameters: ImportImageParameters,\n options?: RegistriesImportImageOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Copies an image to this container registry from the specified container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param parameters The parameters specifying the image to copy and the source container registry.\n * @param options The options parameters.\n */\n beginImportImageAndWait(\n resourceGroupName: string,\n registryName: string,\n parameters: ImportImageParameters,\n options?: RegistriesImportImageOptionalParams,\n ): Promise<void>;\n /**\n * Checks whether the container registry name is available for use. The name must contain only\n * alphanumeric characters, be globally unique, and between 5 and 50 characters in length.\n * @param registryNameCheckRequest The object containing information for the availability request.\n * @param options The options parameters.\n */\n checkNameAvailability(\n registryNameCheckRequest: RegistryNameCheckRequest,\n options?: RegistriesCheckNameAvailabilityOptionalParams,\n ): Promise<RegistriesCheckNameAvailabilityResponse>;\n /**\n * Gets the properties of the specified container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n registryName: string,\n options?: RegistriesGetOptionalParams,\n ): Promise<RegistriesGetResponse>;\n /**\n * Creates a container registry with the specified parameters.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param registry The parameters for creating a container registry.\n * @param options The options parameters.\n */\n beginCreate(\n resourceGroupName: string,\n registryName: string,\n registry: Registry,\n options?: RegistriesCreateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<RegistriesCreateResponse>,\n RegistriesCreateResponse\n >\n >;\n /**\n * Creates a container registry with the specified parameters.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param registry The parameters for creating a container registry.\n * @param options The options parameters.\n */\n beginCreateAndWait(\n resourceGroupName: string,\n registryName: string,\n registry: Registry,\n options?: RegistriesCreateOptionalParams,\n ): Promise<RegistriesCreateResponse>;\n /**\n * Deletes a container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n registryName: string,\n options?: RegistriesDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Deletes a container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n registryName: string,\n options?: RegistriesDeleteOptionalParams,\n ): Promise<void>;\n /**\n * Updates a container registry with the specified parameters.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param registryUpdateParameters The parameters for updating a container registry.\n * @param options The options parameters.\n */\n beginUpdate(\n resourceGroupName: string,\n registryName: string,\n registryUpdateParameters: RegistryUpdateParameters,\n options?: RegistriesUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<RegistriesUpdateResponse>,\n RegistriesUpdateResponse\n >\n >;\n /**\n * Updates a container registry with the specified parameters.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param registryUpdateParameters The parameters for updating a container registry.\n * @param options The options parameters.\n */\n beginUpdateAndWait(\n resourceGroupName: string,\n registryName: string,\n registryUpdateParameters: RegistryUpdateParameters,\n options?: RegistriesUpdateOptionalParams,\n ): Promise<RegistriesUpdateResponse>;\n /**\n * Gets the quota usages for the specified container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n listUsages(\n resourceGroupName: string,\n registryName: string,\n options?: RegistriesListUsagesOptionalParams,\n ): Promise<RegistriesListUsagesResponse>;\n /**\n * Gets a private link resource by a specified group name for a container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param groupName The name of the private link resource.\n * @param options The options parameters.\n */\n getPrivateLinkResource(\n resourceGroupName: string,\n registryName: string,\n groupName: string,\n options?: RegistriesGetPrivateLinkResourceOptionalParams,\n ): Promise<RegistriesGetPrivateLinkResourceResponse>;\n /**\n * Lists the login credentials for the specified container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n listCredentials(\n resourceGroupName: string,\n registryName: string,\n options?: RegistriesListCredentialsOptionalParams,\n ): Promise<RegistriesListCredentialsResponse>;\n /**\n * Regenerates one of the login credentials for the specified container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param regenerateCredentialParameters Specifies name of the password which should be regenerated --\n * password or password2.\n * @param options The options parameters.\n */\n regenerateCredential(\n resourceGroupName: string,\n registryName: string,\n regenerateCredentialParameters: RegenerateCredentialParameters,\n options?: RegistriesRegenerateCredentialOptionalParams,\n ): Promise<RegistriesRegenerateCredentialResponse>;\n /**\n * Generate keys for a token of a specified container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param generateCredentialsParameters The parameters for generating credentials.\n * @param options The options parameters.\n */\n beginGenerateCredentials(\n resourceGroupName: string,\n registryName: string,\n generateCredentialsParameters: GenerateCredentialsParameters,\n options?: RegistriesGenerateCredentialsOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<RegistriesGenerateCredentialsResponse>,\n RegistriesGenerateCredentialsResponse\n >\n >;\n /**\n * Generate keys for a token of a specified container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param generateCredentialsParameters The parameters for generating credentials.\n * @param options The options parameters.\n */\n beginGenerateCredentialsAndWait(\n resourceGroupName: string,\n registryName: string,\n generateCredentialsParameters: GenerateCredentialsParameters,\n options?: RegistriesGenerateCredentialsOptionalParams,\n ): Promise<RegistriesGenerateCredentialsResponse>;\n /**\n * Schedules a new run based on the request parameters and add it to the run queue.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param runRequest The parameters of a run that needs to scheduled.\n * @param options The options parameters.\n */\n beginScheduleRun(\n resourceGroupName: string,\n registryName: string,\n runRequest: RunRequestUnion,\n options?: RegistriesScheduleRunOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<RegistriesScheduleRunResponse>,\n RegistriesScheduleRunResponse\n >\n >;\n /**\n * Schedules a new run based on the request parameters and add it to the run queue.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param runRequest The parameters of a run that needs to scheduled.\n * @param options The options parameters.\n */\n beginScheduleRunAndWait(\n resourceGroupName: string,\n registryName: string,\n runRequest: RunRequestUnion,\n options?: RegistriesScheduleRunOptionalParams,\n ): Promise<RegistriesScheduleRunResponse>;\n /**\n * Get the upload location for the user to be able to upload the source.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n getBuildSourceUploadUrl(\n resourceGroupName: string,\n registryName: string,\n options?: RegistriesGetBuildSourceUploadUrlOptionalParams,\n ): Promise<RegistriesGetBuildSourceUploadUrlResponse>;\n}\n"]}
|
1
|
+
{"version":3,"file":"registries.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/registries.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","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 } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n Registry,\n RegistriesListOptionalParams,\n RegistriesListByResourceGroupOptionalParams,\n PrivateLinkResource,\n RegistriesListPrivateLinkResourcesOptionalParams,\n ImportImageParameters,\n RegistriesImportImageOptionalParams,\n RegistryNameCheckRequest,\n RegistriesCheckNameAvailabilityOptionalParams,\n RegistriesCheckNameAvailabilityResponse,\n RegistriesGetOptionalParams,\n RegistriesGetResponse,\n RegistriesCreateOptionalParams,\n RegistriesCreateResponse,\n RegistriesDeleteOptionalParams,\n RegistryUpdateParameters,\n RegistriesUpdateOptionalParams,\n RegistriesUpdateResponse,\n RegistriesListUsagesOptionalParams,\n RegistriesListUsagesResponse,\n RegistriesGetPrivateLinkResourceOptionalParams,\n RegistriesGetPrivateLinkResourceResponse,\n RegistriesListCredentialsOptionalParams,\n RegistriesListCredentialsResponse,\n RegenerateCredentialParameters,\n RegistriesRegenerateCredentialOptionalParams,\n RegistriesRegenerateCredentialResponse,\n GenerateCredentialsParameters,\n RegistriesGenerateCredentialsOptionalParams,\n RegistriesGenerateCredentialsResponse,\n RunRequestUnion,\n RegistriesScheduleRunOptionalParams,\n RegistriesScheduleRunResponse,\n RegistriesGetBuildSourceUploadUrlOptionalParams,\n RegistriesGetBuildSourceUploadUrlResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Registries. */\nexport interface Registries {\n /**\n * Lists all the container registries under the specified subscription.\n * @param options The options parameters.\n */\n list(\n options?: RegistriesListOptionalParams,\n ): PagedAsyncIterableIterator<Registry>;\n /**\n * Lists all the container registries under the specified resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n options?: RegistriesListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<Registry>;\n /**\n * Lists the private link resources for a container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n listPrivateLinkResources(\n resourceGroupName: string,\n registryName: string,\n options?: RegistriesListPrivateLinkResourcesOptionalParams,\n ): PagedAsyncIterableIterator<PrivateLinkResource>;\n /**\n * Copies an image to this container registry from the specified container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param parameters The parameters specifying the image to copy and the source container registry.\n * @param options The options parameters.\n */\n beginImportImage(\n resourceGroupName: string,\n registryName: string,\n parameters: ImportImageParameters,\n options?: RegistriesImportImageOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Copies an image to this container registry from the specified container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param parameters The parameters specifying the image to copy and the source container registry.\n * @param options The options parameters.\n */\n beginImportImageAndWait(\n resourceGroupName: string,\n registryName: string,\n parameters: ImportImageParameters,\n options?: RegistriesImportImageOptionalParams,\n ): Promise<void>;\n /**\n * Checks whether the container registry name is available for use. The name must contain only\n * alphanumeric characters, be globally unique, and between 5 and 50 characters in length.\n * @param registryNameCheckRequest The object containing information for the availability request.\n * @param options The options parameters.\n */\n checkNameAvailability(\n registryNameCheckRequest: RegistryNameCheckRequest,\n options?: RegistriesCheckNameAvailabilityOptionalParams,\n ): Promise<RegistriesCheckNameAvailabilityResponse>;\n /**\n * Gets the properties of the specified container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n registryName: string,\n options?: RegistriesGetOptionalParams,\n ): Promise<RegistriesGetResponse>;\n /**\n * Creates a container registry with the specified parameters.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param registry The parameters for creating a container registry.\n * @param options The options parameters.\n */\n beginCreate(\n resourceGroupName: string,\n registryName: string,\n registry: Registry,\n options?: RegistriesCreateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<RegistriesCreateResponse>,\n RegistriesCreateResponse\n >\n >;\n /**\n * Creates a container registry with the specified parameters.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param registry The parameters for creating a container registry.\n * @param options The options parameters.\n */\n beginCreateAndWait(\n resourceGroupName: string,\n registryName: string,\n registry: Registry,\n options?: RegistriesCreateOptionalParams,\n ): Promise<RegistriesCreateResponse>;\n /**\n * Deletes a container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n registryName: string,\n options?: RegistriesDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Deletes a container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n registryName: string,\n options?: RegistriesDeleteOptionalParams,\n ): Promise<void>;\n /**\n * Updates a container registry with the specified parameters.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param registryUpdateParameters The parameters for updating a container registry.\n * @param options The options parameters.\n */\n beginUpdate(\n resourceGroupName: string,\n registryName: string,\n registryUpdateParameters: RegistryUpdateParameters,\n options?: RegistriesUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<RegistriesUpdateResponse>,\n RegistriesUpdateResponse\n >\n >;\n /**\n * Updates a container registry with the specified parameters.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param registryUpdateParameters The parameters for updating a container registry.\n * @param options The options parameters.\n */\n beginUpdateAndWait(\n resourceGroupName: string,\n registryName: string,\n registryUpdateParameters: RegistryUpdateParameters,\n options?: RegistriesUpdateOptionalParams,\n ): Promise<RegistriesUpdateResponse>;\n /**\n * Gets the quota usages for the specified container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n listUsages(\n resourceGroupName: string,\n registryName: string,\n options?: RegistriesListUsagesOptionalParams,\n ): Promise<RegistriesListUsagesResponse>;\n /**\n * Gets a private link resource by a specified group name for a container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param groupName The name of the private link resource.\n * @param options The options parameters.\n */\n getPrivateLinkResource(\n resourceGroupName: string,\n registryName: string,\n groupName: string,\n options?: RegistriesGetPrivateLinkResourceOptionalParams,\n ): Promise<RegistriesGetPrivateLinkResourceResponse>;\n /**\n * Lists the login credentials for the specified container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n listCredentials(\n resourceGroupName: string,\n registryName: string,\n options?: RegistriesListCredentialsOptionalParams,\n ): Promise<RegistriesListCredentialsResponse>;\n /**\n * Regenerates one of the login credentials for the specified container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param regenerateCredentialParameters Specifies name of the password which should be regenerated --\n * password or password2.\n * @param options The options parameters.\n */\n regenerateCredential(\n resourceGroupName: string,\n registryName: string,\n regenerateCredentialParameters: RegenerateCredentialParameters,\n options?: RegistriesRegenerateCredentialOptionalParams,\n ): Promise<RegistriesRegenerateCredentialResponse>;\n /**\n * Generate keys for a token of a specified container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param generateCredentialsParameters The parameters for generating credentials.\n * @param options The options parameters.\n */\n beginGenerateCredentials(\n resourceGroupName: string,\n registryName: string,\n generateCredentialsParameters: GenerateCredentialsParameters,\n options?: RegistriesGenerateCredentialsOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<RegistriesGenerateCredentialsResponse>,\n RegistriesGenerateCredentialsResponse\n >\n >;\n /**\n * Generate keys for a token of a specified container registry.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param registryName The name of the container registry.\n * @param generateCredentialsParameters The parameters for generating credentials.\n * @param options The options parameters.\n */\n beginGenerateCredentialsAndWait(\n resourceGroupName: string,\n registryName: string,\n generateCredentialsParameters: GenerateCredentialsParameters,\n options?: RegistriesGenerateCredentialsOptionalParams,\n ): Promise<RegistriesGenerateCredentialsResponse>;\n /**\n * Schedules a new run based on the request parameters and add it to the run queue.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param runRequest The parameters of a run that needs to scheduled.\n * @param options The options parameters.\n */\n scheduleRun(\n resourceGroupName: string,\n registryName: string,\n runRequest: RunRequestUnion,\n options?: RegistriesScheduleRunOptionalParams,\n ): Promise<RegistriesScheduleRunResponse>;\n /**\n * Get the upload location for the user to be able to upload the source.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n getBuildSourceUploadUrl(\n resourceGroupName: string,\n registryName: string,\n options?: RegistriesGetBuildSourceUploadUrlOptionalParams,\n ): Promise<RegistriesGetBuildSourceUploadUrlResponse>;\n}\n"]}
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
2
|
-
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
3
2
|
import { Run, RunsListOptionalParams, RunsGetOptionalParams, RunsGetResponse, RunUpdateParameters, RunsUpdateOptionalParams, RunsUpdateResponse, RunsGetLogSasUrlOptionalParams, RunsGetLogSasUrlResponse, RunsCancelOptionalParams } from "../models/index.js";
|
4
3
|
/** Interface representing a Runs. */
|
5
4
|
export interface Runs {
|
@@ -26,16 +25,7 @@ export interface Runs {
|
|
26
25
|
* @param runUpdateParameters The run update properties.
|
27
26
|
* @param options The options parameters.
|
28
27
|
*/
|
29
|
-
|
30
|
-
/**
|
31
|
-
* Patch the run properties.
|
32
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
33
|
-
* @param registryName The name of the container registry.
|
34
|
-
* @param runId The run ID.
|
35
|
-
* @param runUpdateParameters The run update properties.
|
36
|
-
* @param options The options parameters.
|
37
|
-
*/
|
38
|
-
beginUpdateAndWait(resourceGroupName: string, registryName: string, runId: string, runUpdateParameters: RunUpdateParameters, options?: RunsUpdateOptionalParams): Promise<RunsUpdateResponse>;
|
28
|
+
update(resourceGroupName: string, registryName: string, runId: string, runUpdateParameters: RunUpdateParameters, options?: RunsUpdateOptionalParams): Promise<RunsUpdateResponse>;
|
39
29
|
/**
|
40
30
|
* Gets a link to download the run logs.
|
41
31
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
@@ -51,14 +41,6 @@ export interface Runs {
|
|
51
41
|
* @param runId The run ID.
|
52
42
|
* @param options The options parameters.
|
53
43
|
*/
|
54
|
-
|
55
|
-
/**
|
56
|
-
* Cancel an existing run.
|
57
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
58
|
-
* @param registryName The name of the container registry.
|
59
|
-
* @param runId The run ID.
|
60
|
-
* @param options The options parameters.
|
61
|
-
*/
|
62
|
-
beginCancelAndWait(resourceGroupName: string, registryName: string, runId: string, options?: RunsCancelOptionalParams): Promise<void>;
|
44
|
+
cancel(resourceGroupName: string, registryName: string, runId: string, options?: RunsCancelOptionalParams): Promise<void>;
|
63
45
|
}
|
64
46
|
//# sourceMappingURL=runs.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"runs.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/runs.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,
|
1
|
+
{"version":3,"file":"runs.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/runs.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,GAAG,EACH,sBAAsB,EACtB,qBAAqB,EACrB,eAAe,EACf,mBAAmB,EACnB,wBAAwB,EACxB,kBAAkB,EAClB,8BAA8B,EAC9B,wBAAwB,EACxB,wBAAwB,EACzB,MAAM,oBAAoB,CAAC;AAG5B,qCAAqC;AACrC,MAAM,WAAW,IAAI;IACnB;;;;;OAKG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,sBAAsB,GAC/B,0BAA0B,CAAC,GAAG,CAAC,CAAC;IACnC;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,qBAAqB,GAC9B,OAAO,CAAC,eAAe,CAAC,CAAC;IAC5B;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,KAAK,EAAE,MAAM,EACb,mBAAmB,EAAE,mBAAmB,EACxC,OAAO,CAAC,EAAE,wBAAwB,GACjC,OAAO,CAAC,kBAAkB,CAAC,CAAC;IAC/B;;;;;;OAMG;IACH,YAAY,CACV,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC,CAAC;IACrC;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,wBAAwB,GACjC,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"runs.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/runs.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","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 } from \"@azure/core-paging\";\nimport {
|
1
|
+
{"version":3,"file":"runs.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/runs.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","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 } from \"@azure/core-paging\";\nimport {\n Run,\n RunsListOptionalParams,\n RunsGetOptionalParams,\n RunsGetResponse,\n RunUpdateParameters,\n RunsUpdateOptionalParams,\n RunsUpdateResponse,\n RunsGetLogSasUrlOptionalParams,\n RunsGetLogSasUrlResponse,\n RunsCancelOptionalParams,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Runs. */\nexport interface Runs {\n /**\n * Gets all the runs for a registry.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n registryName: string,\n options?: RunsListOptionalParams,\n ): PagedAsyncIterableIterator<Run>;\n /**\n * Gets the detailed information for a given run.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param runId The run ID.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n registryName: string,\n runId: string,\n options?: RunsGetOptionalParams,\n ): Promise<RunsGetResponse>;\n /**\n * Patch the run properties.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param runId The run ID.\n * @param runUpdateParameters The run update properties.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n registryName: string,\n runId: string,\n runUpdateParameters: RunUpdateParameters,\n options?: RunsUpdateOptionalParams,\n ): Promise<RunsUpdateResponse>;\n /**\n * Gets a link to download the run logs.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param runId The run ID.\n * @param options The options parameters.\n */\n getLogSasUrl(\n resourceGroupName: string,\n registryName: string,\n runId: string,\n options?: RunsGetLogSasUrlOptionalParams,\n ): Promise<RunsGetLogSasUrlResponse>;\n /**\n * Cancel an existing run.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param runId The run ID.\n * @param options The options parameters.\n */\n cancel(\n resourceGroupName: string,\n registryName: string,\n runId: string,\n options?: RunsCancelOptionalParams,\n ): Promise<void>;\n}\n"]}
|
@@ -43,15 +43,7 @@ export interface TaskRuns {
|
|
43
43
|
* @param taskRunName The name of the task run.
|
44
44
|
* @param options The options parameters.
|
45
45
|
*/
|
46
|
-
|
47
|
-
/**
|
48
|
-
* Deletes a specified task run resource.
|
49
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
50
|
-
* @param registryName The name of the container registry.
|
51
|
-
* @param taskRunName The name of the task run.
|
52
|
-
* @param options The options parameters.
|
53
|
-
*/
|
54
|
-
beginDeleteAndWait(resourceGroupName: string, registryName: string, taskRunName: string, options?: TaskRunsDeleteOptionalParams): Promise<void>;
|
46
|
+
delete(resourceGroupName: string, registryName: string, taskRunName: string, options?: TaskRunsDeleteOptionalParams): Promise<void>;
|
55
47
|
/**
|
56
48
|
* Updates a task run with the specified parameters.
|
57
49
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"taskRuns.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/taskRuns.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,OAAO,EACP,0BAA0B,EAC1B,yBAAyB,EACzB,mBAAmB,EACnB,4BAA4B,EAC5B,sBAAsB,EACtB,4BAA4B,EAC5B,uBAAuB,EACvB,4BAA4B,EAC5B,sBAAsB,EACtB,gCAAgC,EAChC,0BAA0B,EAC3B,MAAM,oBAAoB,CAAC;AAG5B,yCAAyC;AACzC,MAAM,WAAW,QAAQ;IACvB;;;;;OAKG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,0BAA0B,GACnC,0BAA0B,CAAC,OAAO,CAAC,CAAC;IACvC;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAChC;;;;;;;OAOG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,OAAO,EAChB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,sBAAsB,CAAC,EACtC,sBAAsB,CACvB,CACF,CAAC;IACF;;;;;;;OAOG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,OAAO,EAChB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC,CAAC;IACnC;;;;;;OAMG;IACH,
|
1
|
+
{"version":3,"file":"taskRuns.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/taskRuns.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,OAAO,EACP,0BAA0B,EAC1B,yBAAyB,EACzB,mBAAmB,EACnB,4BAA4B,EAC5B,sBAAsB,EACtB,4BAA4B,EAC5B,uBAAuB,EACvB,4BAA4B,EAC5B,sBAAsB,EACtB,gCAAgC,EAChC,0BAA0B,EAC3B,MAAM,oBAAoB,CAAC;AAG5B,yCAAyC;AACzC,MAAM,WAAW,QAAQ;IACvB;;;;;OAKG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,0BAA0B,GACnC,0BAA0B,CAAC,OAAO,CAAC,CAAC;IACvC;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAChC;;;;;;;OAOG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,OAAO,EAChB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,sBAAsB,CAAC,EACtC,sBAAsB,CACvB,CACF,CAAC;IACF;;;;;;;OAOG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,OAAO,EAChB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC,CAAC;IACnC;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;OAOG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,WAAW,EAAE,MAAM,EACnB,gBAAgB,EAAE,uBAAuB,EACzC,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,sBAAsB,CAAC,EACtC,sBAAsB,CACvB,CACF,CAAC;IACF;;;;;;;OAOG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,WAAW,EAAE,MAAM,EACnB,gBAAgB,EAAE,uBAAuB,EACzC,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC,CAAC;IACnC;;;;;;OAMG;IACH,UAAU,CACR,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC,CAAC;CACxC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"taskRuns.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/taskRuns.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","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 } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n TaskRun,\n TaskRunsListOptionalParams,\n TaskRunsGetOptionalParams,\n TaskRunsGetResponse,\n TaskRunsCreateOptionalParams,\n TaskRunsCreateResponse,\n TaskRunsDeleteOptionalParams,\n TaskRunUpdateParameters,\n TaskRunsUpdateOptionalParams,\n TaskRunsUpdateResponse,\n TaskRunsGetDetailsOptionalParams,\n TaskRunsGetDetailsResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a TaskRuns. */\nexport interface TaskRuns {\n /**\n * Lists all the task runs for a specified container registry.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n registryName: string,\n options?: TaskRunsListOptionalParams,\n ): PagedAsyncIterableIterator<TaskRun>;\n /**\n * Gets the detailed information for a given task run.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param taskRunName The name of the task run.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n registryName: string,\n taskRunName: string,\n options?: TaskRunsGetOptionalParams,\n ): Promise<TaskRunsGetResponse>;\n /**\n * Creates a task run for a container registry with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param taskRunName The name of the task run.\n * @param taskRun The parameters of a run that needs to scheduled.\n * @param options The options parameters.\n */\n beginCreate(\n resourceGroupName: string,\n registryName: string,\n taskRunName: string,\n taskRun: TaskRun,\n options?: TaskRunsCreateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<TaskRunsCreateResponse>,\n TaskRunsCreateResponse\n >\n >;\n /**\n * Creates a task run for a container registry with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param taskRunName The name of the task run.\n * @param taskRun The parameters of a run that needs to scheduled.\n * @param options The options parameters.\n */\n beginCreateAndWait(\n resourceGroupName: string,\n registryName: string,\n taskRunName: string,\n taskRun: TaskRun,\n options?: TaskRunsCreateOptionalParams,\n ): Promise<TaskRunsCreateResponse>;\n /**\n * Deletes a specified task run resource.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param taskRunName The name of the task run.\n * @param options The options parameters.\n */\n
|
1
|
+
{"version":3,"file":"taskRuns.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/taskRuns.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","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 } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n TaskRun,\n TaskRunsListOptionalParams,\n TaskRunsGetOptionalParams,\n TaskRunsGetResponse,\n TaskRunsCreateOptionalParams,\n TaskRunsCreateResponse,\n TaskRunsDeleteOptionalParams,\n TaskRunUpdateParameters,\n TaskRunsUpdateOptionalParams,\n TaskRunsUpdateResponse,\n TaskRunsGetDetailsOptionalParams,\n TaskRunsGetDetailsResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a TaskRuns. */\nexport interface TaskRuns {\n /**\n * Lists all the task runs for a specified container registry.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n registryName: string,\n options?: TaskRunsListOptionalParams,\n ): PagedAsyncIterableIterator<TaskRun>;\n /**\n * Gets the detailed information for a given task run.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param taskRunName The name of the task run.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n registryName: string,\n taskRunName: string,\n options?: TaskRunsGetOptionalParams,\n ): Promise<TaskRunsGetResponse>;\n /**\n * Creates a task run for a container registry with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param taskRunName The name of the task run.\n * @param taskRun The parameters of a run that needs to scheduled.\n * @param options The options parameters.\n */\n beginCreate(\n resourceGroupName: string,\n registryName: string,\n taskRunName: string,\n taskRun: TaskRun,\n options?: TaskRunsCreateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<TaskRunsCreateResponse>,\n TaskRunsCreateResponse\n >\n >;\n /**\n * Creates a task run for a container registry with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param taskRunName The name of the task run.\n * @param taskRun The parameters of a run that needs to scheduled.\n * @param options The options parameters.\n */\n beginCreateAndWait(\n resourceGroupName: string,\n registryName: string,\n taskRunName: string,\n taskRun: TaskRun,\n options?: TaskRunsCreateOptionalParams,\n ): Promise<TaskRunsCreateResponse>;\n /**\n * Deletes a specified task run resource.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param taskRunName The name of the task run.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n registryName: string,\n taskRunName: string,\n options?: TaskRunsDeleteOptionalParams,\n ): Promise<void>;\n /**\n * Updates a task run with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param taskRunName The name of the task run.\n * @param updateParameters The parameters for updating a task run.\n * @param options The options parameters.\n */\n beginUpdate(\n resourceGroupName: string,\n registryName: string,\n taskRunName: string,\n updateParameters: TaskRunUpdateParameters,\n options?: TaskRunsUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<TaskRunsUpdateResponse>,\n TaskRunsUpdateResponse\n >\n >;\n /**\n * Updates a task run with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param taskRunName The name of the task run.\n * @param updateParameters The parameters for updating a task run.\n * @param options The options parameters.\n */\n beginUpdateAndWait(\n resourceGroupName: string,\n registryName: string,\n taskRunName: string,\n updateParameters: TaskRunUpdateParameters,\n options?: TaskRunsUpdateOptionalParams,\n ): Promise<TaskRunsUpdateResponse>;\n /**\n * Gets the detailed information for a given task run that includes all secrets.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param taskRunName The name of the task run.\n * @param options The options parameters.\n */\n getDetails(\n resourceGroupName: string,\n registryName: string,\n taskRunName: string,\n options?: TaskRunsGetDetailsOptionalParams,\n ): Promise<TaskRunsGetDetailsResponse>;\n}\n"]}
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
2
|
-
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
3
2
|
import { Task, TasksListOptionalParams, TasksGetOptionalParams, TasksGetResponse, TasksCreateOptionalParams, TasksCreateResponse, TasksDeleteOptionalParams, TaskUpdateParameters, TasksUpdateOptionalParams, TasksUpdateResponse, TasksGetDetailsOptionalParams, TasksGetDetailsResponse } from "../models/index.js";
|
4
3
|
/** Interface representing a Tasks. */
|
5
4
|
export interface Tasks {
|
@@ -26,16 +25,7 @@ export interface Tasks {
|
|
26
25
|
* @param taskCreateParameters The parameters for creating a task.
|
27
26
|
* @param options The options parameters.
|
28
27
|
*/
|
29
|
-
|
30
|
-
/**
|
31
|
-
* Creates a task for a container registry with the specified parameters.
|
32
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
33
|
-
* @param registryName The name of the container registry.
|
34
|
-
* @param taskName The name of the container registry task.
|
35
|
-
* @param taskCreateParameters The parameters for creating a task.
|
36
|
-
* @param options The options parameters.
|
37
|
-
*/
|
38
|
-
beginCreateAndWait(resourceGroupName: string, registryName: string, taskName: string, taskCreateParameters: Task, options?: TasksCreateOptionalParams): Promise<TasksCreateResponse>;
|
28
|
+
create(resourceGroupName: string, registryName: string, taskName: string, taskCreateParameters: Task, options?: TasksCreateOptionalParams): Promise<TasksCreateResponse>;
|
39
29
|
/**
|
40
30
|
* Deletes a specified task.
|
41
31
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
@@ -43,24 +33,7 @@ export interface Tasks {
|
|
43
33
|
* @param taskName The name of the container registry task.
|
44
34
|
* @param options The options parameters.
|
45
35
|
*/
|
46
|
-
|
47
|
-
/**
|
48
|
-
* Deletes a specified task.
|
49
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
50
|
-
* @param registryName The name of the container registry.
|
51
|
-
* @param taskName The name of the container registry task.
|
52
|
-
* @param options The options parameters.
|
53
|
-
*/
|
54
|
-
beginDeleteAndWait(resourceGroupName: string, registryName: string, taskName: string, options?: TasksDeleteOptionalParams): Promise<void>;
|
55
|
-
/**
|
56
|
-
* Updates a task with the specified parameters.
|
57
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
58
|
-
* @param registryName The name of the container registry.
|
59
|
-
* @param taskName The name of the container registry task.
|
60
|
-
* @param taskUpdateParameters The parameters for updating a task.
|
61
|
-
* @param options The options parameters.
|
62
|
-
*/
|
63
|
-
beginUpdate(resourceGroupName: string, registryName: string, taskName: string, taskUpdateParameters: TaskUpdateParameters, options?: TasksUpdateOptionalParams): Promise<SimplePollerLike<OperationState<TasksUpdateResponse>, TasksUpdateResponse>>;
|
36
|
+
delete(resourceGroupName: string, registryName: string, taskName: string, options?: TasksDeleteOptionalParams): Promise<void>;
|
64
37
|
/**
|
65
38
|
* Updates a task with the specified parameters.
|
66
39
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
@@ -69,7 +42,7 @@ export interface Tasks {
|
|
69
42
|
* @param taskUpdateParameters The parameters for updating a task.
|
70
43
|
* @param options The options parameters.
|
71
44
|
*/
|
72
|
-
|
45
|
+
update(resourceGroupName: string, registryName: string, taskName: string, taskUpdateParameters: TaskUpdateParameters, options?: TasksUpdateOptionalParams): Promise<TasksUpdateResponse>;
|
73
46
|
/**
|
74
47
|
* Returns a task with extended information that includes all secrets.
|
75
48
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/tasks.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,
|
1
|
+
{"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/tasks.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,IAAI,EACJ,uBAAuB,EACvB,sBAAsB,EACtB,gBAAgB,EAChB,yBAAyB,EACzB,mBAAmB,EACnB,yBAAyB,EACzB,oBAAoB,EACpB,yBAAyB,EACzB,mBAAmB,EACnB,6BAA6B,EAC7B,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAG5B,sCAAsC;AACtC,MAAM,WAAW,KAAK;IACpB;;;;;OAKG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,uBAAuB,GAChC,0BAA0B,CAAC,IAAI,CAAC,CAAC;IACpC;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,sBAAsB,GAC/B,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAC7B;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,MAAM,EAChB,oBAAoB,EAAE,IAAI,EAC1B,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAChC;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,MAAM,EAChB,oBAAoB,EAAE,oBAAoB,EAC1C,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAChC;;;;;;OAMG;IACH,UAAU,CACR,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC,CAAC;CACrC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"tasks.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/tasks.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","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 } from \"@azure/core-paging\";\nimport {
|
1
|
+
{"version":3,"file":"tasks.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/tasks.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","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 } from \"@azure/core-paging\";\nimport {\n Task,\n TasksListOptionalParams,\n TasksGetOptionalParams,\n TasksGetResponse,\n TasksCreateOptionalParams,\n TasksCreateResponse,\n TasksDeleteOptionalParams,\n TaskUpdateParameters,\n TasksUpdateOptionalParams,\n TasksUpdateResponse,\n TasksGetDetailsOptionalParams,\n TasksGetDetailsResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Tasks. */\nexport interface Tasks {\n /**\n * Lists all the tasks for a specified container registry.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n registryName: string,\n options?: TasksListOptionalParams,\n ): PagedAsyncIterableIterator<Task>;\n /**\n * Get the properties of a specified task.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param taskName The name of the container registry task.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n registryName: string,\n taskName: string,\n options?: TasksGetOptionalParams,\n ): Promise<TasksGetResponse>;\n /**\n * Creates a task for a container registry with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param taskName The name of the container registry task.\n * @param taskCreateParameters The parameters for creating a task.\n * @param options The options parameters.\n */\n create(\n resourceGroupName: string,\n registryName: string,\n taskName: string,\n taskCreateParameters: Task,\n options?: TasksCreateOptionalParams,\n ): Promise<TasksCreateResponse>;\n /**\n * Deletes a specified task.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param taskName The name of the container registry task.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n registryName: string,\n taskName: string,\n options?: TasksDeleteOptionalParams,\n ): Promise<void>;\n /**\n * Updates a task with the specified parameters.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param taskName The name of the container registry task.\n * @param taskUpdateParameters The parameters for updating a task.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n registryName: string,\n taskName: string,\n taskUpdateParameters: TaskUpdateParameters,\n options?: TasksUpdateOptionalParams,\n ): Promise<TasksUpdateResponse>;\n /**\n * Returns a task with extended information that includes all secrets.\n * @param resourceGroupName The name of the resource group to which the container registry belongs.\n * @param registryName The name of the container registry.\n * @param taskName The name of the container registry task.\n * @param options The options parameters.\n */\n getDetails(\n resourceGroupName: string,\n registryName: string,\n taskName: string,\n options?: TasksGetDetailsOptionalParams,\n ): Promise<TasksGetDetailsResponse>;\n}\n"]}
|
@@ -4,6 +4,7 @@ import { Archives, ArchiveVersions, CacheRules, ConnectedRegistries, CredentialS
|
|
4
4
|
import { ContainerRegistryManagementClientOptionalParams } from "./models/index.js";
|
5
5
|
export declare class ContainerRegistryManagementClient extends coreClient.ServiceClient {
|
6
6
|
$host: string;
|
7
|
+
apiVersion: string;
|
7
8
|
subscriptionId: string;
|
8
9
|
/**
|
9
10
|
* Initializes a new instance of the ContainerRegistryManagementClient class.
|
@@ -12,6 +13,8 @@ export declare class ContainerRegistryManagementClient extends coreClient.Servic
|
|
12
13
|
* @param options The parameter options
|
13
14
|
*/
|
14
15
|
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ContainerRegistryManagementClientOptionalParams);
|
16
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
17
|
+
private addCustomApiVersionPolicy;
|
15
18
|
archives: Archives;
|
16
19
|
archiveVersions: ArchiveVersions;
|
17
20
|
cacheRules: CacheRules;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"containerRegistryManagementClient.d.ts","sourceRoot":"","sources":["../../src/containerRegistryManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;
|
1
|
+
{"version":3,"file":"containerRegistryManagementClient.d.ts","sourceRoot":"","sources":["../../src/containerRegistryManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAsB7C,OAAO,EACL,QAAQ,EACR,eAAe,EACf,UAAU,EACV,mBAAmB,EACnB,cAAc,EACd,eAAe,EACf,UAAU,EACV,eAAe,EACf,UAAU,EACV,YAAY,EACZ,0BAA0B,EAC1B,YAAY,EACZ,SAAS,EACT,MAAM,EACN,QA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