共用方式為


ArmWebPubSubModelFactory.WebPubSubData Method

Definition

Initializes a new instance of WebPubSubData.

public static Azure.ResourceManager.WebPubSub.WebPubSubData WebPubSubData (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.WebPubSub.Models.BillingInfoSku sku = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, Azure.ResourceManager.WebPubSub.Models.WebPubSubProvisioningState? provisioningState = default, string externalIP = default, string hostName = default, int? publicPort = default, int? serverPort = default, string version = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.WebPubSub.WebPubSubPrivateEndpointConnectionData> privateEndpointConnections = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.WebPubSub.WebPubSubSharedPrivateLinkData> sharedPrivateLinkResources = default, bool? isClientCertEnabled = default, string hostNamePrefix = default, Azure.ResourceManager.WebPubSub.Models.LiveTraceConfiguration liveTraceConfiguration = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.WebPubSub.Models.ResourceLogCategory> resourceLogCategories = default, Azure.ResourceManager.WebPubSub.Models.WebPubSubNetworkAcls networkAcls = default, string publicNetworkAccess = default, bool? isLocalAuthDisabled = default, bool? isAadAuthDisabled = default);
static member WebPubSubData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.WebPubSub.Models.BillingInfoSku * Azure.ResourceManager.Models.ManagedServiceIdentity * Nullable<Azure.ResourceManager.WebPubSub.Models.WebPubSubProvisioningState> * string * string * Nullable<int> * Nullable<int> * string * seq<Azure.ResourceManager.WebPubSub.WebPubSubPrivateEndpointConnectionData> * seq<Azure.ResourceManager.WebPubSub.WebPubSubSharedPrivateLinkData> * Nullable<bool> * string * Azure.ResourceManager.WebPubSub.Models.LiveTraceConfiguration * seq<Azure.ResourceManager.WebPubSub.Models.ResourceLogCategory> * Azure.ResourceManager.WebPubSub.Models.WebPubSubNetworkAcls * string * Nullable<bool> * Nullable<bool> -> Azure.ResourceManager.WebPubSub.WebPubSubData
Public Shared Function WebPubSubData (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 BillingInfoSku = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional provisioningState As Nullable(Of WebPubSubProvisioningState) = 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 WebPubSubPrivateEndpointConnectionData) = Nothing, Optional sharedPrivateLinkResources As IEnumerable(Of WebPubSubSharedPrivateLinkData) = Nothing, Optional isClientCertEnabled As Nullable(Of Boolean) = Nothing, Optional hostNamePrefix As String = Nothing, Optional liveTraceConfiguration As LiveTraceConfiguration = Nothing, Optional resourceLogCategories As IEnumerable(Of ResourceLogCategory) = Nothing, Optional networkAcls As WebPubSubNetworkAcls = Nothing, Optional publicNetworkAccess As String = Nothing, Optional isLocalAuthDisabled As Nullable(Of Boolean) = Nothing, Optional isAadAuthDisabled As Nullable(Of Boolean) = Nothing) As WebPubSubData

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
BillingInfoSku

The billing information of the resource.

identity
ManagedServiceIdentity

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

provisioningState
Nullable<WebPubSubProvisioningState>

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<WebPubSubPrivateEndpointConnectionData>

Private endpoint connections to the resource.

sharedPrivateLinkResources
IEnumerable<WebPubSubSharedPrivateLinkData>

The list of shared private link resources.

isClientCertEnabled
Nullable<Boolean>

TLS settings for the resource.

hostNamePrefix
String

Deprecated.

liveTraceConfiguration
LiveTraceConfiguration

Live trace configuration of a Microsoft.SignalRService resource.

resourceLogCategories
IEnumerable<ResourceLogCategory>

Resource log configuration of a Microsoft.SignalRService resource.

networkAcls
WebPubSubNetworkAcls

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.

isLocalAuthDisabled
Nullable<Boolean>

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

isAadAuthDisabled
Nullable<Boolean>

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

Returns

A new WebPubSubData instance for mocking.

Applies to