@azure/arm-containerregistry 7.0.0 → 9.0.0-beta.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 +14 -0
- package/{LICENSE.txt → LICENSE} +2 -2
- package/README.md +68 -76
- package/dist/index.js +12640 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/containerRegistryManagementClient.d.ts +29 -0
- package/dist-esm/src/containerRegistryManagementClient.d.ts.map +1 -0
- package/dist-esm/src/containerRegistryManagementClient.js +36 -0
- package/dist-esm/src/containerRegistryManagementClient.js.map +1 -0
- package/dist-esm/src/containerRegistryManagementClientContext.d.ts +15 -0
- package/dist-esm/src/containerRegistryManagementClientContext.d.ts.map +1 -0
- package/dist-esm/src/containerRegistryManagementClientContext.js +48 -0
- package/dist-esm/src/containerRegistryManagementClientContext.js.map +1 -0
- package/dist-esm/src/index.d.ts +6 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +13 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +3421 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +339 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +177 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +3696 -2199
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +54 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +428 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/agentPools.d.ts +107 -0
- package/dist-esm/src/operations/agentPools.d.ts.map +1 -0
- package/dist-esm/src/operations/agentPools.js +455 -0
- package/dist-esm/src/operations/agentPools.js.map +1 -0
- package/dist-esm/src/operations/connectedRegistries.d.ts +115 -0
- package/dist-esm/src/operations/connectedRegistries.d.ts.map +1 -0
- package/dist-esm/src/operations/connectedRegistries.js +503 -0
- package/dist-esm/src/operations/connectedRegistries.js.map +1 -0
- package/dist-esm/src/operations/exportPipelines.d.ts +81 -0
- package/dist-esm/src/operations/exportPipelines.d.ts.map +1 -0
- package/dist-esm/src/operations/exportPipelines.js +316 -0
- package/dist-esm/src/operations/exportPipelines.js.map +1 -0
- package/dist-esm/src/operations/importPipelines.d.ts +81 -0
- package/dist-esm/src/operations/importPipelines.d.ts.map +1 -0
- package/dist-esm/src/operations/importPipelines.js +316 -0
- package/dist-esm/src/operations/importPipelines.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +16 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +23 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +114 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/pipelineRuns.d.ts +81 -0
- package/dist-esm/src/operations/pipelineRuns.d.ts.map +1 -0
- package/dist-esm/src/operations/pipelineRuns.js +316 -0
- package/dist-esm/src/operations/pipelineRuns.js.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +81 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.js +326 -0
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operations/registries.d.ts +217 -0
- package/dist-esm/src/operations/registries.d.ts.map +1 -0
- package/dist-esm/src/operations/registries.js +956 -0
- package/dist-esm/src/operations/registries.js.map +1 -0
- package/dist-esm/src/operations/replications.d.ts +99 -0
- package/dist-esm/src/operations/replications.d.ts.map +1 -0
- package/dist-esm/src/operations/replications.js +405 -0
- package/dist-esm/src/operations/replications.js.map +1 -0
- package/dist-esm/src/operations/runs.d.ts +89 -0
- package/dist-esm/src/operations/runs.d.ts.map +1 -0
- package/dist-esm/src/operations/runs.js +363 -0
- package/dist-esm/src/operations/runs.js.map +1 -0
- package/dist-esm/src/operations/scopeMaps.d.ts +99 -0
- package/dist-esm/src/operations/scopeMaps.d.ts.map +1 -0
- package/dist-esm/src/operations/scopeMaps.js +405 -0
- package/dist-esm/src/operations/scopeMaps.js.map +1 -0
- package/dist-esm/src/operations/taskRuns.d.ts +107 -0
- package/dist-esm/src/operations/taskRuns.d.ts.map +1 -0
- package/dist-esm/src/operations/taskRuns.js +455 -0
- package/dist-esm/src/operations/taskRuns.js.map +1 -0
- package/dist-esm/src/operations/tasks.d.ts +107 -0
- package/dist-esm/src/operations/tasks.d.ts.map +1 -0
- package/dist-esm/src/operations/tasks.js +461 -0
- package/dist-esm/src/operations/tasks.js.map +1 -0
- package/dist-esm/src/operations/tokens.d.ts +99 -0
- package/dist-esm/src/operations/tokens.d.ts.map +1 -0
- package/dist-esm/src/operations/tokens.js +405 -0
- package/dist-esm/src/operations/tokens.js.map +1 -0
- package/dist-esm/src/operations/webhooks.d.ts +142 -0
- package/dist-esm/src/operations/webhooks.d.ts.map +1 -0
- package/dist-esm/src/operations/webhooks.js +574 -0
- package/dist-esm/src/operations/webhooks.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/agentPools.d.ts +82 -0
- package/dist-esm/src/operationsInterfaces/agentPools.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/agentPools.js +9 -0
- package/dist-esm/src/operationsInterfaces/agentPools.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/connectedRegistries.d.ts +90 -0
- package/dist-esm/src/operationsInterfaces/connectedRegistries.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/connectedRegistries.js +9 -0
- package/dist-esm/src/operationsInterfaces/connectedRegistries.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/exportPipelines.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/exportPipelines.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/exportPipelines.js +9 -0
- package/dist-esm/src/operationsInterfaces/exportPipelines.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/importPipelines.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/importPipelines.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/importPipelines.js +9 -0
- package/dist-esm/src/operationsInterfaces/importPipelines.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +16 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +23 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/pipelineRuns.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/pipelineRuns.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/pipelineRuns.js +9 -0
- package/dist-esm/src/operationsInterfaces/pipelineRuns.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/registries.d.ts +163 -0
- package/dist-esm/src/operationsInterfaces/registries.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/registries.js +9 -0
- package/dist-esm/src/operationsInterfaces/registries.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/replications.d.ts +74 -0
- package/dist-esm/src/operationsInterfaces/replications.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/replications.js +9 -0
- package/dist-esm/src/operationsInterfaces/replications.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/runs.d.ts +64 -0
- package/dist-esm/src/operationsInterfaces/runs.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/runs.js +9 -0
- package/dist-esm/src/operationsInterfaces/runs.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/scopeMaps.d.ts +74 -0
- package/dist-esm/src/operationsInterfaces/scopeMaps.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/scopeMaps.js +9 -0
- package/dist-esm/src/operationsInterfaces/scopeMaps.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/taskRuns.d.ts +82 -0
- package/dist-esm/src/operationsInterfaces/taskRuns.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/taskRuns.js +9 -0
- package/dist-esm/src/operationsInterfaces/taskRuns.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/tasks.d.ts +82 -0
- package/dist-esm/src/operationsInterfaces/tasks.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/tasks.js +9 -0
- package/dist-esm/src/operationsInterfaces/tasks.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/tokens.d.ts +74 -0
- package/dist-esm/src/operationsInterfaces/tokens.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/tokens.js +9 -0
- package/dist-esm/src/operationsInterfaces/tokens.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/webhooks.d.ts +98 -0
- package/dist-esm/src/operationsInterfaces/webhooks.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/webhooks.js +9 -0
- package/dist-esm/src/operationsInterfaces/webhooks.js.map +1 -0
- package/dist-esm/test/containerregistry_examples.d.ts +2 -0
- package/dist-esm/test/containerregistry_examples.d.ts.map +1 -0
- package/dist-esm/test/containerregistry_examples.js +326 -0
- package/dist-esm/test/containerregistry_examples.js.map +1 -0
- package/package.json +65 -31
- package/review/arm-containerregistry.api.md +2912 -0
- package/rollup.config.js +181 -30
- package/src/containerRegistryManagementClient.ts +78 -42
- package/src/containerRegistryManagementClientContext.ts +45 -37
- package/src/index.ts +13 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +3217 -3457
- package/src/models/mappers.ts +3831 -2214
- package/src/models/parameters.ts +379 -81
- package/src/operations/agentPools.ts +646 -0
- package/src/operations/connectedRegistries.ts +718 -0
- package/src/operations/exportPipelines.ts +449 -0
- package/src/operations/importPipelines.ts +449 -0
- package/src/operations/index.ts +12 -7
- package/src/operations/operations.ts +84 -76
- package/src/operations/pipelineRuns.ts +449 -0
- package/src/operations/privateEndpointConnections.ts +460 -0
- package/src/operations/registries.ts +1031 -653
- package/src/operations/replications.ts +433 -251
- package/src/operations/runs.ts +356 -243
- package/src/operations/scopeMaps.ts +433 -251
- package/src/operations/taskRuns.ts +646 -0
- package/src/operations/tasks.ts +459 -277
- package/src/operations/tokens.ts +427 -251
- package/src/operations/webhooks.ts +614 -419
- package/src/operationsInterfaces/agentPools.ts +162 -0
- package/src/operationsInterfaces/connectedRegistries.ts +174 -0
- package/src/operationsInterfaces/exportPipelines.ts +109 -0
- package/src/operationsInterfaces/importPipelines.ts +109 -0
- package/{esm/operations/index.js → src/operationsInterfaces/index.ts} +13 -8
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/pipelineRuns.ts +109 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +109 -0
- package/src/operationsInterfaces/registries.ts +317 -0
- package/src/operationsInterfaces/replications.ts +147 -0
- package/src/operationsInterfaces/runs.ts +122 -0
- package/src/operationsInterfaces/scopeMaps.ts +147 -0
- package/src/operationsInterfaces/taskRuns.ts +162 -0
- package/src/operationsInterfaces/tasks.ts +156 -0
- package/src/operationsInterfaces/tokens.ts +141 -0
- package/src/operationsInterfaces/webhooks.ts +193 -0
- package/tsconfig.json +4 -4
- package/types/arm-containerregistry.d.ts +4991 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-containerregistry.js +0 -7529
- package/dist/arm-containerregistry.js.map +0 -1
- package/dist/arm-containerregistry.min.js +0 -1
- package/dist/arm-containerregistry.min.js.map +0 -1
- package/esm/containerRegistryManagementClient.d.ts +0 -25
- package/esm/containerRegistryManagementClient.d.ts.map +0 -1
- package/esm/containerRegistryManagementClient.js +0 -40
- package/esm/containerRegistryManagementClient.js.map +0 -1
- package/esm/containerRegistryManagementClientContext.d.ts +0 -15
- package/esm/containerRegistryManagementClientContext.d.ts.map +0 -1
- package/esm/containerRegistryManagementClientContext.js +0 -55
- package/esm/containerRegistryManagementClientContext.js.map +0 -1
- package/esm/models/index.d.ts +0 -3884
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -8
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -129
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -18
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -214
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/registriesMappers.d.ts +0 -2
- package/esm/models/registriesMappers.d.ts.map +0 -1
- package/esm/models/registriesMappers.js +0 -9
- package/esm/models/registriesMappers.js.map +0 -1
- package/esm/models/replicationsMappers.d.ts +0 -2
- package/esm/models/replicationsMappers.d.ts.map +0 -1
- package/esm/models/replicationsMappers.js +0 -9
- package/esm/models/replicationsMappers.js.map +0 -1
- package/esm/models/runsMappers.d.ts +0 -2
- package/esm/models/runsMappers.d.ts.map +0 -1
- package/esm/models/runsMappers.js +0 -9
- package/esm/models/runsMappers.js.map +0 -1
- package/esm/models/scopeMapsMappers.d.ts +0 -2
- package/esm/models/scopeMapsMappers.d.ts.map +0 -1
- package/esm/models/scopeMapsMappers.js +0 -9
- package/esm/models/scopeMapsMappers.js.map +0 -1
- package/esm/models/tasksMappers.d.ts +0 -2
- package/esm/models/tasksMappers.d.ts.map +0 -1
- package/esm/models/tasksMappers.js +0 -9
- package/esm/models/tasksMappers.js.map +0 -1
- package/esm/models/tokensMappers.d.ts +0 -2
- package/esm/models/tokensMappers.d.ts.map +0 -1
- package/esm/models/tokensMappers.js +0 -9
- package/esm/models/tokensMappers.js.map +0 -1
- package/esm/models/webhooksMappers.d.ts +0 -2
- package/esm/models/webhooksMappers.d.ts.map +0 -1
- package/esm/models/webhooksMappers.js +0 -9
- package/esm/models/webhooksMappers.js.map +0 -1
- package/esm/operations/index.d.ts +0 -9
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -46
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -77
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/registries.d.ts +0 -319
- package/esm/operations/registries.d.ts.map +0 -1
- package/esm/operations/registries.js +0 -664
- package/esm/operations/registries.js.map +0 -1
- package/esm/operations/replications.d.ts +0 -135
- package/esm/operations/replications.d.ts.map +0 -1
- package/esm/operations/replications.js +0 -297
- package/esm/operations/replications.js.map +0 -1
- package/esm/operations/runs.d.ts +0 -139
- package/esm/operations/runs.d.ts.map +0 -1
- package/esm/operations/runs.js +0 -268
- package/esm/operations/runs.js.map +0 -1
- package/esm/operations/scopeMaps.d.ts +0 -135
- package/esm/operations/scopeMaps.d.ts.map +0 -1
- package/esm/operations/scopeMaps.js +0 -297
- package/esm/operations/scopeMaps.js.map +0 -1
- package/esm/operations/tasks.d.ts +0 -159
- package/esm/operations/tasks.d.ts.map +0 -1
- package/esm/operations/tasks.js +0 -330
- package/esm/operations/tasks.js.map +0 -1
- package/esm/operations/tokens.d.ts +0 -135
- package/esm/operations/tokens.d.ts.map +0 -1
- package/esm/operations/tokens.js +0 -297
- package/esm/operations/tokens.js.map +0 -1
- package/esm/operations/webhooks.d.ts +0 -225
- package/esm/operations/webhooks.d.ts.map +0 -1
- package/esm/operations/webhooks.js +0 -422
- package/esm/operations/webhooks.js.map +0 -1
- package/src/models/operationsMappers.ts +0 -17
- package/src/models/registriesMappers.ts +0 -81
- package/src/models/replicationsMappers.ts +0 -62
- package/src/models/runsMappers.ts +0 -63
- package/src/models/scopeMapsMappers.ts +0 -62
- package/src/models/tasksMappers.ts +0 -73
- package/src/models/tokensMappers.ts +0 -62
- package/src/models/webhooksMappers.ts +0 -74
@@ -1,637 +1,832 @@
|
|
1
1
|
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
* license information.
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
5
4
|
*
|
6
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
8
|
-
* regenerated.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
9
7
|
*/
|
10
8
|
|
11
|
-
import
|
12
|
-
import
|
13
|
-
import * as
|
14
|
-
import * as Mappers from "../models/
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
10
|
+
import { Webhooks } from "../operationsInterfaces";
|
11
|
+
import * as coreClient from "@azure/core-client";
|
12
|
+
import * as Mappers from "../models/mappers";
|
15
13
|
import * as Parameters from "../models/parameters";
|
16
14
|
import { ContainerRegistryManagementClientContext } from "../containerRegistryManagementClientContext";
|
15
|
+
import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
|
16
|
+
import { LroImpl } from "../lroImpl";
|
17
|
+
import {
|
18
|
+
Webhook,
|
19
|
+
WebhooksListNextOptionalParams,
|
20
|
+
WebhooksListOptionalParams,
|
21
|
+
Event,
|
22
|
+
WebhooksListEventsNextOptionalParams,
|
23
|
+
WebhooksListEventsOptionalParams,
|
24
|
+
WebhooksGetOptionalParams,
|
25
|
+
WebhooksGetResponse,
|
26
|
+
WebhookCreateParameters,
|
27
|
+
WebhooksCreateOptionalParams,
|
28
|
+
WebhooksCreateResponse,
|
29
|
+
WebhooksDeleteOptionalParams,
|
30
|
+
WebhookUpdateParameters,
|
31
|
+
WebhooksUpdateOptionalParams,
|
32
|
+
WebhooksUpdateResponse,
|
33
|
+
WebhooksListResponse,
|
34
|
+
WebhooksPingOptionalParams,
|
35
|
+
WebhooksPingResponse,
|
36
|
+
WebhooksGetCallbackConfigOptionalParams,
|
37
|
+
WebhooksGetCallbackConfigResponse,
|
38
|
+
WebhooksListEventsResponse,
|
39
|
+
WebhooksListNextResponse,
|
40
|
+
WebhooksListEventsNextResponse
|
41
|
+
} from "../models";
|
17
42
|
|
18
|
-
|
19
|
-
|
43
|
+
/// <reference lib="esnext.asynciterable" />
|
44
|
+
/** Class containing Webhooks operations. */
|
45
|
+
export class WebhooksImpl implements Webhooks {
|
20
46
|
private readonly client: ContainerRegistryManagementClientContext;
|
21
47
|
|
22
48
|
/**
|
23
|
-
*
|
24
|
-
* @param
|
49
|
+
* Initialize a new instance of the class Webhooks class.
|
50
|
+
* @param client Reference to the service client
|
25
51
|
*/
|
26
52
|
constructor(client: ContainerRegistryManagementClientContext) {
|
27
53
|
this.client = client;
|
28
54
|
}
|
29
55
|
|
30
56
|
/**
|
31
|
-
*
|
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 webhookName The name of the webhook.
|
35
|
-
* @param [options] The optional parameters
|
36
|
-
* @returns Promise<Models.WebhooksGetResponse>
|
37
|
-
*/
|
38
|
-
get(resourceGroupName: string, registryName: string, webhookName: string, options?: msRest.RequestOptionsBase): Promise<Models.WebhooksGetResponse>;
|
39
|
-
/**
|
57
|
+
* Lists all the webhooks for the specified container registry.
|
40
58
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
41
59
|
* @param registryName The name of the container registry.
|
42
|
-
* @param
|
43
|
-
* @param callback The callback
|
60
|
+
* @param options The options parameters.
|
44
61
|
*/
|
45
|
-
|
62
|
+
public list(
|
63
|
+
resourceGroupName: string,
|
64
|
+
registryName: string,
|
65
|
+
options?: WebhooksListOptionalParams
|
66
|
+
): PagedAsyncIterableIterator<Webhook> {
|
67
|
+
const iter = this.listPagingAll(resourceGroupName, registryName, options);
|
68
|
+
return {
|
69
|
+
next() {
|
70
|
+
return iter.next();
|
71
|
+
},
|
72
|
+
[Symbol.asyncIterator]() {
|
73
|
+
return this;
|
74
|
+
},
|
75
|
+
byPage: () => {
|
76
|
+
return this.listPagingPage(resourceGroupName, registryName, options);
|
77
|
+
}
|
78
|
+
};
|
79
|
+
}
|
80
|
+
|
81
|
+
private async *listPagingPage(
|
82
|
+
resourceGroupName: string,
|
83
|
+
registryName: string,
|
84
|
+
options?: WebhooksListOptionalParams
|
85
|
+
): AsyncIterableIterator<Webhook[]> {
|
86
|
+
let result = await this._list(resourceGroupName, registryName, options);
|
87
|
+
yield result.value || [];
|
88
|
+
let continuationToken = result.nextLink;
|
89
|
+
while (continuationToken) {
|
90
|
+
result = await this._listNext(
|
91
|
+
resourceGroupName,
|
92
|
+
registryName,
|
93
|
+
continuationToken,
|
94
|
+
options
|
95
|
+
);
|
96
|
+
continuationToken = result.nextLink;
|
97
|
+
yield result.value || [];
|
98
|
+
}
|
99
|
+
}
|
100
|
+
|
101
|
+
private async *listPagingAll(
|
102
|
+
resourceGroupName: string,
|
103
|
+
registryName: string,
|
104
|
+
options?: WebhooksListOptionalParams
|
105
|
+
): AsyncIterableIterator<Webhook> {
|
106
|
+
for await (const page of this.listPagingPage(
|
107
|
+
resourceGroupName,
|
108
|
+
registryName,
|
109
|
+
options
|
110
|
+
)) {
|
111
|
+
yield* page;
|
112
|
+
}
|
113
|
+
}
|
114
|
+
|
46
115
|
/**
|
116
|
+
* Lists recent events for the specified webhook.
|
47
117
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
48
118
|
* @param registryName The name of the container registry.
|
49
119
|
* @param webhookName The name of the webhook.
|
50
|
-
* @param options The
|
51
|
-
* @param callback The callback
|
120
|
+
* @param options The options parameters.
|
52
121
|
*/
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
122
|
+
public listEvents(
|
123
|
+
resourceGroupName: string,
|
124
|
+
registryName: string,
|
125
|
+
webhookName: string,
|
126
|
+
options?: WebhooksListEventsOptionalParams
|
127
|
+
): PagedAsyncIterableIterator<Event> {
|
128
|
+
const iter = this.listEventsPagingAll(
|
129
|
+
resourceGroupName,
|
130
|
+
registryName,
|
131
|
+
webhookName,
|
132
|
+
options
|
133
|
+
);
|
134
|
+
return {
|
135
|
+
next() {
|
136
|
+
return iter.next();
|
137
|
+
},
|
138
|
+
[Symbol.asyncIterator]() {
|
139
|
+
return this;
|
140
|
+
},
|
141
|
+
byPage: () => {
|
142
|
+
return this.listEventsPagingPage(
|
143
|
+
resourceGroupName,
|
144
|
+
registryName,
|
145
|
+
webhookName,
|
146
|
+
options
|
147
|
+
);
|
148
|
+
}
|
149
|
+
};
|
150
|
+
}
|
151
|
+
|
152
|
+
private async *listEventsPagingPage(
|
153
|
+
resourceGroupName: string,
|
154
|
+
registryName: string,
|
155
|
+
webhookName: string,
|
156
|
+
options?: WebhooksListEventsOptionalParams
|
157
|
+
): AsyncIterableIterator<Event[]> {
|
158
|
+
let result = await this._listEvents(
|
159
|
+
resourceGroupName,
|
160
|
+
registryName,
|
161
|
+
webhookName,
|
162
|
+
options
|
163
|
+
);
|
164
|
+
yield result.value || [];
|
165
|
+
let continuationToken = result.nextLink;
|
166
|
+
while (continuationToken) {
|
167
|
+
result = await this._listEventsNext(
|
57
168
|
resourceGroupName,
|
58
169
|
registryName,
|
59
170
|
webhookName,
|
171
|
+
continuationToken,
|
60
172
|
options
|
61
|
-
|
62
|
-
|
63
|
-
|
173
|
+
);
|
174
|
+
continuationToken = result.nextLink;
|
175
|
+
yield result.value || [];
|
176
|
+
}
|
64
177
|
}
|
65
178
|
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
179
|
+
private async *listEventsPagingAll(
|
180
|
+
resourceGroupName: string,
|
181
|
+
registryName: string,
|
182
|
+
webhookName: string,
|
183
|
+
options?: WebhooksListEventsOptionalParams
|
184
|
+
): AsyncIterableIterator<Event> {
|
185
|
+
for await (const page of this.listEventsPagingPage(
|
186
|
+
resourceGroupName,
|
187
|
+
registryName,
|
188
|
+
webhookName,
|
189
|
+
options
|
190
|
+
)) {
|
191
|
+
yield* page;
|
192
|
+
}
|
78
193
|
}
|
79
194
|
|
80
195
|
/**
|
81
|
-
*
|
196
|
+
* Gets the properties of the specified webhook.
|
82
197
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
83
198
|
* @param registryName The name of the container registry.
|
84
199
|
* @param webhookName The name of the webhook.
|
85
|
-
* @param
|
86
|
-
* @returns Promise<msRest.RestResponse>
|
200
|
+
* @param options The options parameters.
|
87
201
|
*/
|
88
|
-
|
89
|
-
|
90
|
-
|
202
|
+
get(
|
203
|
+
resourceGroupName: string,
|
204
|
+
registryName: string,
|
205
|
+
webhookName: string,
|
206
|
+
options?: WebhooksGetOptionalParams
|
207
|
+
): Promise<WebhooksGetResponse> {
|
208
|
+
return this.client.sendOperationRequest(
|
209
|
+
{ resourceGroupName, registryName, webhookName, options },
|
210
|
+
getOperationSpec
|
211
|
+
);
|
91
212
|
}
|
92
213
|
|
93
214
|
/**
|
94
|
-
*
|
215
|
+
* Creates a webhook for a container registry with the specified parameters.
|
95
216
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
96
217
|
* @param registryName The name of the container registry.
|
97
218
|
* @param webhookName The name of the webhook.
|
98
|
-
* @param
|
99
|
-
* @param
|
100
|
-
* @returns Promise<Models.WebhooksUpdateResponse>
|
219
|
+
* @param webhookCreateParameters The parameters for creating a webhook.
|
220
|
+
* @param options The options parameters.
|
101
221
|
*/
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
222
|
+
async beginCreate(
|
223
|
+
resourceGroupName: string,
|
224
|
+
registryName: string,
|
225
|
+
webhookName: string,
|
226
|
+
webhookCreateParameters: WebhookCreateParameters,
|
227
|
+
options?: WebhooksCreateOptionalParams
|
228
|
+
): Promise<
|
229
|
+
PollerLike<
|
230
|
+
PollOperationState<WebhooksCreateResponse>,
|
231
|
+
WebhooksCreateResponse
|
232
|
+
>
|
233
|
+
> {
|
234
|
+
const directSendOperation = async (
|
235
|
+
args: coreClient.OperationArguments,
|
236
|
+
spec: coreClient.OperationSpec
|
237
|
+
): Promise<WebhooksCreateResponse> => {
|
238
|
+
return this.client.sendOperationRequest(args, spec);
|
239
|
+
};
|
240
|
+
const sendOperation = async (
|
241
|
+
args: coreClient.OperationArguments,
|
242
|
+
spec: coreClient.OperationSpec
|
243
|
+
) => {
|
244
|
+
let currentRawResponse:
|
245
|
+
| coreClient.FullOperationResponse
|
246
|
+
| undefined = undefined;
|
247
|
+
const providedCallback = args.options?.onResponse;
|
248
|
+
const callback: coreClient.RawResponseCallback = (
|
249
|
+
rawResponse: coreClient.FullOperationResponse,
|
250
|
+
flatResponse: unknown
|
251
|
+
) => {
|
252
|
+
currentRawResponse = rawResponse;
|
253
|
+
providedCallback?.(rawResponse, flatResponse);
|
254
|
+
};
|
255
|
+
const updatedArgs = {
|
256
|
+
...args,
|
257
|
+
options: {
|
258
|
+
...args.options,
|
259
|
+
onResponse: callback
|
260
|
+
}
|
261
|
+
};
|
262
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
263
|
+
return {
|
264
|
+
flatResponse,
|
265
|
+
rawResponse: {
|
266
|
+
statusCode: currentRawResponse!.status,
|
267
|
+
body: currentRawResponse!.parsedBody,
|
268
|
+
headers: currentRawResponse!.headers.toJSON()
|
269
|
+
}
|
270
|
+
};
|
271
|
+
};
|
106
272
|
|
107
|
-
|
108
|
-
|
109
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
110
|
-
* @param registryName The name of the container registry.
|
111
|
-
* @param [options] The optional parameters
|
112
|
-
* @returns Promise<Models.WebhooksListResponse>
|
113
|
-
*/
|
114
|
-
list(resourceGroupName: string, registryName: string, options?: msRest.RequestOptionsBase): Promise<Models.WebhooksListResponse>;
|
115
|
-
/**
|
116
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
117
|
-
* @param registryName The name of the container registry.
|
118
|
-
* @param callback The callback
|
119
|
-
*/
|
120
|
-
list(resourceGroupName: string, registryName: string, callback: msRest.ServiceCallback<Models.WebhookListResult>): void;
|
121
|
-
/**
|
122
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
123
|
-
* @param registryName The name of the container registry.
|
124
|
-
* @param options The optional parameters
|
125
|
-
* @param callback The callback
|
126
|
-
*/
|
127
|
-
list(resourceGroupName: string, registryName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.WebhookListResult>): void;
|
128
|
-
list(resourceGroupName: string, registryName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.WebhookListResult>, callback?: msRest.ServiceCallback<Models.WebhookListResult>): Promise<Models.WebhooksListResponse> {
|
129
|
-
return this.client.sendOperationRequest(
|
273
|
+
const lro = new LroImpl(
|
274
|
+
sendOperation,
|
130
275
|
{
|
131
276
|
resourceGroupName,
|
132
277
|
registryName,
|
278
|
+
webhookName,
|
279
|
+
webhookCreateParameters,
|
133
280
|
options
|
134
281
|
},
|
135
|
-
|
136
|
-
|
282
|
+
createOperationSpec
|
283
|
+
);
|
284
|
+
return new LroEngine(lro, {
|
285
|
+
resumeFrom: options?.resumeFrom,
|
286
|
+
intervalInMs: options?.updateIntervalInMs
|
287
|
+
});
|
137
288
|
}
|
138
289
|
|
139
290
|
/**
|
140
|
-
*
|
141
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
142
|
-
* @param registryName The name of the container registry.
|
143
|
-
* @param webhookName The name of the webhook.
|
144
|
-
* @param [options] The optional parameters
|
145
|
-
* @returns Promise<Models.WebhooksPingResponse>
|
146
|
-
*/
|
147
|
-
ping(resourceGroupName: string, registryName: string, webhookName: string, options?: msRest.RequestOptionsBase): Promise<Models.WebhooksPingResponse>;
|
148
|
-
/**
|
149
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
150
|
-
* @param registryName The name of the container registry.
|
151
|
-
* @param webhookName The name of the webhook.
|
152
|
-
* @param callback The callback
|
153
|
-
*/
|
154
|
-
ping(resourceGroupName: string, registryName: string, webhookName: string, callback: msRest.ServiceCallback<Models.EventInfo>): void;
|
155
|
-
/**
|
291
|
+
* Creates a webhook for a container registry with the specified parameters.
|
156
292
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
157
293
|
* @param registryName The name of the container registry.
|
158
294
|
* @param webhookName The name of the webhook.
|
159
|
-
* @param
|
160
|
-
* @param
|
295
|
+
* @param webhookCreateParameters The parameters for creating a webhook.
|
296
|
+
* @param options The options parameters.
|
161
297
|
*/
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
298
|
+
async beginCreateAndWait(
|
299
|
+
resourceGroupName: string,
|
300
|
+
registryName: string,
|
301
|
+
webhookName: string,
|
302
|
+
webhookCreateParameters: WebhookCreateParameters,
|
303
|
+
options?: WebhooksCreateOptionalParams
|
304
|
+
): Promise<WebhooksCreateResponse> {
|
305
|
+
const poller = await this.beginCreate(
|
306
|
+
resourceGroupName,
|
307
|
+
registryName,
|
308
|
+
webhookName,
|
309
|
+
webhookCreateParameters,
|
310
|
+
options
|
311
|
+
);
|
312
|
+
return poller.pollUntilDone();
|
173
313
|
}
|
174
314
|
|
175
315
|
/**
|
176
|
-
*
|
316
|
+
* Deletes a webhook from a container registry.
|
177
317
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
178
318
|
* @param registryName The name of the container registry.
|
179
319
|
* @param webhookName The name of the webhook.
|
180
|
-
* @param
|
181
|
-
* @returns Promise<Models.WebhooksGetCallbackConfigResponse>
|
320
|
+
* @param options The options parameters.
|
182
321
|
*/
|
183
|
-
|
322
|
+
async beginDelete(
|
323
|
+
resourceGroupName: string,
|
324
|
+
registryName: string,
|
325
|
+
webhookName: string,
|
326
|
+
options?: WebhooksDeleteOptionalParams
|
327
|
+
): Promise<PollerLike<PollOperationState<void>, void>> {
|
328
|
+
const directSendOperation = async (
|
329
|
+
args: coreClient.OperationArguments,
|
330
|
+
spec: coreClient.OperationSpec
|
331
|
+
): Promise<void> => {
|
332
|
+
return this.client.sendOperationRequest(args, spec);
|
333
|
+
};
|
334
|
+
const sendOperation = async (
|
335
|
+
args: coreClient.OperationArguments,
|
336
|
+
spec: coreClient.OperationSpec
|
337
|
+
) => {
|
338
|
+
let currentRawResponse:
|
339
|
+
| coreClient.FullOperationResponse
|
340
|
+
| undefined = undefined;
|
341
|
+
const providedCallback = args.options?.onResponse;
|
342
|
+
const callback: coreClient.RawResponseCallback = (
|
343
|
+
rawResponse: coreClient.FullOperationResponse,
|
344
|
+
flatResponse: unknown
|
345
|
+
) => {
|
346
|
+
currentRawResponse = rawResponse;
|
347
|
+
providedCallback?.(rawResponse, flatResponse);
|
348
|
+
};
|
349
|
+
const updatedArgs = {
|
350
|
+
...args,
|
351
|
+
options: {
|
352
|
+
...args.options,
|
353
|
+
onResponse: callback
|
354
|
+
}
|
355
|
+
};
|
356
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
357
|
+
return {
|
358
|
+
flatResponse,
|
359
|
+
rawResponse: {
|
360
|
+
statusCode: currentRawResponse!.status,
|
361
|
+
body: currentRawResponse!.parsedBody,
|
362
|
+
headers: currentRawResponse!.headers.toJSON()
|
363
|
+
}
|
364
|
+
};
|
365
|
+
};
|
366
|
+
|
367
|
+
const lro = new LroImpl(
|
368
|
+
sendOperation,
|
369
|
+
{ resourceGroupName, registryName, webhookName, options },
|
370
|
+
deleteOperationSpec
|
371
|
+
);
|
372
|
+
return new LroEngine(lro, {
|
373
|
+
resumeFrom: options?.resumeFrom,
|
374
|
+
intervalInMs: options?.updateIntervalInMs
|
375
|
+
});
|
376
|
+
}
|
377
|
+
|
184
378
|
/**
|
379
|
+
* Deletes a webhook from a container registry.
|
185
380
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
186
381
|
* @param registryName The name of the container registry.
|
187
382
|
* @param webhookName The name of the webhook.
|
188
|
-
* @param
|
383
|
+
* @param options The options parameters.
|
189
384
|
*/
|
190
|
-
|
385
|
+
async beginDeleteAndWait(
|
386
|
+
resourceGroupName: string,
|
387
|
+
registryName: string,
|
388
|
+
webhookName: string,
|
389
|
+
options?: WebhooksDeleteOptionalParams
|
390
|
+
): Promise<void> {
|
391
|
+
const poller = await this.beginDelete(
|
392
|
+
resourceGroupName,
|
393
|
+
registryName,
|
394
|
+
webhookName,
|
395
|
+
options
|
396
|
+
);
|
397
|
+
return poller.pollUntilDone();
|
398
|
+
}
|
399
|
+
|
191
400
|
/**
|
401
|
+
* Updates a webhook with the specified parameters.
|
192
402
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
193
403
|
* @param registryName The name of the container registry.
|
194
404
|
* @param webhookName The name of the webhook.
|
195
|
-
* @param
|
196
|
-
* @param
|
405
|
+
* @param webhookUpdateParameters The parameters for updating a webhook.
|
406
|
+
* @param options The options parameters.
|
197
407
|
*/
|
198
|
-
|
199
|
-
|
200
|
-
|
408
|
+
async beginUpdate(
|
409
|
+
resourceGroupName: string,
|
410
|
+
registryName: string,
|
411
|
+
webhookName: string,
|
412
|
+
webhookUpdateParameters: WebhookUpdateParameters,
|
413
|
+
options?: WebhooksUpdateOptionalParams
|
414
|
+
): Promise<
|
415
|
+
PollerLike<
|
416
|
+
PollOperationState<WebhooksUpdateResponse>,
|
417
|
+
WebhooksUpdateResponse
|
418
|
+
>
|
419
|
+
> {
|
420
|
+
const directSendOperation = async (
|
421
|
+
args: coreClient.OperationArguments,
|
422
|
+
spec: coreClient.OperationSpec
|
423
|
+
): Promise<WebhooksUpdateResponse> => {
|
424
|
+
return this.client.sendOperationRequest(args, spec);
|
425
|
+
};
|
426
|
+
const sendOperation = async (
|
427
|
+
args: coreClient.OperationArguments,
|
428
|
+
spec: coreClient.OperationSpec
|
429
|
+
) => {
|
430
|
+
let currentRawResponse:
|
431
|
+
| coreClient.FullOperationResponse
|
432
|
+
| undefined = undefined;
|
433
|
+
const providedCallback = args.options?.onResponse;
|
434
|
+
const callback: coreClient.RawResponseCallback = (
|
435
|
+
rawResponse: coreClient.FullOperationResponse,
|
436
|
+
flatResponse: unknown
|
437
|
+
) => {
|
438
|
+
currentRawResponse = rawResponse;
|
439
|
+
providedCallback?.(rawResponse, flatResponse);
|
440
|
+
};
|
441
|
+
const updatedArgs = {
|
442
|
+
...args,
|
443
|
+
options: {
|
444
|
+
...args.options,
|
445
|
+
onResponse: callback
|
446
|
+
}
|
447
|
+
};
|
448
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
449
|
+
return {
|
450
|
+
flatResponse,
|
451
|
+
rawResponse: {
|
452
|
+
statusCode: currentRawResponse!.status,
|
453
|
+
body: currentRawResponse!.parsedBody,
|
454
|
+
headers: currentRawResponse!.headers.toJSON()
|
455
|
+
}
|
456
|
+
};
|
457
|
+
};
|
458
|
+
|
459
|
+
const lro = new LroImpl(
|
460
|
+
sendOperation,
|
201
461
|
{
|
202
462
|
resourceGroupName,
|
203
463
|
registryName,
|
204
464
|
webhookName,
|
465
|
+
webhookUpdateParameters,
|
205
466
|
options
|
206
467
|
},
|
207
|
-
|
208
|
-
|
468
|
+
updateOperationSpec
|
469
|
+
);
|
470
|
+
return new LroEngine(lro, {
|
471
|
+
resumeFrom: options?.resumeFrom,
|
472
|
+
intervalInMs: options?.updateIntervalInMs
|
473
|
+
});
|
209
474
|
}
|
210
475
|
|
211
476
|
/**
|
212
|
-
*
|
213
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
214
|
-
* @param registryName The name of the container registry.
|
215
|
-
* @param webhookName The name of the webhook.
|
216
|
-
* @param [options] The optional parameters
|
217
|
-
* @returns Promise<Models.WebhooksListEventsResponse>
|
218
|
-
*/
|
219
|
-
listEvents(resourceGroupName: string, registryName: string, webhookName: string, options?: msRest.RequestOptionsBase): Promise<Models.WebhooksListEventsResponse>;
|
220
|
-
/**
|
477
|
+
* Updates a webhook with the specified parameters.
|
221
478
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
222
479
|
* @param registryName The name of the container registry.
|
223
480
|
* @param webhookName The name of the webhook.
|
224
|
-
* @param
|
481
|
+
* @param webhookUpdateParameters The parameters for updating a webhook.
|
482
|
+
* @param options The options parameters.
|
225
483
|
*/
|
226
|
-
|
484
|
+
async beginUpdateAndWait(
|
485
|
+
resourceGroupName: string,
|
486
|
+
registryName: string,
|
487
|
+
webhookName: string,
|
488
|
+
webhookUpdateParameters: WebhookUpdateParameters,
|
489
|
+
options?: WebhooksUpdateOptionalParams
|
490
|
+
): Promise<WebhooksUpdateResponse> {
|
491
|
+
const poller = await this.beginUpdate(
|
492
|
+
resourceGroupName,
|
493
|
+
registryName,
|
494
|
+
webhookName,
|
495
|
+
webhookUpdateParameters,
|
496
|
+
options
|
497
|
+
);
|
498
|
+
return poller.pollUntilDone();
|
499
|
+
}
|
500
|
+
|
227
501
|
/**
|
502
|
+
* Lists all the webhooks for the specified container registry.
|
228
503
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
229
504
|
* @param registryName The name of the container registry.
|
230
|
-
* @param
|
231
|
-
* @param options The optional parameters
|
232
|
-
* @param callback The callback
|
505
|
+
* @param options The options parameters.
|
233
506
|
*/
|
234
|
-
|
235
|
-
|
507
|
+
private _list(
|
508
|
+
resourceGroupName: string,
|
509
|
+
registryName: string,
|
510
|
+
options?: WebhooksListOptionalParams
|
511
|
+
): Promise<WebhooksListResponse> {
|
236
512
|
return this.client.sendOperationRequest(
|
237
|
-
{
|
238
|
-
|
239
|
-
|
240
|
-
webhookName,
|
241
|
-
options
|
242
|
-
},
|
243
|
-
listEventsOperationSpec,
|
244
|
-
callback) as Promise<Models.WebhooksListEventsResponse>;
|
513
|
+
{ resourceGroupName, registryName, options },
|
514
|
+
listOperationSpec
|
515
|
+
);
|
245
516
|
}
|
246
517
|
|
247
518
|
/**
|
248
|
-
*
|
519
|
+
* Triggers a ping event to be sent to the webhook.
|
249
520
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
250
521
|
* @param registryName The name of the container registry.
|
251
522
|
* @param webhookName The name of the webhook.
|
252
|
-
* @param
|
253
|
-
* @param [options] The optional parameters
|
254
|
-
* @returns Promise<msRestAzure.LROPoller>
|
523
|
+
* @param options The options parameters.
|
255
524
|
*/
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
options);
|
525
|
+
ping(
|
526
|
+
resourceGroupName: string,
|
527
|
+
registryName: string,
|
528
|
+
webhookName: string,
|
529
|
+
options?: WebhooksPingOptionalParams
|
530
|
+
): Promise<WebhooksPingResponse> {
|
531
|
+
return this.client.sendOperationRequest(
|
532
|
+
{ resourceGroupName, registryName, webhookName, options },
|
533
|
+
pingOperationSpec
|
534
|
+
);
|
267
535
|
}
|
268
536
|
|
269
537
|
/**
|
270
|
-
*
|
538
|
+
* Gets the configuration of service URI and custom headers for the webhook.
|
271
539
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
272
540
|
* @param registryName The name of the container registry.
|
273
541
|
* @param webhookName The name of the webhook.
|
274
|
-
* @param
|
275
|
-
* @returns Promise<msRestAzure.LROPoller>
|
542
|
+
* @param options The options parameters.
|
276
543
|
*/
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
},
|
285
|
-
|
286
|
-
|
544
|
+
getCallbackConfig(
|
545
|
+
resourceGroupName: string,
|
546
|
+
registryName: string,
|
547
|
+
webhookName: string,
|
548
|
+
options?: WebhooksGetCallbackConfigOptionalParams
|
549
|
+
): Promise<WebhooksGetCallbackConfigResponse> {
|
550
|
+
return this.client.sendOperationRequest(
|
551
|
+
{ resourceGroupName, registryName, webhookName, options },
|
552
|
+
getCallbackConfigOperationSpec
|
553
|
+
);
|
287
554
|
}
|
288
555
|
|
289
556
|
/**
|
290
|
-
*
|
557
|
+
* Lists recent events for the specified webhook.
|
291
558
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
292
559
|
* @param registryName The name of the container registry.
|
293
560
|
* @param webhookName The name of the webhook.
|
294
|
-
* @param
|
295
|
-
* @param [options] The optional parameters
|
296
|
-
* @returns Promise<msRestAzure.LROPoller>
|
561
|
+
* @param options The options parameters.
|
297
562
|
*/
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
options);
|
563
|
+
private _listEvents(
|
564
|
+
resourceGroupName: string,
|
565
|
+
registryName: string,
|
566
|
+
webhookName: string,
|
567
|
+
options?: WebhooksListEventsOptionalParams
|
568
|
+
): Promise<WebhooksListEventsResponse> {
|
569
|
+
return this.client.sendOperationRequest(
|
570
|
+
{ resourceGroupName, registryName, webhookName, options },
|
571
|
+
listEventsOperationSpec
|
572
|
+
);
|
309
573
|
}
|
310
574
|
|
311
575
|
/**
|
312
|
-
*
|
313
|
-
* @param
|
314
|
-
* @param
|
315
|
-
* @
|
316
|
-
|
317
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.WebhooksListNextResponse>;
|
318
|
-
/**
|
319
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
320
|
-
* @param callback The callback
|
321
|
-
*/
|
322
|
-
listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.WebhookListResult>): void;
|
323
|
-
/**
|
324
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
325
|
-
* @param options The optional parameters
|
326
|
-
* @param callback The callback
|
576
|
+
* ListNext
|
577
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
578
|
+
* @param registryName The name of the container registry.
|
579
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
580
|
+
* @param options The options parameters.
|
327
581
|
*/
|
328
|
-
|
329
|
-
|
582
|
+
private _listNext(
|
583
|
+
resourceGroupName: string,
|
584
|
+
registryName: string,
|
585
|
+
nextLink: string,
|
586
|
+
options?: WebhooksListNextOptionalParams
|
587
|
+
): Promise<WebhooksListNextResponse> {
|
330
588
|
return this.client.sendOperationRequest(
|
331
|
-
{
|
332
|
-
|
333
|
-
|
334
|
-
},
|
335
|
-
listNextOperationSpec,
|
336
|
-
callback) as Promise<Models.WebhooksListNextResponse>;
|
589
|
+
{ resourceGroupName, registryName, nextLink, options },
|
590
|
+
listNextOperationSpec
|
591
|
+
);
|
337
592
|
}
|
338
593
|
|
339
594
|
/**
|
340
|
-
*
|
341
|
-
* @param
|
342
|
-
* @param
|
343
|
-
* @
|
344
|
-
|
345
|
-
|
346
|
-
/**
|
347
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
348
|
-
* @param callback The callback
|
349
|
-
*/
|
350
|
-
listEventsNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.EventListResult>): void;
|
351
|
-
/**
|
352
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
353
|
-
* @param options The optional parameters
|
354
|
-
* @param callback The callback
|
595
|
+
* ListEventsNext
|
596
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
597
|
+
* @param registryName The name of the container registry.
|
598
|
+
* @param webhookName The name of the webhook.
|
599
|
+
* @param nextLink The nextLink from the previous successful call to the ListEvents method.
|
600
|
+
* @param options The options parameters.
|
355
601
|
*/
|
356
|
-
|
357
|
-
|
602
|
+
private _listEventsNext(
|
603
|
+
resourceGroupName: string,
|
604
|
+
registryName: string,
|
605
|
+
webhookName: string,
|
606
|
+
nextLink: string,
|
607
|
+
options?: WebhooksListEventsNextOptionalParams
|
608
|
+
): Promise<WebhooksListEventsNextResponse> {
|
358
609
|
return this.client.sendOperationRequest(
|
359
|
-
{
|
360
|
-
|
361
|
-
|
362
|
-
},
|
363
|
-
listEventsNextOperationSpec,
|
364
|
-
callback) as Promise<Models.WebhooksListEventsNextResponse>;
|
610
|
+
{ resourceGroupName, registryName, webhookName, nextLink, options },
|
611
|
+
listEventsNextOperationSpec
|
612
|
+
);
|
365
613
|
}
|
366
614
|
}
|
367
|
-
|
368
615
|
// Operation Specifications
|
369
|
-
const serializer =
|
370
|
-
|
616
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
617
|
+
|
618
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
619
|
+
path:
|
620
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}",
|
371
621
|
httpMethod: "GET",
|
372
|
-
|
622
|
+
responses: {
|
623
|
+
200: {
|
624
|
+
bodyMapper: Mappers.Webhook
|
625
|
+
}
|
626
|
+
},
|
627
|
+
queryParameters: [Parameters.apiVersion],
|
373
628
|
urlParameters: [
|
629
|
+
Parameters.$host,
|
374
630
|
Parameters.subscriptionId,
|
375
631
|
Parameters.resourceGroupName,
|
376
632
|
Parameters.registryName,
|
377
633
|
Parameters.webhookName
|
378
634
|
],
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
635
|
+
headerParameters: [Parameters.accept],
|
636
|
+
serializer
|
637
|
+
};
|
638
|
+
const createOperationSpec: coreClient.OperationSpec = {
|
639
|
+
path:
|
640
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}",
|
641
|
+
httpMethod: "PUT",
|
385
642
|
responses: {
|
386
643
|
200: {
|
387
644
|
bodyMapper: Mappers.Webhook
|
388
645
|
},
|
389
|
-
|
390
|
-
bodyMapper: Mappers.
|
646
|
+
201: {
|
647
|
+
bodyMapper: Mappers.Webhook
|
648
|
+
},
|
649
|
+
202: {
|
650
|
+
bodyMapper: Mappers.Webhook
|
651
|
+
},
|
652
|
+
204: {
|
653
|
+
bodyMapper: Mappers.Webhook
|
391
654
|
}
|
392
655
|
},
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
const listOperationSpec: msRest.OperationSpec = {
|
397
|
-
httpMethod: "GET",
|
398
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks",
|
656
|
+
requestBody: Parameters.webhookCreateParameters,
|
657
|
+
queryParameters: [Parameters.apiVersion],
|
399
658
|
urlParameters: [
|
659
|
+
Parameters.$host,
|
400
660
|
Parameters.subscriptionId,
|
401
661
|
Parameters.resourceGroupName,
|
402
|
-
Parameters.registryName
|
403
|
-
|
404
|
-
queryParameters: [
|
405
|
-
Parameters.apiVersion0
|
406
|
-
],
|
407
|
-
headerParameters: [
|
408
|
-
Parameters.acceptLanguage
|
662
|
+
Parameters.registryName,
|
663
|
+
Parameters.webhookName
|
409
664
|
],
|
410
|
-
|
411
|
-
|
412
|
-
bodyMapper: Mappers.WebhookListResult
|
413
|
-
},
|
414
|
-
default: {
|
415
|
-
bodyMapper: Mappers.CloudError
|
416
|
-
}
|
417
|
-
},
|
665
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
666
|
+
mediaType: "json",
|
418
667
|
serializer
|
419
668
|
};
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
669
|
+
const deleteOperationSpec: coreClient.OperationSpec = {
|
670
|
+
path:
|
671
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}",
|
672
|
+
httpMethod: "DELETE",
|
673
|
+
responses: { 200: {}, 201: {}, 202: {}, 204: {} },
|
674
|
+
queryParameters: [Parameters.apiVersion],
|
424
675
|
urlParameters: [
|
676
|
+
Parameters.$host,
|
425
677
|
Parameters.subscriptionId,
|
426
678
|
Parameters.resourceGroupName,
|
427
679
|
Parameters.registryName,
|
428
680
|
Parameters.webhookName
|
429
681
|
],
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
682
|
+
serializer
|
683
|
+
};
|
684
|
+
const updateOperationSpec: coreClient.OperationSpec = {
|
685
|
+
path:
|
686
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}",
|
687
|
+
httpMethod: "PATCH",
|
436
688
|
responses: {
|
437
689
|
200: {
|
438
|
-
bodyMapper: Mappers.
|
690
|
+
bodyMapper: Mappers.Webhook
|
691
|
+
},
|
692
|
+
201: {
|
693
|
+
bodyMapper: Mappers.Webhook
|
694
|
+
},
|
695
|
+
202: {
|
696
|
+
bodyMapper: Mappers.Webhook
|
439
697
|
},
|
440
|
-
|
441
|
-
bodyMapper: Mappers.
|
698
|
+
204: {
|
699
|
+
bodyMapper: Mappers.Webhook
|
442
700
|
}
|
443
701
|
},
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
const getCallbackConfigOperationSpec: msRest.OperationSpec = {
|
448
|
-
httpMethod: "POST",
|
449
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/getCallbackConfig",
|
702
|
+
requestBody: Parameters.webhookUpdateParameters,
|
703
|
+
queryParameters: [Parameters.apiVersion],
|
450
704
|
urlParameters: [
|
705
|
+
Parameters.$host,
|
451
706
|
Parameters.subscriptionId,
|
452
707
|
Parameters.resourceGroupName,
|
453
708
|
Parameters.registryName,
|
454
709
|
Parameters.webhookName
|
455
710
|
],
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
711
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
712
|
+
mediaType: "json",
|
713
|
+
serializer
|
714
|
+
};
|
715
|
+
const listOperationSpec: coreClient.OperationSpec = {
|
716
|
+
path:
|
717
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks",
|
718
|
+
httpMethod: "GET",
|
462
719
|
responses: {
|
463
720
|
200: {
|
464
|
-
bodyMapper: Mappers.
|
465
|
-
},
|
466
|
-
default: {
|
467
|
-
bodyMapper: Mappers.CloudError
|
721
|
+
bodyMapper: Mappers.WebhookListResult
|
468
722
|
}
|
469
723
|
},
|
470
|
-
|
471
|
-
};
|
472
|
-
|
473
|
-
const listEventsOperationSpec: msRest.OperationSpec = {
|
474
|
-
httpMethod: "POST",
|
475
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/listEvents",
|
724
|
+
queryParameters: [Parameters.apiVersion],
|
476
725
|
urlParameters: [
|
726
|
+
Parameters.$host,
|
477
727
|
Parameters.subscriptionId,
|
478
728
|
Parameters.resourceGroupName,
|
479
|
-
Parameters.registryName
|
480
|
-
Parameters.webhookName
|
481
|
-
],
|
482
|
-
queryParameters: [
|
483
|
-
Parameters.apiVersion0
|
484
|
-
],
|
485
|
-
headerParameters: [
|
486
|
-
Parameters.acceptLanguage
|
729
|
+
Parameters.registryName
|
487
730
|
],
|
731
|
+
headerParameters: [Parameters.accept],
|
732
|
+
serializer
|
733
|
+
};
|
734
|
+
const pingOperationSpec: coreClient.OperationSpec = {
|
735
|
+
path:
|
736
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/ping",
|
737
|
+
httpMethod: "POST",
|
488
738
|
responses: {
|
489
739
|
200: {
|
490
|
-
bodyMapper: Mappers.
|
491
|
-
},
|
492
|
-
default: {
|
493
|
-
bodyMapper: Mappers.CloudError
|
740
|
+
bodyMapper: Mappers.EventInfo
|
494
741
|
}
|
495
742
|
},
|
496
|
-
|
497
|
-
};
|
498
|
-
|
499
|
-
const beginCreateOperationSpec: msRest.OperationSpec = {
|
500
|
-
httpMethod: "PUT",
|
501
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}",
|
743
|
+
queryParameters: [Parameters.apiVersion],
|
502
744
|
urlParameters: [
|
745
|
+
Parameters.$host,
|
503
746
|
Parameters.subscriptionId,
|
504
747
|
Parameters.resourceGroupName,
|
505
748
|
Parameters.registryName,
|
506
749
|
Parameters.webhookName
|
507
750
|
],
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
parameterPath: "webhookCreateParameters",
|
516
|
-
mapper: {
|
517
|
-
...Mappers.WebhookCreateParameters,
|
518
|
-
required: true
|
519
|
-
}
|
520
|
-
},
|
751
|
+
headerParameters: [Parameters.accept],
|
752
|
+
serializer
|
753
|
+
};
|
754
|
+
const getCallbackConfigOperationSpec: coreClient.OperationSpec = {
|
755
|
+
path:
|
756
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/getCallbackConfig",
|
757
|
+
httpMethod: "POST",
|
521
758
|
responses: {
|
522
759
|
200: {
|
523
|
-
bodyMapper: Mappers.
|
524
|
-
},
|
525
|
-
201: {
|
526
|
-
bodyMapper: Mappers.Webhook
|
527
|
-
},
|
528
|
-
default: {
|
529
|
-
bodyMapper: Mappers.CloudError
|
760
|
+
bodyMapper: Mappers.CallbackConfig
|
530
761
|
}
|
531
762
|
},
|
532
|
-
|
533
|
-
};
|
534
|
-
|
535
|
-
const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
|
536
|
-
httpMethod: "DELETE",
|
537
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}",
|
763
|
+
queryParameters: [Parameters.apiVersion],
|
538
764
|
urlParameters: [
|
765
|
+
Parameters.$host,
|
539
766
|
Parameters.subscriptionId,
|
540
767
|
Parameters.resourceGroupName,
|
541
768
|
Parameters.registryName,
|
542
769
|
Parameters.webhookName
|
543
770
|
],
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
771
|
+
headerParameters: [Parameters.accept],
|
772
|
+
serializer
|
773
|
+
};
|
774
|
+
const listEventsOperationSpec: coreClient.OperationSpec = {
|
775
|
+
path:
|
776
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/listEvents",
|
777
|
+
httpMethod: "POST",
|
550
778
|
responses: {
|
551
|
-
200: {
|
552
|
-
|
553
|
-
204: {},
|
554
|
-
default: {
|
555
|
-
bodyMapper: Mappers.CloudError
|
779
|
+
200: {
|
780
|
+
bodyMapper: Mappers.EventListResult
|
556
781
|
}
|
557
782
|
},
|
558
|
-
|
559
|
-
};
|
560
|
-
|
561
|
-
const beginUpdateOperationSpec: msRest.OperationSpec = {
|
562
|
-
httpMethod: "PATCH",
|
563
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}",
|
783
|
+
queryParameters: [Parameters.apiVersion],
|
564
784
|
urlParameters: [
|
785
|
+
Parameters.$host,
|
565
786
|
Parameters.subscriptionId,
|
566
787
|
Parameters.resourceGroupName,
|
567
788
|
Parameters.registryName,
|
568
789
|
Parameters.webhookName
|
569
790
|
],
|
570
|
-
|
571
|
-
Parameters.apiVersion0
|
572
|
-
],
|
573
|
-
headerParameters: [
|
574
|
-
Parameters.acceptLanguage
|
575
|
-
],
|
576
|
-
requestBody: {
|
577
|
-
parameterPath: "webhookUpdateParameters",
|
578
|
-
mapper: {
|
579
|
-
...Mappers.WebhookUpdateParameters,
|
580
|
-
required: true
|
581
|
-
}
|
582
|
-
},
|
583
|
-
responses: {
|
584
|
-
200: {
|
585
|
-
bodyMapper: Mappers.Webhook
|
586
|
-
},
|
587
|
-
201: {
|
588
|
-
bodyMapper: Mappers.Webhook
|
589
|
-
},
|
590
|
-
default: {
|
591
|
-
bodyMapper: Mappers.CloudError
|
592
|
-
}
|
593
|
-
},
|
791
|
+
headerParameters: [Parameters.accept],
|
594
792
|
serializer
|
595
793
|
};
|
596
|
-
|
597
|
-
const listNextOperationSpec: msRest.OperationSpec = {
|
598
|
-
httpMethod: "GET",
|
599
|
-
baseUrl: "https://management.azure.com",
|
794
|
+
const listNextOperationSpec: coreClient.OperationSpec = {
|
600
795
|
path: "{nextLink}",
|
601
|
-
|
602
|
-
Parameters.nextPageLink
|
603
|
-
],
|
604
|
-
headerParameters: [
|
605
|
-
Parameters.acceptLanguage
|
606
|
-
],
|
796
|
+
httpMethod: "GET",
|
607
797
|
responses: {
|
608
798
|
200: {
|
609
799
|
bodyMapper: Mappers.WebhookListResult
|
610
|
-
},
|
611
|
-
default: {
|
612
|
-
bodyMapper: Mappers.CloudError
|
613
800
|
}
|
614
801
|
},
|
802
|
+
queryParameters: [Parameters.apiVersion],
|
803
|
+
urlParameters: [
|
804
|
+
Parameters.$host,
|
805
|
+
Parameters.subscriptionId,
|
806
|
+
Parameters.resourceGroupName,
|
807
|
+
Parameters.registryName,
|
808
|
+
Parameters.nextLink
|
809
|
+
],
|
810
|
+
headerParameters: [Parameters.accept],
|
615
811
|
serializer
|
616
812
|
};
|
617
|
-
|
618
|
-
const listEventsNextOperationSpec: msRest.OperationSpec = {
|
619
|
-
httpMethod: "POST",
|
620
|
-
baseUrl: "https://management.azure.com",
|
813
|
+
const listEventsNextOperationSpec: coreClient.OperationSpec = {
|
621
814
|
path: "{nextLink}",
|
622
|
-
|
623
|
-
Parameters.nextPageLink
|
624
|
-
],
|
625
|
-
headerParameters: [
|
626
|
-
Parameters.acceptLanguage
|
627
|
-
],
|
815
|
+
httpMethod: "GET",
|
628
816
|
responses: {
|
629
817
|
200: {
|
630
818
|
bodyMapper: Mappers.EventListResult
|
631
|
-
},
|
632
|
-
default: {
|
633
|
-
bodyMapper: Mappers.CloudError
|
634
819
|
}
|
635
820
|
},
|
821
|
+
queryParameters: [Parameters.apiVersion],
|
822
|
+
urlParameters: [
|
823
|
+
Parameters.$host,
|
824
|
+
Parameters.subscriptionId,
|
825
|
+
Parameters.resourceGroupName,
|
826
|
+
Parameters.registryName,
|
827
|
+
Parameters.nextLink,
|
828
|
+
Parameters.webhookName
|
829
|
+
],
|
830
|
+
headerParameters: [Parameters.accept],
|
636
831
|
serializer
|
637
832
|
};
|