Skip to content

Commit

Permalink
CodeGen from PR 15956 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
New GA version changes - 2021-10-01 (#15956)

* New GA api-version changes- 2021-01-01

* readme changes

* readme changes

* add systemdata definition

* system data ref fix

* system data ref fix

* fix

* fix

* fix

* remove empty patch section

* revert patch section

* lint fix

* lint fix

* lintfix

* readme changes

* Update readme.md

* remove property bag from cc update example

* Fixing listClusterUserCreds examples

* hide creds

* example file naming changes and clientProxy flag correction

Co-authored-by: Siri Teja Reddy Kasireddy <sikasire@microsoft.com>
Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>
  • Loading branch information
3 people committed Sep 11, 2021
1 parent 233b441 commit a1bd157
Show file tree
Hide file tree
Showing 2 changed files with 149 additions and 0 deletions.
146 changes: 146 additions & 0 deletions schemas/2021-10-01/Microsoft.Kubernetes.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
{
"id": "https://schema.management.azure.com/schemas/2021-10-01/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": [
"2021-10-01"
]
},
"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"
}
],
"description": "Properties of the connected cluster."
},
"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": {
"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": {
"agentPublicKeyCertificate": {
"type": "string",
"description": "Base64 encoded public certificate used by the agent to do the initial handshake to the backend services in Azure."
},
"distribution": {
"type": "string",
"description": "The Kubernetes distribution running on this connected cluster."
},
"infrastructure": {
"type": "string",
"description": "The infrastructure on which the Kubernetes cluster represented by this connected cluster is running on."
},
"provisioningState": {
"oneOf": [
{
"type": "string",
"enum": [
"Succeeded",
"Failed",
"Canceled",
"Provisioning",
"Updating",
"Deleting",
"Accepted"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Provisioning state of the connected cluster resource."
}
},
"required": [
"agentPublicKeyCertificate"
],
"description": "Properties of the connected cluster."
}
}
}
3 changes: 3 additions & 0 deletions schemas/common/autogeneratedResources.json
Original file line number Diff line number Diff line change
Expand Up @@ -6715,6 +6715,9 @@
{
"$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.Kubernetes.json#/resourceDefinitions/connectedClusters"
},
{
"$ref": "https://schema.management.azure.com/schemas/2021-10-01/Microsoft.Kubernetes.json#/resourceDefinitions/connectedClusters"
},
{
"$ref": "https://schema.management.azure.com/schemas/2018-10-15/Microsoft.LabServices.json#/resourceDefinitions/labaccounts"
},
Expand Down

0 comments on commit a1bd157

Please sign in to comment.