Udostępnij za pośrednictwem


ArmSignalRModelFactory.SignalRData Method

Definition

Initializes a new instance of SignalRData.

public static Azure.ResourceManager.SignalR.SignalRData SignalRData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.SignalR.Models.SignalRResourceSku sku = default, Azure.ResourceManager.SignalR.Models.SignalRServiceKind? kind = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, Azure.ResourceManager.SignalR.Models.SignalRProvisioningState? provisioningState = default, string externalIP = default, string hostName = default, int? publicPort = default, int? serverPort = default, string version = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SignalR.SignalRPrivateEndpointConnectionData> privateEndpointConnections = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SignalR.SignalRSharedPrivateLinkResourceData> sharedPrivateLinkResources = default, bool? isClientCertEnabled = default, string hostNamePrefix = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SignalR.Models.SignalRFeature> features = default, Azure.ResourceManager.SignalR.Models.SignalRLiveTraceConfiguration liveTraceConfiguration = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SignalR.Models.SignalRResourceLogCategory> resourceLogCategories = default, System.Collections.Generic.IEnumerable<string> corsAllowedOrigins = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SignalR.Models.SignalRUpstreamTemplate> upstreamTemplates = default, Azure.ResourceManager.SignalR.Models.SignalRNetworkAcls networkACLs = default, string publicNetworkAccess = default, bool? disableLocalAuth = default, bool? disableAadAuth = default);
static member SignalRData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.SignalR.Models.SignalRResourceSku * Nullable<Azure.ResourceManager.SignalR.Models.SignalRServiceKind> * Azure.ResourceManager.Models.ManagedServiceIdentity * Nullable<Azure.ResourceManager.SignalR.Models.SignalRProvisioningState> * string * string * Nullable<int> * Nullable<int> * string * seq<Azure.ResourceManager.SignalR.SignalRPrivateEndpointConnectionData> * seq<Azure.ResourceManager.SignalR.SignalRSharedPrivateLinkResourceData> * Nullable<bool> * string * seq<Azure.ResourceManager.SignalR.Models.SignalRFeature> * Azure.ResourceManager.SignalR.Models.SignalRLiveTraceConfiguration * seq<Azure.ResourceManager.SignalR.Models.SignalRResourceLogCategory> * seq<string> * seq<Azure.ResourceManager.SignalR.Models.SignalRUpstreamTemplate> * Azure.ResourceManager.SignalR.Models.SignalRNetworkAcls * string * Nullable<bool> * Nullable<bool> -> Azure.ResourceManager.SignalR.SignalRData
Public Shared Function SignalRData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional sku As SignalRResourceSku = Nothing, Optional kind As Nullable(Of SignalRServiceKind) = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional provisioningState As Nullable(Of SignalRProvisioningState) = Nothing, Optional externalIP As String = Nothing, Optional hostName As String = Nothing, Optional publicPort As Nullable(Of Integer) = Nothing, Optional serverPort As Nullable(Of Integer) = Nothing, Optional version As String = Nothing, Optional privateEndpointConnections As IEnumerable(Of SignalRPrivateEndpointConnectionData) = Nothing, Optional sharedPrivateLinkResources As IEnumerable(Of SignalRSharedPrivateLinkResourceData) = Nothing, Optional isClientCertEnabled As Nullable(Of Boolean) = Nothing, Optional hostNamePrefix As String = Nothing, Optional features As IEnumerable(Of SignalRFeature) = Nothing, Optional liveTraceConfiguration As SignalRLiveTraceConfiguration = Nothing, Optional resourceLogCategories As IEnumerable(Of SignalRResourceLogCategory) = Nothing, Optional corsAllowedOrigins As IEnumerable(Of String) = Nothing, Optional upstreamTemplates As IEnumerable(Of SignalRUpstreamTemplate) = Nothing, Optional networkACLs As SignalRNetworkAcls = Nothing, Optional publicNetworkAccess As String = Nothing, Optional disableLocalAuth As Nullable(Of Boolean) = Nothing, Optional disableAadAuth As Nullable(Of Boolean) = Nothing) As SignalRData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

sku
SignalRResourceSku

The billing information of the resource.

kind
Nullable<SignalRServiceKind>

The kind of the service, it can be SignalR or RawWebSockets.

identity
ManagedServiceIdentity

A class represent managed identities used for request and response. Current supported identity types: None, SystemAssigned, UserAssigned.

provisioningState
Nullable<SignalRProvisioningState>

Provisioning state of the resource.

externalIP
String

The publicly accessible IP of the resource.

hostName
String

FQDN of the service instance.

publicPort
Nullable<Int32>

The publicly accessible port of the resource which is designed for browser/client side usage.

serverPort
Nullable<Int32>

The publicly accessible port of the resource which is designed for customer server side usage.

version
String

Version of the resource. Probably you need the same or higher version of client SDKs.

privateEndpointConnections
IEnumerable<SignalRPrivateEndpointConnectionData>

Private endpoint connections to the resource.

sharedPrivateLinkResources
IEnumerable<SignalRSharedPrivateLinkResourceData>

The list of shared private link resources.

isClientCertEnabled
Nullable<Boolean>

TLS settings for the resource.

hostNamePrefix
String

Deprecated.

features
IEnumerable<SignalRFeature>

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.

liveTraceConfiguration
SignalRLiveTraceConfiguration

Live trace configuration of a Microsoft.SignalRService resource.

resourceLogCategories
IEnumerable<SignalRResourceLogCategory>

Resource log configuration of a Microsoft.SignalRService resource.

corsAllowedOrigins
IEnumerable<String>

Cross-Origin Resource Sharing (CORS) settings.

upstreamTemplates
IEnumerable<SignalRUpstreamTemplate>

The settings for the Upstream when the service is in server-less mode.

networkACLs
SignalRNetworkAcls

Network ACLs for the resource.

publicNetworkAccess
String

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.

disableLocalAuth
Nullable<Boolean>

DisableLocalAuth Enable or disable local auth with AccessKey When set as true, connection with AccessKey=xxx won't work.

disableAadAuth
Nullable<Boolean>

DisableLocalAuth Enable or disable aad auth When set as true, connection with AuthType=aad won't work.

Returns

A new SignalRData instance for mocking.

Applies to