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 02214462ad..0000000000 --- a/schemas/2021-10-01/Microsoft.SignalRService.WebPubSub.json +++ /dev/null @@ -1,938 +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." - }, - "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" - } - ], - "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" - }, - "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" - } - ], - "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." - }, - "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" - } - ], - "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." - }, - "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/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 9c9847da90..a3fab9570a 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -11911,45 +11911,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-10-01/Microsoft.SignalRService.json#/resourceDefinitions/signalR_sharedPrivateLinkResources" }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub" - }, - { - "$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/2016-09-01-preview/Microsoft.Solutions.resourcesolutions.json#/resourceDefinitions/applianceDefinitions" },