diff --git a/schemas/2018-03-01-preview/Microsoft.SignalRService.json b/schemas/2018-03-01-preview/Microsoft.SignalRService.json deleted file mode 100644 index 23baaa873f..0000000000 --- a/schemas/2018-03-01-preview/Microsoft.SignalRService.json +++ /dev/null @@ -1,139 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2018-03-01-preview/Microsoft.SignalRService.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.SignalRService", - "description": "Microsoft SignalRService Resource Types", - "resourceDefinitions": { - "SignalR": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-03-01-preview" - ] - }, - "location": { - "type": "string", - "description": "Azure GEO region: e.g. West US | East US | North Central US | South Central US | West Europe | North Europe | East Asia | Southeast Asia | etc. \r\nThe geo region of a resource never changes after it is created." - }, - "name": { - "type": "string", - "description": "The name of the SignalR resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SignalRCreateOrUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Settings used to provision or configure the resource." - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The billing information of the resource.(e.g. basic vs. standard)" - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A list of key value pairs that describe the resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.SignalRService/SignalR" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/SignalR" - } - }, - "definitions": { - "ResourceSku": { - "type": "object", - "properties": { - "capacity": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Optional, integer. If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not \r\npossible for the resource this may be omitted." - }, - "family": { - "type": "string", - "description": "Optional, string. If the service has different generations of hardware, for the same SKU, then that can be captured here." - }, - "name": { - "type": "string", - "description": "The name of the SKU. This is typically a letter + number code, such as A0 or P3. Required (if sku is specified)" - }, - "size": { - "type": "string", - "description": "Optional, string. When the name field is the combination of tier and some other value, this would be the standalone code." - }, - "tier": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Free", - "Basic", - "Standard", - "Premium" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Optional tier of this particular SKU. `Basic` is deprecated, use `Standard` instead for Basic tier." - } - }, - "required": [ - "name" - ], - "description": "The billing information of the resource.(e.g. basic vs. standard)" - }, - "SignalRCreateOrUpdateProperties": { - "type": "object", - "properties": { - "hostNamePrefix": { - "type": "string", - "description": "Prefix for the hostName of the SignalR service. Retained for future use.\r\nThe hostname will be of format: <hostNamePrefix>.service.signalr.net." - } - }, - "description": "Settings used to provision or configure the resource." - } - } -} \ No newline at end of file diff --git a/schemas/2018-10-01/Microsoft.SignalRService.json b/schemas/2018-10-01/Microsoft.SignalRService.json deleted file mode 100644 index 198e2bd550..0000000000 --- a/schemas/2018-10-01/Microsoft.SignalRService.json +++ /dev/null @@ -1,230 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.SignalRService.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.SignalRService", - "description": "Microsoft SignalRService Resource Types", - "resourceDefinitions": { - "signalR": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-10-01" - ] - }, - "location": { - "type": "string", - "description": "Azure GEO region: e.g. West US | East US | North Central US | South Central US | West Europe | North Europe | East Asia | Southeast Asia | etc. \r\nThe geo region of a resource never changes after it is created." - }, - "name": { - "type": "string", - "description": "The name of the SignalR resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SignalRCreateOrUpdateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Settings used to provision or configure the resource." - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The billing information of the SignalR resource." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A list of key value pairs that describe the resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.SignalRService/signalR" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/signalR" - } - }, - "definitions": { - "ResourceSku": { - "type": "object", - "properties": { - "capacity": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Optional, integer. The unit count of SignalR resource. 1 by default.\r\n\r\nIf present, following values are allowed:\r\n Free: 1\r\n Standard: 1,2,5,10,20,50,100" - }, - "family": { - "type": "string", - "description": "Optional string. For future use." - }, - "name": { - "type": "string", - "description": "The name of the SKU. Required.\r\n\r\nAllowed values: Standard_S1, Free_F1" - }, - "size": { - "type": "string", - "description": "Optional string. For future use." - }, - "tier": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Free", - "Basic", - "Standard", - "Premium" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Optional tier of this particular SKU. 'Standard' or 'Free'. \r\n\r\n`Basic` is deprecated, use `Standard` instead." - } - }, - "required": [ - "name" - ], - "description": "The billing information of the SignalR resource." - }, - "SignalRCorsSettings": { - "type": "object", - "properties": { - "allowedOrigins": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the list of origins that should be allowed to make cross-origin calls (for example: http://example.com:12345). Use \"*\" to allow all. If omitted, allow all by default." - } - }, - "description": "Cross-Origin Resource Sharing (CORS) settings." - }, - "SignalRCreateOrUpdateProperties": { - "type": "object", - "properties": { - "cors": { - "oneOf": [ - { - "$ref": "#/definitions/SignalRCorsSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cross-Origin Resource Sharing (CORS) settings." - }, - "features": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SignalRFeature" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of SignalR featureFlags. e.g. ServiceMode.\r\n\r\nFeatureFlags that are not included in the parameters for the update operation will not be modified.\r\nAnd the response will only include featureFlags that are explicitly set. \r\nWhen a featureFlag is not explicitly set, SignalR service will use its globally default value. \r\nBut keep in mind, the default value doesn't mean \"false\". It varies in terms of different FeatureFlags." - }, - "hostNamePrefix": { - "type": "string", - "description": "Prefix for the hostName of the SignalR service. Retained for future use.\r\nThe hostname will be of format: <hostNamePrefix>.service.signalr.net." - } - }, - "description": "Settings used to provision or configure the resource." - }, - "SignalRFeature": { - "type": "object", - "properties": { - "flag": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ServiceMode", - "EnableConnectivityLogs" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "FeatureFlags is the supported features of Azure SignalR service.\r\n- ServiceMode: Flag for backend server for SignalR service. Values allowed: \"Default\": have your own backend server; \"Serverless\": your application doesn't have a backend server; \"Classic\": for backward compatibility. Support both Default and Serverless mode but not recommended; \"PredefinedOnly\": for future use.\r\n- EnableConnectivityLogs: \"true\"/\"false\", to enable/disable the connectivity log category respectively." - }, - "properties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Optional properties related to this feature." - }, - "value": { - "type": "string", - "minLength": 1, - "maxLength": 128, - "description": "Value of the feature flag. See Azure SignalR service document https://docs.microsoft.com/azure/azure-signalr/ for allowed values." - } - }, - "required": [ - "flag", - "value" - ], - "description": "Feature of a SignalR resource, which controls the SignalR runtime behavior." - } - } -} \ No newline at end of file diff --git a/schemas/2020-05-01/Microsoft.SignalRService.json b/schemas/2020-05-01/Microsoft.SignalRService.json deleted file mode 100644 index 74492649c3..0000000000 --- a/schemas/2020-05-01/Microsoft.SignalRService.json +++ /dev/null @@ -1,602 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-05-01/Microsoft.SignalRService.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.SignalRService", - "description": "Microsoft SignalRService Resource Types", - "resourceDefinitions": { - "signalR": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-05-01" - ] - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SignalR", - "RawWebSockets" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The kind of the service - e.g. \"SignalR\", or \"RawWebSockets\" for \"Microsoft.SignalRService/SignalR\"." - }, - "location": { - "type": "string", - "description": "The GEO location of the SignalR service. e.g. West US | East US | North Central US | South Central US." - }, - "name": { - "type": "string", - "description": "The name of the SignalR resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SignalRProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A class that describes the properties of the SignalR service that should contain more read-only properties than AzSignalR.Models.SignalRCreateOrUpdateProperties" - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/signalR_privateEndpointConnections_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The billing information of the SignalR resource." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags of the service which is a list of key value pairs that describe the resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.SignalRService/signalR" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/signalR" - }, - "signalR_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-05-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the SignalR resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint connection properties" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.SignalRService/signalR/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/signalR/privateEndpointConnections" - } - }, - "definitions": { - "NetworkACL": { - "type": "object", - "properties": { - "allow": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ClientConnection", - "ServerConnection", - "RESTAPI", - "Trace" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI." - }, - "deny": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ClientConnection", - "ServerConnection", - "RESTAPI", - "Trace" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI." - } - }, - "description": "Network ACL" - }, - "PrivateEndpoint": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Full qualified Id of the private endpoint" - } - }, - "description": "Private endpoint" - }, - "PrivateEndpointACL": { - "type": "object", - "properties": { - "allow": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ClientConnection", - "ServerConnection", - "RESTAPI", - "Trace" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI." - }, - "deny": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ClientConnection", - "ServerConnection", - "RESTAPI", - "Trace" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI." - }, - "name": { - "type": "string", - "description": "Name of the private endpoint connection" - } - }, - "required": [ - "name" - ], - "description": "ACL for a private endpoint" - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "privateEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint" - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Connection state of the private endpoint connection" - } - }, - "description": "Private endpoint connection properties" - }, - "PrivateLinkServiceConnectionState": { - "type": "object", - "properties": { - "actionsRequired": { - "type": "string", - "description": "A message indicating if changes on the service provider require any updates on the consumer." - }, - "description": { - "type": "string", - "description": "The reason for approval/rejection of the connection." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Pending", - "Approved", - "Rejected", - "Disconnected" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." - } - }, - "description": "Connection state of the private endpoint connection" - }, - "ResourceSku": { - "type": "object", - "properties": { - "capacity": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Optional, integer. The unit count of SignalR resource. 1 by default.\r\n\r\nIf present, following values are allowed:\r\n Free: 1\r\n Standard: 1,2,5,10,20,50,100" - }, - "name": { - "type": "string", - "description": "The name of the SKU. Required.\r\n\r\nAllowed values: Standard_S1, Free_F1" - }, - "tier": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Free", - "Basic", - "Standard", - "Premium" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Optional tier of this particular SKU. 'Standard' or 'Free'. \r\n\r\n`Basic` is deprecated, use `Standard` instead." - } - }, - "required": [ - "name" - ], - "description": "The billing information of the SignalR resource." - }, - "ServerlessUpstreamSettings": { - "type": "object", - "properties": { - "templates": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/UpstreamTemplate" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the list of Upstream URL templates. Order matters, and the first matching template takes effects." - } - }, - "description": "The settings for the Upstream when the Azure SignalR is in server-less mode." - }, - "SignalRCorsSettings": { - "type": "object", - "properties": { - "allowedOrigins": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the list of origins that should be allowed to make cross-origin calls (for example: http://example.com:12345). Use \"*\" to allow all. If omitted, allow all by default." - } - }, - "description": "Cross-Origin Resource Sharing (CORS) settings." - }, - "SignalRFeature": { - "type": "object", - "properties": { - "flag": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ServiceMode", - "EnableConnectivityLogs", - "EnableMessagingLogs" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "FeatureFlags is the supported features of Azure SignalR service.\r\n- ServiceMode: Flag for backend server for SignalR service. Values allowed: \"Default\": have your own backend server; \"Serverless\": your application doesn't have a backend server; \"Classic\": for backward compatibility. Support both Default and Serverless mode but not recommended; \"PredefinedOnly\": for future use.\r\n- EnableConnectivityLogs: \"true\"/\"false\", to enable/disable the connectivity log category respectively." - }, - "properties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Optional properties related to this feature." - }, - "value": { - "type": "string", - "minLength": 1, - "maxLength": 128, - "description": "Value of the feature flag. See Azure SignalR service document https://docs.microsoft.com/azure/azure-signalr/ for allowed values." - } - }, - "required": [ - "flag", - "value" - ], - "description": "Feature of a SignalR resource, which controls the SignalR runtime behavior." - }, - "SignalRNetworkACLs": { - "type": "object", - "properties": { - "defaultAction": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Allow", - "Deny" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default action when no other rule matches." - }, - "privateEndpoints": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/PrivateEndpointACL" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "ACLs for requests from private endpoints" - }, - "publicNetwork": { - "oneOf": [ - { - "$ref": "#/definitions/NetworkACL" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Network ACL" - } - }, - "description": "Network ACLs for SignalR" - }, - "SignalRProperties": { - "type": "object", - "properties": { - "cors": { - "oneOf": [ - { - "$ref": "#/definitions/SignalRCorsSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cross-Origin Resource Sharing (CORS) settings." - }, - "features": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SignalRFeature" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of SignalR featureFlags. e.g. ServiceMode.\r\n\r\nFeatureFlags that are not included in the parameters for the update operation will not be modified.\r\nAnd the response will only include featureFlags that are explicitly set. \r\nWhen a featureFlag is not explicitly set, SignalR service will use its globally default value. \r\nBut keep in mind, the default value doesn't mean \"false\". It varies in terms of different FeatureFlags." - }, - "networkACLs": { - "oneOf": [ - { - "$ref": "#/definitions/SignalRNetworkACLs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Network ACLs for SignalR" - }, - "upstream": { - "oneOf": [ - { - "$ref": "#/definitions/ServerlessUpstreamSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The settings for the Upstream when the Azure SignalR is in server-less mode." - } - }, - "description": "A class that describes the properties of the SignalR service that should contain more read-only properties than AzSignalR.Models.SignalRCreateOrUpdateProperties" - }, - "signalR_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-05-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the SignalR resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint connection properties" - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/signalR/privateEndpointConnections" - }, - "UpstreamTemplate": { - "type": "object", - "properties": { - "categoryPattern": { - "type": "string", - "description": "Gets or sets the matching pattern for category names. If not set, it matches any category.\r\nThere are 3 kind of patterns supported:\r\n 1. \"*\", it to matches any category name\r\n 2. Combine multiple categories with \",\", for example \"connections,messages\", it matches category \"connections\" and \"messages\"\r\n 3. The single category name, for example, \"connections\", it matches the category \"connections\"" - }, - "eventPattern": { - "type": "string", - "description": "Gets or sets the matching pattern for event names. If not set, it matches any event.\r\nThere are 3 kind of patterns supported:\r\n 1. \"*\", it to matches any event name\r\n 2. Combine multiple events with \",\", for example \"connect,disconnect\", it matches event \"connect\" and \"disconnect\"\r\n 3. The single event name, for example, \"connect\", it matches \"connect\"" - }, - "hubPattern": { - "type": "string", - "description": "Gets or sets the matching pattern for hub names. If not set, it matches any hub.\r\nThere are 3 kind of patterns supported:\r\n 1. \"*\", it to matches any hub name\r\n 2. Combine multiple hubs with \",\", for example \"hub1,hub2\", it matches \"hub1\" and \"hub2\"\r\n 3. The single hub name, for example, \"hub1\", it matches \"hub1\"" - }, - "urlTemplate": { - "type": "string", - "description": "Gets or sets the Upstream URL template. You can use 3 predefined parameters {hub}, {category} {event} inside the template, the value of the Upstream URL is dynamically calculated when the client request comes in.\r\nFor example, if the urlTemplate is `http://example.com/{hub}/api/{event}`, with a client request from hub `chat` connects, it will first POST to this URL: `http://example.com/chat/api/connect`." - } - }, - "required": [ - "urlTemplate" - ], - "description": "Upstream template item settings. It defines the Upstream URL of the incoming requests.\r\nThe template defines the pattern of the event, the hub or the category of the incoming request that matches current URL template." - } - } -} \ No newline at end of file diff --git a/schemas/2020-07-01-preview/Microsoft.SignalRService.json b/schemas/2020-07-01-preview/Microsoft.SignalRService.json deleted file mode 100644 index dbd5371c4f..0000000000 --- a/schemas/2020-07-01-preview/Microsoft.SignalRService.json +++ /dev/null @@ -1,732 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-07-01-preview/Microsoft.SignalRService.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.SignalRService", - "description": "Microsoft SignalRService Resource Types", - "resourceDefinitions": { - "signalR": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-07-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A class represent managed identities used for request and response" - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SignalR", - "RawWebSockets" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The kind of the service - e.g. \"SignalR\" for \"Microsoft.SignalRService/SignalR\"." - }, - "location": { - "type": "string", - "description": "The GEO location of the resource. e.g. West US | East US | North Central US | South Central US." - }, - "name": { - "type": "string", - "description": "The name of the SignalR resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SignalRProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A class that describes the properties of the resource" - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/signalR_privateEndpointConnections_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The billing information of the resource." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags of the service which is a list of key value pairs that describe the resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.SignalRService/signalR" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/signalR" - }, - "signalR_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-07-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the SignalR resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint connection properties" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.SignalRService/signalR/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/signalR/privateEndpointConnections" - } - }, - "definitions": { - "ManagedIdentity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "SystemAssigned", - "UserAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represent the identity type: systemAssigned, userAssigned, None." - }, - "userAssignedIdentities": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/UserAssignedIdentityProperty" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Get or set the user assigned identities" - } - }, - "description": "A class represent managed identities used for request and response" - }, - "ManagedIdentitySettings": { - "type": "object", - "properties": { - "resource": { - "type": "string", - "description": "The Resource indicating the App ID URI of the target resource.\r\nIt also appears in the aud (audience) claim of the issued token." - } - }, - "description": "Managed identity settings for upstream." - }, - "NetworkACL": { - "type": "object", - "properties": { - "allow": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ClientConnection", - "ServerConnection", - "RESTAPI" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI." - }, - "deny": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ClientConnection", - "ServerConnection", - "RESTAPI" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI." - } - }, - "description": "Network ACL" - }, - "PrivateEndpoint": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Full qualified Id of the private endpoint" - } - }, - "description": "Private endpoint" - }, - "PrivateEndpointACL": { - "type": "object", - "properties": { - "allow": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ClientConnection", - "ServerConnection", - "RESTAPI" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI." - }, - "deny": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ClientConnection", - "ServerConnection", - "RESTAPI" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI." - }, - "name": { - "type": "string", - "description": "Name of the private endpoint connection" - } - }, - "required": [ - "name" - ], - "description": "ACL for a private endpoint" - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "privateEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint" - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Connection state of the private endpoint connection" - } - }, - "description": "Private endpoint connection properties" - }, - "PrivateLinkServiceConnectionState": { - "type": "object", - "properties": { - "actionsRequired": { - "type": "string", - "description": "A message indicating if changes on the service provider require any updates on the consumer." - }, - "description": { - "type": "string", - "description": "The reason for approval/rejection of the connection." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Pending", - "Approved", - "Rejected", - "Disconnected" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." - } - }, - "description": "Connection state of the private endpoint connection" - }, - "ResourceSku": { - "type": "object", - "properties": { - "capacity": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Optional, integer. The unit count of SignalR resource. 1 by default.\r\n\r\nIf present, following values are allowed:\r\n Free: 1\r\n Standard: 1,2,5,10,20,50,100" - }, - "name": { - "type": "string", - "description": "The name of the SKU. Required.\r\n\r\nAllowed values: Standard_S1, Free_F1" - }, - "tier": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Free", - "Basic", - "Standard", - "Premium" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Optional tier of this particular SKU. 'Standard' or 'Free'. \r\n\r\n`Basic` is deprecated, use `Standard` instead." - } - }, - "required": [ - "name" - ], - "description": "The billing information of the resource." - }, - "ServerlessUpstreamSettings": { - "type": "object", - "properties": { - "templates": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/UpstreamTemplate" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the list of Upstream URL templates. Order matters, and the first matching template takes effects." - } - }, - "description": "The settings for the Upstream when the service is in server-less mode." - }, - "SignalRCorsSettings": { - "type": "object", - "properties": { - "allowedOrigins": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the list of origins that should be allowed to make cross-origin calls (for example: http://example.com:12345). Use \"*\" to allow all. If omitted, allow all by default." - } - }, - "description": "Cross-Origin Resource Sharing (CORS) settings." - }, - "SignalRFeature": { - "type": "object", - "properties": { - "flag": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ServiceMode", - "EnableConnectivityLogs", - "EnableMessagingLogs" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "FeatureFlags is the supported features of Azure SignalR service.\r\n- ServiceMode: Flag for backend server for SignalR service. Values allowed: \"Default\": have your own backend server; \"Serverless\": your application doesn't have a backend server; \"Classic\": for backward compatibility. Support both Default and Serverless mode but not recommended; \"PredefinedOnly\": for future use.\r\n- EnableConnectivityLogs: \"true\"/\"false\", to enable/disable the connectivity log category respectively." - }, - "properties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Optional properties related to this feature." - }, - "value": { - "type": "string", - "minLength": 1, - "maxLength": 128, - "description": "Value of the feature flag. See Azure SignalR service document https://docs.microsoft.com/azure/azure-signalr/ for allowed values." - } - }, - "required": [ - "flag", - "value" - ], - "description": "Feature of a SignalR resource, which controls the SignalR runtime behavior." - }, - "SignalRNetworkACLs": { - "type": "object", - "properties": { - "defaultAction": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Allow", - "Deny" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default action when no other rule matches." - }, - "privateEndpoints": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/PrivateEndpointACL" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "ACLs for requests from private endpoints" - }, - "publicNetwork": { - "oneOf": [ - { - "$ref": "#/definitions/NetworkACL" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Network ACL" - } - }, - "description": "Network ACLs for the resource" - }, - "SignalRProperties": { - "type": "object", - "properties": { - "cors": { - "oneOf": [ - { - "$ref": "#/definitions/SignalRCorsSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cross-Origin Resource Sharing (CORS) settings." - }, - "features": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SignalRFeature" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of SignalR featureFlags. e.g. ServiceMode.\r\n\r\nFeatureFlags that are not included in the parameters for the update operation will not be modified.\r\nAnd the response will only include featureFlags that are explicitly set. \r\nWhen a featureFlag is not explicitly set, SignalR service will use its globally default value. \r\nBut keep in mind, the default value doesn't mean \"false\". It varies in terms of different FeatureFlags." - }, - "networkACLs": { - "oneOf": [ - { - "$ref": "#/definitions/SignalRNetworkACLs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Network ACLs for the resource" - }, - "tls": { - "oneOf": [ - { - "$ref": "#/definitions/SignalRTlsSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "TLS settings for the resource" - }, - "upstream": { - "oneOf": [ - { - "$ref": "#/definitions/ServerlessUpstreamSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The settings for the Upstream when the service is in server-less mode." - } - }, - "description": "A class that describes the properties of the resource" - }, - "SignalRTlsSettings": { - "type": "object", - "properties": { - "clientCertEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Request client certificate during TLS handshake if enabled" - } - }, - "description": "TLS settings for the resource" - }, - "signalR_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-07-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the SignalR resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint connection properties" - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/signalR/privateEndpointConnections" - }, - "UpstreamAuthSettings": { - "type": "object", - "properties": { - "managedIdentity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedIdentitySettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Managed identity settings for upstream." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "ManagedIdentity" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the type of auth. None or ManagedIdentity is supported now." - } - }, - "description": "Upstream auth settings." - }, - "UpstreamTemplate": { - "type": "object", - "properties": { - "auth": { - "oneOf": [ - { - "$ref": "#/definitions/UpstreamAuthSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Upstream auth settings." - }, - "categoryPattern": { - "type": "string", - "description": "Gets or sets the matching pattern for category names. If not set, it matches any category.\r\nThere are 3 kind of patterns supported:\r\n 1. \"*\", it to matches any category name\r\n 2. Combine multiple categories with \",\", for example \"connections,messages\", it matches category \"connections\" and \"messages\"\r\n 3. The single category name, for example, \"connections\", it matches the category \"connections\"" - }, - "eventPattern": { - "type": "string", - "description": "Gets or sets the matching pattern for event names. If not set, it matches any event.\r\nThere are 3 kind of patterns supported:\r\n 1. \"*\", it to matches any event name\r\n 2. Combine multiple events with \",\", for example \"connect,disconnect\", it matches event \"connect\" and \"disconnect\"\r\n 3. The single event name, for example, \"connect\", it matches \"connect\"" - }, - "hubPattern": { - "type": "string", - "description": "Gets or sets the matching pattern for hub names. If not set, it matches any hub.\r\nThere are 3 kind of patterns supported:\r\n 1. \"*\", it to matches any hub name\r\n 2. Combine multiple hubs with \",\", for example \"hub1,hub2\", it matches \"hub1\" and \"hub2\"\r\n 3. The single hub name, for example, \"hub1\", it matches \"hub1\"" - }, - "urlTemplate": { - "type": "string", - "description": "Gets or sets the Upstream URL template. You can use 3 predefined parameters {hub}, {category} {event} inside the template, the value of the Upstream URL is dynamically calculated when the client request comes in.\r\nFor example, if the urlTemplate is `http://example.com/{hub}/api/{event}`, with a client request from hub `chat` connects, it will first POST to this URL: `http://example.com/chat/api/connect`." - } - }, - "required": [ - "urlTemplate" - ], - "description": "Upstream template item settings. It defines the Upstream URL of the incoming requests.\r\nThe template defines the pattern of the event, the hub or the category of the incoming request that matches current URL template." - }, - "UserAssignedIdentityProperty": { - "type": "object", - "properties": {}, - "description": "Properties of user assigned identity." - } - } -} \ No newline at end of file diff --git a/schemas/2021-04-01-preview/Microsoft.SignalRService.json b/schemas/2021-04-01-preview/Microsoft.SignalRService.json deleted file mode 100644 index 28b5b0ced5..0000000000 --- a/schemas/2021-04-01-preview/Microsoft.SignalRService.json +++ /dev/null @@ -1,841 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.SignalRService.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.SignalRService", - "description": "Microsoft SignalRService Resource Types", - "resourceDefinitions": { - "signalR": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A class represent managed identities used for request and response" - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SignalR", - "RawWebSockets" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The kind of the service - e.g. \"SignalR\" for \"Microsoft.SignalRService/SignalR\"." - }, - "location": { - "type": "string", - "description": "The GEO location of the resource. e.g. West US | East US | North Central US | South Central US." - }, - "name": { - "type": "string", - "description": "The name of the resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SignalRProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A class that describes the properties of the resource" - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/signalR_privateEndpointConnections_childResource" - }, - { - "$ref": "#/definitions/signalR_sharedPrivateLinkResources_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The billing information of the resource." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags of the service which is a list of key value pairs that describe the resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.SignalRService/signalR" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/signalR" - }, - "signalR_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint connection properties" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.SignalRService/signalR/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/signalR/privateEndpointConnections" - }, - "signalR_sharedPrivateLinkResources": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the shared private link resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SharedPrivateLinkResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the properties of an existing Shared Private Link Resource" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.SignalRService/signalR/sharedPrivateLinkResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/signalR/sharedPrivateLinkResources" - } - }, - "definitions": { - "ManagedIdentity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "SystemAssigned", - "UserAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represent the identity type: systemAssigned, userAssigned, None." - }, - "userAssignedIdentities": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/UserAssignedIdentityProperty" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Get or set the user assigned identities" - } - }, - "description": "A class represent managed identities used for request and response" - }, - "ManagedIdentitySettings": { - "type": "object", - "properties": { - "resource": { - "type": "string", - "description": "The Resource indicating the App ID URI of the target resource.\r\nIt also appears in the aud (audience) claim of the issued token." - } - }, - "description": "Managed identity settings for upstream." - }, - "NetworkACL": { - "type": "object", - "properties": { - "allow": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ClientConnection", - "ServerConnection", - "RESTAPI", - "Trace" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI." - }, - "deny": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ClientConnection", - "ServerConnection", - "RESTAPI", - "Trace" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI." - } - }, - "description": "Network ACL" - }, - "PrivateEndpoint": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Full qualified Id of the private endpoint" - } - }, - "description": "Private endpoint" - }, - "PrivateEndpointACL": { - "type": "object", - "properties": { - "allow": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ClientConnection", - "ServerConnection", - "RESTAPI", - "Trace" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI." - }, - "deny": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ClientConnection", - "ServerConnection", - "RESTAPI", - "Trace" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI." - }, - "name": { - "type": "string", - "description": "Name of the private endpoint connection" - } - }, - "required": [ - "name" - ], - "description": "ACL for a private endpoint" - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "privateEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint" - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Connection state of the private endpoint connection" - } - }, - "description": "Private endpoint connection properties" - }, - "PrivateLinkServiceConnectionState": { - "type": "object", - "properties": { - "actionsRequired": { - "type": "string", - "description": "A message indicating if changes on the service provider require any updates on the consumer." - }, - "description": { - "type": "string", - "description": "The reason for approval/rejection of the connection." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Pending", - "Approved", - "Rejected", - "Disconnected" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." - } - }, - "description": "Connection state of the private endpoint connection" - }, - "ResourceSku": { - "type": "object", - "properties": { - "capacity": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Optional, integer. The unit count of the resource. 1 by default.\r\n\r\nIf present, following values are allowed:\r\n Free: 1\r\n Standard: 1,2,5,10,20,50,100" - }, - "name": { - "type": "string", - "description": "The name of the SKU. Required.\r\n\r\nAllowed values: Standard_S1, Free_F1" - }, - "tier": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Free", - "Basic", - "Standard", - "Premium" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Optional tier of this particular SKU. 'Standard' or 'Free'. \r\n\r\n`Basic` is deprecated, use `Standard` instead." - } - }, - "required": [ - "name" - ], - "description": "The billing information of the resource." - }, - "ServerlessUpstreamSettings": { - "type": "object", - "properties": { - "templates": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/UpstreamTemplate" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the list of Upstream URL templates. Order matters, and the first matching template takes effects." - } - }, - "description": "The settings for the Upstream when the service is in server-less mode." - }, - "SharedPrivateLinkResourceProperties": { - "type": "object", - "properties": { - "groupId": { - "type": "string", - "description": "The group id from the provider of resource the shared private link resource is for" - }, - "privateLinkResourceId": { - "type": "string", - "description": "The resource id of the resource the shared private link resource is for" - }, - "requestMessage": { - "type": "string", - "description": "The request message for requesting approval of the shared private link resource" - } - }, - "required": [ - "groupId", - "privateLinkResourceId" - ], - "description": "Describes the properties of an existing Shared Private Link Resource" - }, - "SignalRCorsSettings": { - "type": "object", - "properties": { - "allowedOrigins": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the list of origins that should be allowed to make cross-origin calls (for example: http://example.com:12345). Use \"*\" to allow all. If omitted, allow all by default." - } - }, - "description": "Cross-Origin Resource Sharing (CORS) settings." - }, - "SignalRFeature": { - "type": "object", - "properties": { - "flag": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ServiceMode", - "EnableConnectivityLogs", - "EnableMessagingLogs", - "EnableLiveTrace" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "FeatureFlags is the supported features of Azure SignalR service.\r\n- ServiceMode: Flag for backend server for SignalR service. Values allowed: \"Default\": have your own backend server; \"Serverless\": your application doesn't have a backend server; \"Classic\": for backward compatibility. Support both Default and Serverless mode but not recommended; \"PredefinedOnly\": for future use.\r\n- EnableConnectivityLogs: \"true\"/\"false\", to enable/disable the connectivity log category respectively.\r\n- EnableMessagingLogs: \"true\"/\"false\", to enable/disable the connectivity log category respectively.\r\n- EnableLiveTrace: Live Trace allows you to know what's happening inside Azure SignalR service, it will give you live traces in real time, it will be helpful when you developing your own Azure SignalR based web application or self-troubleshooting some issues. Please note that live traces are counted as outbound messages that will be charged. Values allowed: \"true\"/\"false\", to enable/disable live trace feature." - }, - "properties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Optional properties related to this feature." - }, - "value": { - "type": "string", - "minLength": 1, - "maxLength": 128, - "description": "Value of the feature flag. See Azure SignalR service document https://docs.microsoft.com/azure/azure-signalr/ for allowed values." - } - }, - "required": [ - "flag", - "value" - ], - "description": "Feature of a SignalR resource, which controls the SignalR runtime behavior." - }, - "SignalRNetworkACLs": { - "type": "object", - "properties": { - "defaultAction": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Allow", - "Deny" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default action when no other rule matches." - }, - "privateEndpoints": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/PrivateEndpointACL" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "ACLs for requests from private endpoints" - }, - "publicNetwork": { - "oneOf": [ - { - "$ref": "#/definitions/NetworkACL" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Network ACL" - } - }, - "description": "Network ACLs for the resource" - }, - "SignalRProperties": { - "type": "object", - "properties": { - "cors": { - "oneOf": [ - { - "$ref": "#/definitions/SignalRCorsSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cross-Origin Resource Sharing (CORS) settings." - }, - "features": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SignalRFeature" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of the featureFlags.\r\n\r\nFeatureFlags that are not included in the parameters for the update operation will not be modified.\r\nAnd the response will only include featureFlags that are explicitly set. \r\nWhen a featureFlag is not explicitly set, its globally default value will be used\r\nBut keep in mind, the default value doesn't mean \"false\". It varies in terms of different FeatureFlags." - }, - "networkACLs": { - "oneOf": [ - { - "$ref": "#/definitions/SignalRNetworkACLs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Network ACLs for the resource" - }, - "tls": { - "oneOf": [ - { - "$ref": "#/definitions/SignalRTlsSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "TLS settings for the resource" - }, - "upstream": { - "oneOf": [ - { - "$ref": "#/definitions/ServerlessUpstreamSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The settings for the Upstream when the service is in server-less mode." - } - }, - "description": "A class that describes the properties of the resource" - }, - "SignalRTlsSettings": { - "type": "object", - "properties": { - "clientCertEnabled": { - "oneOf": [ - { - "type": "boolean", - "default": true - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Request client certificate during TLS handshake if enabled" - } - }, - "description": "TLS settings for the resource" - }, - "signalR_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint connection properties" - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/signalR/privateEndpointConnections" - }, - "signalR_sharedPrivateLinkResources_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-04-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the shared private link resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SharedPrivateLinkResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the properties of an existing Shared Private Link Resource" - }, - "type": { - "type": "string", - "enum": [ - "sharedPrivateLinkResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/signalR/sharedPrivateLinkResources" - }, - "UpstreamAuthSettings": { - "type": "object", - "properties": { - "managedIdentity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedIdentitySettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Managed identity settings for upstream." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "ManagedIdentity" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the type of auth. None or ManagedIdentity is supported now." - } - }, - "description": "Upstream auth settings." - }, - "UpstreamTemplate": { - "type": "object", - "properties": { - "auth": { - "oneOf": [ - { - "$ref": "#/definitions/UpstreamAuthSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Upstream auth settings." - }, - "categoryPattern": { - "type": "string", - "description": "Gets or sets the matching pattern for category names. If not set, it matches any category.\r\nThere are 3 kind of patterns supported:\r\n 1. \"*\", it to matches any category name\r\n 2. Combine multiple categories with \",\", for example \"connections,messages\", it matches category \"connections\" and \"messages\"\r\n 3. The single category name, for example, \"connections\", it matches the category \"connections\"" - }, - "eventPattern": { - "type": "string", - "description": "Gets or sets the matching pattern for event names. If not set, it matches any event.\r\nThere are 3 kind of patterns supported:\r\n 1. \"*\", it to matches any event name\r\n 2. Combine multiple events with \",\", for example \"connect,disconnect\", it matches event \"connect\" and \"disconnect\"\r\n 3. The single event name, for example, \"connect\", it matches \"connect\"" - }, - "hubPattern": { - "type": "string", - "description": "Gets or sets the matching pattern for hub names. If not set, it matches any hub.\r\nThere are 3 kind of patterns supported:\r\n 1. \"*\", it to matches any hub name\r\n 2. Combine multiple hubs with \",\", for example \"hub1,hub2\", it matches \"hub1\" and \"hub2\"\r\n 3. The single hub name, for example, \"hub1\", it matches \"hub1\"" - }, - "urlTemplate": { - "type": "string", - "description": "Gets or sets the Upstream URL template. You can use 3 predefined parameters {hub}, {category} {event} inside the template, the value of the Upstream URL is dynamically calculated when the client request comes in.\r\nFor example, if the urlTemplate is `http://example.com/{hub}/api/{event}`, with a client request from hub `chat` connects, it will first POST to this URL: `http://example.com/chat/api/connect`." - } - }, - "required": [ - "urlTemplate" - ], - "description": "Upstream template item settings. It defines the Upstream URL of the incoming requests.\r\nThe template defines the pattern of the event, the hub or the category of the incoming request that matches current URL template." - }, - "UserAssignedIdentityProperty": { - "type": "object", - "properties": {}, - "description": "Properties of user assigned identity." - } - } -} \ No newline at end of file diff --git a/schemas/2021-06-01-preview/Microsoft.SignalRService.json b/schemas/2021-06-01-preview/Microsoft.SignalRService.json deleted file mode 100644 index f72b532df2..0000000000 --- a/schemas/2021-06-01-preview/Microsoft.SignalRService.json +++ /dev/null @@ -1,870 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-06-01-preview/Microsoft.SignalRService.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.SignalRService", - "description": "Microsoft SignalRService Resource Types", - "resourceDefinitions": { - "signalR": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A class represent managed identities used for request and response" - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SignalR", - "RawWebSockets" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The kind of the service - e.g. \"SignalR\" for \"Microsoft.SignalRService/SignalR\"." - }, - "location": { - "type": "string", - "description": "The GEO location of the resource. e.g. West US | East US | North Central US | South Central US." - }, - "name": { - "type": "string", - "description": "The name of the resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SignalRProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A class that describes the properties of the resource" - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/signalR_privateEndpointConnections_childResource" - }, - { - "$ref": "#/definitions/signalR_sharedPrivateLinkResources_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The billing information of the resource." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags of the service which is a list of key value pairs that describe the resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.SignalRService/signalR" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/signalR" - }, - "signalR_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint connection properties" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.SignalRService/signalR/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/signalR/privateEndpointConnections" - }, - "signalR_sharedPrivateLinkResources": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the shared private link resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SharedPrivateLinkResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the properties of an existing Shared Private Link Resource" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.SignalRService/signalR/sharedPrivateLinkResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/signalR/sharedPrivateLinkResources" - } - }, - "definitions": { - "ManagedIdentity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "SystemAssigned", - "UserAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represent the identity type: systemAssigned, userAssigned, None." - }, - "userAssignedIdentities": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/UserAssignedIdentityProperty" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Get or set the user assigned identities" - } - }, - "description": "A class represent managed identities used for request and response" - }, - "ManagedIdentitySettings": { - "type": "object", - "properties": { - "resource": { - "type": "string", - "description": "The Resource indicating the App ID URI of the target resource.\r\nIt also appears in the aud (audience) claim of the issued token." - } - }, - "description": "Managed identity settings for upstream." - }, - "NetworkACL": { - "type": "object", - "properties": { - "allow": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ClientConnection", - "ServerConnection", - "RESTAPI", - "Trace" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI." - }, - "deny": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ClientConnection", - "ServerConnection", - "RESTAPI", - "Trace" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI." - } - }, - "description": "Network ACL" - }, - "PrivateEndpoint": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Full qualified Id of the private endpoint" - } - }, - "description": "Private endpoint" - }, - "PrivateEndpointACL": { - "type": "object", - "properties": { - "allow": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ClientConnection", - "ServerConnection", - "RESTAPI", - "Trace" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI." - }, - "deny": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ClientConnection", - "ServerConnection", - "RESTAPI", - "Trace" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI." - }, - "name": { - "type": "string", - "description": "Name of the private endpoint connection" - } - }, - "required": [ - "name" - ], - "description": "ACL for a private endpoint" - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "privateEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint" - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Connection state of the private endpoint connection" - } - }, - "description": "Private endpoint connection properties" - }, - "PrivateLinkServiceConnectionState": { - "type": "object", - "properties": { - "actionsRequired": { - "type": "string", - "description": "A message indicating if changes on the service provider require any updates on the consumer." - }, - "description": { - "type": "string", - "description": "The reason for approval/rejection of the connection." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Pending", - "Approved", - "Rejected", - "Disconnected" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." - } - }, - "description": "Connection state of the private endpoint connection" - }, - "ResourceSku": { - "type": "object", - "properties": { - "capacity": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Optional, integer. The unit count of the resource. 1 by default.\r\n\r\nIf present, following values are allowed:\r\n Free: 1\r\n Standard: 1,2,5,10,20,50,100" - }, - "name": { - "type": "string", - "description": "The name of the SKU. Required.\r\n\r\nAllowed values: Standard_S1, Free_F1" - }, - "tier": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Free", - "Basic", - "Standard", - "Premium" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Optional tier of this particular SKU. 'Standard' or 'Free'. \r\n\r\n`Basic` is deprecated, use `Standard` instead." - } - }, - "required": [ - "name" - ], - "description": "The billing information of the resource." - }, - "ServerlessUpstreamSettings": { - "type": "object", - "properties": { - "templates": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/UpstreamTemplate" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the list of Upstream URL templates. Order matters, and the first matching template takes effects." - } - }, - "description": "The settings for the Upstream when the service is in server-less mode." - }, - "SharedPrivateLinkResourceProperties": { - "type": "object", - "properties": { - "groupId": { - "type": "string", - "description": "The group id from the provider of resource the shared private link resource is for" - }, - "privateLinkResourceId": { - "type": "string", - "description": "The resource id of the resource the shared private link resource is for" - }, - "requestMessage": { - "type": "string", - "description": "The request message for requesting approval of the shared private link resource" - } - }, - "required": [ - "groupId", - "privateLinkResourceId" - ], - "description": "Describes the properties of an existing Shared Private Link Resource" - }, - "SignalRCorsSettings": { - "type": "object", - "properties": { - "allowedOrigins": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the list of origins that should be allowed to make cross-origin calls (for example: http://example.com:12345). Use \"*\" to allow all. If omitted, allow all by default." - } - }, - "description": "Cross-Origin Resource Sharing (CORS) settings." - }, - "SignalRFeature": { - "type": "object", - "properties": { - "flag": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ServiceMode", - "EnableConnectivityLogs", - "EnableMessagingLogs", - "EnableLiveTrace" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "FeatureFlags is the supported features of Azure SignalR service.\r\n- ServiceMode: Flag for backend server for SignalR service. Values allowed: \"Default\": have your own backend server; \"Serverless\": your application doesn't have a backend server; \"Classic\": for backward compatibility. Support both Default and Serverless mode but not recommended; \"PredefinedOnly\": for future use.\r\n- EnableConnectivityLogs: \"true\"/\"false\", to enable/disable the connectivity log category respectively.\r\n- EnableMessagingLogs: \"true\"/\"false\", to enable/disable the connectivity log category respectively.\r\n- EnableLiveTrace: Live Trace allows you to know what's happening inside Azure SignalR service, it will give you live traces in real time, it will be helpful when you developing your own Azure SignalR based web application or self-troubleshooting some issues. Please note that live traces are counted as outbound messages that will be charged. Values allowed: \"true\"/\"false\", to enable/disable live trace feature." - }, - "properties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Optional properties related to this feature." - }, - "value": { - "type": "string", - "minLength": 1, - "maxLength": 128, - "description": "Value of the feature flag. See Azure SignalR service document https://docs.microsoft.com/azure/azure-signalr/ for allowed values." - } - }, - "required": [ - "flag", - "value" - ], - "description": "Feature of a resource, which controls the runtime behavior." - }, - "SignalRNetworkACLs": { - "type": "object", - "properties": { - "defaultAction": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Allow", - "Deny" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default action when no other rule matches." - }, - "privateEndpoints": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/PrivateEndpointACL" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "ACLs for requests from private endpoints" - }, - "publicNetwork": { - "oneOf": [ - { - "$ref": "#/definitions/NetworkACL" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Network ACL" - } - }, - "description": "Network ACLs for the resource" - }, - "SignalRProperties": { - "type": "object", - "properties": { - "cors": { - "oneOf": [ - { - "$ref": "#/definitions/SignalRCorsSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cross-Origin Resource Sharing (CORS) settings." - }, - "disableAadAuth": { - "oneOf": [ - { - "type": "boolean", - "default": false - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "DisableLocalAuth\r\nEnable or disable aad auth\r\nWhen set as true, connection with AuthType=aad won't work." - }, - "disableLocalAuth": { - "oneOf": [ - { - "type": "boolean", - "default": false - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "DisableLocalAuth\r\nEnable or disable local auth with AccessKey\r\nWhen set as true, connection with AccessKey=xxx won't work." - }, - "features": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SignalRFeature" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of the featureFlags.\r\n\r\nFeatureFlags that are not included in the parameters for the update operation will not be modified.\r\nAnd the response will only include featureFlags that are explicitly set. \r\nWhen a featureFlag is not explicitly set, its globally default value will be used\r\nBut keep in mind, the default value doesn't mean \"false\". It varies in terms of different FeatureFlags." - }, - "networkACLs": { - "oneOf": [ - { - "$ref": "#/definitions/SignalRNetworkACLs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Network ACLs for the resource" - }, - "publicNetworkAccess": { - "type": "string", - "default": "Enabled", - "description": "Enable or disable public network access. Default to \"Enabled\".\r\nWhen it's Enabled, network ACLs still apply.\r\nWhen it's Disabled, public network access is always disabled no matter what you set in network ACLs." - }, - "tls": { - "oneOf": [ - { - "$ref": "#/definitions/SignalRTlsSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "TLS settings for the resource" - }, - "upstream": { - "oneOf": [ - { - "$ref": "#/definitions/ServerlessUpstreamSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The settings for the Upstream when the service is in server-less mode." - } - }, - "description": "A class that describes the properties of the resource" - }, - "SignalRTlsSettings": { - "type": "object", - "properties": { - "clientCertEnabled": { - "oneOf": [ - { - "type": "boolean", - "default": true - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Request client certificate during TLS handshake if enabled" - } - }, - "description": "TLS settings for the resource" - }, - "signalR_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint connection properties" - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/signalR/privateEndpointConnections" - }, - "signalR_sharedPrivateLinkResources_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the shared private link resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SharedPrivateLinkResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the properties of an existing Shared Private Link Resource" - }, - "type": { - "type": "string", - "enum": [ - "sharedPrivateLinkResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/signalR/sharedPrivateLinkResources" - }, - "UpstreamAuthSettings": { - "type": "object", - "properties": { - "managedIdentity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedIdentitySettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Managed identity settings for upstream." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "ManagedIdentity" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the type of auth. None or ManagedIdentity is supported now." - } - }, - "description": "Upstream auth settings." - }, - "UpstreamTemplate": { - "type": "object", - "properties": { - "auth": { - "oneOf": [ - { - "$ref": "#/definitions/UpstreamAuthSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Upstream auth settings." - }, - "categoryPattern": { - "type": "string", - "description": "Gets or sets the matching pattern for category names. If not set, it matches any category.\r\nThere are 3 kind of patterns supported:\r\n 1. \"*\", it to matches any category name\r\n 2. Combine multiple categories with \",\", for example \"connections,messages\", it matches category \"connections\" and \"messages\"\r\n 3. The single category name, for example, \"connections\", it matches the category \"connections\"" - }, - "eventPattern": { - "type": "string", - "description": "Gets or sets the matching pattern for event names. If not set, it matches any event.\r\nThere are 3 kind of patterns supported:\r\n 1. \"*\", it to matches any event name\r\n 2. Combine multiple events with \",\", for example \"connect,disconnect\", it matches event \"connect\" and \"disconnect\"\r\n 3. The single event name, for example, \"connect\", it matches \"connect\"" - }, - "hubPattern": { - "type": "string", - "description": "Gets or sets the matching pattern for hub names. If not set, it matches any hub.\r\nThere are 3 kind of patterns supported:\r\n 1. \"*\", it to matches any hub name\r\n 2. Combine multiple hubs with \",\", for example \"hub1,hub2\", it matches \"hub1\" and \"hub2\"\r\n 3. The single hub name, for example, \"hub1\", it matches \"hub1\"" - }, - "urlTemplate": { - "type": "string", - "description": "Gets or sets the Upstream URL template. You can use 3 predefined parameters {hub}, {category} {event} inside the template, the value of the Upstream URL is dynamically calculated when the client request comes in.\r\nFor example, if the urlTemplate is `http://example.com/{hub}/api/{event}`, with a client request from hub `chat` connects, it will first POST to this URL: `http://example.com/chat/api/connect`." - } - }, - "required": [ - "urlTemplate" - ], - "description": "Upstream template item settings. It defines the Upstream URL of the incoming requests.\r\nThe template defines the pattern of the event, the hub or the category of the incoming request that matches current URL template." - }, - "UserAssignedIdentityProperty": { - "type": "object", - "properties": {}, - "description": "Properties of user assigned identity." - } - } -} \ No newline at end of file diff --git a/schemas/2021-09-01-preview/Microsoft.SignalRService.json b/schemas/2021-09-01-preview/Microsoft.SignalRService.json deleted file mode 100644 index 1753fed729..0000000000 --- a/schemas/2021-09-01-preview/Microsoft.SignalRService.json +++ /dev/null @@ -1,870 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-09-01-preview/Microsoft.SignalRService.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.SignalRService", - "description": "Microsoft SignalRService Resource Types", - "resourceDefinitions": { - "signalR": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-09-01-preview" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A class represent managed identities used for request and response" - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SignalR", - "RawWebSockets" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The kind of the service - e.g. \"SignalR\" for \"Microsoft.SignalRService/SignalR\"." - }, - "location": { - "type": "string", - "description": "The GEO location of the resource. e.g. West US | East US | North Central US | South Central US." - }, - "name": { - "type": "string", - "description": "The name of the resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SignalRProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A class that describes the properties of the resource" - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/signalR_privateEndpointConnections_childResource" - }, - { - "$ref": "#/definitions/signalR_sharedPrivateLinkResources_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The billing information of the resource." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags of the service which is a list of key value pairs that describe the resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.SignalRService/signalR" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/signalR" - }, - "signalR_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-09-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint connection properties" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.SignalRService/signalR/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/signalR/privateEndpointConnections" - }, - "signalR_sharedPrivateLinkResources": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-09-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the shared private link resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SharedPrivateLinkResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the properties of an existing Shared Private Link Resource" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.SignalRService/signalR/sharedPrivateLinkResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/signalR/sharedPrivateLinkResources" - } - }, - "definitions": { - "ManagedIdentity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "SystemAssigned", - "UserAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represent the identity type: systemAssigned, userAssigned, None." - }, - "userAssignedIdentities": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/UserAssignedIdentityProperty" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Get or set the user assigned identities" - } - }, - "description": "A class represent managed identities used for request and response" - }, - "ManagedIdentitySettings": { - "type": "object", - "properties": { - "resource": { - "type": "string", - "description": "The Resource indicating the App ID URI of the target resource.\r\nIt also appears in the aud (audience) claim of the issued token." - } - }, - "description": "Managed identity settings for upstream." - }, - "NetworkACL": { - "type": "object", - "properties": { - "allow": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ClientConnection", - "ServerConnection", - "RESTAPI", - "Trace" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI." - }, - "deny": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ClientConnection", - "ServerConnection", - "RESTAPI", - "Trace" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI." - } - }, - "description": "Network ACL" - }, - "PrivateEndpoint": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Full qualified Id of the private endpoint" - } - }, - "description": "Private endpoint" - }, - "PrivateEndpointACL": { - "type": "object", - "properties": { - "allow": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ClientConnection", - "ServerConnection", - "RESTAPI", - "Trace" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI." - }, - "deny": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ClientConnection", - "ServerConnection", - "RESTAPI", - "Trace" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI." - }, - "name": { - "type": "string", - "description": "Name of the private endpoint connection" - } - }, - "required": [ - "name" - ], - "description": "ACL for a private endpoint" - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "privateEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint" - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Connection state of the private endpoint connection" - } - }, - "description": "Private endpoint connection properties" - }, - "PrivateLinkServiceConnectionState": { - "type": "object", - "properties": { - "actionsRequired": { - "type": "string", - "description": "A message indicating if changes on the service provider require any updates on the consumer." - }, - "description": { - "type": "string", - "description": "The reason for approval/rejection of the connection." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Pending", - "Approved", - "Rejected", - "Disconnected" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." - } - }, - "description": "Connection state of the private endpoint connection" - }, - "ResourceSku": { - "type": "object", - "properties": { - "capacity": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Optional, integer. The unit count of the resource. 1 by default.\r\n\r\nIf present, following values are allowed:\r\n Free: 1\r\n Standard: 1,2,5,10,20,50,100" - }, - "name": { - "type": "string", - "description": "The name of the SKU. Required.\r\n\r\nAllowed values: Standard_S1, Free_F1" - }, - "tier": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Free", - "Basic", - "Standard", - "Premium" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Optional tier of this particular SKU. 'Standard' or 'Free'. \r\n\r\n`Basic` is deprecated, use `Standard` instead." - } - }, - "required": [ - "name" - ], - "description": "The billing information of the resource." - }, - "ServerlessUpstreamSettings": { - "type": "object", - "properties": { - "templates": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/UpstreamTemplate" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the list of Upstream URL templates. Order matters, and the first matching template takes effects." - } - }, - "description": "The settings for the Upstream when the service is in server-less mode." - }, - "SharedPrivateLinkResourceProperties": { - "type": "object", - "properties": { - "groupId": { - "type": "string", - "description": "The group id from the provider of resource the shared private link resource is for" - }, - "privateLinkResourceId": { - "type": "string", - "description": "The resource id of the resource the shared private link resource is for" - }, - "requestMessage": { - "type": "string", - "description": "The request message for requesting approval of the shared private link resource" - } - }, - "required": [ - "groupId", - "privateLinkResourceId" - ], - "description": "Describes the properties of an existing Shared Private Link Resource" - }, - "SignalRCorsSettings": { - "type": "object", - "properties": { - "allowedOrigins": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the list of origins that should be allowed to make cross-origin calls (for example: http://example.com:12345). Use \"*\" to allow all. If omitted, allow all by default." - } - }, - "description": "Cross-Origin Resource Sharing (CORS) settings." - }, - "SignalRFeature": { - "type": "object", - "properties": { - "flag": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ServiceMode", - "EnableConnectivityLogs", - "EnableMessagingLogs", - "EnableLiveTrace" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "FeatureFlags is the supported features of Azure SignalR service.\r\n- ServiceMode: Flag for backend server for SignalR service. Values allowed: \"Default\": have your own backend server; \"Serverless\": your application doesn't have a backend server; \"Classic\": for backward compatibility. Support both Default and Serverless mode but not recommended; \"PredefinedOnly\": for future use.\r\n- EnableConnectivityLogs: \"true\"/\"false\", to enable/disable the connectivity log category respectively.\r\n- EnableMessagingLogs: \"true\"/\"false\", to enable/disable the connectivity log category respectively.\r\n- EnableLiveTrace: Live Trace allows you to know what's happening inside Azure SignalR service, it will give you live traces in real time, it will be helpful when you developing your own Azure SignalR based web application or self-troubleshooting some issues. Please note that live traces are counted as outbound messages that will be charged. Values allowed: \"true\"/\"false\", to enable/disable live trace feature." - }, - "properties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Optional properties related to this feature." - }, - "value": { - "type": "string", - "minLength": 1, - "maxLength": 128, - "description": "Value of the feature flag. See Azure SignalR service document https://docs.microsoft.com/azure/azure-signalr/ for allowed values." - } - }, - "required": [ - "flag", - "value" - ], - "description": "Feature of a resource, which controls the runtime behavior." - }, - "SignalRNetworkACLs": { - "type": "object", - "properties": { - "defaultAction": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Allow", - "Deny" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default action when no other rule matches." - }, - "privateEndpoints": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/PrivateEndpointACL" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "ACLs for requests from private endpoints" - }, - "publicNetwork": { - "oneOf": [ - { - "$ref": "#/definitions/NetworkACL" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Network ACL" - } - }, - "description": "Network ACLs for the resource" - }, - "SignalRProperties": { - "type": "object", - "properties": { - "cors": { - "oneOf": [ - { - "$ref": "#/definitions/SignalRCorsSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cross-Origin Resource Sharing (CORS) settings." - }, - "disableAadAuth": { - "oneOf": [ - { - "type": "boolean", - "default": false - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "DisableLocalAuth\r\nEnable or disable aad auth\r\nWhen set as true, connection with AuthType=aad won't work." - }, - "disableLocalAuth": { - "oneOf": [ - { - "type": "boolean", - "default": false - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "DisableLocalAuth\r\nEnable or disable local auth with AccessKey\r\nWhen set as true, connection with AccessKey=xxx won't work." - }, - "features": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SignalRFeature" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of the featureFlags.\r\n\r\nFeatureFlags that are not included in the parameters for the update operation will not be modified.\r\nAnd the response will only include featureFlags that are explicitly set. \r\nWhen a featureFlag is not explicitly set, its globally default value will be used\r\nBut keep in mind, the default value doesn't mean \"false\". It varies in terms of different FeatureFlags." - }, - "networkACLs": { - "oneOf": [ - { - "$ref": "#/definitions/SignalRNetworkACLs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Network ACLs for the resource" - }, - "publicNetworkAccess": { - "type": "string", - "default": "Enabled", - "description": "Enable or disable public network access. Default to \"Enabled\".\r\nWhen it's Enabled, network ACLs still apply.\r\nWhen it's Disabled, public network access is always disabled no matter what you set in network ACLs." - }, - "tls": { - "oneOf": [ - { - "$ref": "#/definitions/SignalRTlsSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "TLS settings for the resource" - }, - "upstream": { - "oneOf": [ - { - "$ref": "#/definitions/ServerlessUpstreamSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The settings for the Upstream when the service is in server-less mode." - } - }, - "description": "A class that describes the properties of the resource" - }, - "SignalRTlsSettings": { - "type": "object", - "properties": { - "clientCertEnabled": { - "oneOf": [ - { - "type": "boolean", - "default": true - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Request client certificate during TLS handshake if enabled" - } - }, - "description": "TLS settings for the resource" - }, - "signalR_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-09-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint connection properties" - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/signalR/privateEndpointConnections" - }, - "signalR_sharedPrivateLinkResources_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-09-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the shared private link resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SharedPrivateLinkResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the properties of an existing Shared Private Link Resource" - }, - "type": { - "type": "string", - "enum": [ - "sharedPrivateLinkResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/signalR/sharedPrivateLinkResources" - }, - "UpstreamAuthSettings": { - "type": "object", - "properties": { - "managedIdentity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedIdentitySettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Managed identity settings for upstream." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "ManagedIdentity" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the type of auth. None or ManagedIdentity is supported now." - } - }, - "description": "Upstream auth settings." - }, - "UpstreamTemplate": { - "type": "object", - "properties": { - "auth": { - "oneOf": [ - { - "$ref": "#/definitions/UpstreamAuthSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Upstream auth settings." - }, - "categoryPattern": { - "type": "string", - "description": "Gets or sets the matching pattern for category names. If not set, it matches any category.\r\nThere are 3 kind of patterns supported:\r\n 1. \"*\", it to matches any category name\r\n 2. Combine multiple categories with \",\", for example \"connections,messages\", it matches category \"connections\" and \"messages\"\r\n 3. The single category name, for example, \"connections\", it matches the category \"connections\"" - }, - "eventPattern": { - "type": "string", - "description": "Gets or sets the matching pattern for event names. If not set, it matches any event.\r\nThere are 3 kind of patterns supported:\r\n 1. \"*\", it to matches any event name\r\n 2. Combine multiple events with \",\", for example \"connect,disconnect\", it matches event \"connect\" and \"disconnect\"\r\n 3. The single event name, for example, \"connect\", it matches \"connect\"" - }, - "hubPattern": { - "type": "string", - "description": "Gets or sets the matching pattern for hub names. If not set, it matches any hub.\r\nThere are 3 kind of patterns supported:\r\n 1. \"*\", it to matches any hub name\r\n 2. Combine multiple hubs with \",\", for example \"hub1,hub2\", it matches \"hub1\" and \"hub2\"\r\n 3. The single hub name, for example, \"hub1\", it matches \"hub1\"" - }, - "urlTemplate": { - "type": "string", - "description": "Gets or sets the Upstream URL template. You can use 3 predefined parameters {hub}, {category} {event} inside the template, the value of the Upstream URL is dynamically calculated when the client request comes in.\r\nFor example, if the urlTemplate is `http://example.com/{hub}/api/{event}`, with a client request from hub `chat` connects, it will first POST to this URL: `http://example.com/chat/api/connect`." - } - }, - "required": [ - "urlTemplate" - ], - "description": "Upstream template item settings. It defines the Upstream URL of the incoming requests.\r\nThe template defines the pattern of the event, the hub or the category of the incoming request that matches current URL template." - }, - "UserAssignedIdentityProperty": { - "type": "object", - "properties": {}, - "description": "Properties of user assigned identity." - } - } -} \ No newline at end of file diff --git a/schemas/2021-10-01/Microsoft.SignalRService.json b/schemas/2021-10-01/Microsoft.SignalRService.json deleted file mode 100644 index 0984726112..0000000000 --- a/schemas/2021-10-01/Microsoft.SignalRService.json +++ /dev/null @@ -1,908 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-10-01/Microsoft.SignalRService.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.SignalRService", - "description": "Microsoft SignalRService Resource Types", - "resourceDefinitions": { - "signalR": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-01" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A class represent managed identities used for request and response" - }, - "kind": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SignalR", - "RawWebSockets" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "type": "string", - "description": "The GEO location of the resource. e.g. West US | East US | North Central US | South Central US." - }, - "name": { - "type": "string", - "description": "The name of the resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SignalRProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A class that describes the properties of the resource" - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/signalR_privateEndpointConnections_childResource" - }, - { - "$ref": "#/definitions/signalR_sharedPrivateLinkResources_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The billing information of the resource." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tags of the service which is a list of key value pairs that describe the resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.SignalRService/signalR" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/signalR" - }, - "signalR_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint connection properties" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.SignalRService/signalR/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/signalR/privateEndpointConnections" - }, - "signalR_sharedPrivateLinkResources": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the shared private link resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SharedPrivateLinkResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the properties of an existing Shared Private Link Resource" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.SignalRService/signalR/sharedPrivateLinkResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/signalR/sharedPrivateLinkResources" - } - }, - "definitions": { - "ManagedIdentity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "SystemAssigned", - "UserAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "userAssignedIdentities": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/UserAssignedIdentityProperty" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Get or set the user assigned identities" - } - }, - "description": "A class represent managed identities used for request and response" - }, - "ManagedIdentitySettings": { - "type": "object", - "properties": { - "resource": { - "type": "string", - "description": "The Resource indicating the App ID URI of the target resource.\r\nIt also appears in the aud (audience) claim of the issued token." - } - }, - "description": "Managed identity settings for upstream." - }, - "NetworkACL": { - "type": "object", - "properties": { - "allow": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ClientConnection", - "ServerConnection", - "RESTAPI", - "Trace" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI." - }, - "deny": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ClientConnection", - "ServerConnection", - "RESTAPI", - "Trace" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI." - } - }, - "description": "Network ACL" - }, - "PrivateEndpoint": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Full qualified Id of the private endpoint" - } - }, - "description": "Private endpoint" - }, - "PrivateEndpointACL": { - "type": "object", - "properties": { - "allow": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ClientConnection", - "ServerConnection", - "RESTAPI", - "Trace" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI." - }, - "deny": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "ClientConnection", - "ServerConnection", - "RESTAPI", - "Trace" - ] - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI." - }, - "name": { - "type": "string", - "description": "Name of the private endpoint connection" - } - }, - "required": [ - "name" - ], - "description": "ACL for a private endpoint" - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "privateEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint" - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Connection state of the private endpoint connection" - } - }, - "description": "Private endpoint connection properties" - }, - "PrivateLinkServiceConnectionState": { - "type": "object", - "properties": { - "actionsRequired": { - "type": "string", - "description": "A message indicating if changes on the service provider require any updates on the consumer." - }, - "description": { - "type": "string", - "description": "The reason for approval/rejection of the connection." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Pending", - "Approved", - "Rejected", - "Disconnected" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "description": "Connection state of the private endpoint connection" - }, - "ResourceLogCategory": { - "type": "object", - "properties": { - "enabled": { - "type": "string", - "description": "Indicates whether or the resource log category is enabled.\r\nAvailable values: true, false.\r\nCase insensitive." - }, - "name": { - "type": "string", - "description": "Gets or sets the resource log category's name.\r\nAvailable values: ConnectivityLogs, MessagingLogs.\r\nCase insensitive." - } - }, - "description": "Resource log category configuration of a Microsoft.SignalRService resource." - }, - "ResourceLogConfiguration": { - "type": "object", - "properties": { - "categories": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ResourceLogCategory" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the list of category configurations." - } - }, - "description": "Resource log configuration of a Microsoft.SignalRService resource." - }, - "ResourceSku": { - "type": "object", - "properties": { - "capacity": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Optional, integer. The unit count of the resource. 1 by default.\r\n\r\nIf present, following values are allowed:\r\n Free: 1\r\n Standard: 1,2,5,10,20,50,100" - }, - "name": { - "type": "string", - "description": "The name of the SKU. Required.\r\n\r\nAllowed values: Standard_S1, Free_F1" - }, - "tier": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Free", - "Basic", - "Standard", - "Premium" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name" - ], - "description": "The billing information of the resource." - }, - "ServerlessUpstreamSettings": { - "type": "object", - "properties": { - "templates": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/UpstreamTemplate" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the list of Upstream URL templates. Order matters, and the first matching template takes effects." - } - }, - "description": "The settings for the Upstream when the service is in server-less mode." - }, - "SharedPrivateLinkResourceProperties": { - "type": "object", - "properties": { - "groupId": { - "type": "string", - "description": "The group id from the provider of resource the shared private link resource is for" - }, - "privateLinkResourceId": { - "type": "string", - "description": "The resource id of the resource the shared private link resource is for" - }, - "requestMessage": { - "type": "string", - "description": "The request message for requesting approval of the shared private link resource" - } - }, - "required": [ - "groupId", - "privateLinkResourceId" - ], - "description": "Describes the properties of an existing Shared Private Link Resource" - }, - "SignalRCorsSettings": { - "type": "object", - "properties": { - "allowedOrigins": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the list of origins that should be allowed to make cross-origin calls (for example: http://example.com:12345). Use \"*\" to allow all. If omitted, allow all by default." - } - }, - "description": "Cross-Origin Resource Sharing (CORS) settings." - }, - "SignalRFeature": { - "type": "object", - "properties": { - "flag": { - "oneOf": [ - { - "type": "string", - "enum": [ - "ServiceMode", - "EnableConnectivityLogs", - "EnableMessagingLogs", - "EnableLiveTrace" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Optional properties related to this feature." - }, - "value": { - "type": "string", - "minLength": 1, - "maxLength": 128, - "description": "Value of the feature flag. See Azure SignalR service document https://docs.microsoft.com/azure/azure-signalr/ for allowed values." - } - }, - "required": [ - "flag", - "value" - ], - "description": "Feature of a resource, which controls the runtime behavior." - }, - "SignalRNetworkACLs": { - "type": "object", - "properties": { - "defaultAction": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Allow", - "Deny" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "privateEndpoints": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/PrivateEndpointACL" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "ACLs for requests from private endpoints" - }, - "publicNetwork": { - "oneOf": [ - { - "$ref": "#/definitions/NetworkACL" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Network ACL" - } - }, - "description": "Network ACLs for the resource" - }, - "SignalRProperties": { - "type": "object", - "properties": { - "cors": { - "oneOf": [ - { - "$ref": "#/definitions/SignalRCorsSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Cross-Origin Resource Sharing (CORS) settings." - }, - "disableAadAuth": { - "oneOf": [ - { - "type": "boolean", - "default": false - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "DisableLocalAuth\r\nEnable or disable aad auth\r\nWhen set as true, connection with AuthType=aad won't work." - }, - "disableLocalAuth": { - "oneOf": [ - { - "type": "boolean", - "default": false - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "DisableLocalAuth\r\nEnable or disable local auth with AccessKey\r\nWhen set as true, connection with AccessKey=xxx won't work." - }, - "features": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SignalRFeature" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of the featureFlags.\r\n\r\nFeatureFlags that are not included in the parameters for the update operation will not be modified.\r\nAnd the response will only include featureFlags that are explicitly set. \r\nWhen a featureFlag is not explicitly set, its globally default value will be used\r\nBut keep in mind, the default value doesn't mean \"false\". It varies in terms of different FeatureFlags." - }, - "networkACLs": { - "oneOf": [ - { - "$ref": "#/definitions/SignalRNetworkACLs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Network ACLs for the resource" - }, - "publicNetworkAccess": { - "type": "string", - "default": "Enabled", - "description": "Enable or disable public network access. Default to \"Enabled\".\r\nWhen it's Enabled, network ACLs still apply.\r\nWhen it's Disabled, public network access is always disabled no matter what you set in network ACLs." - }, - "resourceLogConfiguration": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceLogConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource log configuration of a Microsoft.SignalRService resource." - }, - "tls": { - "oneOf": [ - { - "$ref": "#/definitions/SignalRTlsSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "TLS settings for the resource" - }, - "upstream": { - "oneOf": [ - { - "$ref": "#/definitions/ServerlessUpstreamSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The settings for the Upstream when the service is in server-less mode." - } - }, - "description": "A class that describes the properties of the resource" - }, - "SignalRTlsSettings": { - "type": "object", - "properties": { - "clientCertEnabled": { - "oneOf": [ - { - "type": "boolean", - "default": true - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Request client certificate during TLS handshake if enabled" - } - }, - "description": "TLS settings for the resource" - }, - "signalR_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Private endpoint connection properties" - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/signalR/privateEndpointConnections" - }, - "signalR_sharedPrivateLinkResources_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the shared private link resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SharedPrivateLinkResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the properties of an existing Shared Private Link Resource" - }, - "type": { - "type": "string", - "enum": [ - "sharedPrivateLinkResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/signalR/sharedPrivateLinkResources" - }, - "UpstreamAuthSettings": { - "type": "object", - "properties": { - "managedIdentity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedIdentitySettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Managed identity settings for upstream." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "ManagedIdentity" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "description": "Upstream auth settings. If not set, no auth is used for upstream messages." - }, - "UpstreamTemplate": { - "type": "object", - "properties": { - "auth": { - "oneOf": [ - { - "$ref": "#/definitions/UpstreamAuthSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Upstream auth settings. If not set, no auth is used for upstream messages." - }, - "categoryPattern": { - "type": "string", - "description": "Gets or sets the matching pattern for category names. If not set, it matches any category.\r\nThere are 3 kind of patterns supported:\r\n 1. \"*\", it to matches any category name\r\n 2. Combine multiple categories with \",\", for example \"connections,messages\", it matches category \"connections\" and \"messages\"\r\n 3. The single category name, for example, \"connections\", it matches the category \"connections\"" - }, - "eventPattern": { - "type": "string", - "description": "Gets or sets the matching pattern for event names. If not set, it matches any event.\r\nThere are 3 kind of patterns supported:\r\n 1. \"*\", it to matches any event name\r\n 2. Combine multiple events with \",\", for example \"connect,disconnect\", it matches event \"connect\" and \"disconnect\"\r\n 3. The single event name, for example, \"connect\", it matches \"connect\"" - }, - "hubPattern": { - "type": "string", - "description": "Gets or sets the matching pattern for hub names. If not set, it matches any hub.\r\nThere are 3 kind of patterns supported:\r\n 1. \"*\", it to matches any hub name\r\n 2. Combine multiple hubs with \",\", for example \"hub1,hub2\", it matches \"hub1\" and \"hub2\"\r\n 3. The single hub name, for example, \"hub1\", it matches \"hub1\"" - }, - "urlTemplate": { - "type": "string", - "description": "Gets or sets the Upstream URL template. You can use 3 predefined parameters {hub}, {category} {event} inside the template, the value of the Upstream URL is dynamically calculated when the client request comes in.\r\nFor example, if the urlTemplate is `http://example.com/{hub}/api/{event}`, with a client request from hub `chat` connects, it will first POST to this URL: `http://example.com/chat/api/connect`." - } - }, - "required": [ - "urlTemplate" - ], - "description": "Upstream template item settings. It defines the Upstream URL of the incoming requests.\r\nThe template defines the pattern of the event, the hub or the category of the incoming request that matches current URL template." - }, - "UserAssignedIdentityProperty": { - "type": "object", - "properties": {}, - "description": "Properties of user assigned identity." - } - } -} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 9c9847da90..20ccde4a4c 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -11857,60 +11857,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.ServiceFabricMesh.json#/resourceDefinitions/volumes" }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-03-01-preview/Microsoft.SignalRService.json#/resourceDefinitions/SignalR" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-10-01/Microsoft.SignalRService.json#/resourceDefinitions/signalR" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-05-01/Microsoft.SignalRService.json#/resourceDefinitions/signalR" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-05-01/Microsoft.SignalRService.json#/resourceDefinitions/signalR_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-07-01-preview/Microsoft.SignalRService.json#/resourceDefinitions/signalR" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-07-01-preview/Microsoft.SignalRService.json#/resourceDefinitions/signalR_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.SignalRService.json#/resourceDefinitions/signalR" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.SignalRService.json#/resourceDefinitions/signalR_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.SignalRService.json#/resourceDefinitions/signalR_sharedPrivateLinkResources" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-01-preview/Microsoft.SignalRService.json#/resourceDefinitions/signalR" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-01-preview/Microsoft.SignalRService.json#/resourceDefinitions/signalR_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-01-preview/Microsoft.SignalRService.json#/resourceDefinitions/signalR_sharedPrivateLinkResources" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-09-01-preview/Microsoft.SignalRService.json#/resourceDefinitions/signalR" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-09-01-preview/Microsoft.SignalRService.json#/resourceDefinitions/signalR_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-09-01-preview/Microsoft.SignalRService.json#/resourceDefinitions/signalR_sharedPrivateLinkResources" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-01/Microsoft.SignalRService.json#/resourceDefinitions/signalR" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-01/Microsoft.SignalRService.json#/resourceDefinitions/signalR_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-01/Microsoft.SignalRService.json#/resourceDefinitions/signalR_sharedPrivateLinkResources" - }, { "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub" },