Skip to content

Commit 47d8b59

Browse files
author
Autogenerator Pipeline
committed
Autogenerate schemas
2 parents 5a9aba8 + 32bfebb commit 47d8b59

File tree

1 file changed

+80
-1
lines changed

1 file changed

+80
-1
lines changed

schemas/2021-06-01-preview/Microsoft.AppPlatform.json

Lines changed: 80 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -687,6 +687,59 @@
687687
},
688688
"description": "The settings of config server."
689689
},
690+
"CustomContainer": {
691+
"type": "object",
692+
"properties": {
693+
"args": {
694+
"oneOf": [
695+
{
696+
"type": "array",
697+
"items": {
698+
"type": "string"
699+
}
700+
},
701+
{
702+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
703+
}
704+
],
705+
"description": "Arguments to the entrypoint. The docker image's CMD is used if this is not provided."
706+
},
707+
"command": {
708+
"oneOf": [
709+
{
710+
"type": "array",
711+
"items": {
712+
"type": "string"
713+
}
714+
},
715+
{
716+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
717+
}
718+
],
719+
"description": "Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided."
720+
},
721+
"containerImage": {
722+
"type": "string",
723+
"description": "Container image of the custom container. This should be in the form of <repository>:<tag> without the server name of the registry"
724+
},
725+
"imageRegistryCredential": {
726+
"oneOf": [
727+
{
728+
"$ref": "#/definitions/ImageRegistryCredential"
729+
},
730+
{
731+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
732+
}
733+
],
734+
"description": "Credential of the image registry"
735+
},
736+
"server": {
737+
"type": "string",
738+
"description": "The name of the registry that contains the container image"
739+
}
740+
},
741+
"description": "Custom container payload"
742+
},
690743
"CustomDomainProperties": {
691744
"type": "object",
692745
"properties": {
@@ -904,6 +957,20 @@
904957
],
905958
"description": "Git repository property payload"
906959
},
960+
"ImageRegistryCredential": {
961+
"type": "object",
962+
"properties": {
963+
"password": {
964+
"type": "string",
965+
"description": "The password of the image registry credential"
966+
},
967+
"username": {
968+
"type": "string",
969+
"description": "The username of the image registry credential"
970+
}
971+
},
972+
"description": "Credential of the image registry"
973+
},
907974
"ManagedIdentityProperties": {
908975
"type": "object",
909976
"properties": {
@@ -1414,6 +1481,17 @@
14141481
"type": "string",
14151482
"description": "Selector for the artifact to be used for the deployment for multi-module projects. This should be\r\nthe relative path to the target module/project."
14161483
},
1484+
"customContainer": {
1485+
"oneOf": [
1486+
{
1487+
"$ref": "#/definitions/CustomContainer"
1488+
},
1489+
{
1490+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1491+
}
1492+
],
1493+
"description": "Custom container payload"
1494+
},
14171495
"relativePath": {
14181496
"type": "string",
14191497
"description": "Relative path of the storage which stores the source"
@@ -1425,7 +1503,8 @@
14251503
"enum": [
14261504
"Jar",
14271505
"NetCoreZip",
1428-
"Source"
1506+
"Source",
1507+
"Container"
14291508
]
14301509
},
14311510
{

0 commit comments

Comments
 (0)