共用方式為


ArmPostgreSqlFlexibleServersModelFactory.VirtualEndpointResourceData Method

Definition

Initializes a new instance of VirtualEndpointResourceData.

public static Azure.ResourceManager.PostgreSql.FlexibleServers.VirtualEndpointResourceData VirtualEndpointResourceData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.VirtualEndpointType? endpointType = default, System.Collections.Generic.IEnumerable<string> members = default, System.Collections.Generic.IEnumerable<string> virtualEndpoints = default);
static member VirtualEndpointResourceData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.VirtualEndpointType> * seq<string> * seq<string> -> Azure.ResourceManager.PostgreSql.FlexibleServers.VirtualEndpointResourceData
Public Shared Function VirtualEndpointResourceData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional endpointType As Nullable(Of VirtualEndpointType) = Nothing, Optional members As IEnumerable(Of String) = Nothing, Optional virtualEndpoints As IEnumerable(Of String) = Nothing) As VirtualEndpointResourceData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

endpointType
Nullable<VirtualEndpointType>

The endpoint type for the virtual endpoint.

members
IEnumerable<String>

List of members for a virtual endpoint.

virtualEndpoints
IEnumerable<String>

List of virtual endpoints for a server.

Returns

A new VirtualEndpointResourceData instance for mocking.

Applies to