Skip to content

Commit a6e7f49

Browse files
author
msftbot[bot]
authored
[ReleasePR streamanalytics] [Stream Analytics] Copy cluster swaggers to 2020 GA version (#2056)
Create to sync Azure/azure-rest-api-specs#16721 [ReCreate this PR](https://github.com/azure-resource-manager-schemas/compare/main...AzureSDKAutomation:sdkAuto/streamanalytics?expand=1)
2 parents 8ba9700 + 332c24d commit a6e7f49

File tree

2 files changed

+295
-0
lines changed

2 files changed

+295
-0
lines changed

schemas/2020-03-01/Microsoft.StreamAnalytics.json

Lines changed: 289 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,124 @@
44
"title": "Microsoft.StreamAnalytics",
55
"description": "Microsoft StreamAnalytics Resource Types",
66
"resourceDefinitions": {
7+
"clusters": {
8+
"type": "object",
9+
"properties": {
10+
"apiVersion": {
11+
"type": "string",
12+
"enum": [
13+
"2020-03-01"
14+
]
15+
},
16+
"location": {
17+
"type": "string",
18+
"description": "The geo-location where the resource lives"
19+
},
20+
"name": {
21+
"type": "string",
22+
"description": "The name of the cluster."
23+
},
24+
"properties": {
25+
"oneOf": [
26+
{
27+
"$ref": "#/definitions/ClusterProperties"
28+
},
29+
{
30+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
31+
}
32+
],
33+
"description": "The properties associated with a Stream Analytics cluster."
34+
},
35+
"resources": {
36+
"type": "array",
37+
"items": {
38+
"oneOf": [
39+
{
40+
"$ref": "#/definitions/clusters_privateEndpoints_childResource"
41+
}
42+
]
43+
}
44+
},
45+
"sku": {
46+
"oneOf": [
47+
{
48+
"$ref": "#/definitions/ClusterSku"
49+
},
50+
{
51+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
52+
}
53+
],
54+
"description": "The SKU of the cluster. This determines the size/capacity of the cluster. Required on PUT (CreateOrUpdate) requests."
55+
},
56+
"tags": {
57+
"oneOf": [
58+
{
59+
"type": "object",
60+
"additionalProperties": {
61+
"type": "string"
62+
},
63+
"properties": {}
64+
},
65+
{
66+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
67+
}
68+
],
69+
"description": "Resource tags."
70+
},
71+
"type": {
72+
"type": "string",
73+
"enum": [
74+
"Microsoft.StreamAnalytics/clusters"
75+
]
76+
}
77+
},
78+
"required": [
79+
"apiVersion",
80+
"name",
81+
"properties",
82+
"type"
83+
],
84+
"description": "Microsoft.StreamAnalytics/clusters"
85+
},
86+
"clusters_privateEndpoints": {
87+
"type": "object",
88+
"properties": {
89+
"apiVersion": {
90+
"type": "string",
91+
"enum": [
92+
"2020-03-01"
93+
]
94+
},
95+
"name": {
96+
"type": "string",
97+
"description": "The name of the private endpoint."
98+
},
99+
"properties": {
100+
"oneOf": [
101+
{
102+
"$ref": "#/definitions/PrivateEndpointProperties"
103+
},
104+
{
105+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
106+
}
107+
],
108+
"description": "The properties associated with a private endpoint."
109+
},
110+
"type": {
111+
"type": "string",
112+
"enum": [
113+
"Microsoft.StreamAnalytics/clusters/privateEndpoints"
114+
]
115+
}
116+
},
117+
"required": [
118+
"apiVersion",
119+
"name",
120+
"properties",
121+
"type"
122+
],
123+
"description": "Microsoft.StreamAnalytics/clusters/privateEndpoints"
124+
},
7125
"streamingjobs": {
8126
"type": "object",
9127
"properties": {
@@ -1011,6 +1129,100 @@
10111129
},
10121130
"description": "The properties associated with a Stream Analytics cluster."
10131131
},
1132+
"ClusterProperties": {
1133+
"type": "object",
1134+
"properties": {
1135+
"provisioningState": {
1136+
"oneOf": [
1137+
{
1138+
"type": "string",
1139+
"enum": [
1140+
"Succeeded",
1141+
"Failed",
1142+
"Canceled",
1143+
"InProgress"
1144+
]
1145+
},
1146+
{
1147+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1148+
}
1149+
]
1150+
}
1151+
},
1152+
"description": "The properties associated with a Stream Analytics cluster."
1153+
},
1154+
"ClusterSku": {
1155+
"type": "object",
1156+
"properties": {
1157+
"capacity": {
1158+
"oneOf": [
1159+
{
1160+
"type": "integer",
1161+
"minimum": 36,
1162+
"maximum": 216
1163+
},
1164+
{
1165+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1166+
}
1167+
],
1168+
"description": "Denotes the number of streaming units the cluster can support. Valid values for this property are multiples of 36 with a minimum value of 36 and maximum value of 216. Required on PUT (CreateOrUpdate) requests."
1169+
},
1170+
"name": {
1171+
"oneOf": [
1172+
{
1173+
"type": "string",
1174+
"enum": [
1175+
"Default"
1176+
]
1177+
},
1178+
{
1179+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1180+
}
1181+
],
1182+
"description": "Specifies the SKU name of the cluster. Required on PUT (CreateOrUpdate) requests."
1183+
}
1184+
},
1185+
"description": "The SKU of the cluster. This determines the size/capacity of the cluster. Required on PUT (CreateOrUpdate) requests."
1186+
},
1187+
"clusters_privateEndpoints_childResource": {
1188+
"type": "object",
1189+
"properties": {
1190+
"apiVersion": {
1191+
"type": "string",
1192+
"enum": [
1193+
"2020-03-01"
1194+
]
1195+
},
1196+
"name": {
1197+
"type": "string",
1198+
"description": "The name of the private endpoint."
1199+
},
1200+
"properties": {
1201+
"oneOf": [
1202+
{
1203+
"$ref": "#/definitions/PrivateEndpointProperties"
1204+
},
1205+
{
1206+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1207+
}
1208+
],
1209+
"description": "The properties associated with a private endpoint."
1210+
},
1211+
"type": {
1212+
"type": "string",
1213+
"enum": [
1214+
"privateEndpoints"
1215+
]
1216+
}
1217+
},
1218+
"required": [
1219+
"apiVersion",
1220+
"name",
1221+
"properties",
1222+
"type"
1223+
],
1224+
"description": "Microsoft.StreamAnalytics/clusters/privateEndpoints"
1225+
},
10141226
"Compression": {
10151227
"type": "object",
10161228
"properties": {
@@ -1877,6 +2089,83 @@
18772089
},
18782090
"description": "The properties that are associated with a Power BI output."
18792091
},
2092+
"PrivateEndpointProperties": {
2093+
"type": "object",
2094+
"properties": {
2095+
"manualPrivateLinkServiceConnections": {
2096+
"oneOf": [
2097+
{
2098+
"type": "array",
2099+
"items": {
2100+
"$ref": "#/definitions/PrivateLinkServiceConnection"
2101+
}
2102+
},
2103+
{
2104+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
2105+
}
2106+
],
2107+
"description": "A list of connections to the remote resource. Immutable after it is set."
2108+
}
2109+
},
2110+
"description": "The properties associated with a private endpoint."
2111+
},
2112+
"PrivateLinkConnectionState": {
2113+
"type": "object",
2114+
"properties": {},
2115+
"description": "A collection of read-only information about the state of the connection to the private remote resource."
2116+
},
2117+
"PrivateLinkServiceConnection": {
2118+
"type": "object",
2119+
"properties": {
2120+
"properties": {
2121+
"oneOf": [
2122+
{
2123+
"$ref": "#/definitions/PrivateLinkServiceConnectionProperties"
2124+
},
2125+
{
2126+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
2127+
}
2128+
],
2129+
"description": "Bag of properties defining a privatelinkServiceConnection."
2130+
}
2131+
},
2132+
"description": "A grouping of information about the connection to the remote resource."
2133+
},
2134+
"PrivateLinkServiceConnectionProperties": {
2135+
"type": "object",
2136+
"properties": {
2137+
"groupIds": {
2138+
"oneOf": [
2139+
{
2140+
"type": "array",
2141+
"items": {
2142+
"type": "string"
2143+
}
2144+
},
2145+
{
2146+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
2147+
}
2148+
],
2149+
"description": "The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. Required on PUT (CreateOrUpdate) requests."
2150+
},
2151+
"privateLinkServiceConnectionState": {
2152+
"oneOf": [
2153+
{
2154+
"$ref": "#/definitions/PrivateLinkConnectionState"
2155+
},
2156+
{
2157+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
2158+
}
2159+
],
2160+
"description": "A collection of read-only information about the state of the connection to the private remote resource."
2161+
},
2162+
"privateLinkServiceId": {
2163+
"type": "string",
2164+
"description": "The resource id of the private link service. Required on PUT (CreateOrUpdate) requests."
2165+
}
2166+
},
2167+
"description": "Bag of properties defining a privatelinkServiceConnection."
2168+
},
18802169
"ReferenceInputDataSource": {
18812170
"type": "object",
18822171
"oneOf": [

schemas/common/autogeneratedResources.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13348,6 +13348,12 @@
1334813348
{
1334913349
"$ref": "https://schema.management.azure.com/schemas/2017-04-01-preview/Microsoft.StreamAnalytics.json#/resourceDefinitions/streamingjobs_transformations"
1335013350
},
13351+
{
13352+
"$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.StreamAnalytics.json#/resourceDefinitions/clusters"
13353+
},
13354+
{
13355+
"$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.StreamAnalytics.json#/resourceDefinitions/clusters_privateEndpoints"
13356+
},
1335113357
{
1335213358
"$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.StreamAnalytics.json#/resourceDefinitions/streamingjobs"
1335313359
},

0 commit comments

Comments
 (0)