Skip to content

Commit

Permalink
CodeGen from PR 12500 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge dc50ec6b283a27bbfb5107e3179b35fd4228ac18 into 1c475faca30531c1955b5d2f34246c40bd7f8598
  • Loading branch information
SDKAuto committed Jan 27, 2021
1 parent 97e25b9 commit 415eaee
Showing 1 changed file with 142 additions and 0 deletions.
142 changes: 142 additions & 0 deletions schemas/2019-11-01-preview/Microsoft.KubernetesConfiguration.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
{
"id": "https://schema.management.azure.com/schemas/2019-11-01-preview/Microsoft.KubernetesConfiguration.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.KubernetesConfiguration",
"description": "Microsoft KubernetesConfiguration Resource Types",
"resourceDefinitions": {},
"extension_resourceDefinitions": {
"sourceControlConfigurations": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2019-11-01-preview"
]
},
"name": {
"type": "string",
"description": "Name of the Source Control Configuration."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/SourceControlConfigurationProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Properties to create a Source Control Configuration resource"
},
"type": {
"type": "string",
"enum": [
"Microsoft.KubernetesConfiguration/sourceControlConfigurations"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.KubernetesConfiguration/sourceControlConfigurations"
}
},
"definitions": {
"HelmOperatorProperties": {
"type": "object",
"properties": {
"chartValues": {
"type": "string",
"description": "Values override for the operator Helm chart."
},
"chartVersion": {
"type": "string",
"description": "Version of the operator Helm chart."
}
},
"description": "Properties for Helm operator."
},
"SourceControlConfigurationProperties": {
"type": "object",
"properties": {
"enableHelmOperator": {
"oneOf": [
{
"type": "string",
"enum": [
"true",
"false"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Option to enable Helm Operator for this git configuration."
},
"helmOperatorProperties": {
"oneOf": [
{
"$ref": "#/definitions/HelmOperatorProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Properties for Helm operator."
},
"operatorInstanceName": {
"type": "string",
"description": "Instance name of the operator - identifying the specific configuration."
},
"operatorNamespace": {
"type": "string",
"default": "default",
"description": "The namespace to which this operator is installed to. Maximum of 253 lower case alphanumeric characters, hyphen and period only."
},
"operatorParams": {
"type": "string",
"description": "Any Parameters for the Operator instance in string format."
},
"operatorScope": {
"oneOf": [
{
"type": "string",
"enum": [
"cluster",
"namespace"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Scope at which the operator will be installed."
},
"operatorType": {
"oneOf": [
{
"type": "string",
"enum": [
"Flux"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Type of the operator."
},
"repositoryUrl": {
"type": "string",
"description": "Url of the SourceControl Repository."
}
},
"description": "Properties to create a Source Control Configuration resource"
}
}
}

0 comments on commit 415eaee

Please sign in to comment.