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

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
String

The name of the resource.

resourceType
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

endpointType
Nullable<VirtualEndpointType>

Type of endpoint for the virtual endpoints.

members
IEnumerable<String>

List of servers that one of the virtual endpoints can refer to.

virtualEndpoints
IEnumerable<String>

List of virtual endpoints for a server.

Returns

A new VirtualEndpointResourceData instance for mocking.

Applies to