github.com/kyma-project/kyma-environment-broker@v0.0.1/internal/broker/testdata/gcp-schema-region-required.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": 20, 16 "description": "Specifies the maximum number of virtual machines to create", 17 "maximum": 80, 18 "minimum": 3, 19 "type": "integer" 20 }, 21 "autoScalerMin": { 22 "default": 3, 23 "description": "Specifies the minimum number of virtual machines to create", 24 "minimum": 3, 25 "type": "integer" 26 }, 27 "machineType": { 28 "enum": [ 29 "n2-standard-4", 30 "n2-standard-8", 31 "n2-standard-16", 32 "n2-standard-32", 33 "n2-standard-48" 34 ], 35 "type": "string" 36 }, 37 "modules": { 38 "_controlsOrder": [ 39 "default", 40 "list" 41 ], 42 "description": "Use default modules or provide your custom list of modules.", 43 "oneOf": [ 44 { 45 "additionalProperties": false, 46 "description": "Default modules", 47 "properties": { 48 "default": { 49 "default": true, 50 "description": "Check the default modules at: https://help.sap.com/docs/btp/sap-business-technology-platform/kyma-modules?version=Cloud.", 51 "readOnly": true, 52 "title": "Use Default", 53 "type": "boolean" 54 } 55 }, 56 "title": "Default", 57 "type": "object" 58 }, 59 { 60 "additionalProperties": false, 61 "description": "Define custom module list", 62 "properties": { 63 "list": { 64 "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.", 65 "items": { 66 "_controlsOrder": [ 67 "name", 68 "channel", 69 "customResourcePolicy" 70 ], 71 "properties": { 72 "channel": { 73 "_enumDisplayName": { 74 "fast": "Fast - latest version", 75 "regular": "Regular - default version" 76 }, 77 "default": "regular", 78 "description": "Select your preferred release channel.", 79 "enum": [ 80 "regular", 81 "fast" 82 ], 83 "type": "string" 84 }, 85 "customResourcePolicy": { 86 "_enumDisplayName": { 87 "CreateAndDelete": "CreateAndDelete - default module resource is created or deleted.", 88 "Ignore": "Ignore - module resource is not created." 89 }, 90 "default": "CreateAndDelete", 91 "description": "Select your preferred CustomResourcePolicy setting.", 92 "enum": [ 93 "CreateAndDelete", 94 "Ignore" 95 ], 96 "type": "string" 97 }, 98 "name": { 99 "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.", 100 "minLength": 1, 101 "title": "Name", 102 "type": "string" 103 } 104 }, 105 "type": "object" 106 }, 107 "type": "array", 108 "uniqueItems": true 109 } 110 }, 111 "title": "Custom", 112 "type": "object" 113 } 114 ], 115 "type": "object" 116 }, 117 "name": { 118 "_BTPdefaultTemplate": { 119 "elements": [ 120 "saSubdomain" 121 ] 122 }, 123 "minLength": 1, 124 "pattern": "^[a-zA-Z0-9-]*$", 125 "title": "Cluster Name", 126 "type": "string" 127 }, 128 "networking": { 129 "description": "Networking configuration. These values are immutable and cannot be updated later.", 130 "properties": { 131 "nodes": { 132 "default": "10.250.0.0/22", 133 "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", 134 "title": "CIDR range for nodes", 135 "type": "string" 136 } 137 }, 138 "required": [ 139 "nodes" 140 ], 141 "type": "object" 142 }, 143 "region": { 144 "enum": [ 145 "europe-west3", 146 "asia-south1", 147 "us-central1" 148 ], 149 "minLength": 1, 150 "type": "string" 151 } 152 }, 153 "required": [ 154 "name", 155 "region" 156 ], 157 "type": "object" 158 }