Skip to content

Commit 797f338

Browse files
author
SDKAuto
committed
CodeGen from PR 22777 in Azure/azure-rest-api-specs
Merge dd9eb8600e0b8e26d6561d30a628a61f15ca9f5a into 56435032b69cc7ebb5c1052b66c7865d0c48f33c
1 parent 8804c3c commit 797f338

File tree

2 files changed

+178
-0
lines changed

2 files changed

+178
-0
lines changed

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

Lines changed: 172 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": 50
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": 50
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,45 @@
748844
}
749845
},
750846
"definitions": {
847+
"ArchivePackageSourceProperties": {
848+
"type": "object",
849+
"properties": {
850+
"distributionName": {
851+
"type": "string",
852+
"description": "Upstream Debian/RPM distribution Name."
853+
},
854+
"type": {
855+
"type": "string",
856+
"description": "The type of package source for a archive."
857+
},
858+
"url": {
859+
"type": "string",
860+
"description": "The external repository url."
861+
}
862+
},
863+
"description": "The properties of the archive package source."
864+
},
865+
"ArchiveProperties": {
866+
"type": "object",
867+
"properties": {
868+
"packageSource": {
869+
"oneOf": [
870+
{
871+
"$ref": "#/definitions/ArchivePackageSourceProperties"
872+
},
873+
{
874+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
875+
}
876+
],
877+
"description": "The properties of the archive package source."
878+
},
879+
"publishedVersion": {
880+
"type": "string",
881+
"description": "The published version of the archive."
882+
}
883+
},
884+
"description": "The properties of a archive."
885+
},
751886
"AuthCredential": {
752887
"type": "object",
753888
"properties": {
@@ -1924,6 +2059,43 @@
19242059
],
19252060
"description": "Microsoft.ContainerRegistry/registries/importPipelines"
19262061
},
2062+
"registries_packages_archives_versions_childResource": {
2063+
"type": "object",
2064+
"properties": {
2065+
"apiVersion": {
2066+
"type": "string",
2067+
"enum": [
2068+
"2023-01-01-preview"
2069+
]
2070+
},
2071+
"name": {
2072+
"oneOf": [
2073+
{
2074+
"type": "string",
2075+
"pattern": "^[a-zA-Z0-9-]*$",
2076+
"minLength": 5,
2077+
"maxLength": 50
2078+
},
2079+
{
2080+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
2081+
}
2082+
],
2083+
"description": "The name of the archive version resource."
2084+
},
2085+
"type": {
2086+
"type": "string",
2087+
"enum": [
2088+
"versions"
2089+
]
2090+
}
2091+
},
2092+
"required": [
2093+
"apiVersion",
2094+
"name",
2095+
"type"
2096+
],
2097+
"description": "Microsoft.ContainerRegistry/registries/packages/archives/versions"
2098+
},
19272099
"registries_pipelineRuns_childResource": {
19282100
"type": "object",
19292101
"properties": {

schemas/common/autogeneratedResources.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6442,6 +6442,12 @@
64426442
{
64436443
"$ref": "https://schema.management.azure.com/schemas/2023-01-01-preview/Microsoft.ContainerRegistry.json#/resourceDefinitions/registries_importPipelines"
64446444
},
6445+
{
6446+
"$ref": "https://schema.management.azure.com/schemas/2023-01-01-preview/Microsoft.ContainerRegistry.json#/resourceDefinitions/registries_packages_archives"
6447+
},
6448+
{
6449+
"$ref": "https://schema.management.azure.com/schemas/2023-01-01-preview/Microsoft.ContainerRegistry.json#/resourceDefinitions/registries_packages_archives_versions"
6450+
},
64456451
{
64466452
"$ref": "https://schema.management.azure.com/schemas/2023-01-01-preview/Microsoft.ContainerRegistry.json#/resourceDefinitions/registries_pipelineRuns"
64476453
},

0 commit comments

Comments
 (0)