From d8fde86b11b1af267d0a06ddd7c03cd541bd64ff Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 13 Mar 2024 04:59:28 +0000 Subject: [PATCH] CodeGen from PR 28072 in Azure/azure-rest-api-specs Merge 492304ea98d17a1048bcfaf316dd56235c7ebff9 into 98df3588284c0b77389e981ef04aa93fed89037e --- .../Microsoft.SignalRService.WebPubSub.json | 799 --------- .../Microsoft.SignalRService.WebPubSub.json | 791 --------- .../Microsoft.SignalRService.WebPubSub.json | 812 --------- .../Microsoft.SignalRService.WebPubSub.json | 933 ---------- .../Microsoft.SignalRService.WebPubSub.json | 1276 -------------- .../Microsoft.SignalRService.WebPubSub.json | 1276 -------------- .../Microsoft.SignalRService.WebPubSub.json | 1452 ---------------- .../Microsoft.SignalRService.WebPubSub.json | 1466 ---------------- .../Microsoft.SignalRService.WebPubSub.json | 1525 ----------------- schemas/common/autogeneratedResources.json | 138 -- 10 files changed, 10468 deletions(-) delete mode 100644 schemas/2021-04-01-preview/Microsoft.SignalRService.WebPubSub.json delete mode 100644 schemas/2021-06-01-preview/Microsoft.SignalRService.WebPubSub.json delete mode 100644 schemas/2021-09-01-preview/Microsoft.SignalRService.WebPubSub.json delete mode 100644 schemas/2021-10-01/Microsoft.SignalRService.WebPubSub.json delete mode 100644 schemas/2022-08-01-preview/Microsoft.SignalRService.WebPubSub.json delete mode 100644 schemas/2023-02-01/Microsoft.SignalRService.WebPubSub.json delete mode 100644 schemas/2023-03-01-preview/Microsoft.SignalRService.WebPubSub.json delete mode 100644 schemas/2023-06-01-preview/Microsoft.SignalRService.WebPubSub.json delete mode 100644 schemas/2023-08-01-preview/Microsoft.SignalRService.WebPubSub.json diff --git a/schemas/2021-04-01-preview/Microsoft.SignalRService.WebPubSub.json b/schemas/2021-04-01-preview/Microsoft.SignalRService.WebPubSub.json deleted file mode 100644 index a495c88fae..0000000000 --- a/schemas/2021-04-01-preview/Microsoft.SignalRService.WebPubSub.json +++ /dev/null @@ -1,799 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.SignalRService.WebPubSub.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.SignalRService", - "description": "Microsoft SignalRService Resource Types", - "resourceDefinitions": { - "webPubSub": { - "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" - }, - "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/WebPubSubProperties" - }, - { - "$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/webPubSub_privateEndpointConnections_childResource" - }, - { - "$ref": "#/definitions/webPubSub_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/webPubSub" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub" - }, - "webPubSub_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/webPubSub/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/privateEndpointConnections" - }, - "webPubSub_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/webPubSub/sharedPrivateLinkResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/sharedPrivateLinkResources" - } - }, - "definitions": { - "EventHandlerSettings": { - "type": "object", - "properties": { - "items": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "$ref": "#/definitions/EventHandlerTemplate" - } - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Get or set the EventHandler items. The key is the hub name and the value is the corresponding EventHandlerTemplate." - } - }, - "description": "The settings for event handler in webpubsub service" - }, - "EventHandlerTemplate": { - "type": "object", - "properties": { - "auth": { - "oneOf": [ - { - "$ref": "#/definitions/UpstreamAuthSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Upstream auth settings." - }, - "systemEventPattern": { - "type": "string", - "description": "Gets ot sets the system event pattern.\r\nThere are 2 kind of patterns supported:\r\n 1. The single event name, for example, \"connect\", it matches \"connect\"\r\n 2. Combine multiple events with \",\", for example \"connect,disconnected\", it matches event \"connect\" and \"disconnected\"" - }, - "urlTemplate": { - "type": "string", - "description": "Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in.\r\nFor example, UrlTemplate can be `http://example.com/api/{hub}/{event}`. The host part can't contains parameters." - }, - "userEventPattern": { - "type": "string", - "description": "Gets or sets the matching pattern for event names.\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 \"event1,event2\", it matches event \"event1\" and \"event2\"\r\n 3. The single event name, for example, \"event1\", it matches \"event1\"" - } - }, - "required": [ - "urlTemplate" - ], - "description": "EventHandler template item settings." - }, - "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." - }, - "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" - }, - "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." - }, - "UserAssignedIdentityProperty": { - "type": "object", - "properties": {}, - "description": "Properties of user assigned identity." - }, - "WebPubSubFeature": { - "type": "object", - "properties": { - "flag": { - "oneOf": [ - { - "type": "string", - "enum": [ - "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.\n - EnableConnectivityLogs: \"true\"/\"false\", to enable/disable the connectivity log category respectively.\n - EnableMessagingLogs: \"true\"/\"false\", to enable/disable the connectivity log category respectively.\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.\n." - }, - "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." - }, - "WebPubSubNetworkACLs": { - "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" - }, - "WebPubSubProperties": { - "type": "object", - "properties": { - "eventHandler": { - "oneOf": [ - { - "$ref": "#/definitions/EventHandlerSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The settings for event handler in webpubsub service" - }, - "features": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/WebPubSubFeature" - } - }, - { - "$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/WebPubSubNetworkACLs" - }, - { - "$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/WebPubSubTlsSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "TLS settings for the resource" - } - }, - "description": "A class that describes the properties of the resource" - }, - "WebPubSubTlsSettings": { - "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" - }, - "webPubSub_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/webPubSub/privateEndpointConnections" - }, - "webPubSub_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/webPubSub/sharedPrivateLinkResources" - } - } -} \ No newline at end of file diff --git a/schemas/2021-06-01-preview/Microsoft.SignalRService.WebPubSub.json b/schemas/2021-06-01-preview/Microsoft.SignalRService.WebPubSub.json deleted file mode 100644 index 9d4ce326a3..0000000000 --- a/schemas/2021-06-01-preview/Microsoft.SignalRService.WebPubSub.json +++ /dev/null @@ -1,791 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-06-01-preview/Microsoft.SignalRService.WebPubSub.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.SignalRService", - "description": "Microsoft SignalRService Resource Types", - "resourceDefinitions": { - "webPubSub": { - "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" - }, - "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/WebPubSubProperties" - }, - { - "$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/webPubSub_privateEndpointConnections_childResource" - }, - { - "$ref": "#/definitions/webPubSub_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/webPubSub" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub" - }, - "webPubSub_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/webPubSub/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/privateEndpointConnections" - }, - "webPubSub_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/webPubSub/sharedPrivateLinkResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/sharedPrivateLinkResources" - } - }, - "definitions": { - "DiagnosticConfiguration": { - "type": "object", - "properties": { - "enableConnectivityLogs": { - "type": "string", - "description": "Indicate whether or not enable Connectivity logs.\r\nAvailable values: Enabled, Disabled.\r\nCase insensitive." - }, - "enableLiveTrace": { - "type": "string", - "description": "Indicate whether or not enable Live Trace. \r\nAvailable values: Enabled, Disabled. \r\nCase insensitive. \r\nLive 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." - }, - "enableMessagingLogs": { - "type": "string", - "description": "Indicate whether or not enable Messaging logs.\r\nAvailable values: Enabled, Disabled.\r\nCase insensitive." - } - }, - "description": "Diagnostic configuration of a Microsoft.SignalRService resource. Used together with Azure monitor DiagnosticSettings." - }, - "EventHandlerSettings": { - "type": "object", - "properties": { - "items": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "$ref": "#/definitions/EventHandlerTemplate" - } - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Get or set the EventHandler items. The key is the hub name and the value is the corresponding EventHandlerTemplate." - } - }, - "description": "The settings for event handler in webpubsub service" - }, - "EventHandlerTemplate": { - "type": "object", - "properties": { - "auth": { - "oneOf": [ - { - "$ref": "#/definitions/UpstreamAuthSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Upstream auth settings." - }, - "systemEventPattern": { - "type": "string", - "description": "Gets ot sets the system event pattern.\r\nThere are 2 kind of patterns supported:\r\n 1. The single event name, for example, \"connect\", it matches \"connect\"\r\n 2. Combine multiple events with \",\", for example \"connect,disconnected\", it matches event \"connect\" and \"disconnected\"" - }, - "urlTemplate": { - "type": "string", - "description": "Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in.\r\nFor example, UrlTemplate can be `http://example.com/api/{hub}/{event}`. The host part can't contains parameters." - }, - "userEventPattern": { - "type": "string", - "description": "Gets or sets the matching pattern for event names.\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 \"event1,event2\", it matches event \"event1\" and \"event2\"\r\n 3. The single event name, for example, \"event1\", it matches \"event1\"" - } - }, - "required": [ - "urlTemplate" - ], - "description": "EventHandler template item settings." - }, - "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." - }, - "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" - }, - "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." - }, - "UserAssignedIdentityProperty": { - "type": "object", - "properties": {}, - "description": "Properties of user assigned identity." - }, - "WebPubSubNetworkACLs": { - "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" - }, - "WebPubSubProperties": { - "type": "object", - "properties": { - "diagnosticConfiguration": { - "oneOf": [ - { - "$ref": "#/definitions/DiagnosticConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Diagnostic configuration of a Microsoft.SignalRService resource. Used together with Azure monitor DiagnosticSettings." - }, - "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." - }, - "eventHandler": { - "oneOf": [ - { - "$ref": "#/definitions/EventHandlerSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The settings for event handler in webpubsub service" - }, - "networkACLs": { - "oneOf": [ - { - "$ref": "#/definitions/WebPubSubNetworkACLs" - }, - { - "$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/WebPubSubTlsSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "TLS settings for the resource" - } - }, - "description": "A class that describes the properties of the resource" - }, - "WebPubSubTlsSettings": { - "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" - }, - "webPubSub_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/webPubSub/privateEndpointConnections" - }, - "webPubSub_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/webPubSub/sharedPrivateLinkResources" - } - } -} \ No newline at end of file diff --git a/schemas/2021-09-01-preview/Microsoft.SignalRService.WebPubSub.json b/schemas/2021-09-01-preview/Microsoft.SignalRService.WebPubSub.json deleted file mode 100644 index 24d185f456..0000000000 --- a/schemas/2021-09-01-preview/Microsoft.SignalRService.WebPubSub.json +++ /dev/null @@ -1,812 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-09-01-preview/Microsoft.SignalRService.WebPubSub.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.SignalRService", - "description": "Microsoft SignalRService Resource Types", - "resourceDefinitions": { - "webPubSub": { - "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" - }, - "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/WebPubSubProperties" - }, - { - "$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/webPubSub_privateEndpointConnections_childResource" - }, - { - "$ref": "#/definitions/webPubSub_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/webPubSub" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub" - }, - "webPubSub_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/webPubSub/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/privateEndpointConnections" - }, - "webPubSub_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/webPubSub/sharedPrivateLinkResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/sharedPrivateLinkResources" - } - }, - "definitions": { - "EventHandlerSettings": { - "type": "object", - "properties": { - "items": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "$ref": "#/definitions/EventHandlerTemplate" - } - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Get or set the EventHandler items. The key is the hub name and the value is the corresponding EventHandlerTemplate." - } - }, - "description": "The settings for event handler in webpubsub service" - }, - "EventHandlerTemplate": { - "type": "object", - "properties": { - "auth": { - "oneOf": [ - { - "$ref": "#/definitions/UpstreamAuthSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Upstream auth settings." - }, - "systemEventPattern": { - "type": "string", - "description": "Gets ot sets the system event pattern.\r\nThere are 2 kind of patterns supported:\r\n 1. The single event name, for example, \"connect\", it matches \"connect\"\r\n 2. Combine multiple events with \",\", for example \"connect,disconnected\", it matches event \"connect\" and \"disconnected\"" - }, - "urlTemplate": { - "type": "string", - "description": "Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in.\r\nFor example, UrlTemplate can be `http://example.com/api/{hub}/{event}`. The host part can't contains parameters." - }, - "userEventPattern": { - "type": "string", - "description": "Gets or sets the matching pattern for event names.\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 \"event1,event2\", it matches event \"event1\" and \"event2\"\r\n 3. The single event name, for example, \"event1\", it matches \"event1\"" - } - }, - "required": [ - "urlTemplate" - ], - "description": "EventHandler template item settings." - }, - "LiveTraceCategory": { - "type": "object", - "properties": { - "enabled": { - "type": "string", - "description": "Indicates whether or the log category is enabled.\r\nAvailable values: true, false.\r\nCase insensitive." - }, - "name": { - "type": "string", - "description": "Gets or sets the log category's name.\r\nAvailable values: ConnectivityLogs, MessagingLogs.\r\nCase insensitive." - } - }, - "description": "live trace category configuration of a Microsoft.SignalRService resource." - }, - "LiveTraceConfiguration": { - "type": "object", - "properties": { - "categories": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LiveTraceCategory" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the list of category configurations." - }, - "enabled": { - "type": "string", - "default": "false", - "description": "Indicates whether or not enable live trace.\r\nWhen it's set to true, live trace client can connect to the service.\r\nOtherwise, live trace client can't connect to the service, so that you are unable to receive any log, no matter what you configure in \"categories\".\r\nAvailable values: true, false.\r\nCase insensitive." - } - }, - "description": "Live trace configuration of a Microsoft.SignalRService resource." - }, - "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." - }, - "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" - }, - "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." - }, - "UserAssignedIdentityProperty": { - "type": "object", - "properties": {}, - "description": "Properties of user assigned identity." - }, - "WebPubSubNetworkACLs": { - "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" - }, - "WebPubSubProperties": { - "type": "object", - "properties": { - "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." - }, - "eventHandler": { - "oneOf": [ - { - "$ref": "#/definitions/EventHandlerSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The settings for event handler in webpubsub service" - }, - "liveTraceConfiguration": { - "oneOf": [ - { - "$ref": "#/definitions/LiveTraceConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Live trace configuration of a Microsoft.SignalRService resource." - }, - "networkACLs": { - "oneOf": [ - { - "$ref": "#/definitions/WebPubSubNetworkACLs" - }, - { - "$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/WebPubSubTlsSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "TLS settings for the resource" - } - }, - "description": "A class that describes the properties of the resource" - }, - "WebPubSubTlsSettings": { - "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" - }, - "webPubSub_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/webPubSub/privateEndpointConnections" - }, - "webPubSub_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/webPubSub/sharedPrivateLinkResources" - } - } -} \ No newline at end of file diff --git a/schemas/2021-10-01/Microsoft.SignalRService.WebPubSub.json b/schemas/2021-10-01/Microsoft.SignalRService.WebPubSub.json deleted file mode 100644 index 87f13c9885..0000000000 --- a/schemas/2021-10-01/Microsoft.SignalRService.WebPubSub.json +++ /dev/null @@ -1,933 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-10-01/Microsoft.SignalRService.WebPubSub.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.SignalRService", - "description": "Microsoft SignalRService Resource Types", - "resourceDefinitions": { - "webPubSub": { - "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" - }, - "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/WebPubSubProperties" - }, - { - "$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/webPubSub_hubs_childResource" - }, - { - "$ref": "#/definitions/webPubSub_privateEndpointConnections_childResource" - }, - { - "$ref": "#/definitions/webPubSub_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/webPubSub" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub" - }, - "webPubSub_hubs": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-01" - ] - }, - "name": { - "type": "string", - "description": "The hub name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WebPubSubHubProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a hub." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.SignalRService/webPubSub/hubs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/hubs" - }, - "webPubSub_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/webPubSub/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/privateEndpointConnections" - }, - "webPubSub_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/webPubSub/sharedPrivateLinkResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/sharedPrivateLinkResources" - } - }, - "definitions": { - "EventHandler": { - "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." - }, - "systemEvents": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets ot sets the list of system events." - }, - "urlTemplate": { - "type": "string", - "description": "Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in.\r\nFor example, UrlTemplate can be `http://example.com/api/{hub}/{event}`. The host part can't contains parameters." - }, - "userEventPattern": { - "type": "string", - "description": "Gets or sets the matching pattern for event names.\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 \"event1,event2\", it matches event \"event1\" and \"event2\"\r\n 3. The single event name, for example, \"event1\", it matches \"event1\"" - } - }, - "required": [ - "urlTemplate" - ], - "description": "Properties of event handler." - }, - "LiveTraceCategory": { - "type": "object", - "properties": { - "enabled": { - "type": "string", - "description": "Indicates whether or the live trace category is enabled.\r\nAvailable values: true, false.\r\nCase insensitive." - }, - "name": { - "type": "string", - "description": "Gets or sets the live trace category's name.\r\nAvailable values: ConnectivityLogs, MessagingLogs.\r\nCase insensitive." - } - }, - "description": "Live trace category configuration of a Microsoft.SignalRService resource." - }, - "LiveTraceConfiguration": { - "type": "object", - "properties": { - "categories": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LiveTraceCategory" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the list of category configurations." - }, - "enabled": { - "type": "string", - "default": "false", - "description": "Indicates whether or not enable live trace.\r\nWhen it's set to true, live trace client can connect to the service.\r\nOtherwise, live trace client can't connect to the service, so that you are unable to receive any log, no matter what you configure in \"categories\".\r\nAvailable values: true, false.\r\nCase insensitive." - } - }, - "description": "Live trace configuration of a Microsoft.SignalRService resource." - }, - "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." - }, - "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" - }, - "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." - }, - "UserAssignedIdentityProperty": { - "type": "object", - "properties": {}, - "description": "Properties of user assigned identity." - }, - "WebPubSubHubProperties": { - "type": "object", - "properties": { - "anonymousConnectPolicy": { - "type": "string", - "default": "deny", - "description": "The settings for configuring if anonymous connections are allowed for this hub: \"allow\" or \"deny\". Default to \"deny\"." - }, - "eventHandlers": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/EventHandler" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Event handler of a hub." - } - }, - "description": "Properties of a hub." - }, - "WebPubSubNetworkACLs": { - "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" - }, - "WebPubSubProperties": { - "type": "object", - "properties": { - "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." - }, - "liveTraceConfiguration": { - "oneOf": [ - { - "$ref": "#/definitions/LiveTraceConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Live trace configuration of a Microsoft.SignalRService resource." - }, - "networkACLs": { - "oneOf": [ - { - "$ref": "#/definitions/WebPubSubNetworkACLs" - }, - { - "$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/WebPubSubTlsSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "TLS settings for the resource" - } - }, - "description": "A class that describes the properties of the resource" - }, - "WebPubSubTlsSettings": { - "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" - }, - "webPubSub_hubs_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-10-01" - ] - }, - "name": { - "type": "string", - "description": "The hub name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WebPubSubHubProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a hub." - }, - "type": { - "type": "string", - "enum": [ - "hubs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/hubs" - }, - "webPubSub_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/webPubSub/privateEndpointConnections" - }, - "webPubSub_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/webPubSub/sharedPrivateLinkResources" - } - } -} \ No newline at end of file diff --git a/schemas/2022-08-01-preview/Microsoft.SignalRService.WebPubSub.json b/schemas/2022-08-01-preview/Microsoft.SignalRService.WebPubSub.json deleted file mode 100644 index 3b33275489..0000000000 --- a/schemas/2022-08-01-preview/Microsoft.SignalRService.WebPubSub.json +++ /dev/null @@ -1,1276 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2022-08-01-preview/Microsoft.SignalRService.WebPubSub.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.SignalRService", - "description": "Microsoft SignalRService Resource Types", - "resourceDefinitions": { - "webPubSub": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-08-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" - }, - "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/WebPubSubProperties" - }, - { - "$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/webPubSub_customCertificates_childResource" - }, - { - "$ref": "#/definitions/webPubSub_customDomains_childResource" - }, - { - "$ref": "#/definitions/webPubSub_hubs_childResource" - }, - { - "$ref": "#/definitions/webPubSub_privateEndpointConnections_childResource" - }, - { - "$ref": "#/definitions/webPubSub_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/webPubSub" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub" - }, - "webPubSub_customCertificates": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-08-01-preview" - ] - }, - "name": { - "type": "string", - "description": "Custom certificate name" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CustomCertificateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Custom certificate properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.SignalRService/webPubSub/customCertificates" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/customCertificates" - }, - "webPubSub_customDomains": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-08-01-preview" - ] - }, - "name": { - "type": "string", - "description": "Custom domain name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CustomDomainProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a custom domain." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.SignalRService/webPubSub/customDomains" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/customDomains" - }, - "webPubSub_hubs": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-08-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The hub name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WebPubSubHubProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a hub." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.SignalRService/webPubSub/hubs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/hubs" - }, - "webPubSub_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-08-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/webPubSub/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/privateEndpointConnections" - }, - "webPubSub_sharedPrivateLinkResources": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-08-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/webPubSub/sharedPrivateLinkResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/sharedPrivateLinkResources" - } - }, - "definitions": { - "CustomCertificateProperties": { - "type": "object", - "properties": { - "keyVaultBaseUri": { - "type": "string", - "description": "Base uri of the KeyVault that stores certificate." - }, - "keyVaultSecretName": { - "type": "string", - "description": "Certificate secret name." - }, - "keyVaultSecretVersion": { - "type": "string", - "description": "Certificate secret version." - } - }, - "required": [ - "keyVaultBaseUri", - "keyVaultSecretName" - ], - "description": "Custom certificate properties." - }, - "CustomDomainProperties": { - "type": "object", - "properties": { - "customCertificate": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Reference to a resource." - }, - "domainName": { - "type": "string", - "description": "The custom domain name." - } - }, - "required": [ - "customCertificate", - "domainName" - ], - "description": "Properties of a custom domain." - }, - "EventHandler": { - "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." - }, - "systemEvents": { - "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 system events." - }, - "urlTemplate": { - "type": "string", - "description": "Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in.\r\nFor example, UrlTemplate can be `http://example.com/api/{hub}/{event}`. The host part can't contains parameters." - }, - "userEventPattern": { - "type": "string", - "description": "Gets or sets the matching pattern for event names.\r\nThere are 3 kinds of patterns supported:\r\n 1. \"*\", it matches any event name\r\n 2. Combine multiple events with \",\", for example \"event1,event2\", it matches event \"event1\" and \"event2\"\r\n 3. A single event name, for example, \"event1\", it matches \"event1\"" - } - }, - "required": [ - "urlTemplate" - ], - "description": "Properties of event handler." - }, - "EventHubEndpoint": { - "type": "object", - "properties": { - "eventHubName": { - "type": "string", - "description": "The name of the Event Hub." - }, - "fullyQualifiedNamespace": { - "type": "string", - "description": "The fully qualified namespace name of the Event Hub resource. For example, \"example.servicebus.windows.net\"." - }, - "type": { - "type": "string", - "enum": [ - "EventHub" - ] - } - }, - "required": [ - "eventHubName", - "fullyQualifiedNamespace", - "type" - ], - "description": "An Event Hub endpoint. \r\nThe managed identity of Web PubSub service must be enabled, and the identity should have the \"Azure Event Hubs Data sender\" role to access Event Hub." - }, - "EventListener": { - "type": "object", - "properties": { - "endpoint": { - "oneOf": [ - { - "$ref": "#/definitions/EventListenerEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An endpoint specifying where Web PubSub should send events to." - }, - "filter": { - "oneOf": [ - { - "$ref": "#/definitions/EventListenerFilter" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A base class for event filter which determines whether an event should be sent to an event listener." - } - }, - "required": [ - "endpoint", - "filter" - ], - "description": "A setting defines which kinds of events should be sent to which endpoint." - }, - "EventListenerEndpoint": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/EventHubEndpoint" - } - ], - "properties": {}, - "description": "An endpoint specifying where Web PubSub should send events to." - }, - "EventListenerFilter": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/EventNameFilter" - } - ], - "properties": {}, - "description": "A base class for event filter which determines whether an event should be sent to an event listener." - }, - "EventNameFilter": { - "type": "object", - "properties": { - "systemEvents": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a list of system events. Supported events: \"connected\" and \"disconnected\". Blocking event \"connect\" is not supported because it requires a response." - }, - "type": { - "type": "string", - "enum": [ - "EventName" - ] - }, - "userEventPattern": { - "type": "string", - "description": "Gets or sets a matching pattern for event names.\r\nThere are 3 kinds of patterns supported:\r\n 1. \"*\", it matches any event name\r\n 2. Combine multiple events with \",\", for example \"event1,event2\", it matches events \"event1\" and \"event2\"\r\n 3. A single event name, for example, \"event1\", it matches \"event1\"" - } - }, - "required": [ - "type" - ], - "description": "Filter events by their name." - }, - "LiveTraceCategory": { - "type": "object", - "properties": { - "enabled": { - "type": "string", - "description": "Indicates whether or the live trace category is enabled.\r\nAvailable values: true, false.\r\nCase insensitive." - }, - "name": { - "type": "string", - "description": "Gets or sets the live trace category's name.\r\nAvailable values: ConnectivityLogs, MessagingLogs.\r\nCase insensitive." - } - }, - "description": "Live trace category configuration of a Microsoft.SignalRService resource." - }, - "LiveTraceConfiguration": { - "type": "object", - "properties": { - "categories": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LiveTraceCategory" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the list of category configurations." - }, - "enabled": { - "type": "string", - "default": "false", - "description": "Indicates whether or not enable live trace.\r\nWhen it's set to true, live trace client can connect to the service.\r\nOtherwise, live trace client can't connect to the service, so that you are unable to receive any log, no matter what you configure in \"categories\".\r\nAvailable values: true, false.\r\nCase insensitive." - } - }, - "description": "Live trace configuration of a Microsoft.SignalRService resource." - }, - "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." - }, - "ResourceReference": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource ID." - } - }, - "description": "Reference to a 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,3,4,5,6,7,8,9,10,20,30,40,50,60,70,80,90,100;\r\n Premium: 1,2,3,4,5,6,7,8,9,10,20,30,40,50,60,70,80,90,100;" - }, - "name": { - "type": "string", - "description": "The name of the SKU. Required.\r\n\r\nAllowed values: Standard_S1, Free_F1, Premium_P1" - }, - "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." - }, - "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" - }, - "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." - }, - "UserAssignedIdentityProperty": { - "type": "object", - "properties": {}, - "description": "Properties of user assigned identity." - }, - "WebPubSubHubProperties": { - "type": "object", - "properties": { - "anonymousConnectPolicy": { - "type": "string", - "default": "deny", - "description": "The settings for configuring if anonymous connections are allowed for this hub: \"allow\" or \"deny\". Default to \"deny\"." - }, - "eventHandlers": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/EventHandler" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Event handler of a hub." - }, - "eventListeners": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/EventListener" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Event listener settings for forwarding your client events to listeners.\r\nEvent listener is transparent to Web PubSub clients, and it doesn't return any result to clients nor interrupt the lifetime of clients.\r\nOne event can be sent to multiple listeners, as long as it matches the filters in those listeners. The order of the array elements doesn't matter.\r\nMaximum count of event listeners among all hubs is 10." - } - }, - "description": "Properties of a hub." - }, - "WebPubSubNetworkACLs": { - "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" - }, - "WebPubSubProperties": { - "type": "object", - "properties": { - "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." - }, - "liveTraceConfiguration": { - "oneOf": [ - { - "$ref": "#/definitions/LiveTraceConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Live trace configuration of a Microsoft.SignalRService resource." - }, - "networkACLs": { - "oneOf": [ - { - "$ref": "#/definitions/WebPubSubNetworkACLs" - }, - { - "$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/WebPubSubTlsSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "TLS settings for the resource" - } - }, - "description": "A class that describes the properties of the resource" - }, - "WebPubSubTlsSettings": { - "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" - }, - "webPubSub_customCertificates_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-08-01-preview" - ] - }, - "name": { - "type": "string", - "description": "Custom certificate name" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CustomCertificateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Custom certificate properties." - }, - "type": { - "type": "string", - "enum": [ - "customCertificates" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/customCertificates" - }, - "webPubSub_customDomains_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-08-01-preview" - ] - }, - "name": { - "type": "string", - "description": "Custom domain name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CustomDomainProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a custom domain." - }, - "type": { - "type": "string", - "enum": [ - "customDomains" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/customDomains" - }, - "webPubSub_hubs_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-08-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The hub name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WebPubSubHubProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a hub." - }, - "type": { - "type": "string", - "enum": [ - "hubs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/hubs" - }, - "webPubSub_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-08-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/webPubSub/privateEndpointConnections" - }, - "webPubSub_sharedPrivateLinkResources_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2022-08-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/webPubSub/sharedPrivateLinkResources" - } - } -} \ No newline at end of file diff --git a/schemas/2023-02-01/Microsoft.SignalRService.WebPubSub.json b/schemas/2023-02-01/Microsoft.SignalRService.WebPubSub.json deleted file mode 100644 index 260d898f83..0000000000 --- a/schemas/2023-02-01/Microsoft.SignalRService.WebPubSub.json +++ /dev/null @@ -1,1276 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2023-02-01/Microsoft.SignalRService.WebPubSub.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.SignalRService", - "description": "Microsoft SignalRService Resource Types", - "resourceDefinitions": { - "webPubSub": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-02-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" - }, - "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/WebPubSubProperties" - }, - { - "$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/webPubSub_customCertificates_childResource" - }, - { - "$ref": "#/definitions/webPubSub_customDomains_childResource" - }, - { - "$ref": "#/definitions/webPubSub_hubs_childResource" - }, - { - "$ref": "#/definitions/webPubSub_privateEndpointConnections_childResource" - }, - { - "$ref": "#/definitions/webPubSub_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/webPubSub" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub" - }, - "webPubSub_customCertificates": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-02-01" - ] - }, - "name": { - "type": "string", - "description": "Custom certificate name" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CustomCertificateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Custom certificate properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.SignalRService/webPubSub/customCertificates" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/customCertificates" - }, - "webPubSub_customDomains": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-02-01" - ] - }, - "name": { - "type": "string", - "description": "Custom domain name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CustomDomainProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a custom domain." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.SignalRService/webPubSub/customDomains" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/customDomains" - }, - "webPubSub_hubs": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-02-01" - ] - }, - "name": { - "type": "string", - "description": "The hub name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WebPubSubHubProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a hub." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.SignalRService/webPubSub/hubs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/hubs" - }, - "webPubSub_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-02-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/webPubSub/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/privateEndpointConnections" - }, - "webPubSub_sharedPrivateLinkResources": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-02-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/webPubSub/sharedPrivateLinkResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/sharedPrivateLinkResources" - } - }, - "definitions": { - "CustomCertificateProperties": { - "type": "object", - "properties": { - "keyVaultBaseUri": { - "type": "string", - "description": "Base uri of the KeyVault that stores certificate." - }, - "keyVaultSecretName": { - "type": "string", - "description": "Certificate secret name." - }, - "keyVaultSecretVersion": { - "type": "string", - "description": "Certificate secret version." - } - }, - "required": [ - "keyVaultBaseUri", - "keyVaultSecretName" - ], - "description": "Custom certificate properties." - }, - "CustomDomainProperties": { - "type": "object", - "properties": { - "customCertificate": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Reference to a resource." - }, - "domainName": { - "type": "string", - "description": "The custom domain name." - } - }, - "required": [ - "customCertificate", - "domainName" - ], - "description": "Properties of a custom domain." - }, - "EventHandler": { - "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." - }, - "systemEvents": { - "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 system events." - }, - "urlTemplate": { - "type": "string", - "description": "Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in.\r\nFor example, UrlTemplate can be `http://example.com/api/{hub}/{event}`. The host part can't contains parameters." - }, - "userEventPattern": { - "type": "string", - "description": "Gets or sets the matching pattern for event names.\r\nThere are 3 kinds of patterns supported:\r\n 1. \"*\", it matches any event name\r\n 2. Combine multiple events with \",\", for example \"event1,event2\", it matches event \"event1\" and \"event2\"\r\n 3. A single event name, for example, \"event1\", it matches \"event1\"" - } - }, - "required": [ - "urlTemplate" - ], - "description": "Properties of event handler." - }, - "EventHubEndpoint": { - "type": "object", - "properties": { - "eventHubName": { - "type": "string", - "description": "The name of the Event Hub." - }, - "fullyQualifiedNamespace": { - "type": "string", - "description": "The fully qualified namespace name of the Event Hub resource. For example, \"example.servicebus.windows.net\"." - }, - "type": { - "type": "string", - "enum": [ - "EventHub" - ] - } - }, - "required": [ - "eventHubName", - "fullyQualifiedNamespace", - "type" - ], - "description": "An Event Hub endpoint. \r\nThe managed identity of Web PubSub service must be enabled, and the identity should have the \"Azure Event Hubs Data sender\" role to access Event Hub." - }, - "EventListener": { - "type": "object", - "properties": { - "endpoint": { - "oneOf": [ - { - "$ref": "#/definitions/EventListenerEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An endpoint specifying where Web PubSub should send events to." - }, - "filter": { - "oneOf": [ - { - "$ref": "#/definitions/EventListenerFilter" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A base class for event filter which determines whether an event should be sent to an event listener." - } - }, - "required": [ - "endpoint", - "filter" - ], - "description": "A setting defines which kinds of events should be sent to which endpoint." - }, - "EventListenerEndpoint": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/EventHubEndpoint" - } - ], - "properties": {}, - "description": "An endpoint specifying where Web PubSub should send events to." - }, - "EventListenerFilter": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/EventNameFilter" - } - ], - "properties": {}, - "description": "A base class for event filter which determines whether an event should be sent to an event listener." - }, - "EventNameFilter": { - "type": "object", - "properties": { - "systemEvents": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a list of system events. Supported events: \"connected\" and \"disconnected\". Blocking event \"connect\" is not supported because it requires a response." - }, - "type": { - "type": "string", - "enum": [ - "EventName" - ] - }, - "userEventPattern": { - "type": "string", - "description": "Gets or sets a matching pattern for event names.\r\nThere are 3 kinds of patterns supported:\r\n 1. \"*\", it matches any event name\r\n 2. Combine multiple events with \",\", for example \"event1,event2\", it matches events \"event1\" and \"event2\"\r\n 3. A single event name, for example, \"event1\", it matches \"event1\"" - } - }, - "required": [ - "type" - ], - "description": "Filter events by their name." - }, - "LiveTraceCategory": { - "type": "object", - "properties": { - "enabled": { - "type": "string", - "description": "Indicates whether or the live trace category is enabled.\r\nAvailable values: true, false.\r\nCase insensitive." - }, - "name": { - "type": "string", - "description": "Gets or sets the live trace category's name.\r\nAvailable values: ConnectivityLogs, MessagingLogs.\r\nCase insensitive." - } - }, - "description": "Live trace category configuration of a Microsoft.SignalRService resource." - }, - "LiveTraceConfiguration": { - "type": "object", - "properties": { - "categories": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LiveTraceCategory" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the list of category configurations." - }, - "enabled": { - "type": "string", - "default": "false", - "description": "Indicates whether or not enable live trace.\r\nWhen it's set to true, live trace client can connect to the service.\r\nOtherwise, live trace client can't connect to the service, so that you are unable to receive any log, no matter what you configure in \"categories\".\r\nAvailable values: true, false.\r\nCase insensitive." - } - }, - "description": "Live trace configuration of a Microsoft.SignalRService resource." - }, - "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." - }, - "ResourceReference": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource ID." - } - }, - "description": "Reference to a 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,3,4,5,6,7,8,9,10,20,30,40,50,60,70,80,90,100;\r\n Premium: 1,2,3,4,5,6,7,8,9,10,20,30,40,50,60,70,80,90,100;" - }, - "name": { - "type": "string", - "description": "The name of the SKU. Required.\r\n\r\nAllowed values: Standard_S1, Free_F1, Premium_P1" - }, - "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." - }, - "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" - }, - "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." - }, - "UserAssignedIdentityProperty": { - "type": "object", - "properties": {}, - "description": "Properties of user assigned identity." - }, - "WebPubSubHubProperties": { - "type": "object", - "properties": { - "anonymousConnectPolicy": { - "type": "string", - "default": "deny", - "description": "The settings for configuring if anonymous connections are allowed for this hub: \"allow\" or \"deny\". Default to \"deny\"." - }, - "eventHandlers": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/EventHandler" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Event handler of a hub." - }, - "eventListeners": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/EventListener" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Event listener settings for forwarding your client events to listeners.\r\nEvent listener is transparent to Web PubSub clients, and it doesn't return any result to clients nor interrupt the lifetime of clients.\r\nOne event can be sent to multiple listeners, as long as it matches the filters in those listeners. The order of the array elements doesn't matter.\r\nMaximum count of event listeners among all hubs is 10." - } - }, - "description": "Properties of a hub." - }, - "WebPubSubNetworkACLs": { - "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" - }, - "WebPubSubProperties": { - "type": "object", - "properties": { - "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." - }, - "liveTraceConfiguration": { - "oneOf": [ - { - "$ref": "#/definitions/LiveTraceConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Live trace configuration of a Microsoft.SignalRService resource." - }, - "networkACLs": { - "oneOf": [ - { - "$ref": "#/definitions/WebPubSubNetworkACLs" - }, - { - "$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/WebPubSubTlsSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "TLS settings for the resource" - } - }, - "description": "A class that describes the properties of the resource" - }, - "WebPubSubTlsSettings": { - "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" - }, - "webPubSub_customCertificates_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-02-01" - ] - }, - "name": { - "type": "string", - "description": "Custom certificate name" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CustomCertificateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Custom certificate properties." - }, - "type": { - "type": "string", - "enum": [ - "customCertificates" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/customCertificates" - }, - "webPubSub_customDomains_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-02-01" - ] - }, - "name": { - "type": "string", - "description": "Custom domain name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CustomDomainProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a custom domain." - }, - "type": { - "type": "string", - "enum": [ - "customDomains" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/customDomains" - }, - "webPubSub_hubs_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-02-01" - ] - }, - "name": { - "type": "string", - "description": "The hub name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WebPubSubHubProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a hub." - }, - "type": { - "type": "string", - "enum": [ - "hubs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/hubs" - }, - "webPubSub_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-02-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/webPubSub/privateEndpointConnections" - }, - "webPubSub_sharedPrivateLinkResources_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-02-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/webPubSub/sharedPrivateLinkResources" - } - } -} \ No newline at end of file diff --git a/schemas/2023-03-01-preview/Microsoft.SignalRService.WebPubSub.json b/schemas/2023-03-01-preview/Microsoft.SignalRService.WebPubSub.json deleted file mode 100644 index 9b60de994a..0000000000 --- a/schemas/2023-03-01-preview/Microsoft.SignalRService.WebPubSub.json +++ /dev/null @@ -1,1452 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2023-03-01-preview/Microsoft.SignalRService.WebPubSub.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.SignalRService", - "description": "Microsoft SignalRService Resource Types", - "resourceDefinitions": { - "webPubSub": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-03-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" - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,61}[a-zA-Z0-9]$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WebPubSubProperties" - }, - { - "$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/webPubSub_customCertificates_childResource" - }, - { - "$ref": "#/definitions/webPubSub_customDomains_childResource" - }, - { - "$ref": "#/definitions/webPubSub_hubs_childResource" - }, - { - "$ref": "#/definitions/webPubSub_privateEndpointConnections_childResource" - }, - { - "$ref": "#/definitions/webPubSub_replicas_childResource" - }, - { - "$ref": "#/definitions/webPubSub_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": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.SignalRService/webPubSub" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub" - }, - "webPubSub_customCertificates": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-03-01-preview" - ] - }, - "name": { - "type": "string", - "description": "Custom certificate name" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CustomCertificateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Custom certificate properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.SignalRService/webPubSub/customCertificates" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/customCertificates" - }, - "webPubSub_customDomains": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-03-01-preview" - ] - }, - "name": { - "type": "string", - "description": "Custom domain name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CustomDomainProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a custom domain." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.SignalRService/webPubSub/customDomains" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/customDomains" - }, - "webPubSub_hubs": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-03-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The hub name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WebPubSubHubProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a hub." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.SignalRService/webPubSub/hubs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/hubs" - }, - "webPubSub_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-03-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Azure 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/webPubSub/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/privateEndpointConnections" - }, - "webPubSub_replicas": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-03-01-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,61}[a-zA-Z0-9]$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the replica." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ReplicaProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "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": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.SignalRService/webPubSub/replicas" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/replicas" - }, - "webPubSub_sharedPrivateLinkResources": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-03-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/webPubSub/sharedPrivateLinkResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/sharedPrivateLinkResources" - } - }, - "definitions": { - "CustomCertificateProperties": { - "type": "object", - "properties": { - "keyVaultBaseUri": { - "type": "string", - "description": "Base uri of the KeyVault that stores certificate." - }, - "keyVaultSecretName": { - "type": "string", - "description": "Certificate secret name." - }, - "keyVaultSecretVersion": { - "type": "string", - "description": "Certificate secret version." - } - }, - "required": [ - "keyVaultBaseUri", - "keyVaultSecretName" - ], - "description": "Custom certificate properties." - }, - "CustomDomainProperties": { - "type": "object", - "properties": { - "customCertificate": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Reference to a resource." - }, - "domainName": { - "type": "string", - "description": "The custom domain name." - } - }, - "required": [ - "customCertificate", - "domainName" - ], - "description": "Properties of a custom domain." - }, - "EventHandler": { - "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." - }, - "systemEvents": { - "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 system events." - }, - "urlTemplate": { - "type": "string", - "description": "Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in.\r\nFor example, UrlTemplate can be `http://example.com/api/{hub}/{event}`. The host part can't contains parameters." - }, - "userEventPattern": { - "type": "string", - "description": "Gets or sets the matching pattern for event names.\r\nThere are 3 kinds of patterns supported:\r\n 1. \"*\", it matches any event name\r\n 2. Combine multiple events with \",\", for example \"event1,event2\", it matches event \"event1\" and \"event2\"\r\n 3. A single event name, for example, \"event1\", it matches \"event1\"" - } - }, - "required": [ - "urlTemplate" - ], - "description": "Properties of event handler." - }, - "EventHubEndpoint": { - "type": "object", - "properties": { - "eventHubName": { - "type": "string", - "description": "The name of the Event Hub." - }, - "fullyQualifiedNamespace": { - "type": "string", - "description": "The fully qualified namespace name of the Event Hub resource. For example, \"example.servicebus.windows.net\"." - }, - "type": { - "type": "string", - "enum": [ - "EventHub" - ] - } - }, - "required": [ - "eventHubName", - "fullyQualifiedNamespace", - "type" - ], - "description": "An Event Hub endpoint. \r\nThe managed identity of Web PubSub service must be enabled, and the identity should have the \"Azure Event Hubs Data sender\" role to access Event Hub." - }, - "EventListener": { - "type": "object", - "properties": { - "endpoint": { - "oneOf": [ - { - "$ref": "#/definitions/EventListenerEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An endpoint specifying where Web PubSub should send events to." - }, - "filter": { - "oneOf": [ - { - "$ref": "#/definitions/EventListenerFilter" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A base class for event filter which determines whether an event should be sent to an event listener." - } - }, - "required": [ - "endpoint", - "filter" - ], - "description": "A setting defines which kinds of events should be sent to which endpoint." - }, - "EventListenerEndpoint": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/EventHubEndpoint" - } - ], - "properties": {}, - "description": "An endpoint specifying where Web PubSub should send events to." - }, - "EventListenerFilter": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/EventNameFilter" - } - ], - "properties": {}, - "description": "A base class for event filter which determines whether an event should be sent to an event listener." - }, - "EventNameFilter": { - "type": "object", - "properties": { - "systemEvents": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a list of system events. Supported events: \"connected\" and \"disconnected\". Blocking event \"connect\" is not supported because it requires a response." - }, - "type": { - "type": "string", - "enum": [ - "EventName" - ] - }, - "userEventPattern": { - "type": "string", - "description": "Gets or sets a matching pattern for event names.\r\nThere are 3 kinds of patterns supported:\r\n 1. \"*\", it matches any event name\r\n 2. Combine multiple events with \",\", for example \"event1,event2\", it matches events \"event1\" and \"event2\"\r\n 3. A single event name, for example, \"event1\", it matches \"event1\"" - } - }, - "required": [ - "type" - ], - "description": "Filter events by their name." - }, - "LiveTraceCategory": { - "type": "object", - "properties": { - "enabled": { - "type": "string", - "description": "Indicates whether or the live trace category is enabled.\r\nAvailable values: true, false.\r\nCase insensitive." - }, - "name": { - "type": "string", - "description": "Gets or sets the live trace category's name.\r\nAvailable values: ConnectivityLogs, MessagingLogs.\r\nCase insensitive." - } - }, - "description": "Live trace category configuration of a Microsoft.SignalRService resource." - }, - "LiveTraceConfiguration": { - "type": "object", - "properties": { - "categories": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LiveTraceCategory" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the list of category configurations." - }, - "enabled": { - "type": "string", - "default": "false", - "description": "Indicates whether or not enable live trace.\r\nWhen it's set to true, live trace client can connect to the service.\r\nOtherwise, live trace client can't connect to the service, so that you are unable to receive any log, no matter what you configure in \"categories\".\r\nAvailable values: true, false.\r\nCase insensitive." - } - }, - "description": "Live trace configuration of a Microsoft.SignalRService resource." - }, - "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" - }, - "ReplicaProperties": { - "type": "object", - "properties": {} - }, - "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." - }, - "ResourceReference": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource ID." - } - }, - "description": "Reference to a 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,3,4,5,6,7,8,9,10,20,30,40,50,60,70,80,90,100;\r\n Premium: 1,2,3,4,5,6,7,8,9,10,20,30,40,50,60,70,80,90,100;" - }, - "name": { - "type": "string", - "description": "The name of the SKU. Required.\r\n\r\nAllowed values: Standard_S1, Free_F1, Premium_P1" - }, - "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." - }, - "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" - }, - "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." - }, - "UserAssignedIdentityProperty": { - "type": "object", - "properties": {}, - "description": "Properties of user assigned identity." - }, - "WebPubSubHubProperties": { - "type": "object", - "properties": { - "anonymousConnectPolicy": { - "type": "string", - "default": "deny", - "description": "The settings for configuring if anonymous connections are allowed for this hub: \"allow\" or \"deny\". Default to \"deny\"." - }, - "eventHandlers": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/EventHandler" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Event handler of a hub." - }, - "eventListeners": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/EventListener" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Event listener settings for forwarding your client events to listeners.\r\nEvent listener is transparent to Web PubSub clients, and it doesn't return any result to clients nor interrupt the lifetime of clients.\r\nOne event can be sent to multiple listeners, as long as it matches the filters in those listeners. The order of the array elements doesn't matter.\r\nMaximum count of event listeners among all hubs is 10." - } - }, - "description": "Properties of a hub." - }, - "WebPubSubNetworkACLs": { - "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" - }, - "WebPubSubProperties": { - "type": "object", - "properties": { - "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." - }, - "liveTraceConfiguration": { - "oneOf": [ - { - "$ref": "#/definitions/LiveTraceConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Live trace configuration of a Microsoft.SignalRService resource." - }, - "networkACLs": { - "oneOf": [ - { - "$ref": "#/definitions/WebPubSubNetworkACLs" - }, - { - "$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/WebPubSubTlsSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "TLS settings for the resource" - } - }, - "description": "A class that describes the properties of the resource" - }, - "WebPubSubTlsSettings": { - "type": "object", - "properties": { - "clientCertEnabled": { - "oneOf": [ - { - "type": "boolean", - "default": false - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Request client certificate during TLS handshake if enabled. Not supported for free tier. Any input will be ignored for free tier." - } - }, - "description": "TLS settings for the resource" - }, - "webPubSub_customCertificates_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-03-01-preview" - ] - }, - "name": { - "type": "string", - "description": "Custom certificate name" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CustomCertificateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Custom certificate properties." - }, - "type": { - "type": "string", - "enum": [ - "customCertificates" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/customCertificates" - }, - "webPubSub_customDomains_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-03-01-preview" - ] - }, - "name": { - "type": "string", - "description": "Custom domain name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CustomDomainProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a custom domain." - }, - "type": { - "type": "string", - "enum": [ - "customDomains" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/customDomains" - }, - "webPubSub_hubs_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-03-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The hub name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WebPubSubHubProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a hub." - }, - "type": { - "type": "string", - "enum": [ - "hubs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/hubs" - }, - "webPubSub_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-03-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Azure 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/webPubSub/privateEndpointConnections" - }, - "webPubSub_replicas_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-03-01-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,61}[a-zA-Z0-9]$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the replica." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ReplicaProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "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": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "replicas" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/replicas" - }, - "webPubSub_sharedPrivateLinkResources_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-03-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/webPubSub/sharedPrivateLinkResources" - } - } -} \ No newline at end of file diff --git a/schemas/2023-06-01-preview/Microsoft.SignalRService.WebPubSub.json b/schemas/2023-06-01-preview/Microsoft.SignalRService.WebPubSub.json deleted file mode 100644 index 51c3cf4be0..0000000000 --- a/schemas/2023-06-01-preview/Microsoft.SignalRService.WebPubSub.json +++ /dev/null @@ -1,1466 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2023-06-01-preview/Microsoft.SignalRService.WebPubSub.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.SignalRService", - "description": "Microsoft SignalRService Resource Types", - "resourceDefinitions": { - "webPubSub": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-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": [ - "WebPubSub", - "SocketIO" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,61}[a-zA-Z0-9]$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WebPubSubProperties" - }, - { - "$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/webPubSub_customCertificates_childResource" - }, - { - "$ref": "#/definitions/webPubSub_customDomains_childResource" - }, - { - "$ref": "#/definitions/webPubSub_hubs_childResource" - }, - { - "$ref": "#/definitions/webPubSub_privateEndpointConnections_childResource" - }, - { - "$ref": "#/definitions/webPubSub_replicas_childResource" - }, - { - "$ref": "#/definitions/webPubSub_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": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.SignalRService/webPubSub" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub" - }, - "webPubSub_customCertificates": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-06-01-preview" - ] - }, - "name": { - "type": "string", - "description": "Custom certificate name" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CustomCertificateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Custom certificate properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.SignalRService/webPubSub/customCertificates" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/customCertificates" - }, - "webPubSub_customDomains": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-06-01-preview" - ] - }, - "name": { - "type": "string", - "description": "Custom domain name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CustomDomainProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a custom domain." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.SignalRService/webPubSub/customDomains" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/customDomains" - }, - "webPubSub_hubs": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-06-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The hub name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WebPubSubHubProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a hub." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.SignalRService/webPubSub/hubs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/hubs" - }, - "webPubSub_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-06-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Azure 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/webPubSub/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/privateEndpointConnections" - }, - "webPubSub_replicas": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-06-01-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,61}[a-zA-Z0-9]$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the replica." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ReplicaProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "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": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.SignalRService/webPubSub/replicas" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/replicas" - }, - "webPubSub_sharedPrivateLinkResources": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-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/webPubSub/sharedPrivateLinkResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/sharedPrivateLinkResources" - } - }, - "definitions": { - "CustomCertificateProperties": { - "type": "object", - "properties": { - "keyVaultBaseUri": { - "type": "string", - "description": "Base uri of the KeyVault that stores certificate." - }, - "keyVaultSecretName": { - "type": "string", - "description": "Certificate secret name." - }, - "keyVaultSecretVersion": { - "type": "string", - "description": "Certificate secret version." - } - }, - "required": [ - "keyVaultBaseUri", - "keyVaultSecretName" - ], - "description": "Custom certificate properties." - }, - "CustomDomainProperties": { - "type": "object", - "properties": { - "customCertificate": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Reference to a resource." - }, - "domainName": { - "type": "string", - "description": "The custom domain name." - } - }, - "required": [ - "customCertificate", - "domainName" - ], - "description": "Properties of a custom domain." - }, - "EventHandler": { - "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." - }, - "systemEvents": { - "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 system events." - }, - "urlTemplate": { - "type": "string", - "description": "Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in.\r\nFor example, UrlTemplate can be `http://example.com/api/{hub}/{event}`. The host part can't contains parameters." - }, - "userEventPattern": { - "type": "string", - "description": "Gets or sets the matching pattern for event names.\r\nThere are 3 kinds of patterns supported:\r\n 1. \"*\", it matches any event name\r\n 2. Combine multiple events with \",\", for example \"event1,event2\", it matches event \"event1\" and \"event2\"\r\n 3. A single event name, for example, \"event1\", it matches \"event1\"" - } - }, - "required": [ - "urlTemplate" - ], - "description": "Properties of event handler." - }, - "EventHubEndpoint": { - "type": "object", - "properties": { - "eventHubName": { - "type": "string", - "description": "The name of the Event Hub." - }, - "fullyQualifiedNamespace": { - "type": "string", - "description": "The fully qualified namespace name of the Event Hub resource. For example, \"example.servicebus.windows.net\"." - }, - "type": { - "type": "string", - "enum": [ - "EventHub" - ] - } - }, - "required": [ - "eventHubName", - "fullyQualifiedNamespace", - "type" - ], - "description": "An Event Hub endpoint. \r\nThe managed identity of Web PubSub service must be enabled, and the identity should have the \"Azure Event Hubs Data sender\" role to access Event Hub." - }, - "EventListener": { - "type": "object", - "properties": { - "endpoint": { - "oneOf": [ - { - "$ref": "#/definitions/EventListenerEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An endpoint specifying where Web PubSub should send events to." - }, - "filter": { - "oneOf": [ - { - "$ref": "#/definitions/EventListenerFilter" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A base class for event filter which determines whether an event should be sent to an event listener." - } - }, - "required": [ - "endpoint", - "filter" - ], - "description": "A setting defines which kinds of events should be sent to which endpoint." - }, - "EventListenerEndpoint": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/EventHubEndpoint" - } - ], - "properties": {}, - "description": "An endpoint specifying where Web PubSub should send events to." - }, - "EventListenerFilter": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/EventNameFilter" - } - ], - "properties": {}, - "description": "A base class for event filter which determines whether an event should be sent to an event listener." - }, - "EventNameFilter": { - "type": "object", - "properties": { - "systemEvents": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a list of system events. Supported events: \"connected\" and \"disconnected\". Blocking event \"connect\" is not supported because it requires a response." - }, - "type": { - "type": "string", - "enum": [ - "EventName" - ] - }, - "userEventPattern": { - "type": "string", - "description": "Gets or sets a matching pattern for event names.\r\nThere are 3 kinds of patterns supported:\r\n 1. \"*\", it matches any event name\r\n 2. Combine multiple events with \",\", for example \"event1,event2\", it matches events \"event1\" and \"event2\"\r\n 3. A single event name, for example, \"event1\", it matches \"event1\"" - } - }, - "required": [ - "type" - ], - "description": "Filter events by their name." - }, - "LiveTraceCategory": { - "type": "object", - "properties": { - "enabled": { - "type": "string", - "description": "Indicates whether or the live trace category is enabled.\r\nAvailable values: true, false.\r\nCase insensitive." - }, - "name": { - "type": "string", - "description": "Gets or sets the live trace category's name.\r\nAvailable values: ConnectivityLogs, MessagingLogs.\r\nCase insensitive." - } - }, - "description": "Live trace category configuration of a Microsoft.SignalRService resource." - }, - "LiveTraceConfiguration": { - "type": "object", - "properties": { - "categories": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LiveTraceCategory" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the list of category configurations." - }, - "enabled": { - "type": "string", - "default": "false", - "description": "Indicates whether or not enable live trace.\r\nWhen it's set to true, live trace client can connect to the service.\r\nOtherwise, live trace client can't connect to the service, so that you are unable to receive any log, no matter what you configure in \"categories\".\r\nAvailable values: true, false.\r\nCase insensitive." - } - }, - "description": "Live trace configuration of a Microsoft.SignalRService resource." - }, - "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" - }, - "ReplicaProperties": { - "type": "object", - "properties": {} - }, - "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." - }, - "ResourceReference": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource ID." - } - }, - "description": "Reference to a 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,3,4,5,6,7,8,9,10,20,30,40,50,60,70,80,90,100;\r\n Premium: 1,2,3,4,5,6,7,8,9,10,20,30,40,50,60,70,80,90,100;" - }, - "name": { - "type": "string", - "description": "The name of the SKU. Required.\r\n\r\nAllowed values: Standard_S1, Free_F1, Premium_P1" - }, - "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." - }, - "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" - }, - "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." - }, - "UserAssignedIdentityProperty": { - "type": "object", - "properties": {}, - "description": "Properties of user assigned identity." - }, - "WebPubSubHubProperties": { - "type": "object", - "properties": { - "anonymousConnectPolicy": { - "type": "string", - "default": "deny", - "description": "The settings for configuring if anonymous connections are allowed for this hub: \"allow\" or \"deny\". Default to \"deny\"." - }, - "eventHandlers": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/EventHandler" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Event handler of a hub." - }, - "eventListeners": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/EventListener" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Event listener settings for forwarding your client events to listeners.\r\nEvent listener is transparent to Web PubSub clients, and it doesn't return any result to clients nor interrupt the lifetime of clients.\r\nOne event can be sent to multiple listeners, as long as it matches the filters in those listeners. The order of the array elements doesn't matter.\r\nMaximum count of event listeners among all hubs is 10." - } - }, - "description": "Properties of a hub." - }, - "WebPubSubNetworkACLs": { - "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" - }, - "WebPubSubProperties": { - "type": "object", - "properties": { - "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." - }, - "liveTraceConfiguration": { - "oneOf": [ - { - "$ref": "#/definitions/LiveTraceConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Live trace configuration of a Microsoft.SignalRService resource." - }, - "networkACLs": { - "oneOf": [ - { - "$ref": "#/definitions/WebPubSubNetworkACLs" - }, - { - "$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/WebPubSubTlsSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "TLS settings for the resource" - } - }, - "description": "A class that describes the properties of the resource" - }, - "WebPubSubTlsSettings": { - "type": "object", - "properties": { - "clientCertEnabled": { - "oneOf": [ - { - "type": "boolean", - "default": false - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Request client certificate during TLS handshake if enabled. Not supported for free tier. Any input will be ignored for free tier." - } - }, - "description": "TLS settings for the resource" - }, - "webPubSub_customCertificates_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-06-01-preview" - ] - }, - "name": { - "type": "string", - "description": "Custom certificate name" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CustomCertificateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Custom certificate properties." - }, - "type": { - "type": "string", - "enum": [ - "customCertificates" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/customCertificates" - }, - "webPubSub_customDomains_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-06-01-preview" - ] - }, - "name": { - "type": "string", - "description": "Custom domain name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CustomDomainProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a custom domain." - }, - "type": { - "type": "string", - "enum": [ - "customDomains" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/customDomains" - }, - "webPubSub_hubs_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-06-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The hub name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WebPubSubHubProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a hub." - }, - "type": { - "type": "string", - "enum": [ - "hubs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/hubs" - }, - "webPubSub_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-06-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Azure 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/webPubSub/privateEndpointConnections" - }, - "webPubSub_replicas_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-06-01-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,61}[a-zA-Z0-9]$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the replica." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ReplicaProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "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": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "replicas" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/replicas" - }, - "webPubSub_sharedPrivateLinkResources_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-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/webPubSub/sharedPrivateLinkResources" - } - } -} \ No newline at end of file diff --git a/schemas/2023-08-01-preview/Microsoft.SignalRService.WebPubSub.json b/schemas/2023-08-01-preview/Microsoft.SignalRService.WebPubSub.json deleted file mode 100644 index 2acdf0478e..0000000000 --- a/schemas/2023-08-01-preview/Microsoft.SignalRService.WebPubSub.json +++ /dev/null @@ -1,1525 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2023-08-01-preview/Microsoft.SignalRService.WebPubSub.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.SignalRService", - "description": "Microsoft SignalRService Resource Types", - "resourceDefinitions": { - "webPubSub": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-08-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": [ - "WebPubSub", - "SocketIO" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,61}[a-zA-Z0-9]$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WebPubSubProperties" - }, - { - "$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/webPubSub_customCertificates_childResource" - }, - { - "$ref": "#/definitions/webPubSub_customDomains_childResource" - }, - { - "$ref": "#/definitions/webPubSub_hubs_childResource" - }, - { - "$ref": "#/definitions/webPubSub_privateEndpointConnections_childResource" - }, - { - "$ref": "#/definitions/webPubSub_replicas_childResource" - }, - { - "$ref": "#/definitions/webPubSub_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": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.SignalRService/webPubSub" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub" - }, - "webPubSub_customCertificates": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-08-01-preview" - ] - }, - "name": { - "type": "string", - "description": "Custom certificate name" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CustomCertificateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Custom certificate properties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.SignalRService/webPubSub/customCertificates" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/customCertificates" - }, - "webPubSub_customDomains": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-08-01-preview" - ] - }, - "name": { - "type": "string", - "description": "Custom domain name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CustomDomainProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a custom domain." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.SignalRService/webPubSub/customDomains" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/customDomains" - }, - "webPubSub_hubs": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-08-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The hub name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WebPubSubHubProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a hub." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.SignalRService/webPubSub/hubs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/hubs" - }, - "webPubSub_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-08-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Azure 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/webPubSub/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/privateEndpointConnections" - }, - "webPubSub_replicas": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-08-01-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,61}[a-zA-Z0-9]$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the replica." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ReplicaProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "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": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.SignalRService/webPubSub/replicas" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/replicas" - }, - "webPubSub_sharedPrivateLinkResources": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-08-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/webPubSub/sharedPrivateLinkResources" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/sharedPrivateLinkResources" - } - }, - "definitions": { - "CustomCertificateProperties": { - "type": "object", - "properties": { - "keyVaultBaseUri": { - "type": "string", - "description": "Base uri of the KeyVault that stores certificate." - }, - "keyVaultSecretName": { - "type": "string", - "description": "Certificate secret name." - }, - "keyVaultSecretVersion": { - "type": "string", - "description": "Certificate secret version." - } - }, - "required": [ - "keyVaultBaseUri", - "keyVaultSecretName" - ], - "description": "Custom certificate properties." - }, - "CustomDomainProperties": { - "type": "object", - "properties": { - "customCertificate": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Reference to a resource." - }, - "domainName": { - "type": "string", - "description": "The custom domain name." - } - }, - "required": [ - "customCertificate", - "domainName" - ], - "description": "Properties of a custom domain." - }, - "EventHandler": { - "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." - }, - "systemEvents": { - "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 system events." - }, - "urlTemplate": { - "type": "string", - "description": "Gets or sets the EventHandler URL template. You can use a predefined parameter {hub} and {event} inside the template, the value of the EventHandler URL is dynamically calculated when the client request comes in.\r\nFor example, UrlTemplate can be `http://example.com/api/{hub}/{event}`. The host part can't contains parameters." - }, - "userEventPattern": { - "type": "string", - "description": "Gets or sets the matching pattern for event names.\r\nThere are 3 kinds of patterns supported:\r\n 1. \"*\", it matches any event name\r\n 2. Combine multiple events with \",\", for example \"event1,event2\", it matches event \"event1\" and \"event2\"\r\n 3. A single event name, for example, \"event1\", it matches \"event1\"" - } - }, - "required": [ - "urlTemplate" - ], - "description": "Properties of event handler." - }, - "EventHubEndpoint": { - "type": "object", - "properties": { - "eventHubName": { - "type": "string", - "description": "The name of the Event Hub." - }, - "fullyQualifiedNamespace": { - "type": "string", - "description": "The fully qualified namespace name of the Event Hub resource. For example, \"example.servicebus.windows.net\"." - }, - "type": { - "type": "string", - "enum": [ - "EventHub" - ] - } - }, - "required": [ - "eventHubName", - "fullyQualifiedNamespace", - "type" - ], - "description": "An Event Hub endpoint. \r\nThe managed identity of Web PubSub service must be enabled, and the identity should have the \"Azure Event Hubs Data sender\" role to access Event Hub." - }, - "EventListener": { - "type": "object", - "properties": { - "endpoint": { - "oneOf": [ - { - "$ref": "#/definitions/EventListenerEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "An endpoint specifying where Web PubSub should send events to." - }, - "filter": { - "oneOf": [ - { - "$ref": "#/definitions/EventListenerFilter" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A base class for event filter which determines whether an event should be sent to an event listener." - } - }, - "required": [ - "endpoint", - "filter" - ], - "description": "A setting defines which kinds of events should be sent to which endpoint." - }, - "EventListenerEndpoint": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/EventHubEndpoint" - } - ], - "properties": {}, - "description": "An endpoint specifying where Web PubSub should send events to." - }, - "EventListenerFilter": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/EventNameFilter" - } - ], - "properties": {}, - "description": "A base class for event filter which determines whether an event should be sent to an event listener." - }, - "EventNameFilter": { - "type": "object", - "properties": { - "systemEvents": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets a list of system events. Supported events: \"connected\" and \"disconnected\". Blocking event \"connect\" is not supported because it requires a response." - }, - "type": { - "type": "string", - "enum": [ - "EventName" - ] - }, - "userEventPattern": { - "type": "string", - "description": "Gets or sets a matching pattern for event names.\r\nThere are 3 kinds of patterns supported:\r\n 1. \"*\", it matches any event name\r\n 2. Combine multiple events with \",\", for example \"event1,event2\", it matches events \"event1\" and \"event2\"\r\n 3. A single event name, for example, \"event1\", it matches \"event1\"" - } - }, - "required": [ - "type" - ], - "description": "Filter events by their name." - }, - "IPRule": { - "type": "object", - "properties": { - "action": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Allow", - "Deny" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "value": { - "type": "string", - "description": "An IP or CIDR or ServiceTag" - } - }, - "description": "An IP rule" - }, - "LiveTraceCategory": { - "type": "object", - "properties": { - "enabled": { - "type": "string", - "description": "Indicates whether or the live trace category is enabled.\r\nAvailable values: true, false.\r\nCase insensitive." - }, - "name": { - "type": "string", - "description": "Gets or sets the live trace category's name.\r\nAvailable values: ConnectivityLogs, MessagingLogs.\r\nCase insensitive." - } - }, - "description": "Live trace category configuration of a Microsoft.SignalRService resource." - }, - "LiveTraceConfiguration": { - "type": "object", - "properties": { - "categories": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/LiveTraceCategory" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Gets or sets the list of category configurations." - }, - "enabled": { - "type": "string", - "default": "false", - "description": "Indicates whether or not enable live trace.\r\nWhen it's set to true, live trace client can connect to the service.\r\nOtherwise, live trace client can't connect to the service, so that you are unable to receive any log, no matter what you configure in \"categories\".\r\nAvailable values: true, false.\r\nCase insensitive." - } - }, - "description": "Live trace configuration of a Microsoft.SignalRService resource." - }, - "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" - }, - "ReplicaProperties": { - "type": "object", - "properties": { - "regionEndpointEnabled": { - "type": "string", - "default": "Enabled", - "description": "Enable or disable the regional endpoint. Default to \"Enabled\".\r\nWhen it's Disabled, new connections will not be routed to this endpoint, however existing connections will not be affected." - }, - "resourceStopped": { - "type": "string", - "default": "false", - "description": "Stop or start the resource. Default to \"false\".\r\nWhen it's true, the data plane of the resource is shutdown.\r\nWhen it's false, the data plane of the resource is started." - } - } - }, - "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." - }, - "ResourceReference": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Resource ID." - } - }, - "description": "Reference to a 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,3,4,5,6,7,8,9,10,20,30,40,50,60,70,80,90,100;\r\n Premium: 1,2,3,4,5,6,7,8,9,10,20,30,40,50,60,70,80,90,100;" - }, - "name": { - "type": "string", - "description": "The name of the SKU. Required.\r\n\r\nAllowed values: Standard_S1, Free_F1, Premium_P1" - }, - "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." - }, - "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" - }, - "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." - }, - "UserAssignedIdentityProperty": { - "type": "object", - "properties": {}, - "description": "Properties of user assigned identity." - }, - "WebPubSubHubProperties": { - "type": "object", - "properties": { - "anonymousConnectPolicy": { - "type": "string", - "default": "deny", - "description": "The settings for configuring if anonymous connections are allowed for this hub: \"allow\" or \"deny\". Default to \"deny\"." - }, - "eventHandlers": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/EventHandler" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Event handler of a hub." - }, - "eventListeners": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/EventListener" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Event listener settings for forwarding your client events to listeners.\r\nEvent listener is transparent to Web PubSub clients, and it doesn't return any result to clients nor interrupt the lifetime of clients.\r\nOne event can be sent to multiple listeners, as long as it matches the filters in those listeners. The order of the array elements doesn't matter.\r\nMaximum count of event listeners among all hubs is 10." - } - }, - "description": "Properties of a hub." - }, - "WebPubSubNetworkACLs": { - "type": "object", - "properties": { - "defaultAction": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Allow", - "Deny" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "ipRules": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/IPRule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "IP rules for filtering public traffic" - }, - "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" - }, - "WebPubSubProperties": { - "type": "object", - "properties": { - "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." - }, - "liveTraceConfiguration": { - "oneOf": [ - { - "$ref": "#/definitions/LiveTraceConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Live trace configuration of a Microsoft.SignalRService resource." - }, - "networkACLs": { - "oneOf": [ - { - "$ref": "#/definitions/WebPubSubNetworkACLs" - }, - { - "$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." - }, - "regionEndpointEnabled": { - "type": "string", - "default": "Enabled", - "description": "Enable or disable the regional endpoint. Default to \"Enabled\".\r\nWhen it's Disabled, new connections will not be routed to this endpoint, however existing connections will not be affected.\r\nThis property is replica specific. Disable the regional endpoint without replica is not allowed." - }, - "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." - }, - "resourceStopped": { - "type": "string", - "default": "false", - "description": "Stop or start the resource. Default to \"false\".\r\nWhen it's true, the data plane of the resource is shutdown.\r\nWhen it's false, the data plane of the resource is started." - }, - "tls": { - "oneOf": [ - { - "$ref": "#/definitions/WebPubSubTlsSettings" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "TLS settings for the resource" - } - }, - "description": "A class that describes the properties of the resource" - }, - "WebPubSubTlsSettings": { - "type": "object", - "properties": { - "clientCertEnabled": { - "oneOf": [ - { - "type": "boolean", - "default": false - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Request client certificate during TLS handshake if enabled. Not supported for free tier. Any input will be ignored for free tier." - } - }, - "description": "TLS settings for the resource" - }, - "webPubSub_customCertificates_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-08-01-preview" - ] - }, - "name": { - "type": "string", - "description": "Custom certificate name" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CustomCertificateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Custom certificate properties." - }, - "type": { - "type": "string", - "enum": [ - "customCertificates" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/customCertificates" - }, - "webPubSub_customDomains_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-08-01-preview" - ] - }, - "name": { - "type": "string", - "description": "Custom domain name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/CustomDomainProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a custom domain." - }, - "type": { - "type": "string", - "enum": [ - "customDomains" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/customDomains" - }, - "webPubSub_hubs_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-08-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The hub name." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WebPubSubHubProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of a hub." - }, - "type": { - "type": "string", - "enum": [ - "hubs" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/hubs" - }, - "webPubSub_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-08-01-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Azure 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/webPubSub/privateEndpointConnections" - }, - "webPubSub_replicas_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-08-01-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^[a-zA-Z][a-zA-Z0-9-]{1,61}[a-zA-Z0-9]$", - "minLength": 3, - "maxLength": 63 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the replica." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ReplicaProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "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": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "replicas" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.SignalRService/webPubSub/replicas" - }, - "webPubSub_sharedPrivateLinkResources_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-08-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/webPubSub/sharedPrivateLinkResources" - } - } -} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index b9311ec020..b8187e1849 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -36268,144 +36268,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2023-08-01-preview/Microsoft.SignalRService.json#/resourceDefinitions/signalR_sharedPrivateLinkResources" }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub_sharedPrivateLinkResources" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-01-preview/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-01-preview/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-01-preview/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub_sharedPrivateLinkResources" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-09-01-preview/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-09-01-preview/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-09-01-preview/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub_sharedPrivateLinkResources" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-01/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-01/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub_hubs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-01/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-10-01/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub_sharedPrivateLinkResources" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-08-01-preview/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-08-01-preview/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub_customCertificates" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-08-01-preview/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub_customDomains" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-08-01-preview/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub_hubs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-08-01-preview/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-08-01-preview/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub_sharedPrivateLinkResources" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-02-01/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-02-01/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub_customCertificates" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-02-01/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub_customDomains" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-02-01/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub_hubs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-02-01/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-02-01/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub_sharedPrivateLinkResources" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-03-01-preview/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-03-01-preview/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub_customCertificates" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-03-01-preview/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub_customDomains" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-03-01-preview/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub_hubs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-03-01-preview/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-03-01-preview/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub_replicas" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-03-01-preview/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub_sharedPrivateLinkResources" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-06-01-preview/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-06-01-preview/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub_customCertificates" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-06-01-preview/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub_customDomains" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-06-01-preview/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub_hubs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-06-01-preview/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-06-01-preview/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub_replicas" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-06-01-preview/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub_sharedPrivateLinkResources" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-08-01-preview/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-08-01-preview/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub_customCertificates" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-08-01-preview/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub_customDomains" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-08-01-preview/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub_hubs" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-08-01-preview/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-08-01-preview/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub_replicas" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-08-01-preview/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub_sharedPrivateLinkResources" - }, { "$ref": "https://schema.management.azure.com/schemas/2016-09-01-preview/Microsoft.Solutions.resourcesolutions.json#/resourceDefinitions/applianceDefinitions" },