Skip to content

Commit

Permalink
CodeGen from PR 12192 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 5875e38a8030fdc7410b6f3fc80290e77db27be4 into 718ed16a9fe05c50b01fa56c050623929de35930
  • Loading branch information
SDKAuto committed Jan 7, 2021
1 parent ec927e4 commit 5d396c6
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 5d396c6

Please sign in to comment.