ArmSecurityCenterModelFactory.JitNetworkAccessPolicyInitiatePort Method

Definition

Initializes a new instance of JitNetworkAccessPolicyInitiatePort.

public static Azure.ResourceManager.SecurityCenter.Models.JitNetworkAccessPolicyInitiatePort JitNetworkAccessPolicyInitiatePort (int number = 0, string allowedSourceAddressPrefix = default, DateTimeOffset endOn = default);
static member JitNetworkAccessPolicyInitiatePort : int * string * DateTimeOffset -> Azure.ResourceManager.SecurityCenter.Models.JitNetworkAccessPolicyInitiatePort
Public Shared Function JitNetworkAccessPolicyInitiatePort (Optional number As Integer = 0, Optional allowedSourceAddressPrefix As String = Nothing, Optional endOn As DateTimeOffset = Nothing) As JitNetworkAccessPolicyInitiatePort

Parameters

number
Int32
allowedSourceAddressPrefix
String

Source of the allowed traffic. If omitted, the request will be for the source IP address of the initiate request.

endOn
DateTimeOffset

The time to close the request in UTC.

Returns

A new JitNetworkAccessPolicyInitiatePort instance for mocking.

Applies to