Skip to content

Commit a66242d

Browse files
committed
Add Azure ASO CRDs
1 parent a9478f6 commit a66242d

File tree

412 files changed

+266628
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

412 files changed

+266628
-0
lines changed

alertsmanagement.azure.com/prometheusrulegroup_v1api20230301.json

Lines changed: 490 additions & 0 deletions
Large diffs are not rendered by default.

alertsmanagement.azure.com/smartdetectoralertrule_v1api20210401.json

Lines changed: 466 additions & 0 deletions
Large diffs are not rendered by default.

apimanagement.azure.com/api_v1api20220801.json

Lines changed: 781 additions & 0 deletions
Large diffs are not rendered by default.

apimanagement.azure.com/api_v1api20230501preview.json

Lines changed: 793 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 227 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,227 @@
1+
{
2+
"description": "Generator information:\n- Generated from: /apimanagement/resource-manager/Microsoft.ApiManagement/stable/2022-08-01/apimapiversionsets.json\n- ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apiVersionSets/{versionSetId}",
3+
"properties": {
4+
"apiVersion": {
5+
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
6+
"type": "string"
7+
},
8+
"kind": {
9+
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
10+
"type": "string"
11+
},
12+
"metadata": {
13+
"type": "object"
14+
},
15+
"spec": {
16+
"properties": {
17+
"azureName": {
18+
"description": "AzureName: The name of the resource in Azure. This is often the same as the name of the resource in Kubernetes but it\ndoesn't have to be.",
19+
"maxLength": 80,
20+
"minLength": 1,
21+
"pattern": "^[^*#&+:<>?]+$",
22+
"type": "string"
23+
},
24+
"description": {
25+
"description": "Description: Description of API Version Set.",
26+
"type": "string"
27+
},
28+
"displayName": {
29+
"description": "DisplayName: Name of API Version Set",
30+
"maxLength": 100,
31+
"minLength": 1,
32+
"type": "string"
33+
},
34+
"operatorSpec": {
35+
"description": "OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not\npassed directly to Azure",
36+
"properties": {
37+
"configMapExpressions": {
38+
"description": "ConfigMapExpressions: configures where to place operator written dynamic ConfigMaps (created with CEL expressions).",
39+
"items": {
40+
"description": "DestinationExpression is a CEL expression and a destination to store the result in. The destination may\nbe a secret or a configmap. The value of the expression is stored at the specified location in\nthe destination.",
41+
"properties": {
42+
"key": {
43+
"description": "Key is the key in the ConfigMap or Secret being written to. If the CEL expression in Value returns a string\nthis is required to identify what key to write to. If the CEL expression in Value returns a map[string]string\nKey must not be set, instead the keys written will be determined dynamically based on the keys of the resulting\nmap[string]string.",
44+
"type": "string"
45+
},
46+
"name": {
47+
"description": "Name is the name of the Kubernetes configmap or secret to write to.\nThe configmap or secret will be created in the same namespace as the resource.",
48+
"type": "string"
49+
},
50+
"value": {
51+
"description": "Value is a CEL expression. The CEL expression may return a string or a map[string]string. For more information\non CEL in ASO see https://azure.github.io/azure-service-operator/guide/expressions/",
52+
"type": "string"
53+
}
54+
},
55+
"required": [
56+
"name",
57+
"value"
58+
],
59+
"type": "object",
60+
"additionalProperties": false
61+
},
62+
"type": "array"
63+
},
64+
"secretExpressions": {
65+
"description": "SecretExpressions: configures where to place operator written dynamic secrets (created with CEL expressions).",
66+
"items": {
67+
"description": "DestinationExpression is a CEL expression and a destination to store the result in. The destination may\nbe a secret or a configmap. The value of the expression is stored at the specified location in\nthe destination.",
68+
"properties": {
69+
"key": {
70+
"description": "Key is the key in the ConfigMap or Secret being written to. If the CEL expression in Value returns a string\nthis is required to identify what key to write to. If the CEL expression in Value returns a map[string]string\nKey must not be set, instead the keys written will be determined dynamically based on the keys of the resulting\nmap[string]string.",
71+
"type": "string"
72+
},
73+
"name": {
74+
"description": "Name is the name of the Kubernetes configmap or secret to write to.\nThe configmap or secret will be created in the same namespace as the resource.",
75+
"type": "string"
76+
},
77+
"value": {
78+
"description": "Value is a CEL expression. The CEL expression may return a string or a map[string]string. For more information\non CEL in ASO see https://azure.github.io/azure-service-operator/guide/expressions/",
79+
"type": "string"
80+
}
81+
},
82+
"required": [
83+
"name",
84+
"value"
85+
],
86+
"type": "object",
87+
"additionalProperties": false
88+
},
89+
"type": "array"
90+
}
91+
},
92+
"type": "object",
93+
"additionalProperties": false
94+
},
95+
"owner": {
96+
"description": "Owner: The owner of the resource. The owner controls where the resource goes when it is deployed. The owner also\ncontrols the resources lifecycle. When the owner is deleted the resource will also be deleted. Owner is expected to be a\nreference to a apimanagement.azure.com/Service resource",
97+
"properties": {
98+
"armId": {
99+
"pattern": "(?i)(^(/subscriptions/([^/]+)(/resourcegroups/([^/]+))?)?/providers/([^/]+)/([^/]+/[^/]+)(/([^/]+/[^/]+))*$|^/subscriptions/([^/]+)(/resourcegroups/([^/]+))?$)",
100+
"type": "string"
101+
},
102+
"name": {
103+
"description": "This is the name of the Kubernetes resource to reference.",
104+
"type": "string"
105+
}
106+
},
107+
"type": "object",
108+
"additionalProperties": false
109+
},
110+
"versionHeaderName": {
111+
"description": "VersionHeaderName: Name of HTTP header parameter that indicates the API Version if versioningScheme is set to `header`.",
112+
"maxLength": 100,
113+
"minLength": 1,
114+
"type": "string"
115+
},
116+
"versionQueryName": {
117+
"description": "VersionQueryName: Name of query parameter that indicates the API Version if versioningScheme is set to `query`.",
118+
"maxLength": 100,
119+
"minLength": 1,
120+
"type": "string"
121+
},
122+
"versioningScheme": {
123+
"description": "VersioningScheme: An value that determines where the API Version identifier will be located in a HTTP request.",
124+
"enum": [
125+
"Header",
126+
"Query",
127+
"Segment"
128+
],
129+
"type": "string"
130+
}
131+
},
132+
"required": [
133+
"displayName",
134+
"owner",
135+
"versioningScheme"
136+
],
137+
"type": "object",
138+
"additionalProperties": false
139+
},
140+
"status": {
141+
"properties": {
142+
"conditions": {
143+
"description": "Conditions: The observed state of the resource",
144+
"items": {
145+
"description": "Condition defines an extension to status (an observation) of a resource",
146+
"properties": {
147+
"lastTransitionTime": {
148+
"description": "LastTransitionTime is the last time the condition transitioned from one status to another.",
149+
"format": "date-time",
150+
"type": "string"
151+
},
152+
"message": {
153+
"description": "Message is a human readable message indicating details about the transition. This field may be empty.",
154+
"type": "string"
155+
},
156+
"observedGeneration": {
157+
"description": "ObservedGeneration is the .metadata.generation that the condition was set based upon. For instance, if\n.metadata.generation is currently 12, but the .status.condition[x].observedGeneration is 9, the condition is out of date\nwith respect to the current state of the instance.",
158+
"format": "int64",
159+
"type": "integer"
160+
},
161+
"reason": {
162+
"description": "Reason for the condition's last transition.\nReasons are upper CamelCase (PascalCase) with no spaces. A reason is always provided, this field will not be empty.",
163+
"type": "string"
164+
},
165+
"severity": {
166+
"description": "Severity with which to treat failures of this type of condition.\nFor conditions which have positive polarity (Status == True is their normal/healthy state), this will be omitted when Status == True\nFor conditions which have negative polarity (Status == False is their normal/healthy state), this will be omitted when Status == False.\nThis is omitted in all cases when Status == Unknown",
167+
"type": "string"
168+
},
169+
"status": {
170+
"description": "Status of the condition, one of True, False, or Unknown.",
171+
"type": "string"
172+
},
173+
"type": {
174+
"description": "Type of condition.",
175+
"type": "string"
176+
}
177+
},
178+
"required": [
179+
"lastTransitionTime",
180+
"reason",
181+
"status",
182+
"type"
183+
],
184+
"type": "object",
185+
"additionalProperties": false
186+
},
187+
"type": "array"
188+
},
189+
"description": {
190+
"description": "Description: Description of API Version Set.",
191+
"type": "string"
192+
},
193+
"displayName": {
194+
"description": "DisplayName: Name of API Version Set",
195+
"type": "string"
196+
},
197+
"id": {
198+
"description": "Id: Fully qualified resource ID for the resource. Ex -\n/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}",
199+
"type": "string"
200+
},
201+
"name": {
202+
"description": "Name: The name of the resource",
203+
"type": "string"
204+
},
205+
"type": {
206+
"description": "Type: The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"",
207+
"type": "string"
208+
},
209+
"versionHeaderName": {
210+
"description": "VersionHeaderName: Name of HTTP header parameter that indicates the API Version if versioningScheme is set to `header`.",
211+
"type": "string"
212+
},
213+
"versionQueryName": {
214+
"description": "VersionQueryName: Name of query parameter that indicates the API Version if versioningScheme is set to `query`.",
215+
"type": "string"
216+
},
217+
"versioningScheme": {
218+
"description": "VersioningScheme: An value that determines where the API Version identifier will be located in a HTTP request.",
219+
"type": "string"
220+
}
221+
},
222+
"type": "object",
223+
"additionalProperties": false
224+
}
225+
},
226+
"type": "object"
227+
}

0 commit comments

Comments
 (0)