Language

ArmEnclaveModelFactory.VirtualEnclaveCommunityEndpointDestinationRule Method

Definition

public static Azure.ResourceManager.Enclave.Models.VirtualEnclaveCommunityEndpointDestinationRule VirtualEnclaveCommunityEndpointDestinationRule(Azure.ResourceManager.Enclave.Models.VirtualEnclaveCommunityEndpointDestinationType? destinationType = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Enclave.Models.VirtualEnclaveCommunityEndpointProtocol> protocols = default, Azure.Core.ResourceIdentifier transitHubResourceId = default, string endpointRuleName = default, string destination = default, string ports = default);
static member VirtualEnclaveCommunityEndpointDestinationRule : Nullable<Azure.ResourceManager.Enclave.Models.VirtualEnclaveCommunityEndpointDestinationType> * seq<Azure.ResourceManager.Enclave.Models.VirtualEnclaveCommunityEndpointProtocol> * Azure.Core.ResourceIdentifier * string * string * string -> Azure.ResourceManager.Enclave.Models.VirtualEnclaveCommunityEndpointDestinationRule
Public Shared Function VirtualEnclaveCommunityEndpointDestinationRule (Optional destinationType As Nullable(Of VirtualEnclaveCommunityEndpointDestinationType) = Nothing, Optional protocols As IEnumerable(Of VirtualEnclaveCommunityEndpointProtocol) = Nothing, Optional transitHubResourceId As ResourceIdentifier = Nothing, Optional endpointRuleName As String = Nothing, Optional destination As String = Nothing, Optional ports As String = Nothing) As VirtualEnclaveCommunityEndpointDestinationRule

Parameters

destinationType
Nullable<VirtualEnclaveCommunityEndpointDestinationType>

Destination Type.

protocols
IEnumerable<VirtualEnclaveCommunityEndpointProtocol>

Protocols. Options specified by Endpoint Protocol Enum.

transitHubResourceId
ResourceIdentifier

Transit Hub Resource Id.

endpointRuleName
String

Endpoint Rule Name.

destination
String

Destination address. Can include multiple CIDR/IP Addresses or fqdn tags or fqdns (for community endpoint) separated by commas.

ports
String

Port. Can include multiple ports separated by commas or a range indicated by a hyphen.

Returns

A new VirtualEnclaveCommunityEndpointDestinationRule instance for mocking.

Applies to