github.com/kyma-project/kyma-environment-broker@v0.0.1/internal/broker/testdata/azure-lite-schema.json (about)

     1  {
     2    "$schema": "http://json-schema.org/draft-04/schema#",
     3    "_controlsOrder": [
     4      "name",
     5      "region",
     6      "machineType",
     7      "autoScalerMin",
     8      "autoScalerMax",
     9      "modules",
    10      "networking"
    11    ],
    12    "_show_form_view": true,
    13    "properties": {
    14      "autoScalerMax": {
    15        "default": 10,
    16        "description": "Specifies the maximum number of virtual machines to create",
    17        "maximum": 40,
    18        "minimum": 2,
    19        "type": "integer"
    20      },
    21      "autoScalerMin": {
    22        "default": 2,
    23        "description": "Specifies the minimum number of virtual machines to create",
    24        "minimum": 2,
    25        "type": "integer"
    26      },
    27      "machineType": {
    28        "_enumDisplayName": {
    29          "Standard_D4_v3": "Standard_D4_v3 (4vCPU, 16GB RAM)"
    30        },
    31        "enum": [
    32          "Standard_D4_v3"
    33        ],
    34        "type": "string"
    35      },
    36      "modules": {
    37        "_controlsOrder": [
    38          "default",
    39          "list"
    40        ],
    41        "description": "Use default modules or provide your custom list of modules.",
    42        "oneOf": [
    43          {
    44            "additionalProperties": false,
    45            "description": "Default modules",
    46            "properties": {
    47              "default": {
    48                "default": true,
    49                "description": "Check the default modules at: https://help.sap.com/docs/btp/sap-business-technology-platform/kyma-modules?version=Cloud.",
    50                "readOnly": true,
    51                "title": "Use Default",
    52                "type": "boolean"
    53              }
    54            },
    55            "title": "Default",
    56            "type": "object"
    57          },
    58          {
    59            "additionalProperties": false,
    60            "description": "Define custom module list",
    61            "properties": {
    62              "list": {
    63                "description": "Select a module technical name from the list available at: https://help.sap.com/docs/btp/sap-business-technology-platform/kyma-modules?version=Cloud. You can only use a module technical name once.",
    64                "items": {
    65                  "_controlsOrder": [
    66                    "name",
    67                    "channel",
    68                    "customResourcePolicy"
    69                  ],
    70                  "properties": {
    71                    "channel": {
    72                      "_enumDisplayName": {
    73                        "fast": "Fast - latest version",
    74                        "regular": "Regular - default version"
    75                      },
    76                      "default": "regular",
    77                      "description": "Select your preferred release channel.",
    78                      "enum": [
    79                        "regular",
    80                        "fast"
    81                      ],
    82                      "type": "string"
    83                    },
    84                    "customResourcePolicy": {
    85                      "_enumDisplayName": {
    86                        "CreateAndDelete": "CreateAndDelete - default module resource is created or deleted.",
    87                        "Ignore": "Ignore - module resource is not created."
    88                      },
    89                      "default": "CreateAndDelete",
    90                      "description": "Select your preferred CustomResourcePolicy setting.",
    91                      "enum": [
    92                        "CreateAndDelete",
    93                        "Ignore"
    94                      ],
    95                      "type": "string"
    96                    },
    97                    "name": {
    98                      "description": "Select a module technical name from the list available at: https://help.sap.com/docs/btp/sap-business-technology-platform/kyma-modules?version=Cloud. You can only use a module technical name once.",
    99                      "minLength": 1,
   100                      "title": "Name",
   101                      "type": "string"
   102                    }
   103                  },
   104                  "type": "object"
   105                },
   106                "type": "array",
   107                "uniqueItems": true
   108              }
   109            },
   110            "title": "Custom",
   111            "type": "object"
   112          }
   113        ],
   114        "type": "object"
   115      },
   116      "name": {
   117        "_BTPdefaultTemplate": {
   118          "elements": [
   119            "saSubdomain"
   120          ]
   121        },
   122        "minLength": 1,
   123        "pattern": "^[a-zA-Z0-9-]*$",
   124        "title": "Cluster Name",
   125        "type": "string"
   126      },
   127      "networking": {
   128        "description": "Networking configuration. These values are immutable and cannot be updated later.",
   129        "properties": {
   130          "nodes": {
   131            "default": "10.250.0.0/22",
   132            "description": "CIDR range for nodes, must not overlap with the following CIDRs: 10.96.0.0/13, 10.104.0.0/13, 10.243.128.0/17, 10.242.0.0/16, 10.243.0.0/17, 10.64.0.0/11, 10.254.0.0/16, 10.243.0.0/16",
   133            "title": "CIDR range for nodes",
   134            "type": "string"
   135          }
   136        },
   137        "required": [
   138          "nodes"
   139        ],
   140        "type": "object"
   141      },
   142      "region": {
   143        "enum": [
   144          "eastus",
   145          "centralus",
   146          "westus2",
   147          "uksouth",
   148          "northeurope",
   149          "westeurope",
   150          "japaneast",
   151          "southeastasia"
   152        ],
   153        "type": "string"
   154      }
   155    },
   156    "required": [
   157      "name"
   158    ],
   159    "type": "object"
   160  }