Skip to content

Commit e228443

Browse files
author
SDKAuto
committed
CodeGen from PR 11639 in Azure/azure-rest-api-specs
Merge b4b64803111a6a3c3e13503104b6c7b35b6f9ec7 into 5ef5a597b3f2342bfd254ed79b97b2fe160e50a1
1 parent a0248fb commit e228443

File tree

5 files changed

+1168
-1
lines changed

5 files changed

+1168
-1
lines changed

schemas/2019-09-16-preview/Microsoft.WindowsESU.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,4 +131,4 @@
131131
"description": "MAK key specific properties."
132132
}
133133
}
134-
}
134+
}
Lines changed: 173 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,173 @@
1+
{
2+
"id": "https://schema.management.azure.com/schemas/2020-01-01-preview/Microsoft.Kubernetes.json#",
3+
"$schema": "http://json-schema.org/draft-04/schema#",
4+
"title": "Microsoft.Kubernetes",
5+
"description": "Microsoft Kubernetes Resource Types",
6+
"resourceDefinitions": {
7+
"connectedClusters": {
8+
"type": "object",
9+
"properties": {
10+
"apiVersion": {
11+
"type": "string",
12+
"enum": [
13+
"2020-01-01-preview"
14+
]
15+
},
16+
"identity": {
17+
"oneOf": [
18+
{
19+
"$ref": "#/definitions/ConnectedClusterIdentity"
20+
},
21+
{
22+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
23+
}
24+
],
25+
"description": "Identity for the connected cluster."
26+
},
27+
"location": {
28+
"type": "string",
29+
"description": "The geo-location where the resource lives"
30+
},
31+
"name": {
32+
"type": "string",
33+
"description": "The name of the Kubernetes cluster on which get is called."
34+
},
35+
"properties": {
36+
"oneOf": [
37+
{
38+
"$ref": "#/definitions/ConnectedClusterProperties"
39+
},
40+
{
41+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
42+
}
43+
],
44+
"description": "Properties of the connected cluster."
45+
},
46+
"tags": {
47+
"oneOf": [
48+
{
49+
"type": "object",
50+
"additionalProperties": {
51+
"type": "string"
52+
},
53+
"properties": {}
54+
},
55+
{
56+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
57+
}
58+
],
59+
"description": "Resource tags."
60+
},
61+
"type": {
62+
"type": "string",
63+
"enum": [
64+
"Microsoft.Kubernetes/connectedClusters"
65+
]
66+
}
67+
},
68+
"required": [
69+
"apiVersion",
70+
"identity",
71+
"location",
72+
"name",
73+
"properties",
74+
"type"
75+
],
76+
"description": "Microsoft.Kubernetes/connectedClusters"
77+
}
78+
},
79+
"definitions": {
80+
"ConnectedClusterAADProfile": {
81+
"type": "object",
82+
"properties": {
83+
"clientAppId": {
84+
"type": "string",
85+
"description": "The client app id configured on target K8 cluster "
86+
},
87+
"serverAppId": {
88+
"type": "string",
89+
"description": "The server app id to access AD server"
90+
},
91+
"tenantId": {
92+
"type": "string",
93+
"description": "The aad tenant id which is configured on target K8s cluster"
94+
}
95+
},
96+
"required": [
97+
"clientAppId",
98+
"serverAppId",
99+
"tenantId"
100+
],
101+
"description": "AAD profile of the connected cluster"
102+
},
103+
"ConnectedClusterIdentity": {
104+
"type": "object",
105+
"properties": {
106+
"type": {
107+
"oneOf": [
108+
{
109+
"type": "string",
110+
"enum": [
111+
"None",
112+
"SystemAssigned"
113+
]
114+
},
115+
{
116+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
117+
}
118+
],
119+
"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."
120+
}
121+
},
122+
"required": [
123+
"type"
124+
],
125+
"description": "Identity for the connected cluster."
126+
},
127+
"ConnectedClusterProperties": {
128+
"type": "object",
129+
"properties": {
130+
"aadProfile": {
131+
"oneOf": [
132+
{
133+
"$ref": "#/definitions/ConnectedClusterAADProfile"
134+
},
135+
{
136+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
137+
}
138+
],
139+
"description": "AAD profile of the connected cluster"
140+
},
141+
"agentPublicKeyCertificate": {
142+
"type": "string",
143+
"description": "Base64 encoded public certificate used by the agent to do the initial handshake to the backend services in Azure."
144+
},
145+
"provisioningState": {
146+
"oneOf": [
147+
{
148+
"type": "string",
149+
"enum": [
150+
"Succeeded",
151+
"Failed",
152+
"Canceled",
153+
"Provisioning",
154+
"Updating",
155+
"Deleting",
156+
"Accepted"
157+
]
158+
},
159+
{
160+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
161+
}
162+
],
163+
"description": "Provisioning state of the connected cluster resource."
164+
}
165+
},
166+
"required": [
167+
"aadProfile",
168+
"agentPublicKeyCertificate"
169+
],
170+
"description": "Properties of the connected cluster."
171+
}
172+
}
173+
}

0 commit comments

Comments
 (0)