forked from Azure/azure-resource-manager-schemas
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CodeGen from PR 12500 in Azure/azure-rest-api-specs
Merge 41bc913cdeff2c143a37acbd509fe973c780d8be into 1c475faca30531c1955b5d2f34246c40bd7f8598
- Loading branch information
SDKAuto
committed
Jan 27, 2021
1 parent
97e25b9
commit 1d7eabe
Showing
1 changed file
with
142 additions
and
0 deletions.
There are no files selected for viewing
142 changes: 142 additions & 0 deletions
142
schemas/2019-11-01-preview/Microsoft.KubernetesConfiguration.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} |