Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ReleasePR streamanalytics] [Stream Analytics] Copy cluster swaggers to 2020 GA version #2056

Merged
1 commit merged into from
Nov 18, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
289 changes: 289 additions & 0 deletions schemas/2020-03-01/Microsoft.StreamAnalytics.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,124 @@
"title": "Microsoft.StreamAnalytics",
"description": "Microsoft StreamAnalytics Resource Types",
"resourceDefinitions": {
"clusters": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2020-03-01"
]
},
"location": {
"type": "string",
"description": "The geo-location where the resource lives"
},
"name": {
"type": "string",
"description": "The name of the cluster."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/ClusterProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The properties associated with a Stream Analytics cluster."
},
"resources": {
"type": "array",
"items": {
"oneOf": [
{
"$ref": "#/definitions/clusters_privateEndpoints_childResource"
}
]
}
},
"sku": {
"oneOf": [
{
"$ref": "#/definitions/ClusterSku"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The SKU of the cluster. This determines the size/capacity of the cluster. Required on PUT (CreateOrUpdate) requests."
},
"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.StreamAnalytics/clusters"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.StreamAnalytics/clusters"
},
"clusters_privateEndpoints": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2020-03-01"
]
},
"name": {
"type": "string",
"description": "The name of the private endpoint."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/PrivateEndpointProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The properties associated with a private endpoint."
},
"type": {
"type": "string",
"enum": [
"Microsoft.StreamAnalytics/clusters/privateEndpoints"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.StreamAnalytics/clusters/privateEndpoints"
},
"streamingjobs": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -1011,6 +1129,100 @@
},
"description": "The properties associated with a Stream Analytics cluster."
},
"ClusterProperties": {
"type": "object",
"properties": {
"provisioningState": {
"oneOf": [
{
"type": "string",
"enum": [
"Succeeded",
"Failed",
"Canceled",
"InProgress"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"description": "The properties associated with a Stream Analytics cluster."
},
"ClusterSku": {
"type": "object",
"properties": {
"capacity": {
"oneOf": [
{
"type": "integer",
"minimum": 36,
"maximum": 216
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"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."
},
"name": {
"oneOf": [
{
"type": "string",
"enum": [
"Default"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Specifies the SKU name of the cluster. Required on PUT (CreateOrUpdate) requests."
}
},
"description": "The SKU of the cluster. This determines the size/capacity of the cluster. Required on PUT (CreateOrUpdate) requests."
},
"clusters_privateEndpoints_childResource": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2020-03-01"
]
},
"name": {
"type": "string",
"description": "The name of the private endpoint."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/PrivateEndpointProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The properties associated with a private endpoint."
},
"type": {
"type": "string",
"enum": [
"privateEndpoints"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.StreamAnalytics/clusters/privateEndpoints"
},
"Compression": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -1877,6 +2089,83 @@
},
"description": "The properties that are associated with a Power BI output."
},
"PrivateEndpointProperties": {
"type": "object",
"properties": {
"manualPrivateLinkServiceConnections": {
"oneOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/PrivateLinkServiceConnection"
}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "A list of connections to the remote resource. Immutable after it is set."
}
},
"description": "The properties associated with a private endpoint."
},
"PrivateLinkConnectionState": {
"type": "object",
"properties": {},
"description": "A collection of read-only information about the state of the connection to the private remote resource."
},
"PrivateLinkServiceConnection": {
"type": "object",
"properties": {
"properties": {
"oneOf": [
{
"$ref": "#/definitions/PrivateLinkServiceConnectionProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Bag of properties defining a privatelinkServiceConnection."
}
},
"description": "A grouping of information about the connection to the remote resource."
},
"PrivateLinkServiceConnectionProperties": {
"type": "object",
"properties": {
"groupIds": {
"oneOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"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."
},
"privateLinkServiceConnectionState": {
"oneOf": [
{
"$ref": "#/definitions/PrivateLinkConnectionState"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "A collection of read-only information about the state of the connection to the private remote resource."
},
"privateLinkServiceId": {
"type": "string",
"description": "The resource id of the private link service. Required on PUT (CreateOrUpdate) requests."
}
},
"description": "Bag of properties defining a privatelinkServiceConnection."
},
"ReferenceInputDataSource": {
"type": "object",
"oneOf": [
Expand Down
6 changes: 6 additions & 0 deletions schemas/common/autogeneratedResources.json
Original file line number Diff line number Diff line change
Expand Up @@ -13348,6 +13348,12 @@
{
"$ref": "https://schema.management.azure.com/schemas/2017-04-01-preview/Microsoft.StreamAnalytics.json#/resourceDefinitions/streamingjobs_transformations"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.StreamAnalytics.json#/resourceDefinitions/clusters"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.StreamAnalytics.json#/resourceDefinitions/clusters_privateEndpoints"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-03-01/Microsoft.StreamAnalytics.json#/resourceDefinitions/streamingjobs"
},
Expand Down