Language

ArmEnclaveModelFactory.EnclaveEndpointDestinationRule Method

Definition

public static Azure.ResourceManager.Enclave.Models.EnclaveEndpointDestinationRule EnclaveEndpointDestinationRule(System.Collections.Generic.IEnumerable<Azure.ResourceManager.Enclave.Models.EnclaveEndpointProtocol> protocols = default, string endpointRuleName = default, string destination = default, string ports = default);
static member EnclaveEndpointDestinationRule : seq<Azure.ResourceManager.Enclave.Models.EnclaveEndpointProtocol> * string * string * string -> Azure.ResourceManager.Enclave.Models.EnclaveEndpointDestinationRule
Public Shared Function EnclaveEndpointDestinationRule (Optional protocols As IEnumerable(Of EnclaveEndpointProtocol) = Nothing, Optional endpointRuleName As String = Nothing, Optional destination As String = Nothing, Optional ports As String = Nothing) As EnclaveEndpointDestinationRule

Parameters

protocols
IEnumerable<EnclaveEndpointProtocol>

Protocols. Options specified by Endpoint Protocol Enum.

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 EnclaveEndpointDestinationRule instance for mocking.

Applies to