import { ArmResource } from '@yetics/armkit-core' ; import { Construct } from 'constructs' ; schema export class SignalR extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'signalR' , } ) ; } } schema export class SignalRPrivateEndpointConnections extends ArmResource { param scope param name param options public constructor ( scope , name , options ) { super ( scope , name , { ... options , armResourceType : 'signalR_privateEndpointConnections' , } ) ; } } schema export interface SignalROptions { schema readonly apiVersion ? : MicrosoftSignalRServiceSignalRApiVersion ; schema readonly kind ? : MicrosoftSignalRServiceSignalRKind ; schema readonly location ? : string ; schema readonly name : string ; schema readonly properties : SignalRProperties ; schema readonly resources ? : SignalRPrivateEndpointConnectionsChildResource [ ] ; schema readonly sku ? : ResourceSku ; schema readonly tags ? : MicrosoftSignalRServiceSignalRTags ; schema readonly type : MicrosoftSignalRServiceSignalRType ; } schema export interface SignalRPrivateEndpointConnectionsOptions { schema readonly apiVersion ? : MicrosoftSignalRServiceSignalRPrivateEndpointConnectionsApiVersion ; schema readonly name : string ; schema readonly properties : PrivateEndpointConnectionProperties ; schema readonly type : MicrosoftSignalRServiceSignalRPrivateEndpointConnectionsType ; } export enum MicrosoftSignalRServiceSignalRApiVersion { "MicrosoftSignalRServiceSignalRApiVersion_2020_05_01" = '2020-05-01' } export enum MicrosoftSignalRServiceSignalRKind { SIGNAL_R = 'SignalR' , RAW_WEB_SOCKETS = 'RawWebSockets' } schema export interface SignalRProperties { schema readonly cors ? : SignalRCorsSettings ; schema readonly features ? : SignalRFeature [ ] ; schema readonly networkACLs ? : SignalRNetworkAcLs ; schema readonly upstream ? : ServerlessUpstreamSettings ; } schema export interface SignalRPrivateEndpointConnectionsChildResource { schema readonly apiVersion : SignalRPrivateEndpointConnectionsChildResourceApiVersion ; schema readonly name : string ; schema readonly properties : PrivateEndpointConnectionProperties ; schema readonly type : SignalRPrivateEndpointConnectionsChildResourceType ; } schema export interface ResourceSku { schema readonly capacity ? : number ; schema readonly name : string ; schema readonly tier ? : ResourceSkuTier ; } schema export interface MicrosoftSignalRServiceSignalRTags { } export enum MicrosoftSignalRServiceSignalRType { "MicrosoftSignalRServiceSignalRType_MICROSOFT_SIGNAL_R_SERVICE_SIGNAL_R" = 'Microsoft.SignalRService/signalR' } export enum MicrosoftSignalRServiceSignalRPrivateEndpointConnectionsApiVersion { "MicrosoftSignalRServiceSignalRPrivateEndpointConnectionsApiVersion_2020_05_01" = '2020-05-01' } schema export interface PrivateEndpointConnectionProperties { schema readonly privateEndpoint ? : PrivateEndpoint ; schema readonly privateLinkServiceConnectionState ? : PrivateLinkServiceConnectionState ; } export enum MicrosoftSignalRServiceSignalRPrivateEndpointConnectionsType { "MicrosoftSignalRServiceSignalRPrivateEndpointConnectionsType_MICROSOFT_SIGNAL_R_SERVICE_SIGNAL_R_PRIVATE_ENDPOINT_CONNECTIONS" = 'Microsoft.SignalRService/signalR/privateEndpointConnections' } schema export interface SignalRCorsSettings { schema readonly allowedOrigins ? : string [ ] ; } schema export interface SignalRFeature { schema readonly flag : SignalRFeatureFlag ; schema readonly properties ? : SignalRFeatureProperties ; schema readonly value : string ; } schema export interface SignalRNetworkAcLs { schema readonly defaultAction ? : SignalRNetworkAcLsDefaultAction ; schema readonly privateEndpoints ? : PrivateEndpointAcl [ ] ; schema readonly publicNetwork ? : NetworkAcl ; } schema export interface ServerlessUpstreamSettings { schema readonly templates ? : UpstreamTemplate [ ] ; } export enum SignalRPrivateEndpointConnectionsChildResourceApiVersion { "SignalRPrivateEndpointConnectionsChildResourceApiVersion_2020_05_01" = '2020-05-01' } export enum SignalRPrivateEndpointConnectionsChildResourceType { PRIVATE_ENDPOINT_CONNECTIONS = 'privateEndpointConnections' } export enum ResourceSkuTier { FREE = 'Free' , BASIC = 'Basic' , STANDARD = 'Standard' , PREMIUM = 'Premium' } schema export interface PrivateEndpoint { schema readonly id ? : string ; } schema export interface PrivateLinkServiceConnectionState { schema readonly actionsRequired ? : string ; schema readonly description ? : string ; schema readonly status ? : PrivateLinkServiceConnectionStateStatus ; } export enum SignalRFeatureFlag { SERVICE_MODE = 'ServiceMode' , ENABLE_CONNECTIVITY_LOGS = 'EnableConnectivityLogs' , ENABLE_MESSAGING_LOGS = 'EnableMessagingLogs' } schema export interface SignalRFeatureProperties { } export enum SignalRNetworkAcLsDefaultAction { ALLOW = 'Allow' , DENY = 'Deny' } schema export interface PrivateEndpointAcl { schema readonly allow ? : PrivateEndpointAclAllow [ ] ; schema readonly deny ? : PrivateEndpointAclDeny [ ] ; schema readonly name : string ; } schema export interface NetworkAcl { schema readonly allow ? : NetworkAclAllow [ ] ; schema readonly deny ? : NetworkAclDeny [ ] ; } schema export interface UpstreamTemplate { schema readonly categoryPattern ? : string ; schema readonly eventPattern ? : string ; schema readonly hubPattern ? : string ; schema readonly urlTemplate : string ; } export enum PrivateLinkServiceConnectionStateStatus { PENDING = 'Pending' , APPROVED = 'Approved' , REJECTED = 'Rejected' , DISCONNECTED = 'Disconnected' } export enum PrivateEndpointAclAllow { CLIENT_CONNECTION = 'ClientConnection' , SERVER_CONNECTION = 'ServerConnection' , RESTAPI = 'RESTAPI' } export enum PrivateEndpointAclDeny { CLIENT_CONNECTION = 'ClientConnection' , SERVER_CONNECTION = 'ServerConnection' , RESTAPI = 'RESTAPI' } export enum NetworkAclAllow { CLIENT_CONNECTION = 'ClientConnection' , SERVER_CONNECTION = 'ServerConnection' , RESTAPI = 'RESTAPI' } export enum NetworkAclDeny { CLIENT_CONNECTION = 'ClientConnection' , SERVER_CONNECTION = 'ServerConnection' , RESTAPI = 'RESTAPI' }