@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/dist/index.js
CHANGED
@@ -34,6 +34,8 @@ var coreLro = require('@azure/core-lro');
|
|
34
34
|
KnownProvisioningState["Canceled"] = "Canceled";
|
35
35
|
})(exports.KnownProvisioningState || (exports.KnownProvisioningState = {}));
|
36
36
|
(function (KnownConnectedRegistryMode) {
|
37
|
+
KnownConnectedRegistryMode["ReadWrite"] = "ReadWrite";
|
38
|
+
KnownConnectedRegistryMode["ReadOnly"] = "ReadOnly";
|
37
39
|
KnownConnectedRegistryMode["Registry"] = "Registry";
|
38
40
|
KnownConnectedRegistryMode["Mirror"] = "Mirror";
|
39
41
|
})(exports.KnownConnectedRegistryMode || (exports.KnownConnectedRegistryMode = {}));
|
@@ -252,6 +254,32 @@ var coreLro = require('@azure/core-lro');
|
|
252
254
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
253
255
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
254
256
|
*/
|
257
|
+
const ConnectedRegistryListResult = {
|
258
|
+
type: {
|
259
|
+
name: "Composite",
|
260
|
+
className: "ConnectedRegistryListResult",
|
261
|
+
modelProperties: {
|
262
|
+
value: {
|
263
|
+
serializedName: "value",
|
264
|
+
type: {
|
265
|
+
name: "Sequence",
|
266
|
+
element: {
|
267
|
+
type: {
|
268
|
+
name: "Composite",
|
269
|
+
className: "ConnectedRegistry"
|
270
|
+
}
|
271
|
+
}
|
272
|
+
}
|
273
|
+
},
|
274
|
+
nextLink: {
|
275
|
+
serializedName: "nextLink",
|
276
|
+
type: {
|
277
|
+
name: "String"
|
278
|
+
}
|
279
|
+
}
|
280
|
+
}
|
281
|
+
}
|
282
|
+
};
|
255
283
|
const ProxyResource = {
|
256
284
|
type: {
|
257
285
|
name: "Composite",
|
@@ -654,6 +682,17 @@ const ConnectedRegistryUpdateParameters = {
|
|
654
682
|
}
|
655
683
|
}
|
656
684
|
}
|
685
|
+
},
|
686
|
+
notificationsList: {
|
687
|
+
serializedName: "properties.notificationsList",
|
688
|
+
type: {
|
689
|
+
name: "Sequence",
|
690
|
+
element: {
|
691
|
+
type: {
|
692
|
+
name: "String"
|
693
|
+
}
|
694
|
+
}
|
695
|
+
}
|
657
696
|
}
|
658
697
|
}
|
659
698
|
}
|
@@ -684,10 +723,10 @@ const SyncUpdateProperties = {
|
|
684
723
|
}
|
685
724
|
}
|
686
725
|
};
|
687
|
-
const
|
726
|
+
const ExportPipelineListResult = {
|
688
727
|
type: {
|
689
728
|
name: "Composite",
|
690
|
-
className: "
|
729
|
+
className: "ExportPipelineListResult",
|
691
730
|
modelProperties: {
|
692
731
|
value: {
|
693
732
|
serializedName: "value",
|
@@ -696,7 +735,7 @@ const ConnectedRegistryListResult = {
|
|
696
735
|
element: {
|
697
736
|
type: {
|
698
737
|
name: "Composite",
|
699
|
-
className: "
|
738
|
+
className: "ExportPipeline"
|
700
739
|
}
|
701
740
|
}
|
702
741
|
}
|
@@ -798,32 +837,6 @@ const ExportPipelineTargetProperties = {
|
|
798
837
|
}
|
799
838
|
}
|
800
839
|
};
|
801
|
-
const ExportPipelineListResult = {
|
802
|
-
type: {
|
803
|
-
name: "Composite",
|
804
|
-
className: "ExportPipelineListResult",
|
805
|
-
modelProperties: {
|
806
|
-
value: {
|
807
|
-
serializedName: "value",
|
808
|
-
type: {
|
809
|
-
name: "Sequence",
|
810
|
-
element: {
|
811
|
-
type: {
|
812
|
-
name: "Composite",
|
813
|
-
className: "ExportPipeline"
|
814
|
-
}
|
815
|
-
}
|
816
|
-
}
|
817
|
-
},
|
818
|
-
nextLink: {
|
819
|
-
serializedName: "nextLink",
|
820
|
-
type: {
|
821
|
-
name: "String"
|
822
|
-
}
|
823
|
-
}
|
824
|
-
}
|
825
|
-
}
|
826
|
-
};
|
827
840
|
const ImportImageParameters = {
|
828
841
|
type: {
|
829
842
|
name: "Composite",
|
@@ -923,6 +936,32 @@ const ImportSourceCredentials = {
|
|
923
936
|
}
|
924
937
|
}
|
925
938
|
};
|
939
|
+
const ImportPipelineListResult = {
|
940
|
+
type: {
|
941
|
+
name: "Composite",
|
942
|
+
className: "ImportPipelineListResult",
|
943
|
+
modelProperties: {
|
944
|
+
value: {
|
945
|
+
serializedName: "value",
|
946
|
+
type: {
|
947
|
+
name: "Sequence",
|
948
|
+
element: {
|
949
|
+
type: {
|
950
|
+
name: "Composite",
|
951
|
+
className: "ImportPipeline"
|
952
|
+
}
|
953
|
+
}
|
954
|
+
}
|
955
|
+
},
|
956
|
+
nextLink: {
|
957
|
+
serializedName: "nextLink",
|
958
|
+
type: {
|
959
|
+
name: "String"
|
960
|
+
}
|
961
|
+
}
|
962
|
+
}
|
963
|
+
}
|
964
|
+
};
|
926
965
|
const ImportPipelineSourceProperties = {
|
927
966
|
type: {
|
928
967
|
name: "Composite",
|
@@ -981,86 +1020,6 @@ const PipelineSourceTriggerProperties = {
|
|
981
1020
|
}
|
982
1021
|
}
|
983
1022
|
};
|
984
|
-
const ImportPipelineListResult = {
|
985
|
-
type: {
|
986
|
-
name: "Composite",
|
987
|
-
className: "ImportPipelineListResult",
|
988
|
-
modelProperties: {
|
989
|
-
value: {
|
990
|
-
serializedName: "value",
|
991
|
-
type: {
|
992
|
-
name: "Sequence",
|
993
|
-
element: {
|
994
|
-
type: {
|
995
|
-
name: "Composite",
|
996
|
-
className: "ImportPipeline"
|
997
|
-
}
|
998
|
-
}
|
999
|
-
}
|
1000
|
-
},
|
1001
|
-
nextLink: {
|
1002
|
-
serializedName: "nextLink",
|
1003
|
-
type: {
|
1004
|
-
name: "String"
|
1005
|
-
}
|
1006
|
-
}
|
1007
|
-
}
|
1008
|
-
}
|
1009
|
-
};
|
1010
|
-
const RegistryNameCheckRequest = {
|
1011
|
-
type: {
|
1012
|
-
name: "Composite",
|
1013
|
-
className: "RegistryNameCheckRequest",
|
1014
|
-
modelProperties: {
|
1015
|
-
name: {
|
1016
|
-
constraints: {
|
1017
|
-
Pattern: new RegExp("^[a-zA-Z0-9]*$"),
|
1018
|
-
MaxLength: 50,
|
1019
|
-
MinLength: 5
|
1020
|
-
},
|
1021
|
-
serializedName: "name",
|
1022
|
-
required: true,
|
1023
|
-
type: {
|
1024
|
-
name: "String"
|
1025
|
-
}
|
1026
|
-
},
|
1027
|
-
type: {
|
1028
|
-
defaultValue: "Microsoft.ContainerRegistry/registries",
|
1029
|
-
isConstant: true,
|
1030
|
-
serializedName: "type",
|
1031
|
-
type: {
|
1032
|
-
name: "String"
|
1033
|
-
}
|
1034
|
-
}
|
1035
|
-
}
|
1036
|
-
}
|
1037
|
-
};
|
1038
|
-
const RegistryNameStatus = {
|
1039
|
-
type: {
|
1040
|
-
name: "Composite",
|
1041
|
-
className: "RegistryNameStatus",
|
1042
|
-
modelProperties: {
|
1043
|
-
nameAvailable: {
|
1044
|
-
serializedName: "nameAvailable",
|
1045
|
-
type: {
|
1046
|
-
name: "Boolean"
|
1047
|
-
}
|
1048
|
-
},
|
1049
|
-
reason: {
|
1050
|
-
serializedName: "reason",
|
1051
|
-
type: {
|
1052
|
-
name: "String"
|
1053
|
-
}
|
1054
|
-
},
|
1055
|
-
message: {
|
1056
|
-
serializedName: "message",
|
1057
|
-
type: {
|
1058
|
-
name: "String"
|
1059
|
-
}
|
1060
|
-
}
|
1061
|
-
}
|
1062
|
-
}
|
1063
|
-
};
|
1064
1023
|
const OperationListResult = {
|
1065
1024
|
type: {
|
1066
1025
|
name: "Composite",
|
@@ -1261,6 +1220,86 @@ const OperationLogSpecificationDefinition = {
|
|
1261
1220
|
}
|
1262
1221
|
}
|
1263
1222
|
};
|
1223
|
+
const RegistryNameCheckRequest = {
|
1224
|
+
type: {
|
1225
|
+
name: "Composite",
|
1226
|
+
className: "RegistryNameCheckRequest",
|
1227
|
+
modelProperties: {
|
1228
|
+
name: {
|
1229
|
+
constraints: {
|
1230
|
+
Pattern: new RegExp("^[a-zA-Z0-9]*$"),
|
1231
|
+
MaxLength: 50,
|
1232
|
+
MinLength: 5
|
1233
|
+
},
|
1234
|
+
serializedName: "name",
|
1235
|
+
required: true,
|
1236
|
+
type: {
|
1237
|
+
name: "String"
|
1238
|
+
}
|
1239
|
+
},
|
1240
|
+
type: {
|
1241
|
+
defaultValue: "Microsoft.ContainerRegistry/registries",
|
1242
|
+
isConstant: true,
|
1243
|
+
serializedName: "type",
|
1244
|
+
type: {
|
1245
|
+
name: "String"
|
1246
|
+
}
|
1247
|
+
}
|
1248
|
+
}
|
1249
|
+
}
|
1250
|
+
};
|
1251
|
+
const RegistryNameStatus = {
|
1252
|
+
type: {
|
1253
|
+
name: "Composite",
|
1254
|
+
className: "RegistryNameStatus",
|
1255
|
+
modelProperties: {
|
1256
|
+
nameAvailable: {
|
1257
|
+
serializedName: "nameAvailable",
|
1258
|
+
type: {
|
1259
|
+
name: "Boolean"
|
1260
|
+
}
|
1261
|
+
},
|
1262
|
+
reason: {
|
1263
|
+
serializedName: "reason",
|
1264
|
+
type: {
|
1265
|
+
name: "String"
|
1266
|
+
}
|
1267
|
+
},
|
1268
|
+
message: {
|
1269
|
+
serializedName: "message",
|
1270
|
+
type: {
|
1271
|
+
name: "String"
|
1272
|
+
}
|
1273
|
+
}
|
1274
|
+
}
|
1275
|
+
}
|
1276
|
+
};
|
1277
|
+
const PipelineRunListResult = {
|
1278
|
+
type: {
|
1279
|
+
name: "Composite",
|
1280
|
+
className: "PipelineRunListResult",
|
1281
|
+
modelProperties: {
|
1282
|
+
value: {
|
1283
|
+
serializedName: "value",
|
1284
|
+
type: {
|
1285
|
+
name: "Sequence",
|
1286
|
+
element: {
|
1287
|
+
type: {
|
1288
|
+
name: "Composite",
|
1289
|
+
className: "PipelineRun"
|
1290
|
+
}
|
1291
|
+
}
|
1292
|
+
}
|
1293
|
+
},
|
1294
|
+
nextLink: {
|
1295
|
+
serializedName: "nextLink",
|
1296
|
+
type: {
|
1297
|
+
name: "String"
|
1298
|
+
}
|
1299
|
+
}
|
1300
|
+
}
|
1301
|
+
}
|
1302
|
+
};
|
1264
1303
|
const PipelineRunRequest = {
|
1265
1304
|
type: {
|
1266
1305
|
name: "Composite",
|
@@ -1468,10 +1507,10 @@ const PipelineSourceTriggerDescriptor = {
|
|
1468
1507
|
}
|
1469
1508
|
}
|
1470
1509
|
};
|
1471
|
-
const
|
1510
|
+
const PrivateEndpointConnectionListResult = {
|
1472
1511
|
type: {
|
1473
1512
|
name: "Composite",
|
1474
|
-
className: "
|
1513
|
+
className: "PrivateEndpointConnectionListResult",
|
1475
1514
|
modelProperties: {
|
1476
1515
|
value: {
|
1477
1516
|
serializedName: "value",
|
@@ -1480,7 +1519,7 @@ const PipelineRunListResult = {
|
|
1480
1519
|
element: {
|
1481
1520
|
type: {
|
1482
1521
|
name: "Composite",
|
1483
|
-
className: "
|
1522
|
+
className: "PrivateEndpointConnection"
|
1484
1523
|
}
|
1485
1524
|
}
|
1486
1525
|
}
|
@@ -1534,10 +1573,10 @@ const PrivateLinkServiceConnectionState = {
|
|
1534
1573
|
}
|
1535
1574
|
}
|
1536
1575
|
};
|
1537
|
-
const
|
1576
|
+
const RegistryListResult = {
|
1538
1577
|
type: {
|
1539
1578
|
name: "Composite",
|
1540
|
-
className: "
|
1579
|
+
className: "RegistryListResult",
|
1541
1580
|
modelProperties: {
|
1542
1581
|
value: {
|
1543
1582
|
serializedName: "value",
|
@@ -1546,7 +1585,7 @@ const PrivateEndpointConnectionListResult = {
|
|
1546
1585
|
element: {
|
1547
1586
|
type: {
|
1548
1587
|
name: "Composite",
|
1549
|
-
className: "
|
1588
|
+
className: "Registry"
|
1550
1589
|
}
|
1551
1590
|
}
|
1552
1591
|
}
|
@@ -1993,96 +2032,7 @@ const RegistryUpdateParameters = {
|
|
1993
2032
|
anonymousPullEnabled: {
|
1994
2033
|
serializedName: "properties.anonymousPullEnabled",
|
1995
2034
|
type: {
|
1996
|
-
name: "Boolean"
|
1997
|
-
}
|
1998
|
-
}
|
1999
|
-
}
|
2000
|
-
}
|
2001
|
-
};
|
2002
|
-
const RegistryListResult = {
|
2003
|
-
type: {
|
2004
|
-
name: "Composite",
|
2005
|
-
className: "RegistryListResult",
|
2006
|
-
modelProperties: {
|
2007
|
-
value: {
|
2008
|
-
serializedName: "value",
|
2009
|
-
type: {
|
2010
|
-
name: "Sequence",
|
2011
|
-
element: {
|
2012
|
-
type: {
|
2013
|
-
name: "Composite",
|
2014
|
-
className: "Registry"
|
2015
|
-
}
|
2016
|
-
}
|
2017
|
-
}
|
2018
|
-
},
|
2019
|
-
nextLink: {
|
2020
|
-
serializedName: "nextLink",
|
2021
|
-
type: {
|
2022
|
-
name: "String"
|
2023
|
-
}
|
2024
|
-
}
|
2025
|
-
}
|
2026
|
-
}
|
2027
|
-
};
|
2028
|
-
const RegistryListCredentialsResult = {
|
2029
|
-
type: {
|
2030
|
-
name: "Composite",
|
2031
|
-
className: "RegistryListCredentialsResult",
|
2032
|
-
modelProperties: {
|
2033
|
-
username: {
|
2034
|
-
serializedName: "username",
|
2035
|
-
type: {
|
2036
|
-
name: "String"
|
2037
|
-
}
|
2038
|
-
},
|
2039
|
-
passwords: {
|
2040
|
-
serializedName: "passwords",
|
2041
|
-
type: {
|
2042
|
-
name: "Sequence",
|
2043
|
-
element: {
|
2044
|
-
type: {
|
2045
|
-
name: "Composite",
|
2046
|
-
className: "RegistryPassword"
|
2047
|
-
}
|
2048
|
-
}
|
2049
|
-
}
|
2050
|
-
}
|
2051
|
-
}
|
2052
|
-
}
|
2053
|
-
};
|
2054
|
-
const RegistryPassword = {
|
2055
|
-
type: {
|
2056
|
-
name: "Composite",
|
2057
|
-
className: "RegistryPassword",
|
2058
|
-
modelProperties: {
|
2059
|
-
name: {
|
2060
|
-
serializedName: "name",
|
2061
|
-
type: {
|
2062
|
-
name: "Enum",
|
2063
|
-
allowedValues: ["password", "password2"]
|
2064
|
-
}
|
2065
|
-
},
|
2066
|
-
value: {
|
2067
|
-
serializedName: "value",
|
2068
|
-
type: {
|
2069
|
-
name: "String"
|
2070
|
-
}
|
2071
|
-
}
|
2072
|
-
}
|
2073
|
-
}
|
2074
|
-
};
|
2075
|
-
const RegenerateCredentialParameters = {
|
2076
|
-
type: {
|
2077
|
-
name: "Composite",
|
2078
|
-
className: "RegenerateCredentialParameters",
|
2079
|
-
modelProperties: {
|
2080
|
-
name: {
|
2081
|
-
serializedName: "name",
|
2082
|
-
required: true,
|
2083
|
-
type: {
|
2084
|
-
name: "Enum",
|
2085
|
-
allowedValues: ["password", "password2"]
|
2035
|
+
name: "Boolean"
|
2086
2036
|
}
|
2087
2037
|
}
|
2088
2038
|
}
|
@@ -2221,6 +2171,95 @@ const PrivateLinkResource = {
|
|
2221
2171
|
}
|
2222
2172
|
}
|
2223
2173
|
};
|
2174
|
+
const RegistryListCredentialsResult = {
|
2175
|
+
type: {
|
2176
|
+
name: "Composite",
|
2177
|
+
className: "RegistryListCredentialsResult",
|
2178
|
+
modelProperties: {
|
2179
|
+
username: {
|
2180
|
+
serializedName: "username",
|
2181
|
+
type: {
|
2182
|
+
name: "String"
|
2183
|
+
}
|
2184
|
+
},
|
2185
|
+
passwords: {
|
2186
|
+
serializedName: "passwords",
|
2187
|
+
type: {
|
2188
|
+
name: "Sequence",
|
2189
|
+
element: {
|
2190
|
+
type: {
|
2191
|
+
name: "Composite",
|
2192
|
+
className: "RegistryPassword"
|
2193
|
+
}
|
2194
|
+
}
|
2195
|
+
}
|
2196
|
+
}
|
2197
|
+
}
|
2198
|
+
}
|
2199
|
+
};
|
2200
|
+
const RegistryPassword = {
|
2201
|
+
type: {
|
2202
|
+
name: "Composite",
|
2203
|
+
className: "RegistryPassword",
|
2204
|
+
modelProperties: {
|
2205
|
+
name: {
|
2206
|
+
serializedName: "name",
|
2207
|
+
type: {
|
2208
|
+
name: "Enum",
|
2209
|
+
allowedValues: ["password", "password2"]
|
2210
|
+
}
|
2211
|
+
},
|
2212
|
+
value: {
|
2213
|
+
serializedName: "value",
|
2214
|
+
type: {
|
2215
|
+
name: "String"
|
2216
|
+
}
|
2217
|
+
}
|
2218
|
+
}
|
2219
|
+
}
|
2220
|
+
};
|
2221
|
+
const RegenerateCredentialParameters = {
|
2222
|
+
type: {
|
2223
|
+
name: "Composite",
|
2224
|
+
className: "RegenerateCredentialParameters",
|
2225
|
+
modelProperties: {
|
2226
|
+
name: {
|
2227
|
+
serializedName: "name",
|
2228
|
+
required: true,
|
2229
|
+
type: {
|
2230
|
+
name: "Enum",
|
2231
|
+
allowedValues: ["password", "password2"]
|
2232
|
+
}
|
2233
|
+
}
|
2234
|
+
}
|
2235
|
+
}
|
2236
|
+
};
|
2237
|
+
const ReplicationListResult = {
|
2238
|
+
type: {
|
2239
|
+
name: "Composite",
|
2240
|
+
className: "ReplicationListResult",
|
2241
|
+
modelProperties: {
|
2242
|
+
value: {
|
2243
|
+
serializedName: "value",
|
2244
|
+
type: {
|
2245
|
+
name: "Sequence",
|
2246
|
+
element: {
|
2247
|
+
type: {
|
2248
|
+
name: "Composite",
|
2249
|
+
className: "Replication"
|
2250
|
+
}
|
2251
|
+
}
|
2252
|
+
}
|
2253
|
+
},
|
2254
|
+
nextLink: {
|
2255
|
+
serializedName: "nextLink",
|
2256
|
+
type: {
|
2257
|
+
name: "String"
|
2258
|
+
}
|
2259
|
+
}
|
2260
|
+
}
|
2261
|
+
}
|
2262
|
+
};
|
2224
2263
|
const ReplicationUpdateParameters = {
|
2225
2264
|
type: {
|
2226
2265
|
name: "Composite",
|
@@ -2242,10 +2281,10 @@ const ReplicationUpdateParameters = {
|
|
2242
2281
|
}
|
2243
2282
|
}
|
2244
2283
|
};
|
2245
|
-
const
|
2284
|
+
const ScopeMapListResult = {
|
2246
2285
|
type: {
|
2247
2286
|
name: "Composite",
|
2248
|
-
className: "
|
2287
|
+
className: "ScopeMapListResult",
|
2249
2288
|
modelProperties: {
|
2250
2289
|
value: {
|
2251
2290
|
serializedName: "value",
|
@@ -2254,7 +2293,7 @@ const ReplicationListResult = {
|
|
2254
2293
|
element: {
|
2255
2294
|
type: {
|
2256
2295
|
name: "Composite",
|
2257
|
-
className: "
|
2296
|
+
className: "ScopeMap"
|
2258
2297
|
}
|
2259
2298
|
}
|
2260
2299
|
}
|
@@ -2293,10 +2332,10 @@ const ScopeMapUpdateParameters = {
|
|
2293
2332
|
}
|
2294
2333
|
}
|
2295
2334
|
};
|
2296
|
-
const
|
2335
|
+
const TokenListResult = {
|
2297
2336
|
type: {
|
2298
2337
|
name: "Composite",
|
2299
|
-
className: "
|
2338
|
+
className: "TokenListResult",
|
2300
2339
|
modelProperties: {
|
2301
2340
|
value: {
|
2302
2341
|
serializedName: "value",
|
@@ -2305,7 +2344,7 @@ const ScopeMapListResult = {
|
|
2305
2344
|
element: {
|
2306
2345
|
type: {
|
2307
2346
|
name: "Composite",
|
2308
|
-
className: "
|
2347
|
+
className: "Token"
|
2309
2348
|
}
|
2310
2349
|
}
|
2311
2350
|
}
|
@@ -2443,32 +2482,6 @@ const TokenUpdateParameters = {
|
|
2443
2482
|
}
|
2444
2483
|
}
|
2445
2484
|
};
|
2446
|
-
const TokenListResult = {
|
2447
|
-
type: {
|
2448
|
-
name: "Composite",
|
2449
|
-
className: "TokenListResult",
|
2450
|
-
modelProperties: {
|
2451
|
-
value: {
|
2452
|
-
serializedName: "value",
|
2453
|
-
type: {
|
2454
|
-
name: "Sequence",
|
2455
|
-
element: {
|
2456
|
-
type: {
|
2457
|
-
name: "Composite",
|
2458
|
-
className: "Token"
|
2459
|
-
}
|
2460
|
-
}
|
2461
|
-
}
|
2462
|
-
},
|
2463
|
-
nextLink: {
|
2464
|
-
serializedName: "nextLink",
|
2465
|
-
type: {
|
2466
|
-
name: "String"
|
2467
|
-
}
|
2468
|
-
}
|
2469
|
-
}
|
2470
|
-
}
|
2471
|
-
};
|
2472
2485
|
const GenerateCredentialsParameters = {
|
2473
2486
|
type: {
|
2474
2487
|
name: "Composite",
|
@@ -2521,6 +2534,32 @@ const GenerateCredentialsResult = {
|
|
2521
2534
|
}
|
2522
2535
|
}
|
2523
2536
|
};
|
2537
|
+
const WebhookListResult = {
|
2538
|
+
type: {
|
2539
|
+
name: "Composite",
|
2540
|
+
className: "WebhookListResult",
|
2541
|
+
modelProperties: {
|
2542
|
+
value: {
|
2543
|
+
serializedName: "value",
|
2544
|
+
type: {
|
2545
|
+
name: "Sequence",
|
2546
|
+
element: {
|
2547
|
+
type: {
|
2548
|
+
name: "Composite",
|
2549
|
+
className: "Webhook"
|
2550
|
+
}
|
2551
|
+
}
|
2552
|
+
}
|
2553
|
+
},
|
2554
|
+
nextLink: {
|
2555
|
+
serializedName: "nextLink",
|
2556
|
+
type: {
|
2557
|
+
name: "String"
|
2558
|
+
}
|
2559
|
+
}
|
2560
|
+
}
|
2561
|
+
}
|
2562
|
+
};
|
2524
2563
|
const WebhookCreateParameters = {
|
2525
2564
|
type: {
|
2526
2565
|
name: "Composite",
|
@@ -2630,32 +2669,6 @@ const WebhookUpdateParameters = {
|
|
2630
2669
|
}
|
2631
2670
|
}
|
2632
2671
|
};
|
2633
|
-
const WebhookListResult = {
|
2634
|
-
type: {
|
2635
|
-
name: "Composite",
|
2636
|
-
className: "WebhookListResult",
|
2637
|
-
modelProperties: {
|
2638
|
-
value: {
|
2639
|
-
serializedName: "value",
|
2640
|
-
type: {
|
2641
|
-
name: "Sequence",
|
2642
|
-
element: {
|
2643
|
-
type: {
|
2644
|
-
name: "Composite",
|
2645
|
-
className: "Webhook"
|
2646
|
-
}
|
2647
|
-
}
|
2648
|
-
}
|
2649
|
-
},
|
2650
|
-
nextLink: {
|
2651
|
-
serializedName: "nextLink",
|
2652
|
-
type: {
|
2653
|
-
name: "String"
|
2654
|
-
}
|
2655
|
-
}
|
2656
|
-
}
|
2657
|
-
}
|
2658
|
-
};
|
2659
2672
|
const EventInfo = {
|
2660
2673
|
type: {
|
2661
2674
|
name: "Composite",
|
@@ -2670,28 +2683,6 @@ const EventInfo = {
|
|
2670
2683
|
}
|
2671
2684
|
}
|
2672
2685
|
};
|
2673
|
-
const CallbackConfig = {
|
2674
|
-
type: {
|
2675
|
-
name: "Composite",
|
2676
|
-
className: "CallbackConfig",
|
2677
|
-
modelProperties: {
|
2678
|
-
serviceUri: {
|
2679
|
-
serializedName: "serviceUri",
|
2680
|
-
required: true,
|
2681
|
-
type: {
|
2682
|
-
name: "String"
|
2683
|
-
}
|
2684
|
-
},
|
2685
|
-
customHeaders: {
|
2686
|
-
serializedName: "customHeaders",
|
2687
|
-
type: {
|
2688
|
-
name: "Dictionary",
|
2689
|
-
value: { type: { name: "String" } }
|
2690
|
-
}
|
2691
|
-
}
|
2692
|
-
}
|
2693
|
-
}
|
2694
|
-
};
|
2695
2686
|
const EventListResult = {
|
2696
2687
|
type: {
|
2697
2688
|
name: "Composite",
|
@@ -2985,6 +2976,28 @@ const EventResponseMessage = {
|
|
2985
2976
|
}
|
2986
2977
|
}
|
2987
2978
|
};
|
2979
|
+
const CallbackConfig = {
|
2980
|
+
type: {
|
2981
|
+
name: "Composite",
|
2982
|
+
className: "CallbackConfig",
|
2983
|
+
modelProperties: {
|
2984
|
+
serviceUri: {
|
2985
|
+
serializedName: "serviceUri",
|
2986
|
+
required: true,
|
2987
|
+
type: {
|
2988
|
+
name: "String"
|
2989
|
+
}
|
2990
|
+
},
|
2991
|
+
customHeaders: {
|
2992
|
+
serializedName: "customHeaders",
|
2993
|
+
type: {
|
2994
|
+
name: "Dictionary",
|
2995
|
+
value: { type: { name: "String" } }
|
2996
|
+
}
|
2997
|
+
}
|
2998
|
+
}
|
2999
|
+
}
|
3000
|
+
};
|
2988
3001
|
const AgentPoolUpdateParameters = {
|
2989
3002
|
type: {
|
2990
3003
|
name: "Composite",
|
@@ -4453,6 +4466,16 @@ const ConnectedRegistry = {
|
|
4453
4466
|
}
|
4454
4467
|
}
|
4455
4468
|
}
|
4469
|
+
}, notificationsList: {
|
4470
|
+
serializedName: "properties.notificationsList",
|
4471
|
+
type: {
|
4472
|
+
name: "Sequence",
|
4473
|
+
element: {
|
4474
|
+
type: {
|
4475
|
+
name: "String"
|
4476
|
+
}
|
4477
|
+
}
|
4478
|
+
}
|
4456
4479
|
} })
|
4457
4480
|
}
|
4458
4481
|
};
|
@@ -5654,6 +5677,7 @@ let discriminators = {
|
|
5654
5677
|
|
5655
5678
|
var Mappers = /*#__PURE__*/Object.freeze({
|
5656
5679
|
__proto__: null,
|
5680
|
+
ConnectedRegistryListResult: ConnectedRegistryListResult,
|
5657
5681
|
ProxyResource: ProxyResource,
|
5658
5682
|
SystemData: SystemData,
|
5659
5683
|
ActivationProperties: ActivationProperties,
|
@@ -5669,26 +5693,26 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
5669
5693
|
InnerErrorDescription: InnerErrorDescription,
|
5670
5694
|
ConnectedRegistryUpdateParameters: ConnectedRegistryUpdateParameters,
|
5671
5695
|
SyncUpdateProperties: SyncUpdateProperties,
|
5672
|
-
|
5696
|
+
ExportPipelineListResult: ExportPipelineListResult,
|
5673
5697
|
IdentityProperties: IdentityProperties,
|
5674
5698
|
UserIdentityProperties: UserIdentityProperties,
|
5675
5699
|
ExportPipelineTargetProperties: ExportPipelineTargetProperties,
|
5676
|
-
ExportPipelineListResult: ExportPipelineListResult,
|
5677
5700
|
ImportImageParameters: ImportImageParameters,
|
5678
5701
|
ImportSource: ImportSource,
|
5679
5702
|
ImportSourceCredentials: ImportSourceCredentials,
|
5703
|
+
ImportPipelineListResult: ImportPipelineListResult,
|
5680
5704
|
ImportPipelineSourceProperties: ImportPipelineSourceProperties,
|
5681
5705
|
PipelineTriggerProperties: PipelineTriggerProperties,
|
5682
5706
|
PipelineSourceTriggerProperties: PipelineSourceTriggerProperties,
|
5683
|
-
ImportPipelineListResult: ImportPipelineListResult,
|
5684
|
-
RegistryNameCheckRequest: RegistryNameCheckRequest,
|
5685
|
-
RegistryNameStatus: RegistryNameStatus,
|
5686
5707
|
OperationListResult: OperationListResult,
|
5687
5708
|
OperationDefinition: OperationDefinition,
|
5688
5709
|
OperationDisplayDefinition: OperationDisplayDefinition,
|
5689
5710
|
OperationServiceSpecificationDefinition: OperationServiceSpecificationDefinition,
|
5690
5711
|
OperationMetricSpecificationDefinition: OperationMetricSpecificationDefinition,
|
5691
5712
|
OperationLogSpecificationDefinition: OperationLogSpecificationDefinition,
|
5713
|
+
RegistryNameCheckRequest: RegistryNameCheckRequest,
|
5714
|
+
RegistryNameStatus: RegistryNameStatus,
|
5715
|
+
PipelineRunListResult: PipelineRunListResult,
|
5692
5716
|
PipelineRunRequest: PipelineRunRequest,
|
5693
5717
|
PipelineRunSourceProperties: PipelineRunSourceProperties,
|
5694
5718
|
PipelineRunTargetProperties: PipelineRunTargetProperties,
|
@@ -5696,10 +5720,10 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
5696
5720
|
ProgressProperties: ProgressProperties,
|
5697
5721
|
PipelineTriggerDescriptor: PipelineTriggerDescriptor,
|
5698
5722
|
PipelineSourceTriggerDescriptor: PipelineSourceTriggerDescriptor,
|
5699
|
-
|
5723
|
+
PrivateEndpointConnectionListResult: PrivateEndpointConnectionListResult,
|
5700
5724
|
PrivateEndpoint: PrivateEndpoint,
|
5701
5725
|
PrivateLinkServiceConnectionState: PrivateLinkServiceConnectionState,
|
5702
|
-
|
5726
|
+
RegistryListResult: RegistryListResult,
|
5703
5727
|
Resource: Resource,
|
5704
5728
|
Sku: Sku,
|
5705
5729
|
Status: Status,
|
@@ -5711,33 +5735,31 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
5711
5735
|
TrustPolicy: TrustPolicy,
|
5712
5736
|
RetentionPolicy: RetentionPolicy,
|
5713
5737
|
ExportPolicy: ExportPolicy,
|
5714
|
-
EncryptionProperty: EncryptionProperty,
|
5715
|
-
KeyVaultProperties: KeyVaultProperties,
|
5716
|
-
RegistryUpdateParameters: RegistryUpdateParameters,
|
5717
|
-
RegistryListResult: RegistryListResult,
|
5718
|
-
RegistryListCredentialsResult: RegistryListCredentialsResult,
|
5719
|
-
RegistryPassword: RegistryPassword,
|
5720
|
-
RegenerateCredentialParameters: RegenerateCredentialParameters,
|
5738
|
+
EncryptionProperty: EncryptionProperty,
|
5739
|
+
KeyVaultProperties: KeyVaultProperties,
|
5740
|
+
RegistryUpdateParameters: RegistryUpdateParameters,
|
5721
5741
|
RegistryUsageListResult: RegistryUsageListResult,
|
5722
5742
|
RegistryUsage: RegistryUsage,
|
5723
5743
|
PrivateLinkResourceListResult: PrivateLinkResourceListResult,
|
5724
5744
|
PrivateLinkResource: PrivateLinkResource,
|
5725
|
-
|
5745
|
+
RegistryListCredentialsResult: RegistryListCredentialsResult,
|
5746
|
+
RegistryPassword: RegistryPassword,
|
5747
|
+
RegenerateCredentialParameters: RegenerateCredentialParameters,
|
5726
5748
|
ReplicationListResult: ReplicationListResult,
|
5727
|
-
|
5749
|
+
ReplicationUpdateParameters: ReplicationUpdateParameters,
|
5728
5750
|
ScopeMapListResult: ScopeMapListResult,
|
5751
|
+
ScopeMapUpdateParameters: ScopeMapUpdateParameters,
|
5752
|
+
TokenListResult: TokenListResult,
|
5729
5753
|
TokenCredentialsProperties: TokenCredentialsProperties,
|
5730
5754
|
TokenCertificate: TokenCertificate,
|
5731
5755
|
TokenPassword: TokenPassword,
|
5732
5756
|
TokenUpdateParameters: TokenUpdateParameters,
|
5733
|
-
TokenListResult: TokenListResult,
|
5734
5757
|
GenerateCredentialsParameters: GenerateCredentialsParameters,
|
5735
5758
|
GenerateCredentialsResult: GenerateCredentialsResult,
|
5759
|
+
WebhookListResult: WebhookListResult,
|
5736
5760
|
WebhookCreateParameters: WebhookCreateParameters,
|
5737
5761
|
WebhookUpdateParameters: WebhookUpdateParameters,
|
5738
|
-
WebhookListResult: WebhookListResult,
|
5739
5762
|
EventInfo: EventInfo,
|
5740
|
-
CallbackConfig: CallbackConfig,
|
5741
5763
|
EventListResult: EventListResult,
|
5742
5764
|
EventRequestMessage: EventRequestMessage,
|
5743
5765
|
EventContent: EventContent,
|
@@ -5746,6 +5768,7 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
5746
5768
|
Actor: Actor,
|
5747
5769
|
Source: Source,
|
5748
5770
|
EventResponseMessage: EventResponseMessage,
|
5771
|
+
CallbackConfig: CallbackConfig,
|
5749
5772
|
AgentPoolUpdateParameters: AgentPoolUpdateParameters,
|
5750
5773
|
AgentPoolListResult: AgentPoolListResult,
|
5751
5774
|
AgentPoolQueueStatus: AgentPoolQueueStatus,
|
@@ -5849,7 +5872,7 @@ const $host = {
|
|
5849
5872
|
const apiVersion = {
|
5850
5873
|
parameterPath: "apiVersion",
|
5851
5874
|
mapper: {
|
5852
|
-
defaultValue: "2021-
|
5875
|
+
defaultValue: "2021-08-01-preview",
|
5853
5876
|
isConstant: true,
|
5854
5877
|
serializedName: "api-version",
|
5855
5878
|
type: {
|
@@ -5895,6 +5918,15 @@ const registryName = {
|
|
5895
5918
|
}
|
5896
5919
|
}
|
5897
5920
|
};
|
5921
|
+
const filter = {
|
5922
|
+
parameterPath: ["options", "filter"],
|
5923
|
+
mapper: {
|
5924
|
+
serializedName: "$filter",
|
5925
|
+
type: {
|
5926
|
+
name: "String"
|
5927
|
+
}
|
5928
|
+
}
|
5929
|
+
};
|
5898
5930
|
const connectedRegistryName = {
|
5899
5931
|
parameterPath: "connectedRegistryName",
|
5900
5932
|
mapper: {
|
@@ -5929,15 +5961,6 @@ const connectedRegistryUpdateParameters = {
|
|
5929
5961
|
parameterPath: "connectedRegistryUpdateParameters",
|
5930
5962
|
mapper: ConnectedRegistryUpdateParameters
|
5931
5963
|
};
|
5932
|
-
const filter = {
|
5933
|
-
parameterPath: ["options", "filter"],
|
5934
|
-
mapper: {
|
5935
|
-
serializedName: "$filter",
|
5936
|
-
type: {
|
5937
|
-
name: "String"
|
5938
|
-
}
|
5939
|
-
}
|
5940
|
-
};
|
5941
5964
|
const nextLink = {
|
5942
5965
|
parameterPath: "nextLink",
|
5943
5966
|
mapper: {
|
@@ -6339,6 +6362,15 @@ class ConnectedRegistriesImpl {
|
|
6339
6362
|
}
|
6340
6363
|
});
|
6341
6364
|
}
|
6365
|
+
/**
|
6366
|
+
* Lists all connected registries for the specified container registry.
|
6367
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
6368
|
+
* @param registryName The name of the container registry.
|
6369
|
+
* @param options The options parameters.
|
6370
|
+
*/
|
6371
|
+
_list(resourceGroupName, registryName, options) {
|
6372
|
+
return this.client.sendOperationRequest({ resourceGroupName, registryName, options }, listOperationSpec);
|
6373
|
+
}
|
6342
6374
|
/**
|
6343
6375
|
* Gets the properties of the connected registry.
|
6344
6376
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
@@ -6518,15 +6550,6 @@ class ConnectedRegistriesImpl {
|
|
6518
6550
|
return poller.pollUntilDone();
|
6519
6551
|
});
|
6520
6552
|
}
|
6521
|
-
/**
|
6522
|
-
* Lists all connected registries for the specified container registry.
|
6523
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
6524
|
-
* @param registryName The name of the container registry.
|
6525
|
-
* @param options The options parameters.
|
6526
|
-
*/
|
6527
|
-
_list(resourceGroupName, registryName, options) {
|
6528
|
-
return this.client.sendOperationRequest({ resourceGroupName, registryName, options }, listOperationSpec);
|
6529
|
-
}
|
6530
6553
|
/**
|
6531
6554
|
* Deactivates the connected registry instance.
|
6532
6555
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
@@ -6591,6 +6614,27 @@ class ConnectedRegistriesImpl {
|
|
6591
6614
|
}
|
6592
6615
|
// Operation Specifications
|
6593
6616
|
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
6617
|
+
const listOperationSpec = {
|
6618
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries",
|
6619
|
+
httpMethod: "GET",
|
6620
|
+
responses: {
|
6621
|
+
200: {
|
6622
|
+
bodyMapper: ConnectedRegistryListResult
|
6623
|
+
},
|
6624
|
+
default: {
|
6625
|
+
bodyMapper: ErrorResponse
|
6626
|
+
}
|
6627
|
+
},
|
6628
|
+
queryParameters: [apiVersion, filter],
|
6629
|
+
urlParameters: [
|
6630
|
+
$host,
|
6631
|
+
subscriptionId,
|
6632
|
+
resourceGroupName,
|
6633
|
+
registryName
|
6634
|
+
],
|
6635
|
+
headerParameters: [accept],
|
6636
|
+
serializer
|
6637
|
+
};
|
6594
6638
|
const getOperationSpec = {
|
6595
6639
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}",
|
6596
6640
|
httpMethod: "GET",
|
@@ -6702,27 +6746,6 @@ const updateOperationSpec = {
|
|
6702
6746
|
mediaType: "json",
|
6703
6747
|
serializer
|
6704
6748
|
};
|
6705
|
-
const listOperationSpec = {
|
6706
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries",
|
6707
|
-
httpMethod: "GET",
|
6708
|
-
responses: {
|
6709
|
-
200: {
|
6710
|
-
bodyMapper: ConnectedRegistryListResult
|
6711
|
-
},
|
6712
|
-
default: {
|
6713
|
-
bodyMapper: ErrorResponse
|
6714
|
-
}
|
6715
|
-
},
|
6716
|
-
queryParameters: [apiVersion, filter],
|
6717
|
-
urlParameters: [
|
6718
|
-
$host,
|
6719
|
-
subscriptionId,
|
6720
|
-
resourceGroupName,
|
6721
|
-
registryName
|
6722
|
-
],
|
6723
|
-
headerParameters: [accept],
|
6724
|
-
serializer
|
6725
|
-
};
|
6726
6749
|
const deactivateOperationSpec = {
|
6727
6750
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/connectedRegistries/{connectedRegistryName}/deactivate",
|
6728
6751
|
httpMethod: "POST",
|
@@ -6836,6 +6859,15 @@ class ExportPipelinesImpl {
|
|
6836
6859
|
}
|
6837
6860
|
});
|
6838
6861
|
}
|
6862
|
+
/**
|
6863
|
+
* Lists all export pipelines for the specified container registry.
|
6864
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
6865
|
+
* @param registryName The name of the container registry.
|
6866
|
+
* @param options The options parameters.
|
6867
|
+
*/
|
6868
|
+
_list(resourceGroupName, registryName, options) {
|
6869
|
+
return this.client.sendOperationRequest({ resourceGroupName, registryName, options }, listOperationSpec$1);
|
6870
|
+
}
|
6839
6871
|
/**
|
6840
6872
|
* Gets the properties of the export pipeline.
|
6841
6873
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
@@ -6956,15 +6988,6 @@ class ExportPipelinesImpl {
|
|
6956
6988
|
return poller.pollUntilDone();
|
6957
6989
|
});
|
6958
6990
|
}
|
6959
|
-
/**
|
6960
|
-
* Lists all export pipelines for the specified container registry.
|
6961
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
6962
|
-
* @param registryName The name of the container registry.
|
6963
|
-
* @param options The options parameters.
|
6964
|
-
*/
|
6965
|
-
_list(resourceGroupName, registryName, options) {
|
6966
|
-
return this.client.sendOperationRequest({ resourceGroupName, registryName, options }, listOperationSpec$1);
|
6967
|
-
}
|
6968
6991
|
/**
|
6969
6992
|
* ListNext
|
6970
6993
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
@@ -6978,6 +7001,24 @@ class ExportPipelinesImpl {
|
|
6978
7001
|
}
|
6979
7002
|
// Operation Specifications
|
6980
7003
|
const serializer$1 = coreClient.createSerializer(Mappers, /* isXml */ false);
|
7004
|
+
const listOperationSpec$1 = {
|
7005
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/exportPipelines",
|
7006
|
+
httpMethod: "GET",
|
7007
|
+
responses: {
|
7008
|
+
200: {
|
7009
|
+
bodyMapper: ExportPipelineListResult
|
7010
|
+
}
|
7011
|
+
},
|
7012
|
+
queryParameters: [apiVersion],
|
7013
|
+
urlParameters: [
|
7014
|
+
$host,
|
7015
|
+
subscriptionId,
|
7016
|
+
resourceGroupName,
|
7017
|
+
registryName
|
7018
|
+
],
|
7019
|
+
headerParameters: [accept],
|
7020
|
+
serializer: serializer$1
|
7021
|
+
};
|
6981
7022
|
const getOperationSpec$1 = {
|
6982
7023
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/exportPipelines/{exportPipelineName}",
|
6983
7024
|
httpMethod: "GET",
|
@@ -7041,24 +7082,6 @@ const deleteOperationSpec$1 = {
|
|
7041
7082
|
],
|
7042
7083
|
serializer: serializer$1
|
7043
7084
|
};
|
7044
|
-
const listOperationSpec$1 = {
|
7045
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/exportPipelines",
|
7046
|
-
httpMethod: "GET",
|
7047
|
-
responses: {
|
7048
|
-
200: {
|
7049
|
-
bodyMapper: ExportPipelineListResult
|
7050
|
-
}
|
7051
|
-
},
|
7052
|
-
queryParameters: [apiVersion],
|
7053
|
-
urlParameters: [
|
7054
|
-
$host,
|
7055
|
-
subscriptionId,
|
7056
|
-
resourceGroupName,
|
7057
|
-
registryName
|
7058
|
-
],
|
7059
|
-
headerParameters: [accept],
|
7060
|
-
serializer: serializer$1
|
7061
|
-
};
|
7062
7085
|
const listNextOperationSpec$1 = {
|
7063
7086
|
path: "{nextLink}",
|
7064
7087
|
httpMethod: "GET",
|
@@ -7097,12 +7120,11 @@ class RegistriesImpl {
|
|
7097
7120
|
this.client = client;
|
7098
7121
|
}
|
7099
7122
|
/**
|
7100
|
-
* Lists all the container registries under the specified
|
7101
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
7123
|
+
* Lists all the container registries under the specified subscription.
|
7102
7124
|
* @param options The options parameters.
|
7103
7125
|
*/
|
7104
|
-
|
7105
|
-
const iter = this.
|
7126
|
+
list(options) {
|
7127
|
+
const iter = this.listPagingAll(options);
|
7106
7128
|
return {
|
7107
7129
|
next() {
|
7108
7130
|
return iter.next();
|
@@ -7111,27 +7133,27 @@ class RegistriesImpl {
|
|
7111
7133
|
return this;
|
7112
7134
|
},
|
7113
7135
|
byPage: () => {
|
7114
|
-
return this.
|
7136
|
+
return this.listPagingPage(options);
|
7115
7137
|
}
|
7116
7138
|
};
|
7117
7139
|
}
|
7118
|
-
|
7119
|
-
return tslib.__asyncGenerator(this, arguments, function*
|
7120
|
-
let result = yield tslib.__await(this.
|
7140
|
+
listPagingPage(options) {
|
7141
|
+
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
7142
|
+
let result = yield tslib.__await(this._list(options));
|
7121
7143
|
yield yield tslib.__await(result.value || []);
|
7122
7144
|
let continuationToken = result.nextLink;
|
7123
7145
|
while (continuationToken) {
|
7124
|
-
result = yield tslib.__await(this.
|
7146
|
+
result = yield tslib.__await(this._listNext(continuationToken, options));
|
7125
7147
|
continuationToken = result.nextLink;
|
7126
7148
|
yield yield tslib.__await(result.value || []);
|
7127
7149
|
}
|
7128
7150
|
});
|
7129
7151
|
}
|
7130
|
-
|
7131
|
-
return tslib.__asyncGenerator(this, arguments, function*
|
7152
|
+
listPagingAll(options) {
|
7153
|
+
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
7132
7154
|
var e_1, _a;
|
7133
7155
|
try {
|
7134
|
-
for (var _b = tslib.__asyncValues(this.
|
7156
|
+
for (var _b = tslib.__asyncValues(this.listPagingPage(options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
7135
7157
|
const page = _c.value;
|
7136
7158
|
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
7137
7159
|
}
|
@@ -7146,11 +7168,12 @@ class RegistriesImpl {
|
|
7146
7168
|
});
|
7147
7169
|
}
|
7148
7170
|
/**
|
7149
|
-
* Lists all the container registries under the specified
|
7171
|
+
* Lists all the container registries under the specified resource group.
|
7172
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
7150
7173
|
* @param options The options parameters.
|
7151
7174
|
*/
|
7152
|
-
|
7153
|
-
const iter = this.
|
7175
|
+
listByResourceGroup(resourceGroupName, options) {
|
7176
|
+
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
7154
7177
|
return {
|
7155
7178
|
next() {
|
7156
7179
|
return iter.next();
|
@@ -7159,27 +7182,27 @@ class RegistriesImpl {
|
|
7159
7182
|
return this;
|
7160
7183
|
},
|
7161
7184
|
byPage: () => {
|
7162
|
-
return this.
|
7185
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options);
|
7163
7186
|
}
|
7164
7187
|
};
|
7165
7188
|
}
|
7166
|
-
|
7167
|
-
return tslib.__asyncGenerator(this, arguments, function*
|
7168
|
-
let result = yield tslib.__await(this.
|
7189
|
+
listByResourceGroupPagingPage(resourceGroupName, options) {
|
7190
|
+
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
7191
|
+
let result = yield tslib.__await(this._listByResourceGroup(resourceGroupName, options));
|
7169
7192
|
yield yield tslib.__await(result.value || []);
|
7170
7193
|
let continuationToken = result.nextLink;
|
7171
7194
|
while (continuationToken) {
|
7172
|
-
result = yield tslib.__await(this.
|
7195
|
+
result = yield tslib.__await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
|
7173
7196
|
continuationToken = result.nextLink;
|
7174
7197
|
yield yield tslib.__await(result.value || []);
|
7175
7198
|
}
|
7176
7199
|
});
|
7177
7200
|
}
|
7178
|
-
|
7179
|
-
return tslib.__asyncGenerator(this, arguments, function*
|
7201
|
+
listByResourceGroupPagingAll(resourceGroupName, options) {
|
7202
|
+
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
|
7180
7203
|
var e_2, _a;
|
7181
7204
|
try {
|
7182
|
-
for (var _b = tslib.__asyncValues(this.
|
7205
|
+
for (var _b = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
|
7183
7206
|
const page = _c.value;
|
7184
7207
|
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
7185
7208
|
}
|
@@ -7303,6 +7326,21 @@ class RegistriesImpl {
|
|
7303
7326
|
checkNameAvailability(registryNameCheckRequest, options) {
|
7304
7327
|
return this.client.sendOperationRequest({ registryNameCheckRequest, options }, checkNameAvailabilityOperationSpec);
|
7305
7328
|
}
|
7329
|
+
/**
|
7330
|
+
* Lists all the container registries under the specified subscription.
|
7331
|
+
* @param options The options parameters.
|
7332
|
+
*/
|
7333
|
+
_list(options) {
|
7334
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec$2);
|
7335
|
+
}
|
7336
|
+
/**
|
7337
|
+
* Lists all the container registries under the specified resource group.
|
7338
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
7339
|
+
* @param options The options parameters.
|
7340
|
+
*/
|
7341
|
+
_listByResourceGroup(resourceGroupName, options) {
|
7342
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
7343
|
+
}
|
7306
7344
|
/**
|
7307
7345
|
* Gets the properties of the specified container registry.
|
7308
7346
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
@@ -7464,19 +7502,22 @@ class RegistriesImpl {
|
|
7464
7502
|
});
|
7465
7503
|
}
|
7466
7504
|
/**
|
7467
|
-
*
|
7505
|
+
* Gets the quota usages for the specified container registry.
|
7468
7506
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
7507
|
+
* @param registryName The name of the container registry.
|
7469
7508
|
* @param options The options parameters.
|
7470
7509
|
*/
|
7471
|
-
|
7472
|
-
return this.client.sendOperationRequest({ resourceGroupName, options },
|
7510
|
+
listUsages(resourceGroupName, registryName, options) {
|
7511
|
+
return this.client.sendOperationRequest({ resourceGroupName, registryName, options }, listUsagesOperationSpec);
|
7473
7512
|
}
|
7474
7513
|
/**
|
7475
|
-
* Lists
|
7514
|
+
* Lists the private link resources for a container registry.
|
7515
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
7516
|
+
* @param registryName The name of the container registry.
|
7476
7517
|
* @param options The options parameters.
|
7477
7518
|
*/
|
7478
|
-
|
7479
|
-
return this.client.sendOperationRequest({ options },
|
7519
|
+
_listPrivateLinkResources(resourceGroupName, registryName, options) {
|
7520
|
+
return this.client.sendOperationRequest({ resourceGroupName, registryName, options }, listPrivateLinkResourcesOperationSpec);
|
7480
7521
|
}
|
7481
7522
|
/**
|
7482
7523
|
* Lists the login credentials for the specified container registry.
|
@@ -7503,24 +7544,6 @@ class RegistriesImpl {
|
|
7503
7544
|
options
|
7504
7545
|
}, regenerateCredentialOperationSpec);
|
7505
7546
|
}
|
7506
|
-
/**
|
7507
|
-
* Gets the quota usages for the specified container registry.
|
7508
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
7509
|
-
* @param registryName The name of the container registry.
|
7510
|
-
* @param options The options parameters.
|
7511
|
-
*/
|
7512
|
-
listUsages(resourceGroupName, registryName, options) {
|
7513
|
-
return this.client.sendOperationRequest({ resourceGroupName, registryName, options }, listUsagesOperationSpec);
|
7514
|
-
}
|
7515
|
-
/**
|
7516
|
-
* Lists the private link resources for a container registry.
|
7517
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
7518
|
-
* @param registryName The name of the container registry.
|
7519
|
-
* @param options The options parameters.
|
7520
|
-
*/
|
7521
|
-
_listPrivateLinkResources(resourceGroupName, registryName, options) {
|
7522
|
-
return this.client.sendOperationRequest({ resourceGroupName, registryName, options }, listPrivateLinkResourcesOperationSpec);
|
7523
|
-
}
|
7524
7547
|
/**
|
7525
7548
|
* Generate keys for a token of a specified container registry.
|
7526
7549
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
@@ -7638,21 +7661,21 @@ class RegistriesImpl {
|
|
7638
7661
|
return this.client.sendOperationRequest({ resourceGroupName, registryName, options }, getBuildSourceUploadUrlOperationSpec);
|
7639
7662
|
}
|
7640
7663
|
/**
|
7641
|
-
*
|
7642
|
-
* @param
|
7643
|
-
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
7664
|
+
* ListNext
|
7665
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
7644
7666
|
* @param options The options parameters.
|
7645
7667
|
*/
|
7646
|
-
|
7647
|
-
return this.client.sendOperationRequest({
|
7668
|
+
_listNext(nextLink, options) {
|
7669
|
+
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec$2);
|
7648
7670
|
}
|
7649
7671
|
/**
|
7650
|
-
*
|
7651
|
-
* @param
|
7672
|
+
* ListByResourceGroupNext
|
7673
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
7674
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
7652
7675
|
* @param options The options parameters.
|
7653
7676
|
*/
|
7654
|
-
|
7655
|
-
return this.client.sendOperationRequest({ nextLink, options },
|
7677
|
+
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
7678
|
+
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
|
7656
7679
|
}
|
7657
7680
|
/**
|
7658
7681
|
* ListPrivateLinkResourcesNext
|
@@ -7699,6 +7722,36 @@ const checkNameAvailabilityOperationSpec = {
|
|
7699
7722
|
mediaType: "json",
|
7700
7723
|
serializer: serializer$2
|
7701
7724
|
};
|
7725
|
+
const listOperationSpec$2 = {
|
7726
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerRegistry/registries",
|
7727
|
+
httpMethod: "GET",
|
7728
|
+
responses: {
|
7729
|
+
200: {
|
7730
|
+
bodyMapper: RegistryListResult
|
7731
|
+
}
|
7732
|
+
},
|
7733
|
+
queryParameters: [apiVersion],
|
7734
|
+
urlParameters: [$host, subscriptionId],
|
7735
|
+
headerParameters: [accept],
|
7736
|
+
serializer: serializer$2
|
7737
|
+
};
|
7738
|
+
const listByResourceGroupOperationSpec = {
|
7739
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries",
|
7740
|
+
httpMethod: "GET",
|
7741
|
+
responses: {
|
7742
|
+
200: {
|
7743
|
+
bodyMapper: RegistryListResult
|
7744
|
+
}
|
7745
|
+
},
|
7746
|
+
queryParameters: [apiVersion],
|
7747
|
+
urlParameters: [
|
7748
|
+
$host,
|
7749
|
+
subscriptionId,
|
7750
|
+
resourceGroupName
|
7751
|
+
],
|
7752
|
+
headerParameters: [accept],
|
7753
|
+
serializer: serializer$2
|
7754
|
+
};
|
7702
7755
|
const getOperationSpec$2 = {
|
7703
7756
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}",
|
7704
7757
|
httpMethod: "GET",
|
@@ -7788,33 +7841,39 @@ const updateOperationSpec$1 = {
|
|
7788
7841
|
mediaType: "json",
|
7789
7842
|
serializer: serializer$2
|
7790
7843
|
};
|
7791
|
-
const
|
7792
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries",
|
7844
|
+
const listUsagesOperationSpec = {
|
7845
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listUsages",
|
7793
7846
|
httpMethod: "GET",
|
7794
7847
|
responses: {
|
7795
7848
|
200: {
|
7796
|
-
bodyMapper:
|
7849
|
+
bodyMapper: RegistryUsageListResult
|
7797
7850
|
}
|
7798
7851
|
},
|
7799
7852
|
queryParameters: [apiVersion],
|
7800
7853
|
urlParameters: [
|
7801
7854
|
$host,
|
7802
7855
|
subscriptionId,
|
7803
|
-
resourceGroupName
|
7856
|
+
resourceGroupName,
|
7857
|
+
registryName
|
7804
7858
|
],
|
7805
7859
|
headerParameters: [accept],
|
7806
7860
|
serializer: serializer$2
|
7807
7861
|
};
|
7808
|
-
const
|
7809
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerRegistry/registries",
|
7862
|
+
const listPrivateLinkResourcesOperationSpec = {
|
7863
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources",
|
7810
7864
|
httpMethod: "GET",
|
7811
7865
|
responses: {
|
7812
7866
|
200: {
|
7813
|
-
bodyMapper:
|
7867
|
+
bodyMapper: PrivateLinkResourceListResult
|
7814
7868
|
}
|
7815
7869
|
},
|
7816
7870
|
queryParameters: [apiVersion],
|
7817
|
-
urlParameters: [
|
7871
|
+
urlParameters: [
|
7872
|
+
$host,
|
7873
|
+
subscriptionId,
|
7874
|
+
resourceGroupName,
|
7875
|
+
registryName
|
7876
|
+
],
|
7818
7877
|
headerParameters: [accept],
|
7819
7878
|
serializer: serializer$2
|
7820
7879
|
};
|
@@ -7856,42 +7915,6 @@ const regenerateCredentialOperationSpec = {
|
|
7856
7915
|
mediaType: "json",
|
7857
7916
|
serializer: serializer$2
|
7858
7917
|
};
|
7859
|
-
const listUsagesOperationSpec = {
|
7860
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listUsages",
|
7861
|
-
httpMethod: "GET",
|
7862
|
-
responses: {
|
7863
|
-
200: {
|
7864
|
-
bodyMapper: RegistryUsageListResult
|
7865
|
-
}
|
7866
|
-
},
|
7867
|
-
queryParameters: [apiVersion],
|
7868
|
-
urlParameters: [
|
7869
|
-
$host,
|
7870
|
-
subscriptionId,
|
7871
|
-
resourceGroupName,
|
7872
|
-
registryName
|
7873
|
-
],
|
7874
|
-
headerParameters: [accept],
|
7875
|
-
serializer: serializer$2
|
7876
|
-
};
|
7877
|
-
const listPrivateLinkResourcesOperationSpec = {
|
7878
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateLinkResources",
|
7879
|
-
httpMethod: "GET",
|
7880
|
-
responses: {
|
7881
|
-
200: {
|
7882
|
-
bodyMapper: PrivateLinkResourceListResult
|
7883
|
-
}
|
7884
|
-
},
|
7885
|
-
queryParameters: [apiVersion],
|
7886
|
-
urlParameters: [
|
7887
|
-
$host,
|
7888
|
-
subscriptionId,
|
7889
|
-
resourceGroupName,
|
7890
|
-
registryName
|
7891
|
-
],
|
7892
|
-
headerParameters: [accept],
|
7893
|
-
serializer: serializer$2
|
7894
|
-
};
|
7895
7918
|
const generateCredentialsOperationSpec = {
|
7896
7919
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/generateCredentials",
|
7897
7920
|
httpMethod: "POST",
|
@@ -7974,7 +7997,7 @@ const getBuildSourceUploadUrlOperationSpec = {
|
|
7974
7997
|
headerParameters: [accept],
|
7975
7998
|
serializer: serializer$2
|
7976
7999
|
};
|
7977
|
-
const
|
8000
|
+
const listNextOperationSpec$2 = {
|
7978
8001
|
path: "{nextLink}",
|
7979
8002
|
httpMethod: "GET",
|
7980
8003
|
responses: {
|
@@ -7986,13 +8009,12 @@ const listByResourceGroupNextOperationSpec = {
|
|
7986
8009
|
urlParameters: [
|
7987
8010
|
$host,
|
7988
8011
|
subscriptionId,
|
7989
|
-
resourceGroupName,
|
7990
8012
|
nextLink
|
7991
8013
|
],
|
7992
8014
|
headerParameters: [accept],
|
7993
8015
|
serializer: serializer$2
|
7994
8016
|
};
|
7995
|
-
const
|
8017
|
+
const listByResourceGroupNextOperationSpec = {
|
7996
8018
|
path: "{nextLink}",
|
7997
8019
|
httpMethod: "GET",
|
7998
8020
|
responses: {
|
@@ -8004,6 +8026,7 @@ const listNextOperationSpec$2 = {
|
|
8004
8026
|
urlParameters: [
|
8005
8027
|
$host,
|
8006
8028
|
subscriptionId,
|
8029
|
+
resourceGroupName,
|
8007
8030
|
nextLink
|
8008
8031
|
],
|
8009
8032
|
headerParameters: [accept],
|
@@ -8096,6 +8119,15 @@ class ImportPipelinesImpl {
|
|
8096
8119
|
}
|
8097
8120
|
});
|
8098
8121
|
}
|
8122
|
+
/**
|
8123
|
+
* Lists all import pipelines for the specified container registry.
|
8124
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
8125
|
+
* @param registryName The name of the container registry.
|
8126
|
+
* @param options The options parameters.
|
8127
|
+
*/
|
8128
|
+
_list(resourceGroupName, registryName, options) {
|
8129
|
+
return this.client.sendOperationRequest({ resourceGroupName, registryName, options }, listOperationSpec$3);
|
8130
|
+
}
|
8099
8131
|
/**
|
8100
8132
|
* Gets the properties of the import pipeline.
|
8101
8133
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
@@ -8216,15 +8248,6 @@ class ImportPipelinesImpl {
|
|
8216
8248
|
return poller.pollUntilDone();
|
8217
8249
|
});
|
8218
8250
|
}
|
8219
|
-
/**
|
8220
|
-
* Lists all import pipelines for the specified container registry.
|
8221
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
8222
|
-
* @param registryName The name of the container registry.
|
8223
|
-
* @param options The options parameters.
|
8224
|
-
*/
|
8225
|
-
_list(resourceGroupName, registryName, options) {
|
8226
|
-
return this.client.sendOperationRequest({ resourceGroupName, registryName, options }, listOperationSpec$3);
|
8227
|
-
}
|
8228
8251
|
/**
|
8229
8252
|
* ListNext
|
8230
8253
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
@@ -8238,6 +8261,24 @@ class ImportPipelinesImpl {
|
|
8238
8261
|
}
|
8239
8262
|
// Operation Specifications
|
8240
8263
|
const serializer$3 = coreClient.createSerializer(Mappers, /* isXml */ false);
|
8264
|
+
const listOperationSpec$3 = {
|
8265
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importPipelines",
|
8266
|
+
httpMethod: "GET",
|
8267
|
+
responses: {
|
8268
|
+
200: {
|
8269
|
+
bodyMapper: ImportPipelineListResult
|
8270
|
+
}
|
8271
|
+
},
|
8272
|
+
queryParameters: [apiVersion],
|
8273
|
+
urlParameters: [
|
8274
|
+
$host,
|
8275
|
+
subscriptionId,
|
8276
|
+
resourceGroupName,
|
8277
|
+
registryName
|
8278
|
+
],
|
8279
|
+
headerParameters: [accept],
|
8280
|
+
serializer: serializer$3
|
8281
|
+
};
|
8241
8282
|
const getOperationSpec$3 = {
|
8242
8283
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importPipelines/{importPipelineName}",
|
8243
8284
|
httpMethod: "GET",
|
@@ -8301,24 +8342,6 @@ const deleteOperationSpec$3 = {
|
|
8301
8342
|
],
|
8302
8343
|
serializer: serializer$3
|
8303
8344
|
};
|
8304
|
-
const listOperationSpec$3 = {
|
8305
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/importPipelines",
|
8306
|
-
httpMethod: "GET",
|
8307
|
-
responses: {
|
8308
|
-
200: {
|
8309
|
-
bodyMapper: ImportPipelineListResult
|
8310
|
-
}
|
8311
|
-
},
|
8312
|
-
queryParameters: [apiVersion],
|
8313
|
-
urlParameters: [
|
8314
|
-
$host,
|
8315
|
-
subscriptionId,
|
8316
|
-
resourceGroupName,
|
8317
|
-
registryName
|
8318
|
-
],
|
8319
|
-
headerParameters: [accept],
|
8320
|
-
serializer: serializer$3
|
8321
|
-
};
|
8322
8345
|
const listNextOperationSpec$3 = {
|
8323
8346
|
path: "{nextLink}",
|
8324
8347
|
httpMethod: "GET",
|
@@ -8516,6 +8539,15 @@ class PipelineRunsImpl {
|
|
8516
8539
|
}
|
8517
8540
|
});
|
8518
8541
|
}
|
8542
|
+
/**
|
8543
|
+
* Lists all the pipeline runs for the specified container registry.
|
8544
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
8545
|
+
* @param registryName The name of the container registry.
|
8546
|
+
* @param options The options parameters.
|
8547
|
+
*/
|
8548
|
+
_list(resourceGroupName, registryName, options) {
|
8549
|
+
return this.client.sendOperationRequest({ resourceGroupName, registryName, options }, listOperationSpec$5);
|
8550
|
+
}
|
8519
8551
|
/**
|
8520
8552
|
* Gets the detailed information for a given pipeline run.
|
8521
8553
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
@@ -8636,15 +8668,6 @@ class PipelineRunsImpl {
|
|
8636
8668
|
return poller.pollUntilDone();
|
8637
8669
|
});
|
8638
8670
|
}
|
8639
|
-
/**
|
8640
|
-
* Lists all the pipeline runs for the specified container registry.
|
8641
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
8642
|
-
* @param registryName The name of the container registry.
|
8643
|
-
* @param options The options parameters.
|
8644
|
-
*/
|
8645
|
-
_list(resourceGroupName, registryName, options) {
|
8646
|
-
return this.client.sendOperationRequest({ resourceGroupName, registryName, options }, listOperationSpec$5);
|
8647
|
-
}
|
8648
8671
|
/**
|
8649
8672
|
* ListNext
|
8650
8673
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
@@ -8658,6 +8681,24 @@ class PipelineRunsImpl {
|
|
8658
8681
|
}
|
8659
8682
|
// Operation Specifications
|
8660
8683
|
const serializer$5 = coreClient.createSerializer(Mappers, /* isXml */ false);
|
8684
|
+
const listOperationSpec$5 = {
|
8685
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns",
|
8686
|
+
httpMethod: "GET",
|
8687
|
+
responses: {
|
8688
|
+
200: {
|
8689
|
+
bodyMapper: PipelineRunListResult
|
8690
|
+
}
|
8691
|
+
},
|
8692
|
+
queryParameters: [apiVersion],
|
8693
|
+
urlParameters: [
|
8694
|
+
$host,
|
8695
|
+
subscriptionId,
|
8696
|
+
resourceGroupName,
|
8697
|
+
registryName
|
8698
|
+
],
|
8699
|
+
headerParameters: [accept],
|
8700
|
+
serializer: serializer$5
|
8701
|
+
};
|
8661
8702
|
const getOperationSpec$4 = {
|
8662
8703
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns/{pipelineRunName}",
|
8663
8704
|
httpMethod: "GET",
|
@@ -8721,24 +8762,6 @@ const deleteOperationSpec$4 = {
|
|
8721
8762
|
],
|
8722
8763
|
serializer: serializer$5
|
8723
8764
|
};
|
8724
|
-
const listOperationSpec$5 = {
|
8725
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/pipelineRuns",
|
8726
|
-
httpMethod: "GET",
|
8727
|
-
responses: {
|
8728
|
-
200: {
|
8729
|
-
bodyMapper: PipelineRunListResult
|
8730
|
-
}
|
8731
|
-
},
|
8732
|
-
queryParameters: [apiVersion],
|
8733
|
-
urlParameters: [
|
8734
|
-
$host,
|
8735
|
-
subscriptionId,
|
8736
|
-
resourceGroupName,
|
8737
|
-
registryName
|
8738
|
-
],
|
8739
|
-
headerParameters: [accept],
|
8740
|
-
serializer: serializer$5
|
8741
|
-
};
|
8742
8765
|
const listNextOperationSpec$5 = {
|
8743
8766
|
path: "{nextLink}",
|
8744
8767
|
httpMethod: "GET",
|
@@ -8826,6 +8849,15 @@ class PrivateEndpointConnectionsImpl {
|
|
8826
8849
|
}
|
8827
8850
|
});
|
8828
8851
|
}
|
8852
|
+
/**
|
8853
|
+
* List all private endpoint connections in a container registry.
|
8854
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
8855
|
+
* @param registryName The name of the container registry.
|
8856
|
+
* @param options The options parameters.
|
8857
|
+
*/
|
8858
|
+
_list(resourceGroupName, registryName, options) {
|
8859
|
+
return this.client.sendOperationRequest({ resourceGroupName, registryName, options }, listOperationSpec$6);
|
8860
|
+
}
|
8829
8861
|
/**
|
8830
8862
|
* Get the specified private endpoint connection associated with the container registry.
|
8831
8863
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
@@ -8956,15 +8988,6 @@ class PrivateEndpointConnectionsImpl {
|
|
8956
8988
|
return poller.pollUntilDone();
|
8957
8989
|
});
|
8958
8990
|
}
|
8959
|
-
/**
|
8960
|
-
* List all private endpoint connections in a container registry.
|
8961
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
8962
|
-
* @param registryName The name of the container registry.
|
8963
|
-
* @param options The options parameters.
|
8964
|
-
*/
|
8965
|
-
_list(resourceGroupName, registryName, options) {
|
8966
|
-
return this.client.sendOperationRequest({ resourceGroupName, registryName, options }, listOperationSpec$6);
|
8967
|
-
}
|
8968
8991
|
/**
|
8969
8992
|
* ListNext
|
8970
8993
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
@@ -8978,6 +9001,24 @@ class PrivateEndpointConnectionsImpl {
|
|
8978
9001
|
}
|
8979
9002
|
// Operation Specifications
|
8980
9003
|
const serializer$6 = coreClient.createSerializer(Mappers, /* isXml */ false);
|
9004
|
+
const listOperationSpec$6 = {
|
9005
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections",
|
9006
|
+
httpMethod: "GET",
|
9007
|
+
responses: {
|
9008
|
+
200: {
|
9009
|
+
bodyMapper: PrivateEndpointConnectionListResult
|
9010
|
+
}
|
9011
|
+
},
|
9012
|
+
queryParameters: [apiVersion],
|
9013
|
+
urlParameters: [
|
9014
|
+
$host,
|
9015
|
+
subscriptionId,
|
9016
|
+
resourceGroupName,
|
9017
|
+
registryName
|
9018
|
+
],
|
9019
|
+
headerParameters: [accept],
|
9020
|
+
serializer: serializer$6
|
9021
|
+
};
|
8981
9022
|
const getOperationSpec$5 = {
|
8982
9023
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
8983
9024
|
httpMethod: "GET",
|
@@ -9027,36 +9068,18 @@ const createOrUpdateOperationSpec = {
|
|
9027
9068
|
mediaType: "json",
|
9028
9069
|
serializer: serializer$6
|
9029
9070
|
};
|
9030
|
-
const deleteOperationSpec$5 = {
|
9031
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
9032
|
-
httpMethod: "DELETE",
|
9033
|
-
responses: { 200: {}, 201: {}, 202: {}, 204: {} },
|
9034
|
-
queryParameters: [apiVersion],
|
9035
|
-
urlParameters: [
|
9036
|
-
$host,
|
9037
|
-
subscriptionId,
|
9038
|
-
resourceGroupName,
|
9039
|
-
registryName,
|
9040
|
-
privateEndpointConnectionName
|
9041
|
-
],
|
9042
|
-
serializer: serializer$6
|
9043
|
-
};
|
9044
|
-
const listOperationSpec$6 = {
|
9045
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections",
|
9046
|
-
httpMethod: "GET",
|
9047
|
-
responses: {
|
9048
|
-
200: {
|
9049
|
-
bodyMapper: PrivateEndpointConnectionListResult
|
9050
|
-
}
|
9051
|
-
},
|
9071
|
+
const deleteOperationSpec$5 = {
|
9072
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
9073
|
+
httpMethod: "DELETE",
|
9074
|
+
responses: { 200: {}, 201: {}, 202: {}, 204: {} },
|
9052
9075
|
queryParameters: [apiVersion],
|
9053
9076
|
urlParameters: [
|
9054
9077
|
$host,
|
9055
9078
|
subscriptionId,
|
9056
9079
|
resourceGroupName,
|
9057
|
-
registryName
|
9080
|
+
registryName,
|
9081
|
+
privateEndpointConnectionName
|
9058
9082
|
],
|
9059
|
-
headerParameters: [accept],
|
9060
9083
|
serializer: serializer$6
|
9061
9084
|
};
|
9062
9085
|
const listNextOperationSpec$6 = {
|
@@ -9146,6 +9169,15 @@ class ReplicationsImpl {
|
|
9146
9169
|
}
|
9147
9170
|
});
|
9148
9171
|
}
|
9172
|
+
/**
|
9173
|
+
* Lists all the replications for the specified container registry.
|
9174
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
9175
|
+
* @param registryName The name of the container registry.
|
9176
|
+
* @param options The options parameters.
|
9177
|
+
*/
|
9178
|
+
_list(resourceGroupName, registryName, options) {
|
9179
|
+
return this.client.sendOperationRequest({ resourceGroupName, registryName, options }, listOperationSpec$7);
|
9180
|
+
}
|
9149
9181
|
/**
|
9150
9182
|
* Gets the properties of the specified replication.
|
9151
9183
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
@@ -9325,15 +9357,6 @@ class ReplicationsImpl {
|
|
9325
9357
|
return poller.pollUntilDone();
|
9326
9358
|
});
|
9327
9359
|
}
|
9328
|
-
/**
|
9329
|
-
* Lists all the replications for the specified container registry.
|
9330
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
9331
|
-
* @param registryName The name of the container registry.
|
9332
|
-
* @param options The options parameters.
|
9333
|
-
*/
|
9334
|
-
_list(resourceGroupName, registryName, options) {
|
9335
|
-
return this.client.sendOperationRequest({ resourceGroupName, registryName, options }, listOperationSpec$7);
|
9336
|
-
}
|
9337
9360
|
/**
|
9338
9361
|
* ListNext
|
9339
9362
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
@@ -9347,6 +9370,24 @@ class ReplicationsImpl {
|
|
9347
9370
|
}
|
9348
9371
|
// Operation Specifications
|
9349
9372
|
const serializer$7 = coreClient.createSerializer(Mappers, /* isXml */ false);
|
9373
|
+
const listOperationSpec$7 = {
|
9374
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications",
|
9375
|
+
httpMethod: "GET",
|
9376
|
+
responses: {
|
9377
|
+
200: {
|
9378
|
+
bodyMapper: ReplicationListResult
|
9379
|
+
}
|
9380
|
+
},
|
9381
|
+
queryParameters: [apiVersion],
|
9382
|
+
urlParameters: [
|
9383
|
+
$host,
|
9384
|
+
subscriptionId,
|
9385
|
+
resourceGroupName,
|
9386
|
+
registryName
|
9387
|
+
],
|
9388
|
+
headerParameters: [accept],
|
9389
|
+
serializer: serializer$7
|
9390
|
+
};
|
9350
9391
|
const getOperationSpec$6 = {
|
9351
9392
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications/{replicationName}",
|
9352
9393
|
httpMethod: "GET",
|
@@ -9440,24 +9481,6 @@ const updateOperationSpec$2 = {
|
|
9440
9481
|
mediaType: "json",
|
9441
9482
|
serializer: serializer$7
|
9442
9483
|
};
|
9443
|
-
const listOperationSpec$7 = {
|
9444
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/replications",
|
9445
|
-
httpMethod: "GET",
|
9446
|
-
responses: {
|
9447
|
-
200: {
|
9448
|
-
bodyMapper: ReplicationListResult
|
9449
|
-
}
|
9450
|
-
},
|
9451
|
-
queryParameters: [apiVersion],
|
9452
|
-
urlParameters: [
|
9453
|
-
$host,
|
9454
|
-
subscriptionId,
|
9455
|
-
resourceGroupName,
|
9456
|
-
registryName
|
9457
|
-
],
|
9458
|
-
headerParameters: [accept],
|
9459
|
-
serializer: serializer$7
|
9460
|
-
};
|
9461
9484
|
const listNextOperationSpec$7 = {
|
9462
9485
|
path: "{nextLink}",
|
9463
9486
|
httpMethod: "GET",
|
@@ -9545,6 +9568,15 @@ class ScopeMapsImpl {
|
|
9545
9568
|
}
|
9546
9569
|
});
|
9547
9570
|
}
|
9571
|
+
/**
|
9572
|
+
* Lists all the scope maps for the specified container registry.
|
9573
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
9574
|
+
* @param registryName The name of the container registry.
|
9575
|
+
* @param options The options parameters.
|
9576
|
+
*/
|
9577
|
+
_list(resourceGroupName, registryName, options) {
|
9578
|
+
return this.client.sendOperationRequest({ resourceGroupName, registryName, options }, listOperationSpec$8);
|
9579
|
+
}
|
9548
9580
|
/**
|
9549
9581
|
* Gets the properties of the specified scope map.
|
9550
9582
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
@@ -9724,15 +9756,6 @@ class ScopeMapsImpl {
|
|
9724
9756
|
return poller.pollUntilDone();
|
9725
9757
|
});
|
9726
9758
|
}
|
9727
|
-
/**
|
9728
|
-
* Lists all the scope maps for the specified container registry.
|
9729
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
9730
|
-
* @param registryName The name of the container registry.
|
9731
|
-
* @param options The options parameters.
|
9732
|
-
*/
|
9733
|
-
_list(resourceGroupName, registryName, options) {
|
9734
|
-
return this.client.sendOperationRequest({ resourceGroupName, registryName, options }, listOperationSpec$8);
|
9735
|
-
}
|
9736
9759
|
/**
|
9737
9760
|
* ListNext
|
9738
9761
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
@@ -9746,6 +9769,24 @@ class ScopeMapsImpl {
|
|
9746
9769
|
}
|
9747
9770
|
// Operation Specifications
|
9748
9771
|
const serializer$8 = coreClient.createSerializer(Mappers, /* isXml */ false);
|
9772
|
+
const listOperationSpec$8 = {
|
9773
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scopeMaps",
|
9774
|
+
httpMethod: "GET",
|
9775
|
+
responses: {
|
9776
|
+
200: {
|
9777
|
+
bodyMapper: ScopeMapListResult
|
9778
|
+
}
|
9779
|
+
},
|
9780
|
+
queryParameters: [apiVersion],
|
9781
|
+
urlParameters: [
|
9782
|
+
$host,
|
9783
|
+
subscriptionId,
|
9784
|
+
resourceGroupName,
|
9785
|
+
registryName
|
9786
|
+
],
|
9787
|
+
headerParameters: [accept],
|
9788
|
+
serializer: serializer$8
|
9789
|
+
};
|
9749
9790
|
const getOperationSpec$7 = {
|
9750
9791
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scopeMaps/{scopeMapName}",
|
9751
9792
|
httpMethod: "GET",
|
@@ -9839,24 +9880,6 @@ const updateOperationSpec$3 = {
|
|
9839
9880
|
mediaType: "json",
|
9840
9881
|
serializer: serializer$8
|
9841
9882
|
};
|
9842
|
-
const listOperationSpec$8 = {
|
9843
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scopeMaps",
|
9844
|
-
httpMethod: "GET",
|
9845
|
-
responses: {
|
9846
|
-
200: {
|
9847
|
-
bodyMapper: ScopeMapListResult
|
9848
|
-
}
|
9849
|
-
},
|
9850
|
-
queryParameters: [apiVersion],
|
9851
|
-
urlParameters: [
|
9852
|
-
$host,
|
9853
|
-
subscriptionId,
|
9854
|
-
resourceGroupName,
|
9855
|
-
registryName
|
9856
|
-
],
|
9857
|
-
headerParameters: [accept],
|
9858
|
-
serializer: serializer$8
|
9859
|
-
};
|
9860
9883
|
const listNextOperationSpec$8 = {
|
9861
9884
|
path: "{nextLink}",
|
9862
9885
|
httpMethod: "GET",
|
@@ -9944,6 +9967,15 @@ class TokensImpl {
|
|
9944
9967
|
}
|
9945
9968
|
});
|
9946
9969
|
}
|
9970
|
+
/**
|
9971
|
+
* Lists all the tokens for the specified container registry.
|
9972
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
9973
|
+
* @param registryName The name of the container registry.
|
9974
|
+
* @param options The options parameters.
|
9975
|
+
*/
|
9976
|
+
_list(resourceGroupName, registryName, options) {
|
9977
|
+
return this.client.sendOperationRequest({ resourceGroupName, registryName, options }, listOperationSpec$9);
|
9978
|
+
}
|
9947
9979
|
/**
|
9948
9980
|
* Gets the properties of the specified token.
|
9949
9981
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
@@ -10123,15 +10155,6 @@ class TokensImpl {
|
|
10123
10155
|
return poller.pollUntilDone();
|
10124
10156
|
});
|
10125
10157
|
}
|
10126
|
-
/**
|
10127
|
-
* Lists all the tokens for the specified container registry.
|
10128
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
10129
|
-
* @param registryName The name of the container registry.
|
10130
|
-
* @param options The options parameters.
|
10131
|
-
*/
|
10132
|
-
_list(resourceGroupName, registryName, options) {
|
10133
|
-
return this.client.sendOperationRequest({ resourceGroupName, registryName, options }, listOperationSpec$9);
|
10134
|
-
}
|
10135
10158
|
/**
|
10136
10159
|
* ListNext
|
10137
10160
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
@@ -10145,6 +10168,24 @@ class TokensImpl {
|
|
10145
10168
|
}
|
10146
10169
|
// Operation Specifications
|
10147
10170
|
const serializer$9 = coreClient.createSerializer(Mappers, /* isXml */ false);
|
10171
|
+
const listOperationSpec$9 = {
|
10172
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tokens",
|
10173
|
+
httpMethod: "GET",
|
10174
|
+
responses: {
|
10175
|
+
200: {
|
10176
|
+
bodyMapper: TokenListResult
|
10177
|
+
}
|
10178
|
+
},
|
10179
|
+
queryParameters: [apiVersion],
|
10180
|
+
urlParameters: [
|
10181
|
+
$host,
|
10182
|
+
subscriptionId,
|
10183
|
+
resourceGroupName,
|
10184
|
+
registryName
|
10185
|
+
],
|
10186
|
+
headerParameters: [accept],
|
10187
|
+
serializer: serializer$9
|
10188
|
+
};
|
10148
10189
|
const getOperationSpec$8 = {
|
10149
10190
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tokens/{tokenName}",
|
10150
10191
|
httpMethod: "GET",
|
@@ -10238,24 +10279,6 @@ const updateOperationSpec$4 = {
|
|
10238
10279
|
mediaType: "json",
|
10239
10280
|
serializer: serializer$9
|
10240
10281
|
};
|
10241
|
-
const listOperationSpec$9 = {
|
10242
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tokens",
|
10243
|
-
httpMethod: "GET",
|
10244
|
-
responses: {
|
10245
|
-
200: {
|
10246
|
-
bodyMapper: TokenListResult
|
10247
|
-
}
|
10248
|
-
},
|
10249
|
-
queryParameters: [apiVersion],
|
10250
|
-
urlParameters: [
|
10251
|
-
$host,
|
10252
|
-
subscriptionId,
|
10253
|
-
resourceGroupName,
|
10254
|
-
registryName
|
10255
|
-
],
|
10256
|
-
headerParameters: [accept],
|
10257
|
-
serializer: serializer$9
|
10258
|
-
};
|
10259
10282
|
const listNextOperationSpec$9 = {
|
10260
10283
|
path: "{nextLink}",
|
10261
10284
|
httpMethod: "GET",
|
@@ -10394,6 +10417,15 @@ class WebhooksImpl {
|
|
10394
10417
|
}
|
10395
10418
|
});
|
10396
10419
|
}
|
10420
|
+
/**
|
10421
|
+
* Lists all the webhooks for the specified container registry.
|
10422
|
+
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
10423
|
+
* @param registryName The name of the container registry.
|
10424
|
+
* @param options The options parameters.
|
10425
|
+
*/
|
10426
|
+
_list(resourceGroupName, registryName, options) {
|
10427
|
+
return this.client.sendOperationRequest({ resourceGroupName, registryName, options }, listOperationSpec$a);
|
10428
|
+
}
|
10397
10429
|
/**
|
10398
10430
|
* Gets the properties of the specified webhook.
|
10399
10431
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
@@ -10573,15 +10605,6 @@ class WebhooksImpl {
|
|
10573
10605
|
return poller.pollUntilDone();
|
10574
10606
|
});
|
10575
10607
|
}
|
10576
|
-
/**
|
10577
|
-
* Lists all the webhooks for the specified container registry.
|
10578
|
-
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
10579
|
-
* @param registryName The name of the container registry.
|
10580
|
-
* @param options The options parameters.
|
10581
|
-
*/
|
10582
|
-
_list(resourceGroupName, registryName, options) {
|
10583
|
-
return this.client.sendOperationRequest({ resourceGroupName, registryName, options }, listOperationSpec$a);
|
10584
|
-
}
|
10585
10608
|
/**
|
10586
10609
|
* Triggers a ping event to be sent to the webhook.
|
10587
10610
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
@@ -10593,24 +10616,24 @@ class WebhooksImpl {
|
|
10593
10616
|
return this.client.sendOperationRequest({ resourceGroupName, registryName, webhookName, options }, pingOperationSpec);
|
10594
10617
|
}
|
10595
10618
|
/**
|
10596
|
-
*
|
10619
|
+
* Lists recent events for the specified webhook.
|
10597
10620
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
10598
10621
|
* @param registryName The name of the container registry.
|
10599
10622
|
* @param webhookName The name of the webhook.
|
10600
10623
|
* @param options The options parameters.
|
10601
10624
|
*/
|
10602
|
-
|
10603
|
-
return this.client.sendOperationRequest({ resourceGroupName, registryName, webhookName, options },
|
10625
|
+
_listEvents(resourceGroupName, registryName, webhookName, options) {
|
10626
|
+
return this.client.sendOperationRequest({ resourceGroupName, registryName, webhookName, options }, listEventsOperationSpec);
|
10604
10627
|
}
|
10605
10628
|
/**
|
10606
|
-
*
|
10629
|
+
* Gets the configuration of service URI and custom headers for the webhook.
|
10607
10630
|
* @param resourceGroupName The name of the resource group to which the container registry belongs.
|
10608
10631
|
* @param registryName The name of the container registry.
|
10609
10632
|
* @param webhookName The name of the webhook.
|
10610
10633
|
* @param options The options parameters.
|
10611
10634
|
*/
|
10612
|
-
|
10613
|
-
return this.client.sendOperationRequest({ resourceGroupName, registryName, webhookName, options },
|
10635
|
+
getCallbackConfig(resourceGroupName, registryName, webhookName, options) {
|
10636
|
+
return this.client.sendOperationRequest({ resourceGroupName, registryName, webhookName, options }, getCallbackConfigOperationSpec);
|
10614
10637
|
}
|
10615
10638
|
/**
|
10616
10639
|
* ListNext
|
@@ -10636,6 +10659,24 @@ class WebhooksImpl {
|
|
10636
10659
|
}
|
10637
10660
|
// Operation Specifications
|
10638
10661
|
const serializer$a = coreClient.createSerializer(Mappers, /* isXml */ false);
|
10662
|
+
const listOperationSpec$a = {
|
10663
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks",
|
10664
|
+
httpMethod: "GET",
|
10665
|
+
responses: {
|
10666
|
+
200: {
|
10667
|
+
bodyMapper: WebhookListResult
|
10668
|
+
}
|
10669
|
+
},
|
10670
|
+
queryParameters: [apiVersion],
|
10671
|
+
urlParameters: [
|
10672
|
+
$host,
|
10673
|
+
subscriptionId,
|
10674
|
+
resourceGroupName,
|
10675
|
+
registryName
|
10676
|
+
],
|
10677
|
+
headerParameters: [accept],
|
10678
|
+
serializer: serializer$a
|
10679
|
+
};
|
10639
10680
|
const getOperationSpec$9 = {
|
10640
10681
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}",
|
10641
10682
|
httpMethod: "GET",
|
@@ -10729,24 +10770,6 @@ const updateOperationSpec$5 = {
|
|
10729
10770
|
mediaType: "json",
|
10730
10771
|
serializer: serializer$a
|
10731
10772
|
};
|
10732
|
-
const listOperationSpec$a = {
|
10733
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks",
|
10734
|
-
httpMethod: "GET",
|
10735
|
-
responses: {
|
10736
|
-
200: {
|
10737
|
-
bodyMapper: WebhookListResult
|
10738
|
-
}
|
10739
|
-
},
|
10740
|
-
queryParameters: [apiVersion],
|
10741
|
-
urlParameters: [
|
10742
|
-
$host,
|
10743
|
-
subscriptionId,
|
10744
|
-
resourceGroupName,
|
10745
|
-
registryName
|
10746
|
-
],
|
10747
|
-
headerParameters: [accept],
|
10748
|
-
serializer: serializer$a
|
10749
|
-
};
|
10750
10773
|
const pingOperationSpec = {
|
10751
10774
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/ping",
|
10752
10775
|
httpMethod: "POST",
|
@@ -10766,12 +10789,12 @@ const pingOperationSpec = {
|
|
10766
10789
|
headerParameters: [accept],
|
10767
10790
|
serializer: serializer$a
|
10768
10791
|
};
|
10769
|
-
const
|
10770
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/
|
10792
|
+
const listEventsOperationSpec = {
|
10793
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/listEvents",
|
10771
10794
|
httpMethod: "POST",
|
10772
10795
|
responses: {
|
10773
10796
|
200: {
|
10774
|
-
bodyMapper:
|
10797
|
+
bodyMapper: EventListResult
|
10775
10798
|
}
|
10776
10799
|
},
|
10777
10800
|
queryParameters: [apiVersion],
|
@@ -10785,12 +10808,12 @@ const getCallbackConfigOperationSpec = {
|
|
10785
10808
|
headerParameters: [accept],
|
10786
10809
|
serializer: serializer$a
|
10787
10810
|
};
|
10788
|
-
const
|
10789
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/
|
10811
|
+
const getCallbackConfigOperationSpec = {
|
10812
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/getCallbackConfig",
|
10790
10813
|
httpMethod: "POST",
|
10791
10814
|
responses: {
|
10792
10815
|
200: {
|
10793
|
-
bodyMapper:
|
10816
|
+
bodyMapper: CallbackConfig
|
10794
10817
|
}
|
10795
10818
|
},
|
10796
10819
|
queryParameters: [apiVersion],
|
@@ -12583,7 +12606,7 @@ class ContainerRegistryManagementClientContext extends coreClient.ServiceClient
|
|
12583
12606
|
requestContentType: "application/json; charset=utf-8",
|
12584
12607
|
credential: credentials
|
12585
12608
|
};
|
12586
|
-
const packageDetails = `azsdk-js-arm-containerregistry/
|
12609
|
+
const packageDetails = `azsdk-js-arm-containerregistry/10.0.0-beta.1`;
|
12587
12610
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
12588
12611
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
12589
12612
|
: `${packageDetails}`;
|