Skip to content

Commit 27e89ce

Browse files
author
SDKAuto
committed
CodeGen from PR 22777 in Azure/azure-rest-api-specs
Merge 6241c31c1e1e03359fbce04f040fe472c9c184f3 into 1e71ad94aeb8843559d59d863c895770560d7c93
1 parent 4478a62 commit 27e89ce

File tree

2 files changed

+187
-0
lines changed

2 files changed

+187
-0
lines changed

schemas/2023-01-01-preview/Microsoft.ContainerRegistry.json

Lines changed: 181 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,102 @@
422422
],
423423
"description": "Microsoft.ContainerRegistry/registries/importPipelines"
424424
},
425+
"registries_packages_archives": {
426+
"type": "object",
427+
"properties": {
428+
"apiVersion": {
429+
"type": "string",
430+
"enum": [
431+
"2023-01-01-preview"
432+
]
433+
},
434+
"name": {
435+
"oneOf": [
436+
{
437+
"type": "string",
438+
"pattern": "^[a-zA-Z0-9-]*$",
439+
"minLength": 5,
440+
"maxLength": 200
441+
},
442+
{
443+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
444+
}
445+
],
446+
"description": "The name of the archive resource."
447+
},
448+
"properties": {
449+
"oneOf": [
450+
{
451+
"$ref": "#/definitions/ArchiveProperties"
452+
},
453+
{
454+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
455+
}
456+
],
457+
"description": "The properties of a archive."
458+
},
459+
"resources": {
460+
"type": "array",
461+
"items": {
462+
"oneOf": [
463+
{
464+
"$ref": "#/definitions/registries_packages_archives_versions_childResource"
465+
}
466+
]
467+
}
468+
},
469+
"type": {
470+
"type": "string",
471+
"enum": [
472+
"Microsoft.ContainerRegistry/registries/packages/archives"
473+
]
474+
}
475+
},
476+
"required": [
477+
"apiVersion",
478+
"name",
479+
"properties",
480+
"type"
481+
],
482+
"description": "Microsoft.ContainerRegistry/registries/packages/archives"
483+
},
484+
"registries_packages_archives_versions": {
485+
"type": "object",
486+
"properties": {
487+
"apiVersion": {
488+
"type": "string",
489+
"enum": [
490+
"2023-01-01-preview"
491+
]
492+
},
493+
"name": {
494+
"oneOf": [
495+
{
496+
"type": "string",
497+
"pattern": "^[a-zA-Z0-9-]*$",
498+
"minLength": 5,
499+
"maxLength": 200
500+
},
501+
{
502+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
503+
}
504+
],
505+
"description": "The name of the archive version resource."
506+
},
507+
"type": {
508+
"type": "string",
509+
"enum": [
510+
"Microsoft.ContainerRegistry/registries/packages/archives/versions"
511+
]
512+
}
513+
},
514+
"required": [
515+
"apiVersion",
516+
"name",
517+
"type"
518+
],
519+
"description": "Microsoft.ContainerRegistry/registries/packages/archives/versions"
520+
},
425521
"registries_pipelineRuns": {
426522
"type": "object",
427523
"properties": {
@@ -748,6 +844,54 @@
748844
}
749845
},
750846
"definitions": {
847+
"ArchivePackageSourceProperties": {
848+
"type": "object",
849+
"properties": {
850+
"type": {
851+
"oneOf": [
852+
{
853+
"type": "string",
854+
"enum": [
855+
"remote"
856+
]
857+
},
858+
{
859+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
860+
}
861+
],
862+
"description": "The type of package source for a archive."
863+
},
864+
"url": {
865+
"type": "string",
866+
"description": "The external repository url."
867+
}
868+
},
869+
"description": "The properties of the archive package source."
870+
},
871+
"ArchiveProperties": {
872+
"type": "object",
873+
"properties": {
874+
"packageSource": {
875+
"oneOf": [
876+
{
877+
"$ref": "#/definitions/ArchivePackageSourceProperties"
878+
},
879+
{
880+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
881+
}
882+
],
883+
"description": "The properties of the archive package source."
884+
},
885+
"publishedVersion": {
886+
"type": "string",
887+
"description": "The published version of the archive."
888+
},
889+
"repositoryEndpointPrefix": {
890+
"type": "string"
891+
}
892+
},
893+
"description": "The properties of a archive."
894+
},
751895
"AuthCredential": {
752896
"type": "object",
753897
"properties": {
@@ -1924,6 +2068,43 @@
19242068
],
19252069
"description": "Microsoft.ContainerRegistry/registries/importPipelines"
19262070
},
2071+
"registries_packages_archives_versions_childResource": {
2072+
"type": "object",
2073+
"properties": {
2074+
"apiVersion": {
2075+
"type": "string",
2076+
"enum": [
2077+
"2023-01-01-preview"
2078+
]
2079+
},
2080+
"name": {
2081+
"oneOf": [
2082+
{
2083+
"type": "string",
2084+
"pattern": "^[a-zA-Z0-9-]*$",
2085+
"minLength": 5,
2086+
"maxLength": 200
2087+
},
2088+
{
2089+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
2090+
}
2091+
],
2092+
"description": "The name of the archive version resource."
2093+
},
2094+
"type": {
2095+
"type": "string",
2096+
"enum": [
2097+
"versions"
2098+
]
2099+
}
2100+
},
2101+
"required": [
2102+
"apiVersion",
2103+
"name",
2104+
"type"
2105+
],
2106+
"description": "Microsoft.ContainerRegistry/registries/packages/archives/versions"
2107+
},
19272108
"registries_pipelineRuns_childResource": {
19282109
"type": "object",
19292110
"properties": {

schemas/common/autogeneratedResources.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7252,6 +7252,12 @@
72527252
{
72537253
"$ref": "https://schema.management.azure.com/schemas/2023-01-01-preview/Microsoft.ContainerRegistry.json#/resourceDefinitions/registries_importPipelines"
72547254
},
7255+
{
7256+
"$ref": "https://schema.management.azure.com/schemas/2023-01-01-preview/Microsoft.ContainerRegistry.json#/resourceDefinitions/registries_packages_archives"
7257+
},
7258+
{
7259+
"$ref": "https://schema.management.azure.com/schemas/2023-01-01-preview/Microsoft.ContainerRegistry.json#/resourceDefinitions/registries_packages_archives_versions"
7260+
},
72557261
{
72567262
"$ref": "https://schema.management.azure.com/schemas/2023-01-01-preview/Microsoft.ContainerRegistry.json#/resourceDefinitions/registries_pipelineRuns"
72577263
},

0 commit comments

Comments
 (0)