diff --git a/schemas/2020-03-01/Microsoft.StreamAnalytics.json b/schemas/2020-03-01/Microsoft.StreamAnalytics.json index f6a6429c89..1a1844594f 100644 --- a/schemas/2020-03-01/Microsoft.StreamAnalytics.json +++ b/schemas/2020-03-01/Microsoft.StreamAnalytics.json @@ -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": { @@ -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": { @@ -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": [ diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index f83efb9c8e..6ca5bb66e4 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -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" },