1275 строки
40 KiB
JSON
1275 строки
40 KiB
JSON
{
|
|
"id": "https://schema.management.azure.com/schemas/2023-02-01/Microsoft.SignalRService.WebPubSub.json#",
|
|
"title": "Microsoft.SignalRService",
|
|
"description": "Microsoft SignalRService Resource Types",
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"resourceDefinitions": {
|
|
"webPubSub": {
|
|
"description": "Microsoft.SignalRService/webPubSub",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2023-02-01"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"identity": {
|
|
"description": "A class represent managed identities used for request and response",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/ManagedIdentity"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"location": {
|
|
"description": "The GEO location of the resource. e.g. West US | East US | North Central US | South Central US.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The name of the resource.",
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"description": "A class that describes the properties of the resource",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/WebPubSubProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"resources": {
|
|
"items": {
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/webPubSub_hubs_childResource"
|
|
},
|
|
{
|
|
"$ref": "#/definitions/webPubSub_customDomains_childResource"
|
|
},
|
|
{
|
|
"$ref": "#/definitions/webPubSub_customCertificates_childResource"
|
|
},
|
|
{
|
|
"$ref": "#/definitions/webPubSub_privateEndpointConnections_childResource"
|
|
},
|
|
{
|
|
"$ref": "#/definitions/webPubSub_sharedPrivateLinkResources_childResource"
|
|
}
|
|
]
|
|
},
|
|
"type": "array"
|
|
},
|
|
"sku": {
|
|
"description": "The billing information of the resource.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/ResourceSku"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"tags": {
|
|
"description": "Tags of the service which is a list of key value pairs that describe the resource.",
|
|
"oneOf": [
|
|
{
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"properties": {},
|
|
"type": "object"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"Microsoft.SignalRService/webPubSub"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"webPubSub_customCertificates": {
|
|
"description": "Microsoft.SignalRService/webPubSub/customCertificates",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2023-02-01"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "Custom certificate name",
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"description": "Custom certificate properties.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/CustomCertificateProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"Microsoft.SignalRService/webPubSub/customCertificates"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"webPubSub_customDomains": {
|
|
"description": "Microsoft.SignalRService/webPubSub/customDomains",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2023-02-01"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "Custom domain name.",
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"description": "Properties of a custom domain.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/CustomDomainProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"Microsoft.SignalRService/webPubSub/customDomains"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"webPubSub_hubs": {
|
|
"description": "Microsoft.SignalRService/webPubSub/hubs",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2023-02-01"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The hub name.",
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"description": "Properties of a hub.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/WebPubSubHubProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"Microsoft.SignalRService/webPubSub/hubs"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"webPubSub_privateEndpointConnections": {
|
|
"description": "Microsoft.SignalRService/webPubSub/privateEndpointConnections",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2023-02-01"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The name of the private endpoint connection",
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"description": "Private endpoint connection properties",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/PrivateEndpointConnectionProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"Microsoft.SignalRService/webPubSub/privateEndpointConnections"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"webPubSub_sharedPrivateLinkResources": {
|
|
"description": "Microsoft.SignalRService/webPubSub/sharedPrivateLinkResources",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2023-02-01"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The name of the shared private link resource",
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"description": "Describes the properties of an existing Shared Private Link Resource",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/SharedPrivateLinkResourceProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"Microsoft.SignalRService/webPubSub/sharedPrivateLinkResources"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
}
|
|
},
|
|
"definitions": {
|
|
"CustomCertificateProperties": {
|
|
"description": "Custom certificate properties.",
|
|
"properties": {
|
|
"keyVaultBaseUri": {
|
|
"description": "Base uri of the KeyVault that stores certificate.",
|
|
"type": "string"
|
|
},
|
|
"keyVaultSecretName": {
|
|
"description": "Certificate secret name.",
|
|
"type": "string"
|
|
},
|
|
"keyVaultSecretVersion": {
|
|
"description": "Certificate secret version.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"keyVaultBaseUri",
|
|
"keyVaultSecretName"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"CustomDomainProperties": {
|
|
"description": "Properties of a custom domain.",
|
|
"properties": {
|
|
"customCertificate": {
|
|
"description": "Reference to a resource.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/ResourceReference"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"domainName": {
|
|
"description": "The custom domain name.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"domainName",
|
|
"customCertificate"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"EventHandler": {
|
|
"description": "Properties of event handler.",
|
|
"properties": {
|
|
"auth": {
|
|
"description": "Upstream auth settings. If not set, no auth is used for upstream messages.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/UpstreamAuthSettings"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"systemEvents": {
|
|
"description": "Gets or sets the list of system events.",
|
|
"oneOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"urlTemplate": {
|
|
"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.",
|
|
"type": "string"
|
|
},
|
|
"userEventPattern": {
|
|
"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\"",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"urlTemplate"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"EventListener": {
|
|
"description": "A setting defines which kinds of events should be sent to which endpoint.",
|
|
"properties": {
|
|
"endpoint": {
|
|
"description": "An endpoint specifying where Web PubSub should send events to.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/EventListenerEndpoint"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"filter": {
|
|
"description": "A base class for event filter which determines whether an event should be sent to an event listener.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/EventListenerFilter"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"filter",
|
|
"endpoint"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"EventListenerEndpoint": {
|
|
"description": "An endpoint specifying where Web PubSub should send events to.",
|
|
"oneOf": [
|
|
{
|
|
"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.",
|
|
"properties": {
|
|
"eventHubName": {
|
|
"description": "The name of the Event Hub.",
|
|
"type": "string"
|
|
},
|
|
"fullyQualifiedNamespace": {
|
|
"description": "The fully qualified namespace name of the Event Hub resource. For example, \"example.servicebus.windows.net\".",
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"EventHub"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"fullyQualifiedNamespace",
|
|
"eventHubName",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
}
|
|
],
|
|
"properties": {},
|
|
"type": "object"
|
|
},
|
|
"EventListenerFilter": {
|
|
"description": "A base class for event filter which determines whether an event should be sent to an event listener.",
|
|
"oneOf": [
|
|
{
|
|
"description": "Filter events by their name.",
|
|
"properties": {
|
|
"systemEvents": {
|
|
"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.",
|
|
"oneOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"EventName"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"userEventPattern": {
|
|
"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\"",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
}
|
|
],
|
|
"properties": {},
|
|
"type": "object"
|
|
},
|
|
"LiveTraceCategory": {
|
|
"description": "Live trace category configuration of a Microsoft.SignalRService resource.",
|
|
"properties": {
|
|
"enabled": {
|
|
"description": "Indicates whether or the live trace category is enabled.\r\nAvailable values: true, false.\r\nCase insensitive.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "Gets or sets the live trace category's name.\r\nAvailable values: ConnectivityLogs, MessagingLogs.\r\nCase insensitive.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"LiveTraceConfiguration": {
|
|
"description": "Live trace configuration of a Microsoft.SignalRService resource.",
|
|
"properties": {
|
|
"categories": {
|
|
"description": "Gets or sets the list of category configurations.",
|
|
"oneOf": [
|
|
{
|
|
"items": {
|
|
"$ref": "#/definitions/LiveTraceCategory"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"enabled": {
|
|
"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.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ManagedIdentity": {
|
|
"description": "A class represent managed identities used for request and response",
|
|
"properties": {
|
|
"type": {
|
|
"description": "Represents the identity type: systemAssigned, userAssigned, None",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"None",
|
|
"SystemAssigned",
|
|
"UserAssigned"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"userAssignedIdentities": {
|
|
"description": "Get or set the user assigned identities",
|
|
"oneOf": [
|
|
{
|
|
"additionalProperties": {
|
|
"$ref": "#/definitions/UserAssignedIdentityProperty"
|
|
},
|
|
"properties": {},
|
|
"type": "object"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ManagedIdentitySettings": {
|
|
"description": "Managed identity settings for upstream.",
|
|
"properties": {
|
|
"resource": {
|
|
"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.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"NetworkACL": {
|
|
"description": "Network ACL",
|
|
"properties": {
|
|
"allow": {
|
|
"description": "Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI.",
|
|
"oneOf": [
|
|
{
|
|
"items": {
|
|
"enum": [
|
|
"ClientConnection",
|
|
"ServerConnection",
|
|
"RESTAPI",
|
|
"Trace"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"deny": {
|
|
"description": "Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI.",
|
|
"oneOf": [
|
|
{
|
|
"items": {
|
|
"enum": [
|
|
"ClientConnection",
|
|
"ServerConnection",
|
|
"RESTAPI",
|
|
"Trace"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"PrivateEndpoint": {
|
|
"description": "Private endpoint",
|
|
"properties": {
|
|
"id": {
|
|
"description": "Full qualified Id of the private endpoint",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"PrivateEndpointACL": {
|
|
"description": "ACL for a private endpoint",
|
|
"properties": {
|
|
"allow": {
|
|
"description": "Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI.",
|
|
"oneOf": [
|
|
{
|
|
"items": {
|
|
"enum": [
|
|
"ClientConnection",
|
|
"ServerConnection",
|
|
"RESTAPI",
|
|
"Trace"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"deny": {
|
|
"description": "Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI.",
|
|
"oneOf": [
|
|
{
|
|
"items": {
|
|
"enum": [
|
|
"ClientConnection",
|
|
"ServerConnection",
|
|
"RESTAPI",
|
|
"Trace"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"name": {
|
|
"description": "Name of the private endpoint connection",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"PrivateEndpointConnectionProperties": {
|
|
"description": "Private endpoint connection properties",
|
|
"properties": {
|
|
"privateEndpoint": {
|
|
"description": "Private endpoint",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/PrivateEndpoint"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"privateLinkServiceConnectionState": {
|
|
"description": "Connection state of the private endpoint connection",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/PrivateLinkServiceConnectionState"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"PrivateLinkServiceConnectionState": {
|
|
"description": "Connection state of the private endpoint connection",
|
|
"properties": {
|
|
"actionsRequired": {
|
|
"description": "A message indicating if changes on the service provider require any updates on the consumer.",
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"description": "The reason for approval/rejection of the connection.",
|
|
"type": "string"
|
|
},
|
|
"status": {
|
|
"description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"Pending",
|
|
"Approved",
|
|
"Rejected",
|
|
"Disconnected"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ResourceLogCategory": {
|
|
"description": "Resource log category configuration of a Microsoft.SignalRService resource.",
|
|
"properties": {
|
|
"enabled": {
|
|
"description": "Indicates whether or the resource log category is enabled.\r\nAvailable values: true, false.\r\nCase insensitive.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "Gets or sets the resource log category's name.\r\nAvailable values: ConnectivityLogs, MessagingLogs.\r\nCase insensitive.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ResourceLogConfiguration": {
|
|
"description": "Resource log configuration of a Microsoft.SignalRService resource.",
|
|
"properties": {
|
|
"categories": {
|
|
"description": "Gets or sets the list of category configurations.",
|
|
"oneOf": [
|
|
{
|
|
"items": {
|
|
"$ref": "#/definitions/ResourceLogCategory"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ResourceReference": {
|
|
"description": "Reference to a resource.",
|
|
"properties": {
|
|
"id": {
|
|
"description": "Resource ID.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ResourceSku": {
|
|
"description": "The billing information of the resource.",
|
|
"properties": {
|
|
"capacity": {
|
|
"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;",
|
|
"oneOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"name": {
|
|
"description": "The name of the SKU. Required.\r\n\r\nAllowed values: Standard_S1, Free_F1, Premium_P1",
|
|
"type": "string"
|
|
},
|
|
"tier": {
|
|
"description": "Optional tier of this particular SKU. 'Standard' or 'Free'. \r\n\r\n`Basic` is deprecated, use `Standard` instead.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"Free",
|
|
"Basic",
|
|
"Standard",
|
|
"Premium"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"name"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"SharedPrivateLinkResourceProperties": {
|
|
"description": "Describes the properties of an existing Shared Private Link Resource",
|
|
"properties": {
|
|
"groupId": {
|
|
"description": "The group id from the provider of resource the shared private link resource is for",
|
|
"type": "string"
|
|
},
|
|
"privateLinkResourceId": {
|
|
"description": "The resource id of the resource the shared private link resource is for",
|
|
"type": "string"
|
|
},
|
|
"requestMessage": {
|
|
"description": "The request message for requesting approval of the shared private link resource",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"groupId",
|
|
"privateLinkResourceId"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"UpstreamAuthSettings": {
|
|
"description": "Upstream auth settings. If not set, no auth is used for upstream messages.",
|
|
"properties": {
|
|
"managedIdentity": {
|
|
"description": "Managed identity settings for upstream.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/ManagedIdentitySettings"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"description": "Upstream auth type enum.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"None",
|
|
"ManagedIdentity"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"UserAssignedIdentityProperty": {
|
|
"description": "Properties of user assigned identity.",
|
|
"properties": {},
|
|
"type": "object"
|
|
},
|
|
"WebPubSubHubProperties": {
|
|
"description": "Properties of a hub.",
|
|
"properties": {
|
|
"anonymousConnectPolicy": {
|
|
"default": "deny",
|
|
"description": "The settings for configuring if anonymous connections are allowed for this hub: \"allow\" or \"deny\". Default to \"deny\".",
|
|
"type": "string"
|
|
},
|
|
"eventHandlers": {
|
|
"description": "Event handler of a hub.",
|
|
"oneOf": [
|
|
{
|
|
"items": {
|
|
"$ref": "#/definitions/EventHandler"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"eventListeners": {
|
|
"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.",
|
|
"oneOf": [
|
|
{
|
|
"items": {
|
|
"$ref": "#/definitions/EventListener"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"WebPubSubNetworkACLs": {
|
|
"description": "Network ACLs for the resource",
|
|
"properties": {
|
|
"defaultAction": {
|
|
"description": "Azure Networking ACL Action.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"Allow",
|
|
"Deny"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"privateEndpoints": {
|
|
"description": "ACLs for requests from private endpoints",
|
|
"oneOf": [
|
|
{
|
|
"items": {
|
|
"$ref": "#/definitions/PrivateEndpointACL"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"publicNetwork": {
|
|
"description": "Network ACL",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/NetworkACL"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"WebPubSubProperties": {
|
|
"description": "A class that describes the properties of the resource",
|
|
"properties": {
|
|
"disableAadAuth": {
|
|
"description": "DisableLocalAuth\r\nEnable or disable aad auth\r\nWhen set as true, connection with AuthType=aad won't work.",
|
|
"oneOf": [
|
|
{
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"disableLocalAuth": {
|
|
"description": "DisableLocalAuth\r\nEnable or disable local auth with AccessKey\r\nWhen set as true, connection with AccessKey=xxx won't work.",
|
|
"oneOf": [
|
|
{
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"liveTraceConfiguration": {
|
|
"description": "Live trace configuration of a Microsoft.SignalRService resource.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/LiveTraceConfiguration"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"networkACLs": {
|
|
"description": "Network ACLs for the resource",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/WebPubSubNetworkACLs"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"publicNetworkAccess": {
|
|
"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.",
|
|
"type": "string"
|
|
},
|
|
"resourceLogConfiguration": {
|
|
"description": "Resource log configuration of a Microsoft.SignalRService resource.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/ResourceLogConfiguration"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"tls": {
|
|
"description": "TLS settings for the resource",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/WebPubSubTlsSettings"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"WebPubSubTlsSettings": {
|
|
"description": "TLS settings for the resource",
|
|
"properties": {
|
|
"clientCertEnabled": {
|
|
"description": "Request client certificate during TLS handshake if enabled",
|
|
"oneOf": [
|
|
{
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"webPubSub_customCertificates_childResource": {
|
|
"description": "Microsoft.SignalRService/webPubSub/customCertificates",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2023-02-01"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "Custom certificate name",
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"description": "Custom certificate properties.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/CustomCertificateProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"customCertificates"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"webPubSub_customDomains_childResource": {
|
|
"description": "Microsoft.SignalRService/webPubSub/customDomains",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2023-02-01"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "Custom domain name.",
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"description": "Properties of a custom domain.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/CustomDomainProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"customDomains"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"webPubSub_hubs_childResource": {
|
|
"description": "Microsoft.SignalRService/webPubSub/hubs",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2023-02-01"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The hub name.",
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"description": "Properties of a hub.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/WebPubSubHubProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"hubs"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"webPubSub_privateEndpointConnections_childResource": {
|
|
"description": "Microsoft.SignalRService/webPubSub/privateEndpointConnections",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2023-02-01"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The name of the private endpoint connection",
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"description": "Private endpoint connection properties",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/PrivateEndpointConnectionProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"privateEndpointConnections"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"webPubSub_sharedPrivateLinkResources_childResource": {
|
|
"description": "Microsoft.SignalRService/webPubSub/sharedPrivateLinkResources",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2023-02-01"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The name of the shared private link resource",
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"description": "Describes the properties of an existing Shared Private Link Resource",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/SharedPrivateLinkResourceProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"sharedPrivateLinkResources"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
}
|
|
}
|
|
} |