@azure/arm-containerregistry 9.0.0-alpha.20211025.2 → 10.0.0-alpha.20211105.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 +12 -13
- package/dist/index.js +705 -682
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/src/containerRegistryManagementClientContext.js +1 -1
- package/dist-esm/src/containerRegistryManagementClientContext.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +185 -177
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +2 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +16 -16
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +312 -291
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +1 -1
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +10 -10
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/connectedRegistries.d.ts +7 -7
- package/dist-esm/src/operations/connectedRegistries.d.ts.map +1 -1
- package/dist-esm/src/operations/connectedRegistries.js +30 -30
- package/dist-esm/src/operations/connectedRegistries.js.map +1 -1
- package/dist-esm/src/operations/exportPipelines.d.ts +7 -7
- package/dist-esm/src/operations/exportPipelines.d.ts.map +1 -1
- package/dist-esm/src/operations/exportPipelines.js +27 -27
- package/dist-esm/src/operations/exportPipelines.js.map +1 -1
- package/dist-esm/src/operations/importPipelines.d.ts +7 -7
- package/dist-esm/src/operations/importPipelines.d.ts.map +1 -1
- package/dist-esm/src/operations/importPipelines.js +27 -27
- package/dist-esm/src/operations/importPipelines.js.map +1 -1
- package/dist-esm/src/operations/pipelineRuns.d.ts +7 -7
- package/dist-esm/src/operations/pipelineRuns.d.ts.map +1 -1
- package/dist-esm/src/operations/pipelineRuns.js +27 -27
- package/dist-esm/src/operations/pipelineRuns.js.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +7 -7
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist-esm/src/operations/privateEndpointConnections.js +27 -27
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/registries.d.ts +32 -32
- package/dist-esm/src/operations/registries.d.ts.map +1 -1
- package/dist-esm/src/operations/registries.js +102 -102
- package/dist-esm/src/operations/registries.js.map +1 -1
- package/dist-esm/src/operations/replications.d.ts +7 -7
- package/dist-esm/src/operations/replications.d.ts.map +1 -1
- package/dist-esm/src/operations/replications.js +27 -27
- package/dist-esm/src/operations/replications.js.map +1 -1
- package/dist-esm/src/operations/scopeMaps.d.ts +7 -7
- package/dist-esm/src/operations/scopeMaps.d.ts.map +1 -1
- package/dist-esm/src/operations/scopeMaps.js +27 -27
- package/dist-esm/src/operations/scopeMaps.js.map +1 -1
- package/dist-esm/src/operations/tokens.d.ts +7 -7
- package/dist-esm/src/operations/tokens.d.ts.map +1 -1
- package/dist-esm/src/operations/tokens.js +27 -27
- package/dist-esm/src/operations/tokens.js.map +1 -1
- package/dist-esm/src/operations/webhooks.d.ts +11 -11
- package/dist-esm/src/operations/webhooks.d.ts.map +1 -1
- package/dist-esm/src/operations/webhooks.js +39 -39
- package/dist-esm/src/operations/webhooks.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/registries.d.ts +13 -13
- package/dist-esm/src/operationsInterfaces/registries.d.ts.map +1 -1
- package/package.json +4 -5
- package/review/arm-containerregistry.api.md +13 -6
- package/src/containerRegistryManagementClientContext.ts +1 -1
- package/src/models/index.ts +215 -207
- package/src/models/mappers.ts +330 -308
- package/src/models/parameters.ts +11 -11
- package/src/operations/connectedRegistries.ts +40 -40
- package/src/operations/exportPipelines.ts +37 -37
- package/src/operations/importPipelines.ts +37 -37
- package/src/operations/pipelineRuns.ts +37 -37
- package/src/operations/privateEndpointConnections.ts +37 -37
- package/src/operations/registries.ts +152 -152
- package/src/operations/replications.ts +37 -37
- package/src/operations/scopeMaps.ts +37 -37
- package/src/operations/tokens.ts +37 -37
- package/src/operations/webhooks.ts +54 -54
- package/src/operationsInterfaces/registries.ts +21 -21
- package/types/arm-containerregistry.d.ts +27 -17
- package/types/tsdoc-metadata.json +1 -1
package/src/models/parameters.ts
CHANGED
@@ -69,7 +69,7 @@ export const $host: OperationURLParameter = {
|
|
69
69
|
export const apiVersion: OperationQueryParameter = {
|
70
70
|
parameterPath: "apiVersion",
|
71
71
|
mapper: {
|
72
|
-
defaultValue: "2021-
|
72
|
+
defaultValue: "2021-08-01-preview",
|
73
73
|
isConstant: true,
|
74
74
|
serializedName: "api-version",
|
75
75
|
type: {
|
@@ -119,6 +119,16 @@ export const registryName: OperationURLParameter = {
|
|
119
119
|
}
|
120
120
|
};
|
121
121
|
|
122
|
+
export const filter: OperationQueryParameter = {
|
123
|
+
parameterPath: ["options", "filter"],
|
124
|
+
mapper: {
|
125
|
+
serializedName: "$filter",
|
126
|
+
type: {
|
127
|
+
name: "String"
|
128
|
+
}
|
129
|
+
}
|
130
|
+
};
|
131
|
+
|
122
132
|
export const connectedRegistryName: OperationURLParameter = {
|
123
133
|
parameterPath: "connectedRegistryName",
|
124
134
|
mapper: {
|
@@ -157,16 +167,6 @@ export const connectedRegistryUpdateParameters: OperationParameter = {
|
|
157
167
|
mapper: ConnectedRegistryUpdateParametersMapper
|
158
168
|
};
|
159
169
|
|
160
|
-
export const filter: OperationQueryParameter = {
|
161
|
-
parameterPath: ["options", "filter"],
|
162
|
-
mapper: {
|
163
|
-
serializedName: "$filter",
|
164
|
-
type: {
|
165
|
-
name: "String"
|
166
|
-
}
|
167
|
-
}
|
168
|
-
};
|
169
|
-
|
170
170
|
export const nextLink: OperationURLParameter = {
|
171
171
|
parameterPath: "nextLink",
|
172
172
|
mapper: {
|
@@ -18,6 +18,7 @@ import {
|
|
18
18
|
ConnectedRegistry,
|
19
19
|
ConnectedRegistriesListNextOptionalParams,
|
20
20
|
ConnectedRegistriesListOptionalParams,
|
21
|
+
ConnectedRegistriesListResponse,
|
21
22
|
ConnectedRegistriesGetOptionalParams,
|
22
23
|
ConnectedRegistriesGetResponse,
|
23
24
|
ConnectedRegistriesCreateOptionalParams,
|
@@ -26,7 +27,6 @@ import {
|
|
26
27
|
ConnectedRegistryUpdateParameters,
|
27
28
|
ConnectedRegistriesUpdateOptionalParams,
|
28
29
|
ConnectedRegistriesUpdateResponse,
|
29
|
-
ConnectedRegistriesListResponse,
|
30
30
|
ConnectedRegistriesDeactivateOptionalParams,
|
31
31
|
ConnectedRegistriesListNextResponse
|
32
32
|
} from "../models";
|
@@ -103,6 +103,23 @@ export class ConnectedRegistriesImpl implements ConnectedRegistries {
|
|
103
103
|
}
|
104
104
|
}
|
105
105
|
|
106
|
+
/**
|
107
|
+
* Lists all connected registries for the specified container registry.
|
108
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
109
|
+
* @param registryName The name of the container registry.
|
110
|
+
* @param options The options parameters.
|
111
|
+
*/
|
112
|
+
private _list(
|
113
|
+
resourceGroupName: string,
|
114
|
+
registryName: string,
|
115
|
+
options?: ConnectedRegistriesListOptionalParams
|
116
|
+
): Promise<ConnectedRegistriesListResponse> {
|
117
|
+
return this.client.sendOperationRequest(
|
118
|
+
{ resourceGroupName, registryName, options },
|
119
|
+
listOperationSpec
|
120
|
+
);
|
121
|
+
}
|
122
|
+
|
106
123
|
/**
|
107
124
|
* Gets the properties of the connected registry.
|
108
125
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
@@ -409,23 +426,6 @@ export class ConnectedRegistriesImpl implements ConnectedRegistries {
|
|
409
426
|
return poller.pollUntilDone();
|
410
427
|
}
|
411
428
|
|
412
|
-
/**
|
413
|
-
* Lists all connected registries for the specified container registry.
|
414
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
415
|
-
* @param registryName The name of the container registry.
|
416
|
-
* @param options The options parameters.
|
417
|
-
*/
|
418
|
-
private _list(
|
419
|
-
resourceGroupName: string,
|
420
|
-
registryName: string,
|
421
|
-
options?: ConnectedRegistriesListOptionalParams
|
422
|
-
): Promise<ConnectedRegistriesListResponse> {
|
423
|
-
return this.client.sendOperationRequest(
|
424
|
-
{ resourceGroupName, registryName, options },
|
425
|
-
listOperationSpec
|
426
|
-
);
|
427
|
-
}
|
428
|
-
|
429
429
|
/**
|
430
430
|
* Deactivates the connected registry instance.
|
431
431
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
@@ -533,6 +533,28 @@ export class ConnectedRegistriesImpl implements ConnectedRegistries {
|
|
533
533
|
// Operation Specifications
|
534
534
|
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
535
535
|
|
536
|
+
const listOperationSpec: coreClient.OperationSpec = {
|
537
|
+
path:
|
538
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries",
|
539
|
+
httpMethod: "GET",
|
540
|
+
responses: {
|
541
|
+
200: {
|
542
|
+
bodyMapper: Mappers.ConnectedRegistryListResult
|
543
|
+
},
|
544
|
+
default: {
|
545
|
+
bodyMapper: Mappers.ErrorResponse
|
546
|
+
}
|
547
|
+
},
|
548
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter],
|
549
|
+
urlParameters: [
|
550
|
+
Parameters.$host,
|
551
|
+
Parameters.subscriptionId,
|
552
|
+
Parameters.resourceGroupName,
|
553
|
+
Parameters.registryName
|
554
|
+
],
|
555
|
+
headerParameters: [Parameters.accept],
|
556
|
+
serializer
|
557
|
+
};
|
536
558
|
const getOperationSpec: coreClient.OperationSpec = {
|
537
559
|
path:
|
538
560
|
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}",
|
@@ -648,28 +670,6 @@ const updateOperationSpec: coreClient.OperationSpec = {
|
|
648
670
|
mediaType: "json",
|
649
671
|
serializer
|
650
672
|
};
|
651
|
-
const listOperationSpec: coreClient.OperationSpec = {
|
652
|
-
path:
|
653
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries",
|
654
|
-
httpMethod: "GET",
|
655
|
-
responses: {
|
656
|
-
200: {
|
657
|
-
bodyMapper: Mappers.ConnectedRegistryListResult
|
658
|
-
},
|
659
|
-
default: {
|
660
|
-
bodyMapper: Mappers.ErrorResponse
|
661
|
-
}
|
662
|
-
},
|
663
|
-
queryParameters: [Parameters.apiVersion, Parameters.filter],
|
664
|
-
urlParameters: [
|
665
|
-
Parameters.$host,
|
666
|
-
Parameters.subscriptionId,
|
667
|
-
Parameters.resourceGroupName,
|
668
|
-
Parameters.registryName
|
669
|
-
],
|
670
|
-
headerParameters: [Parameters.accept],
|
671
|
-
serializer
|
672
|
-
};
|
673
673
|
const deactivateOperationSpec: coreClient.OperationSpec = {
|
674
674
|
path:
|
675
675
|
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}/deactivate",
|
@@ -18,12 +18,12 @@ import {
|
|
18
18
|
ExportPipeline,
|
19
19
|
ExportPipelinesListNextOptionalParams,
|
20
20
|
ExportPipelinesListOptionalParams,
|
21
|
+
ExportPipelinesListResponse,
|
21
22
|
ExportPipelinesGetOptionalParams,
|
22
23
|
ExportPipelinesGetResponse,
|
23
24
|
ExportPipelinesCreateOptionalParams,
|
24
25
|
ExportPipelinesCreateResponse,
|
25
26
|
ExportPipelinesDeleteOptionalParams,
|
26
|
-
ExportPipelinesListResponse,
|
27
27
|
ExportPipelinesListNextResponse
|
28
28
|
} from "../models";
|
29
29
|
|
@@ -99,6 +99,23 @@ export class ExportPipelinesImpl implements ExportPipelines {
|
|
99
99
|
}
|
100
100
|
}
|
101
101
|
|
102
|
+
/**
|
103
|
+
* Lists all export pipelines for the specified container registry.
|
104
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
105
|
+
* @param registryName The name of the container registry.
|
106
|
+
* @param options The options parameters.
|
107
|
+
*/
|
108
|
+
private _list(
|
109
|
+
resourceGroupName: string,
|
110
|
+
registryName: string,
|
111
|
+
options?: ExportPipelinesListOptionalParams
|
112
|
+
): Promise<ExportPipelinesListResponse> {
|
113
|
+
return this.client.sendOperationRequest(
|
114
|
+
{ resourceGroupName, registryName, options },
|
115
|
+
listOperationSpec
|
116
|
+
);
|
117
|
+
}
|
118
|
+
|
102
119
|
/**
|
103
120
|
* Gets the properties of the export pipeline.
|
104
121
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
@@ -304,23 +321,6 @@ export class ExportPipelinesImpl implements ExportPipelines {
|
|
304
321
|
return poller.pollUntilDone();
|
305
322
|
}
|
306
323
|
|
307
|
-
/**
|
308
|
-
* Lists all export pipelines for the specified container registry.
|
309
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
310
|
-
* @param registryName The name of the container registry.
|
311
|
-
* @param options The options parameters.
|
312
|
-
*/
|
313
|
-
private _list(
|
314
|
-
resourceGroupName: string,
|
315
|
-
registryName: string,
|
316
|
-
options?: ExportPipelinesListOptionalParams
|
317
|
-
): Promise<ExportPipelinesListResponse> {
|
318
|
-
return this.client.sendOperationRequest(
|
319
|
-
{ resourceGroupName, registryName, options },
|
320
|
-
listOperationSpec
|
321
|
-
);
|
322
|
-
}
|
323
|
-
|
324
324
|
/**
|
325
325
|
* ListNext
|
326
326
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
@@ -343,6 +343,25 @@ export class ExportPipelinesImpl implements ExportPipelines {
|
|
343
343
|
// Operation Specifications
|
344
344
|
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
345
345
|
|
346
|
+
const listOperationSpec: coreClient.OperationSpec = {
|
347
|
+
path:
|
348
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/exportPipelines",
|
349
|
+
httpMethod: "GET",
|
350
|
+
responses: {
|
351
|
+
200: {
|
352
|
+
bodyMapper: Mappers.ExportPipelineListResult
|
353
|
+
}
|
354
|
+
},
|
355
|
+
queryParameters: [Parameters.apiVersion],
|
356
|
+
urlParameters: [
|
357
|
+
Parameters.$host,
|
358
|
+
Parameters.subscriptionId,
|
359
|
+
Parameters.resourceGroupName,
|
360
|
+
Parameters.registryName
|
361
|
+
],
|
362
|
+
headerParameters: [Parameters.accept],
|
363
|
+
serializer
|
364
|
+
};
|
346
365
|
const getOperationSpec: coreClient.OperationSpec = {
|
347
366
|
path:
|
348
367
|
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/exportPipelines/{exportPipelineName}",
|
@@ -409,25 +428,6 @@ const deleteOperationSpec: coreClient.OperationSpec = {
|
|
409
428
|
],
|
410
429
|
serializer
|
411
430
|
};
|
412
|
-
const listOperationSpec: coreClient.OperationSpec = {
|
413
|
-
path:
|
414
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/exportPipelines",
|
415
|
-
httpMethod: "GET",
|
416
|
-
responses: {
|
417
|
-
200: {
|
418
|
-
bodyMapper: Mappers.ExportPipelineListResult
|
419
|
-
}
|
420
|
-
},
|
421
|
-
queryParameters: [Parameters.apiVersion],
|
422
|
-
urlParameters: [
|
423
|
-
Parameters.$host,
|
424
|
-
Parameters.subscriptionId,
|
425
|
-
Parameters.resourceGroupName,
|
426
|
-
Parameters.registryName
|
427
|
-
],
|
428
|
-
headerParameters: [Parameters.accept],
|
429
|
-
serializer
|
430
|
-
};
|
431
431
|
const listNextOperationSpec: coreClient.OperationSpec = {
|
432
432
|
path: "{nextLink}",
|
433
433
|
httpMethod: "GET",
|
@@ -18,12 +18,12 @@ import {
|
|
18
18
|
ImportPipeline,
|
19
19
|
ImportPipelinesListNextOptionalParams,
|
20
20
|
ImportPipelinesListOptionalParams,
|
21
|
+
ImportPipelinesListResponse,
|
21
22
|
ImportPipelinesGetOptionalParams,
|
22
23
|
ImportPipelinesGetResponse,
|
23
24
|
ImportPipelinesCreateOptionalParams,
|
24
25
|
ImportPipelinesCreateResponse,
|
25
26
|
ImportPipelinesDeleteOptionalParams,
|
26
|
-
ImportPipelinesListResponse,
|
27
27
|
ImportPipelinesListNextResponse
|
28
28
|
} from "../models";
|
29
29
|
|
@@ -99,6 +99,23 @@ export class ImportPipelinesImpl implements ImportPipelines {
|
|
99
99
|
}
|
100
100
|
}
|
101
101
|
|
102
|
+
/**
|
103
|
+
* Lists all import pipelines for the specified container registry.
|
104
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
105
|
+
* @param registryName The name of the container registry.
|
106
|
+
* @param options The options parameters.
|
107
|
+
*/
|
108
|
+
private _list(
|
109
|
+
resourceGroupName: string,
|
110
|
+
registryName: string,
|
111
|
+
options?: ImportPipelinesListOptionalParams
|
112
|
+
): Promise<ImportPipelinesListResponse> {
|
113
|
+
return this.client.sendOperationRequest(
|
114
|
+
{ resourceGroupName, registryName, options },
|
115
|
+
listOperationSpec
|
116
|
+
);
|
117
|
+
}
|
118
|
+
|
102
119
|
/**
|
103
120
|
* Gets the properties of the import pipeline.
|
104
121
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
@@ -304,23 +321,6 @@ export class ImportPipelinesImpl implements ImportPipelines {
|
|
304
321
|
return poller.pollUntilDone();
|
305
322
|
}
|
306
323
|
|
307
|
-
/**
|
308
|
-
* Lists all import pipelines for the specified container registry.
|
309
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
310
|
-
* @param registryName The name of the container registry.
|
311
|
-
* @param options The options parameters.
|
312
|
-
*/
|
313
|
-
private _list(
|
314
|
-
resourceGroupName: string,
|
315
|
-
registryName: string,
|
316
|
-
options?: ImportPipelinesListOptionalParams
|
317
|
-
): Promise<ImportPipelinesListResponse> {
|
318
|
-
return this.client.sendOperationRequest(
|
319
|
-
{ resourceGroupName, registryName, options },
|
320
|
-
listOperationSpec
|
321
|
-
);
|
322
|
-
}
|
323
|
-
|
324
324
|
/**
|
325
325
|
* ListNext
|
326
326
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
@@ -343,6 +343,25 @@ export class ImportPipelinesImpl implements ImportPipelines {
|
|
343
343
|
// Operation Specifications
|
344
344
|
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
345
345
|
|
346
|
+
const listOperationSpec: coreClient.OperationSpec = {
|
347
|
+
path:
|
348
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importPipelines",
|
349
|
+
httpMethod: "GET",
|
350
|
+
responses: {
|
351
|
+
200: {
|
352
|
+
bodyMapper: Mappers.ImportPipelineListResult
|
353
|
+
}
|
354
|
+
},
|
355
|
+
queryParameters: [Parameters.apiVersion],
|
356
|
+
urlParameters: [
|
357
|
+
Parameters.$host,
|
358
|
+
Parameters.subscriptionId,
|
359
|
+
Parameters.resourceGroupName,
|
360
|
+
Parameters.registryName
|
361
|
+
],
|
362
|
+
headerParameters: [Parameters.accept],
|
363
|
+
serializer
|
364
|
+
};
|
346
365
|
const getOperationSpec: coreClient.OperationSpec = {
|
347
366
|
path:
|
348
367
|
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importPipelines/{importPipelineName}",
|
@@ -409,25 +428,6 @@ const deleteOperationSpec: coreClient.OperationSpec = {
|
|
409
428
|
],
|
410
429
|
serializer
|
411
430
|
};
|
412
|
-
const listOperationSpec: coreClient.OperationSpec = {
|
413
|
-
path:
|
414
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importPipelines",
|
415
|
-
httpMethod: "GET",
|
416
|
-
responses: {
|
417
|
-
200: {
|
418
|
-
bodyMapper: Mappers.ImportPipelineListResult
|
419
|
-
}
|
420
|
-
},
|
421
|
-
queryParameters: [Parameters.apiVersion],
|
422
|
-
urlParameters: [
|
423
|
-
Parameters.$host,
|
424
|
-
Parameters.subscriptionId,
|
425
|
-
Parameters.resourceGroupName,
|
426
|
-
Parameters.registryName
|
427
|
-
],
|
428
|
-
headerParameters: [Parameters.accept],
|
429
|
-
serializer
|
430
|
-
};
|
431
431
|
const listNextOperationSpec: coreClient.OperationSpec = {
|
432
432
|
path: "{nextLink}",
|
433
433
|
httpMethod: "GET",
|
@@ -18,12 +18,12 @@ import {
|
|
18
18
|
PipelineRun,
|
19
19
|
PipelineRunsListNextOptionalParams,
|
20
20
|
PipelineRunsListOptionalParams,
|
21
|
+
PipelineRunsListResponse,
|
21
22
|
PipelineRunsGetOptionalParams,
|
22
23
|
PipelineRunsGetResponse,
|
23
24
|
PipelineRunsCreateOptionalParams,
|
24
25
|
PipelineRunsCreateResponse,
|
25
26
|
PipelineRunsDeleteOptionalParams,
|
26
|
-
PipelineRunsListResponse,
|
27
27
|
PipelineRunsListNextResponse
|
28
28
|
} from "../models";
|
29
29
|
|
@@ -99,6 +99,23 @@ export class PipelineRunsImpl implements PipelineRuns {
|
|
99
99
|
}
|
100
100
|
}
|
101
101
|
|
102
|
+
/**
|
103
|
+
* Lists all the pipeline runs for the specified container registry.
|
104
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
105
|
+
* @param registryName The name of the container registry.
|
106
|
+
* @param options The options parameters.
|
107
|
+
*/
|
108
|
+
private _list(
|
109
|
+
resourceGroupName: string,
|
110
|
+
registryName: string,
|
111
|
+
options?: PipelineRunsListOptionalParams
|
112
|
+
): Promise<PipelineRunsListResponse> {
|
113
|
+
return this.client.sendOperationRequest(
|
114
|
+
{ resourceGroupName, registryName, options },
|
115
|
+
listOperationSpec
|
116
|
+
);
|
117
|
+
}
|
118
|
+
|
102
119
|
/**
|
103
120
|
* Gets the detailed information for a given pipeline run.
|
104
121
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
@@ -304,23 +321,6 @@ export class PipelineRunsImpl implements PipelineRuns {
|
|
304
321
|
return poller.pollUntilDone();
|
305
322
|
}
|
306
323
|
|
307
|
-
/**
|
308
|
-
* Lists all the pipeline runs for the specified container registry.
|
309
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
310
|
-
* @param registryName The name of the container registry.
|
311
|
-
* @param options The options parameters.
|
312
|
-
*/
|
313
|
-
private _list(
|
314
|
-
resourceGroupName: string,
|
315
|
-
registryName: string,
|
316
|
-
options?: PipelineRunsListOptionalParams
|
317
|
-
): Promise<PipelineRunsListResponse> {
|
318
|
-
return this.client.sendOperationRequest(
|
319
|
-
{ resourceGroupName, registryName, options },
|
320
|
-
listOperationSpec
|
321
|
-
);
|
322
|
-
}
|
323
|
-
|
324
324
|
/**
|
325
325
|
* ListNext
|
326
326
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
@@ -343,6 +343,25 @@ export class PipelineRunsImpl implements PipelineRuns {
|
|
343
343
|
// Operation Specifications
|
344
344
|
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
345
345
|
|
346
|
+
const listOperationSpec: coreClient.OperationSpec = {
|
347
|
+
path:
|
348
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns",
|
349
|
+
httpMethod: "GET",
|
350
|
+
responses: {
|
351
|
+
200: {
|
352
|
+
bodyMapper: Mappers.PipelineRunListResult
|
353
|
+
}
|
354
|
+
},
|
355
|
+
queryParameters: [Parameters.apiVersion],
|
356
|
+
urlParameters: [
|
357
|
+
Parameters.$host,
|
358
|
+
Parameters.subscriptionId,
|
359
|
+
Parameters.resourceGroupName,
|
360
|
+
Parameters.registryName
|
361
|
+
],
|
362
|
+
headerParameters: [Parameters.accept],
|
363
|
+
serializer
|
364
|
+
};
|
346
365
|
const getOperationSpec: coreClient.OperationSpec = {
|
347
366
|
path:
|
348
367
|
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}",
|
@@ -409,25 +428,6 @@ const deleteOperationSpec: coreClient.OperationSpec = {
|
|
409
428
|
],
|
410
429
|
serializer
|
411
430
|
};
|
412
|
-
const listOperationSpec: coreClient.OperationSpec = {
|
413
|
-
path:
|
414
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns",
|
415
|
-
httpMethod: "GET",
|
416
|
-
responses: {
|
417
|
-
200: {
|
418
|
-
bodyMapper: Mappers.PipelineRunListResult
|
419
|
-
}
|
420
|
-
},
|
421
|
-
queryParameters: [Parameters.apiVersion],
|
422
|
-
urlParameters: [
|
423
|
-
Parameters.$host,
|
424
|
-
Parameters.subscriptionId,
|
425
|
-
Parameters.resourceGroupName,
|
426
|
-
Parameters.registryName
|
427
|
-
],
|
428
|
-
headerParameters: [Parameters.accept],
|
429
|
-
serializer
|
430
|
-
};
|
431
431
|
const listNextOperationSpec: coreClient.OperationSpec = {
|
432
432
|
path: "{nextLink}",
|
433
433
|
httpMethod: "GET",
|
@@ -18,12 +18,12 @@ import {
|
|
18
18
|
PrivateEndpointConnection,
|
19
19
|
PrivateEndpointConnectionsListNextOptionalParams,
|
20
20
|
PrivateEndpointConnectionsListOptionalParams,
|
21
|
+
PrivateEndpointConnectionsListResponse,
|
21
22
|
PrivateEndpointConnectionsGetOptionalParams,
|
22
23
|
PrivateEndpointConnectionsGetResponse,
|
23
24
|
PrivateEndpointConnectionsCreateOrUpdateOptionalParams,
|
24
25
|
PrivateEndpointConnectionsCreateOrUpdateResponse,
|
25
26
|
PrivateEndpointConnectionsDeleteOptionalParams,
|
26
|
-
PrivateEndpointConnectionsListResponse,
|
27
27
|
PrivateEndpointConnectionsListNextResponse
|
28
28
|
} from "../models";
|
29
29
|
|
@@ -100,6 +100,23 @@ export class PrivateEndpointConnectionsImpl
|
|
100
100
|
}
|
101
101
|
}
|
102
102
|
|
103
|
+
/**
|
104
|
+
* List all private endpoint connections in a container registry.
|
105
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
106
|
+
* @param registryName The name of the container registry.
|
107
|
+
* @param options The options parameters.
|
108
|
+
*/
|
109
|
+
private _list(
|
110
|
+
resourceGroupName: string,
|
111
|
+
registryName: string,
|
112
|
+
options?: PrivateEndpointConnectionsListOptionalParams
|
113
|
+
): Promise<PrivateEndpointConnectionsListResponse> {
|
114
|
+
return this.client.sendOperationRequest(
|
115
|
+
{ resourceGroupName, registryName, options },
|
116
|
+
listOperationSpec
|
117
|
+
);
|
118
|
+
}
|
119
|
+
|
103
120
|
/**
|
104
121
|
* Get the specified private endpoint connection associated with the container registry.
|
105
122
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
@@ -315,23 +332,6 @@ export class PrivateEndpointConnectionsImpl
|
|
315
332
|
return poller.pollUntilDone();
|
316
333
|
}
|
317
334
|
|
318
|
-
/**
|
319
|
-
* List all private endpoint connections in a container registry.
|
320
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
321
|
-
* @param registryName The name of the container registry.
|
322
|
-
* @param options The options parameters.
|
323
|
-
*/
|
324
|
-
private _list(
|
325
|
-
resourceGroupName: string,
|
326
|
-
registryName: string,
|
327
|
-
options?: PrivateEndpointConnectionsListOptionalParams
|
328
|
-
): Promise<PrivateEndpointConnectionsListResponse> {
|
329
|
-
return this.client.sendOperationRequest(
|
330
|
-
{ resourceGroupName, registryName, options },
|
331
|
-
listOperationSpec
|
332
|
-
);
|
333
|
-
}
|
334
|
-
|
335
335
|
/**
|
336
336
|
* ListNext
|
337
337
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
@@ -354,6 +354,25 @@ export class PrivateEndpointConnectionsImpl
|
|
354
354
|
// Operation Specifications
|
355
355
|
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
356
356
|
|
357
|
+
const listOperationSpec: coreClient.OperationSpec = {
|
358
|
+
path:
|
359
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections",
|
360
|
+
httpMethod: "GET",
|
361
|
+
responses: {
|
362
|
+
200: {
|
363
|
+
bodyMapper: Mappers.PrivateEndpointConnectionListResult
|
364
|
+
}
|
365
|
+
},
|
366
|
+
queryParameters: [Parameters.apiVersion],
|
367
|
+
urlParameters: [
|
368
|
+
Parameters.$host,
|
369
|
+
Parameters.subscriptionId,
|
370
|
+
Parameters.resourceGroupName,
|
371
|
+
Parameters.registryName
|
372
|
+
],
|
373
|
+
headerParameters: [Parameters.accept],
|
374
|
+
serializer
|
375
|
+
};
|
357
376
|
const getOperationSpec: coreClient.OperationSpec = {
|
358
377
|
path:
|
359
378
|
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
@@ -420,25 +439,6 @@ const deleteOperationSpec: coreClient.OperationSpec = {
|
|
420
439
|
],
|
421
440
|
serializer
|
422
441
|
};
|
423
|
-
const listOperationSpec: coreClient.OperationSpec = {
|
424
|
-
path:
|
425
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections",
|
426
|
-
httpMethod: "GET",
|
427
|
-
responses: {
|
428
|
-
200: {
|
429
|
-
bodyMapper: Mappers.PrivateEndpointConnectionListResult
|
430
|
-
}
|
431
|
-
},
|
432
|
-
queryParameters: [Parameters.apiVersion],
|
433
|
-
urlParameters: [
|
434
|
-
Parameters.$host,
|
435
|
-
Parameters.subscriptionId,
|
436
|
-
Parameters.resourceGroupName,
|
437
|
-
Parameters.registryName
|
438
|
-
],
|
439
|
-
headerParameters: [Parameters.accept],
|
440
|
-
serializer
|
441
|
-
};
|
442
442
|
const listNextOperationSpec: coreClient.OperationSpec = {
|
443
443
|
path: "{nextLink}",
|
444
444
|
httpMethod: "GET",
|