/// <summary> /// Initializes a new instance of the SignalRResource class. /// </summary> /// <param name="id">Fully qualified resource Id for the /// resource.</param> /// <param name="name">The name of the resource.</param> /// <param name="type">The type of the resource - e.g. /// "Microsoft.SignalRService/SignalR"</param> /// <param name="location">The GEO location of the resource. e.g. West /// US | East US | North Central US | South Central US.</param> /// <param name="tags">Tags of the service which is a list of key value /// pairs that describe the resource.</param> /// <param name="sku">The billing information of the resource.(e.g. /// Free, Standard)</param> /// <param name="provisioningState">Provisioning state of the resource. /// Possible values include: 'Unknown', 'Succeeded', 'Failed', /// 'Canceled', 'Running', 'Creating', 'Updating', 'Deleting', /// 'Moving'</param> /// <param name="externalIP">The publicly accessible IP of the /// resource.</param> /// <param name="hostName">FQDN of the service instance.</param> /// <param name="publicPort">The publicly accessible port of the /// resource which is designed for browser/client side usage.</param> /// <param name="serverPort">The publicly accessible port of the /// resource which is designed for customer server side usage.</param> /// <param name="version">Version of the resource. Probably you need /// the same or higher version of client SDKs.</param> /// <param name="privateEndpointConnections">Private endpoint /// connections to the resource.</param> /// <param name="sharedPrivateLinkResources">The list of shared private /// link resources.</param> /// <param name="tls">TLS settings.</param> /// <param name="features">List of the featureFlags. /// /// FeatureFlags that are not included in the parameters for the update /// operation will not be modified. /// And the response will only include featureFlags that are explicitly /// set. /// When a featureFlag is not explicitly set, its globally default /// value will be used /// But keep in mind, the default value doesn't mean "false". It varies /// in terms of different FeatureFlags.</param> /// <param name="cors">Cross-Origin Resource Sharing (CORS) /// settings.</param> /// <param name="upstream">Upstream settings when the service is in /// server-less mode.</param> /// <param name="networkACLs">Network ACLs</param> /// <param name="publicNetworkAccess">Enable or disable public network /// access. Default to "Enabled". /// When it's Enabled, network ACLs still apply. /// When it's Disabled, public network access is always disabled no /// matter what you set in network ACLs.</param> /// <param name="disableLocalAuth">DisableLocalAuth /// Enable or disable local auth with AccessKey /// When set as true, connection with AccessKey=xxx won't work.</param> /// <param name="disableAadAuth">disableAadAuth /// Enable or disable aad auth /// When set as true, connection with AuthType=aad won't work.</param> /// <param name="kind">The kind of the service - e.g. "SignalR" for /// "Microsoft.SignalRService/SignalR". Possible values include: /// 'SignalR', 'RawWebSockets'</param> /// <param name="identity">The managed identity response</param> /// <param name="systemData">Metadata pertaining to creation and last /// modification of the resource.</param> public SignalRResource(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), ResourceSku sku = default(ResourceSku), string provisioningState = default(string), string externalIP = default(string), string hostName = default(string), int?publicPort = default(int?), int?serverPort = default(int?), string version = default(string), IList <PrivateEndpointConnection> privateEndpointConnections = default(IList <PrivateEndpointConnection>), IList <SharedPrivateLinkResource> sharedPrivateLinkResources = default(IList <SharedPrivateLinkResource>), SignalRTlsSettings tls = default(SignalRTlsSettings), IList <SignalRFeature> features = default(IList <SignalRFeature>), SignalRCorsSettings cors = default(SignalRCorsSettings), ServerlessUpstreamSettings upstream = default(ServerlessUpstreamSettings), SignalRNetworkACLs networkACLs = default(SignalRNetworkACLs), string publicNetworkAccess = default(string), bool?disableLocalAuth = default(bool?), bool?disableAadAuth = default(bool?), string kind = default(string), ManagedIdentity identity = default(ManagedIdentity), SystemData systemData = default(SystemData)) : base(id, name, type, location, tags) { Sku = sku; ProvisioningState = provisioningState; ExternalIP = externalIP; HostName = hostName; PublicPort = publicPort; ServerPort = serverPort; Version = version; PrivateEndpointConnections = privateEndpointConnections; SharedPrivateLinkResources = sharedPrivateLinkResources; Tls = tls; Features = features; Cors = cors; Upstream = upstream; NetworkACLs = networkACLs; PublicNetworkAccess = publicNetworkAccess; DisableLocalAuth = disableLocalAuth; DisableAadAuth = disableAadAuth; Kind = kind; Identity = identity; SystemData = systemData; CustomInit(); }
/// <summary> /// Initializes a new instance of the SignalRCreateOrUpdateProperties /// class. /// </summary> /// <param name="features">List of SignalR featureFlags. e.g. /// ServiceMode. /// /// FeatureFlags that are not included in the parameters for the update /// operation will not be modified. /// And the response will only include featureFlags that are explicitly /// set. /// When a featureFlag is not explicitly set, SignalR service will use /// its globally default value. /// But keep in mind, the default value doesn't mean "false". It varies /// in terms of different FeatureFlags.</param> /// <param name="cors">Cross-Origin Resource Sharing (CORS) /// settings.</param> /// <param name="upstream">Upstream settings when the Azure SignalR is /// in server-less mode.</param> /// <param name="networkACLs">Network ACLs</param> public SignalRCreateOrUpdateProperties(IList <SignalRFeature> features = default(IList <SignalRFeature>), SignalRCorsSettings cors = default(SignalRCorsSettings), ServerlessUpstreamSettings upstream = default(ServerlessUpstreamSettings), SignalRNetworkACLs networkACLs = default(SignalRNetworkACLs)) { Features = features; Cors = cors; Upstream = upstream; NetworkACLs = networkACLs; CustomInit(); }
/// <summary> /// Initializes a new instance of the SignalRResource class. /// </summary> /// <param name="id">Fully qualified resource Id for the /// resource.</param> /// <param name="name">The name of the resource.</param> /// <param name="type">The type of the resource - e.g. /// "Microsoft.SignalRService/SignalR"</param> /// <param name="location">The GEO location of the SignalR service. /// e.g. West US | East US | North Central US | South Central /// US.</param> /// <param name="tags">Tags of the service which is a list of key value /// pairs that describe the resource.</param> /// <param name="sku">The billing information of the resource.(e.g. /// Free, Standard)</param> /// <param name="hostNamePrefix">Prefix for the hostName of the SignalR /// service. Retained for future use. /// The hostname will be of format: /// &lt;hostNamePrefix&gt;.service.signalr.net.</param> /// <param name="features">List of SignalR featureFlags. e.g. /// ServiceMode. /// /// FeatureFlags that are not included in the parameters for the update /// operation will not be modified. /// And the response will only include featureFlags that are explicitly /// set. /// When a featureFlag is not explicitly set, SignalR service will use /// its globally default value. /// But keep in mind, the default value doesn't mean "false". It varies /// in terms of different FeatureFlags.</param> /// <param name="cors">Cross-Origin Resource Sharing (CORS) /// settings.</param> /// <param name="upstream">Upstream settings when the Azure SignalR is /// in server-less mode.</param> /// <param name="networkACLs">Network ACLs</param> /// <param name="provisioningState">Provisioning state of the resource. /// Possible values include: 'Unknown', 'Succeeded', 'Failed', /// 'Canceled', 'Running', 'Creating', 'Updating', 'Deleting', /// 'Moving'</param> /// <param name="externalIP">The publicly accessible IP of the SignalR /// service.</param> /// <param name="hostName">FQDN of the SignalR service instance. /// Format: xxx.service.signalr.net</param> /// <param name="publicPort">The publicly accessible port of the /// SignalR service which is designed for browser/client side /// usage.</param> /// <param name="serverPort">The publicly accessible port of the /// SignalR service which is designed for customer server side /// usage.</param> /// <param name="version">Version of the SignalR resource. Probably you /// need the same or higher version of client SDKs.</param> /// <param name="privateEndpointConnections">Private endpoint /// connections to the SignalR resource.</param> /// <param name="kind">The kind of the service - e.g. "SignalR", or /// "RawWebSockets" for "Microsoft.SignalRService/SignalR". Possible /// values include: 'SignalR', 'RawWebSockets'</param> public SignalRResource(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), ResourceSku sku = default(ResourceSku), string hostNamePrefix = default(string), IList <SignalRFeature> features = default(IList <SignalRFeature>), SignalRCorsSettings cors = default(SignalRCorsSettings), ServerlessUpstreamSettings upstream = default(ServerlessUpstreamSettings), SignalRNetworkACLs networkACLs = default(SignalRNetworkACLs), string provisioningState = default(string), string externalIP = default(string), string hostName = default(string), int?publicPort = default(int?), int?serverPort = default(int?), string version = default(string), IList <PrivateEndpointConnection> privateEndpointConnections = default(IList <PrivateEndpointConnection>), string kind = default(string)) : base(id, name, type, location, tags) { Sku = sku; HostNamePrefix = hostNamePrefix; Features = features; Cors = cors; Upstream = upstream; NetworkACLs = networkACLs; ProvisioningState = provisioningState; ExternalIP = externalIP; HostName = hostName; PublicPort = publicPort; ServerPort = serverPort; Version = version; PrivateEndpointConnections = privateEndpointConnections; Kind = kind; CustomInit(); }