|
687 | 687 | }, |
688 | 688 | "description": "The settings of config server." |
689 | 689 | }, |
| 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 | + }, |
690 | 743 | "CustomDomainProperties": { |
691 | 744 | "type": "object", |
692 | 745 | "properties": { |
|
904 | 957 | ], |
905 | 958 | "description": "Git repository property payload" |
906 | 959 | }, |
| 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 | + }, |
907 | 974 | "ManagedIdentityProperties": { |
908 | 975 | "type": "object", |
909 | 976 | "properties": { |
|
1414 | 1481 | "type": "string", |
1415 | 1482 | "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." |
1416 | 1483 | }, |
| 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 | + }, |
1417 | 1495 | "relativePath": { |
1418 | 1496 | "type": "string", |
1419 | 1497 | "description": "Relative path of the storage which stores the source" |
|
1425 | 1503 | "enum": [ |
1426 | 1504 | "Jar", |
1427 | 1505 | "NetCoreZip", |
1428 | | - "Source" |
| 1506 | + "Source", |
| 1507 | + "Container" |
1429 | 1508 | ] |
1430 | 1509 | }, |
1431 | 1510 | { |
|
0 commit comments