Skip to content

Commit 364a70e

Browse files
jonathan-innisLeiwang3SQL
authored andcommitted
[KubernetesConfiguration] Release 2021-11-01-preview with FluxConfigurations (Azure#15999)
* Adds base for updating Microsoft.KubernetesConfiguration from version stable/2021-03-01 to version 2021-10-01-preview * Updates readme * Updates API version in new specs and examples * Reference common definitions * Add fluxConfiguration to initial commit * Update readmes to new version * Add 409 conflict to scc * Update example api-versions * Add path example * Run prettier * Update dependsOn object body * Update readmes with 2021-09-01 * Change to lastSourceSyncedCommitID * Change to 2021-11-01-previe
1 parent d1b5317 commit 364a70e

35 files changed

+4895
-35
lines changed

custom-words.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1034,6 +1034,9 @@ kubelet
10341034
Kubelet
10351035
kubenet
10361036
kubernetes
1037+
Kustomization
1038+
kustomizations
1039+
Kustomizations
10371040
kusto
10381041
kustooperations
10391042
kvset
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,165 @@
1+
{
2+
"swagger": "2.0",
3+
"info": {
4+
"version": "2021-11-01-preview",
5+
"title": "Common types and definitions",
6+
"description": "Definitions and parameters common for all resource types of KubernetesConfiguration RP"
7+
},
8+
"security": [
9+
{
10+
"azure_auth": [
11+
"user_impersonation"
12+
]
13+
}
14+
],
15+
"securityDefinitions": {
16+
"azure_auth": {
17+
"type": "oauth2",
18+
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
19+
"flow": "implicit",
20+
"description": "Azure Active Directory OAuth2 Flow",
21+
"scopes": {
22+
"user_impersonation": "impersonate your user account"
23+
}
24+
}
25+
},
26+
"paths": {},
27+
"definitions": {
28+
"ProvisioningStateDefinition": {
29+
"type": "string",
30+
"readOnly": true,
31+
"description": "The provisioning state of the resource.",
32+
"enum": [
33+
"Succeeded",
34+
"Failed",
35+
"Canceled",
36+
"Creating",
37+
"Updating",
38+
"Deleting"
39+
],
40+
"x-ms-enum": {
41+
"name": "ProvisioningState",
42+
"modelAsString": true
43+
}
44+
},
45+
"OperationStatusResult": {
46+
"description": "The current status of an async operation.",
47+
"type": "object",
48+
"required": [
49+
"status"
50+
],
51+
"properties": {
52+
"id": {
53+
"description": "Fully qualified ID for the async operation.",
54+
"type": "string"
55+
},
56+
"name": {
57+
"description": "Name of the async operation.",
58+
"type": "string"
59+
},
60+
"status": {
61+
"description": "Operation status.",
62+
"type": "string"
63+
},
64+
"properties": {
65+
"description": "Additional information, if available.",
66+
"type": "object",
67+
"x-nullable": true,
68+
"additionalProperties": {
69+
"type": "string"
70+
}
71+
},
72+
"error": {
73+
"description": "If present, details of the operation error.",
74+
"type": "object",
75+
"readOnly": true,
76+
"x-nullable": true,
77+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorDetail"
78+
}
79+
}
80+
},
81+
"OperationStatusList": {
82+
"description": "The async operations in progress, in the cluster.",
83+
"type": "object",
84+
"readOnly": true,
85+
"properties": {
86+
"value": {
87+
"type": "array",
88+
"readOnly": true,
89+
"items": {
90+
"$ref": "#/definitions/OperationStatusResult"
91+
},
92+
"description": "List of async operations in progress, in the cluster."
93+
},
94+
"nextLink": {
95+
"type": "string",
96+
"readOnly": true,
97+
"description": "URL to get the next set of Operation Result objects, if any."
98+
}
99+
}
100+
},
101+
"ResourceProviderOperation": {
102+
"description": "Supported operation of this resource provider.",
103+
"type": "object",
104+
"readOnly": true,
105+
"properties": {
106+
"name": {
107+
"description": "Operation name, in format of {provider}/{resource}/{operation}",
108+
"type": "string"
109+
},
110+
"display": {
111+
"description": "Display metadata associated with the operation.",
112+
"type": "object",
113+
"properties": {
114+
"provider": {
115+
"description": "Resource provider: Microsoft KubernetesConfiguration.",
116+
"type": "string"
117+
},
118+
"resource": {
119+
"description": "Resource on which the operation is performed.",
120+
"type": "string"
121+
},
122+
"operation": {
123+
"description": "Type of operation: get, read, delete, etc.",
124+
"type": "string"
125+
},
126+
"description": {
127+
"description": "Description of this operation.",
128+
"type": "string"
129+
}
130+
}
131+
},
132+
"isDataAction": {
133+
"description": "The flag that indicates whether the operation applies to data plane.",
134+
"type": "boolean",
135+
"readOnly": true
136+
},
137+
"origin": {
138+
"description": "Origin of the operation",
139+
"type": "string",
140+
"readOnly": true
141+
}
142+
}
143+
},
144+
"ResourceProviderOperationList": {
145+
"description": "Result of the request to list operations.",
146+
"type": "object",
147+
"readOnly": true,
148+
"properties": {
149+
"value": {
150+
"type": "array",
151+
"items": {
152+
"$ref": "#/definitions/ResourceProviderOperation"
153+
},
154+
"description": "List of operations supported by this resource provider."
155+
},
156+
"nextLink": {
157+
"type": "string",
158+
"readOnly": true,
159+
"description": "URL to the next set of results, if any."
160+
}
161+
}
162+
}
163+
},
164+
"parameters": {}
165+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{
2+
"swagger": "2.0",
3+
"info": {
4+
"version": "2021-11-01-preview",
5+
"title": "Common types and definitions",
6+
"description": "Definitions and parameters common for all resource types of KubernetesConfiguration RP"
7+
},
8+
"security": [
9+
{
10+
"azure_auth": [
11+
"user_impersonation"
12+
]
13+
}
14+
],
15+
"securityDefinitions": {
16+
"azure_auth": {
17+
"type": "oauth2",
18+
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
19+
"flow": "implicit",
20+
"description": "Azure Active Directory OAuth2 Flow",
21+
"scopes": {
22+
"user_impersonation": "impersonate your user account"
23+
}
24+
}
25+
},
26+
"paths": {},
27+
"definitions": {},
28+
"parameters": {
29+
"ClusterRpParameter": {
30+
"name": "clusterRp",
31+
"in": "path",
32+
"required": true,
33+
"type": "string",
34+
"enum": [
35+
"Microsoft.ContainerService",
36+
"Microsoft.Kubernetes"
37+
],
38+
"description": "The Kubernetes cluster RP - either Microsoft.ContainerService (for AKS clusters) or Microsoft.Kubernetes (for OnPrem K8S clusters).",
39+
"x-ms-parameter-location": "method"
40+
},
41+
"ClusterResourceNameParameter": {
42+
"name": "clusterResourceName",
43+
"in": "path",
44+
"required": true,
45+
"type": "string",
46+
"enum": [
47+
"managedClusters",
48+
"connectedClusters"
49+
],
50+
"description": "The Kubernetes cluster resource name - either managedClusters (for AKS clusters) or connectedClusters (for OnPrem K8S clusters).",
51+
"x-ms-parameter-location": "method"
52+
},
53+
"ClusterNameParameter": {
54+
"name": "clusterName",
55+
"in": "path",
56+
"required": true,
57+
"type": "string",
58+
"description": "The name of the kubernetes cluster.",
59+
"x-ms-parameter-location": "method"
60+
}
61+
}
62+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "aaaaaaaaaa",
4+
"resourceGroupName": "rgextensionTypes",
5+
"clusterRp": "Microsoft.ContainerService",
6+
"clusterResourceName": "managedClusters",
7+
"clusterName": "aaaaaaaaaaaaaaaaaaaaa",
8+
"api-version": "2021-11-01-preview",
9+
"extensionTypeName": "aaaaaa"
10+
},
11+
"responses": {
12+
"200": {
13+
"body": {
14+
"properties": {
15+
"releaseTrains": [
16+
"aaaaaaaaaaaaaaaaaaaaaa"
17+
],
18+
"clusterTypes": "connectedClusters",
19+
"supportedScopes": {
20+
"defaultScope": "aaaaaaaaaaa",
21+
"clusterScopeSettings": {
22+
"properties": {
23+
"allowMultipleInstances": true,
24+
"defaultReleaseNamespace": "aaaaaaaaaaaaaaaaaaaaaaa"
25+
},
26+
"id": "aaaaaaaaaaaaaaaa",
27+
"name": "aaaaaaaaaa",
28+
"type": "aaaaaaaaaaaaaaaaaaa"
29+
}
30+
}
31+
},
32+
"systemData": {
33+
"createdBy": "aaaaaaaa",
34+
"createdByType": "User",
35+
"createdAt": "2021-04-14T22:44:27.144Z",
36+
"lastModifiedBy": "aaaaaaaaa",
37+
"lastModifiedByType": "User",
38+
"lastModifiedAt": "2021-04-14T22:44:27.144Z"
39+
}
40+
}
41+
}
42+
}
43+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "aaaaaaaaaa",
4+
"resourceGroupName": "rgextensionTypes",
5+
"clusterRp": "Microsoft.ContainerService",
6+
"clusterResourceName": "managedClusters",
7+
"clusterName": "aaaaaaaaaaaaaaaaaaaaa",
8+
"api-version": "2021-11-01-preview"
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"value": [
14+
{
15+
"properties": {
16+
"releaseTrains": [
17+
"aaaaaaaaaaaaaaaaaaaaaa"
18+
],
19+
"clusterTypes": "connectedClusters",
20+
"supportedScopes": {
21+
"defaultScope": "aaaaaaaaaaa",
22+
"clusterScopeSettings": {
23+
"properties": {
24+
"allowMultipleInstances": true,
25+
"defaultReleaseNamespace": "aaaaaaaaaaaaaaaaaaaaaaa"
26+
},
27+
"id": "aaaaaaaaaaaaaaaa",
28+
"name": "aaaaaaaaaa",
29+
"type": "aaaaaaaaaaaaaaaaaaa"
30+
}
31+
}
32+
},
33+
"systemData": {
34+
"createdBy": "aaaaaaaa",
35+
"createdByType": "User",
36+
"createdAt": "2021-04-14T22:44:27.144Z",
37+
"lastModifiedBy": "aaaaaaaaa",
38+
"lastModifiedByType": "User",
39+
"lastModifiedAt": "2021-04-14T22:44:27.144Z"
40+
}
41+
}
42+
],
43+
"nextLink": "aaaaaaaaaaaaaaaaaaaaa"
44+
}
45+
}
46+
}
47+
}

0 commit comments

Comments
 (0)