Share via


ArmWebPubSubModelFactory.WebPubSubPrivateLink Method

Definition

Initializes a new instance of WebPubSubPrivateLink.

public static Azure.ResourceManager.WebPubSub.Models.WebPubSubPrivateLink WebPubSubPrivateLink (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string groupId = default, System.Collections.Generic.IEnumerable<string> requiredMembers = default, System.Collections.Generic.IEnumerable<string> requiredZoneNames = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.WebPubSub.Models.ShareablePrivateLinkType> shareablePrivateLinkTypes = default);
static member WebPubSubPrivateLink : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * seq<string> * seq<string> * seq<Azure.ResourceManager.WebPubSub.Models.ShareablePrivateLinkType> -> Azure.ResourceManager.WebPubSub.Models.WebPubSubPrivateLink
Public Shared Function WebPubSubPrivateLink (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional groupId As String = Nothing, Optional requiredMembers As IEnumerable(Of String) = Nothing, Optional requiredZoneNames As IEnumerable(Of String) = Nothing, Optional shareablePrivateLinkTypes As IEnumerable(Of ShareablePrivateLinkType) = Nothing) As WebPubSubPrivateLink

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

groupId
String

Group Id of the private link resource.

requiredMembers
IEnumerable<String>

Required members of the private link resource.

requiredZoneNames
IEnumerable<String>

Required private DNS zone names.

shareablePrivateLinkTypes
IEnumerable<ShareablePrivateLinkType>

The list of resources that are onboarded to private link service.

Returns

A new WebPubSubPrivateLink instance for mocking.

Applies to