From 6518af88c4d3c3b00d622b1c28ce5b3b76c0968e Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Tue, 1 Sep 2020 07:37:13 +0000 Subject: [PATCH] Generated from 0295e55646bd24ed00074ddefd30f50ea82baf1c Regenerating all readme.azureresourceschema.md --- .../Microsoft.Kubernetes.json | 168 ++++++++++++++++++ schemas/common/autogeneratedResources.json | 3 + 2 files changed, 171 insertions(+) create mode 100644 schemas/2020-01-01-preview/Microsoft.Kubernetes.json diff --git a/schemas/2020-01-01-preview/Microsoft.Kubernetes.json b/schemas/2020-01-01-preview/Microsoft.Kubernetes.json new file mode 100644 index 0000000000..786b97d2c5 --- /dev/null +++ b/schemas/2020-01-01-preview/Microsoft.Kubernetes.json @@ -0,0 +1,168 @@ +{ + "id": "https://schema.management.azure.com/schemas/2020-01-01-preview/Microsoft.Kubernetes.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Kubernetes", + "description": "Microsoft Kubernetes Resource Types", + "resourceDefinitions": { + "connectedClusters": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2020-01-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectedClusterIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the connected cluster." + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The name of the Kubernetes cluster on which get is called." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectedClusterProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Kubernetes/connectedClusters" + ] + } + }, + "required": [ + "apiVersion", + "identity", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Kubernetes/connectedClusters" + } + }, + "definitions": { + "ConnectedClusterAADProfile": { + "type": "object", + "properties": { + "clientAppId": { + "type": "string", + "description": "The client app id configured on target K8 cluster " + }, + "serverAppId": { + "type": "string", + "description": "The server app id to access AD server" + }, + "tenantId": { + "type": "string", + "description": "The aad tenant id which is configured on target K8s cluster" + } + }, + "required": [ + "clientAppId", + "serverAppId", + "tenantId" + ] + }, + "ConnectedClusterIdentity": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "SystemAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of identity used for the connected cluster. The type 'SystemAssigned, includes a system created identity. The type 'None' means no identity is assigned to the connected cluster." + } + }, + "required": [ + "type" + ], + "description": "Identity for the connected cluster." + }, + "ConnectedClusterProperties": { + "type": "object", + "properties": { + "aadProfile": { + "oneOf": [ + { + "$ref": "#/definitions/ConnectedClusterAADProfile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "agentPublicKeyCertificate": { + "type": "string", + "description": "Base64 encoded public certificate used by the agent to do the initial handshake to the backend services in Azure." + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "Provisioning", + "Updating", + "Deleting", + "Accepted" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "aadProfile", + "agentPublicKeyCertificate" + ] + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index b24fabf5fe..dcf92eebac 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -3241,6 +3241,9 @@ { "$ref": "https://schema.management.azure.com/schemas/2017-10-01-preview/Microsoft.IoTSpaces.json#/resourceDefinitions/Graph" }, + { + "$ref": "https://schema.management.azure.com/schemas/2020-01-01-preview/Microsoft.Kubernetes.json#/resourceDefinitions/connectedClusters" + }, { "$ref": "https://schema.management.azure.com/schemas/2018-10-15/Microsoft.LabServices.json#/resourceDefinitions/labaccounts" },