diff --git a/schemas/2023-03-01-preview/Microsoft.SignalRService.WebPubSub.json b/schemas/2023-03-01-preview/Microsoft.SignalRService.WebPubSub.json new file mode 100644 index 0000000000..9b60de994a --- /dev/null +++ b/schemas/2023-03-01-preview/Microsoft.SignalRService.WebPubSub.json @@ -0,0 +1,1452 @@ +{ + "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/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index aa8826063c..3ffe8104f4 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -26995,6 +26995,27 @@ { "$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/2016-09-01-preview/Microsoft.Solutions.resourcesolutions.json#/resourceDefinitions/applianceDefinitions" },