From 8182b3e4183498a4678d432ea87068718f5043dd Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 22 Mar 2022 10:40:28 +0000 Subject: [PATCH] CodeGen from PR 17748 in Azure/azure-rest-api-specs Add Microsoft.SignalRService/signalr 2022-02-01 (#17748) * Prepare Microsoft.SignalRService/signalr 2022-02-01 * Add Microsoft.SignalRService/signalr 2022-02-01 * Address review comments * Fix CI --- .../2022-02-01/Microsoft.SignalRService.json | 1177 +++++++++++++++++ schemas/common/autogeneratedResources.json | 15 + 2 files changed, 1192 insertions(+) create mode 100644 schemas/2022-02-01/Microsoft.SignalRService.json diff --git a/schemas/2022-02-01/Microsoft.SignalRService.json b/schemas/2022-02-01/Microsoft.SignalRService.json new file mode 100644 index 0000000000..d174d6f20f --- /dev/null +++ b/schemas/2022-02-01/Microsoft.SignalRService.json @@ -0,0 +1,1177 @@ +{ + "id": "https://schema.management.azure.com/schemas/2022-02-01/Microsoft.SignalRService.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.SignalRService", + "description": "Microsoft SignalRService Resource Types", + "resourceDefinitions": { + "signalR": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-02-01" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A class represent managed identities used for request and response" + }, + "kind": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SignalR", + "RawWebSockets" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "location": { + "type": "string", + "description": "The GEO location of the resource. e.g. West US | East US | North Central US | South Central US." + }, + "name": { + "type": "string", + "description": "The name of the resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SignalRProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A class that describes the properties of the resource" + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/signalR_customCertificates_childResource" + }, + { + "$ref": "#/definitions/signalR_customDomains_childResource" + }, + { + "$ref": "#/definitions/signalR_privateEndpointConnections_childResource" + }, + { + "$ref": "#/definitions/signalR_sharedPrivateLinkResources_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceSku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The billing information of the resource." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tags of the service which is a list of key value pairs that describe the resource." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.SignalRService/signalR" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.SignalRService/signalR" + }, + "signalR_customCertificates": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-02-01" + ] + }, + "name": { + "type": "string", + "description": "Custom certificate name" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CustomCertificateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Custom certificate properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.SignalRService/signalR/customCertificates" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.SignalRService/signalR/customCertificates" + }, + "signalR_customDomains": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-02-01" + ] + }, + "name": { + "type": "string", + "description": "Custom domain name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CustomDomainProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a custom domain." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.SignalRService/signalR/customDomains" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.SignalRService/signalR/customDomains" + }, + "signalR_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-02-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the private endpoint connection" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Private endpoint connection properties" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.SignalRService/signalR/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.SignalRService/signalR/privateEndpointConnections" + }, + "signalR_sharedPrivateLinkResources": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-02-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the shared private link resource" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SharedPrivateLinkResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of an existing Shared Private Link Resource" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.SignalRService/signalR/sharedPrivateLinkResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.SignalRService/signalR/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." + }, + "LiveTraceCategory": { + "type": "object", + "properties": { + "enabled": { + "type": "string", + "description": "Indicates whether or the live trace category is enabled.\r\nAvailable values: true, false.\r\nCase insensitive." + }, + "name": { + "type": "string", + "description": "Gets or sets the live trace category's name.\r\nAvailable values: ConnectivityLogs, MessagingLogs.\r\nCase insensitive." + } + }, + "description": "Live trace category configuration of a Microsoft.SignalRService resource." + }, + "LiveTraceConfiguration": { + "type": "object", + "properties": { + "categories": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LiveTraceCategory" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the list of category configurations." + }, + "enabled": { + "type": "string", + "default": "false", + "description": "Indicates whether or not enable live trace.\r\nWhen it's set to true, live trace client can connect to the service.\r\nOtherwise, live trace client can't connect to the service, so that you are unable to receive any log, no matter what you configure in \"categories\".\r\nAvailable values: true, false.\r\nCase insensitive." + } + }, + "description": "Live trace configuration of a Microsoft.SignalRService resource." + }, + "ManagedIdentity": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "SystemAssigned", + "UserAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentityProperty" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Get or set the user assigned identities" + } + }, + "description": "A class represent managed identities used for request and response" + }, + "ManagedIdentitySettings": { + "type": "object", + "properties": { + "resource": { + "type": "string", + "description": "The Resource indicating the App ID URI of the target resource.\r\nIt also appears in the aud (audience) claim of the issued token." + } + }, + "description": "Managed identity settings for upstream." + }, + "NetworkACL": { + "type": "object", + "properties": { + "allow": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "ClientConnection", + "ServerConnection", + "RESTAPI", + "Trace" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI." + }, + "deny": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "ClientConnection", + "ServerConnection", + "RESTAPI", + "Trace" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI." + } + }, + "description": "Network ACL" + }, + "PrivateEndpoint": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Full qualified Id of the private endpoint" + } + }, + "description": "Private endpoint" + }, + "PrivateEndpointACL": { + "type": "object", + "properties": { + "allow": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "ClientConnection", + "ServerConnection", + "RESTAPI", + "Trace" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Allowed request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI." + }, + "deny": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "ClientConnection", + "ServerConnection", + "RESTAPI", + "Trace" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Denied request types. The value can be one or more of: ClientConnection, ServerConnection, RESTAPI." + }, + "name": { + "type": "string", + "description": "Name of the private endpoint connection" + } + }, + "required": [ + "name" + ], + "description": "ACL for a private endpoint" + }, + "PrivateEndpointConnectionProperties": { + "type": "object", + "properties": { + "privateEndpoint": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpoint" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Private endpoint" + }, + "privateLinkServiceConnectionState": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateLinkServiceConnectionState" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Connection state of the private endpoint connection" + } + }, + "description": "Private endpoint connection properties" + }, + "PrivateLinkServiceConnectionState": { + "type": "object", + "properties": { + "actionsRequired": { + "type": "string", + "description": "A message indicating if changes on the service provider require any updates on the consumer." + }, + "description": { + "type": "string", + "description": "The reason for approval/rejection of the connection." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Pending", + "Approved", + "Rejected", + "Disconnected" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Connection state of the private endpoint connection" + }, + "ResourceLogCategory": { + "type": "object", + "properties": { + "enabled": { + "type": "string", + "description": "Indicates whether or the resource log category is enabled.\r\nAvailable values: true, false.\r\nCase insensitive." + }, + "name": { + "type": "string", + "description": "Gets or sets the resource log category's name.\r\nAvailable values: ConnectivityLogs, MessagingLogs.\r\nCase insensitive." + } + }, + "description": "Resource log category configuration of a Microsoft.SignalRService resource." + }, + "ResourceLogConfiguration": { + "type": "object", + "properties": { + "categories": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceLogCategory" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the list of category configurations." + } + }, + "description": "Resource log configuration of a Microsoft.SignalRService resource." + }, + "ResourceReference": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Resource ID." + } + }, + "description": "Reference to a resource." + }, + "ResourceSku": { + "type": "object", + "properties": { + "capacity": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional, integer. The unit count of the resource. 1 by default.\r\n\r\nIf present, following values are allowed:\r\n Free: 1\r\n Standard: 1,2,5,10,20,50,100" + }, + "name": { + "type": "string", + "description": "The name of the SKU. Required.\r\n\r\nAllowed values: Standard_S1, Free_F1" + }, + "tier": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Free", + "Basic", + "Standard", + "Premium" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "name" + ], + "description": "The billing information of the resource." + }, + "ServerlessUpstreamSettings": { + "type": "object", + "properties": { + "templates": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/UpstreamTemplate" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the list of Upstream URL templates. Order matters, and the first matching template takes effects." + } + }, + "description": "The settings for the Upstream when the service is in server-less mode." + }, + "SharedPrivateLinkResourceProperties": { + "type": "object", + "properties": { + "groupId": { + "type": "string", + "description": "The group id from the provider of resource the shared private link resource is for" + }, + "privateLinkResourceId": { + "type": "string", + "description": "The resource id of the resource the shared private link resource is for" + }, + "requestMessage": { + "type": "string", + "description": "The request message for requesting approval of the shared private link resource" + } + }, + "required": [ + "groupId", + "privateLinkResourceId" + ], + "description": "Describes the properties of an existing Shared Private Link Resource" + }, + "SignalRCorsSettings": { + "type": "object", + "properties": { + "allowedOrigins": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the list of origins that should be allowed to make cross-origin calls (for example: http://example.com:12345). Use \"*\" to allow all. If omitted, allow all by default." + } + }, + "description": "Cross-Origin Resource Sharing (CORS) settings." + }, + "SignalRFeature": { + "type": "object", + "properties": { + "flag": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ServiceMode", + "EnableConnectivityLogs", + "EnableMessagingLogs", + "EnableLiveTrace" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "properties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional properties related to this feature." + }, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 128, + "description": "Value of the feature flag. See Azure SignalR service document https://docs.microsoft.com/azure/azure-signalr/ for allowed values." + } + }, + "required": [ + "flag", + "value" + ], + "description": "Feature of a resource, which controls the runtime behavior." + }, + "SignalRNetworkACLs": { + "type": "object", + "properties": { + "defaultAction": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Allow", + "Deny" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "privateEndpoints": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/PrivateEndpointACL" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "ACLs for requests from private endpoints" + }, + "publicNetwork": { + "oneOf": [ + { + "$ref": "#/definitions/NetworkACL" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Network ACL" + } + }, + "description": "Network ACLs for the resource" + }, + "SignalRProperties": { + "type": "object", + "properties": { + "cors": { + "oneOf": [ + { + "$ref": "#/definitions/SignalRCorsSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Cross-Origin Resource Sharing (CORS) settings." + }, + "disableAadAuth": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "DisableLocalAuth\r\nEnable or disable aad auth\r\nWhen set as true, connection with AuthType=aad won't work." + }, + "disableLocalAuth": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "DisableLocalAuth\r\nEnable or disable local auth with AccessKey\r\nWhen set as true, connection with AccessKey=xxx won't work." + }, + "features": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SignalRFeature" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of the featureFlags.\r\n\r\nFeatureFlags that are not included in the parameters for the update operation will not be modified.\r\nAnd the response will only include featureFlags that are explicitly set. \r\nWhen a featureFlag is not explicitly set, its globally default value will be used\r\nBut keep in mind, the default value doesn't mean \"false\". It varies in terms of different FeatureFlags." + }, + "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/SignalRNetworkACLs" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Network ACLs for the resource" + }, + "publicNetworkAccess": { + "type": "string", + "default": "Enabled", + "description": "Enable or disable public network access. Default to \"Enabled\".\r\nWhen it's Enabled, network ACLs still apply.\r\nWhen it's Disabled, public network access is always disabled no matter what you set in network ACLs." + }, + "resourceLogConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceLogConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource log configuration of a Microsoft.SignalRService resource." + }, + "tls": { + "oneOf": [ + { + "$ref": "#/definitions/SignalRTlsSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "TLS settings for the resource" + }, + "upstream": { + "oneOf": [ + { + "$ref": "#/definitions/ServerlessUpstreamSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The settings for the Upstream when the service is in server-less mode." + } + }, + "description": "A class that describes the properties of the resource" + }, + "SignalRTlsSettings": { + "type": "object", + "properties": { + "clientCertEnabled": { + "oneOf": [ + { + "type": "boolean", + "default": true + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Request client certificate during TLS handshake if enabled" + } + }, + "description": "TLS settings for the resource" + }, + "signalR_customCertificates_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-02-01" + ] + }, + "name": { + "type": "string", + "description": "Custom certificate name" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CustomCertificateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Custom certificate properties." + }, + "type": { + "type": "string", + "enum": [ + "customCertificates" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.SignalRService/signalR/customCertificates" + }, + "signalR_customDomains_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-02-01" + ] + }, + "name": { + "type": "string", + "description": "Custom domain name." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/CustomDomainProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a custom domain." + }, + "type": { + "type": "string", + "enum": [ + "customDomains" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.SignalRService/signalR/customDomains" + }, + "signalR_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-02-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the private endpoint connection" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Private endpoint connection properties" + }, + "type": { + "type": "string", + "enum": [ + "privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.SignalRService/signalR/privateEndpointConnections" + }, + "signalR_sharedPrivateLinkResources_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2022-02-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the shared private link resource" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SharedPrivateLinkResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of an existing Shared Private Link Resource" + }, + "type": { + "type": "string", + "enum": [ + "sharedPrivateLinkResources" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.SignalRService/signalR/sharedPrivateLinkResources" + }, + "UpstreamAuthSettings": { + "type": "object", + "properties": { + "managedIdentity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedIdentitySettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Managed identity settings for upstream." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "ManagedIdentity" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Upstream auth settings. If not set, no auth is used for upstream messages." + }, + "UpstreamTemplate": { + "type": "object", + "properties": { + "auth": { + "oneOf": [ + { + "$ref": "#/definitions/UpstreamAuthSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Upstream auth settings. If not set, no auth is used for upstream messages." + }, + "categoryPattern": { + "type": "string", + "description": "Gets or sets the matching pattern for category names. If not set, it matches any category.\r\nThere are 3 kind of patterns supported:\r\n 1. \"*\", it to matches any category name.\r\n 2. Combine multiple categories with \",\", for example \"connections,messages\", it matches category \"connections\" and \"messages\".\r\n 3. The single category name, for example, \"connections\", it matches the category \"connections\"." + }, + "eventPattern": { + "type": "string", + "description": "Gets or sets the matching pattern for event names. If not set, it matches any event.\r\nThere are 3 kind of patterns supported:\r\n 1. \"*\", it to matches any event name.\r\n 2. Combine multiple events with \",\", for example \"connect,disconnect\", it matches event \"connect\" and \"disconnect\".\r\n 3. The single event name, for example, \"connect\", it matches \"connect\"." + }, + "hubPattern": { + "type": "string", + "description": "Gets or sets the matching pattern for hub names. If not set, it matches any hub.\r\nThere are 3 kind of patterns supported:\r\n 1. \"*\", it to matches any hub name.\r\n 2. Combine multiple hubs with \",\", for example \"hub1,hub2\", it matches \"hub1\" and \"hub2\".\r\n 3. The single hub name, for example, \"hub1\", it matches \"hub1\"." + }, + "urlTemplate": { + "type": "string", + "description": "Gets or sets the Upstream URL template. You can use 3 predefined parameters {hub}, {category} {event} inside the template, the value of the Upstream URL is dynamically calculated when the client request comes in.\r\nFor example, if the urlTemplate is `http://example.com/{hub}/api/{event}`, with a client request from hub `chat` connects, it will first POST to this URL: `http://example.com/chat/api/connect`." + } + }, + "required": [ + "urlTemplate" + ], + "description": "Upstream template item settings. It defines the Upstream URL of the incoming requests.\r\nThe template defines the pattern of the event, the hub or the category of the incoming request that matches current URL template." + }, + "UserAssignedIdentityProperty": { + "type": "object", + "properties": {}, + "description": "Properties of user assigned identity." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index f28d279169..30b8242c98 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -12997,6 +12997,21 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-10-01/Microsoft.SignalRService.json#/resourceDefinitions/signalR_sharedPrivateLinkResources" }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-02-01/Microsoft.SignalRService.json#/resourceDefinitions/signalR" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-02-01/Microsoft.SignalRService.json#/resourceDefinitions/signalR_customCertificates" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-02-01/Microsoft.SignalRService.json#/resourceDefinitions/signalR_customDomains" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-02-01/Microsoft.SignalRService.json#/resourceDefinitions/signalR_privateEndpointConnections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2022-02-01/Microsoft.SignalRService.json#/resourceDefinitions/signalR_sharedPrivateLinkResources" + }, { "$ref": "https://schema.management.azure.com/schemas/2021-04-01-preview/Microsoft.SignalRService.WebPubSub.json#/resourceDefinitions/webPubSub" },