Share via


JitNetworkAccessPortRule Constructor

Definition

Initializes a new instance of JitNetworkAccessPortRule.

public JitNetworkAccessPortRule (int number, Azure.ResourceManager.SecurityCenter.Models.JitNetworkAccessPortProtocol protocol, TimeSpan maxRequestAccessDuration);
new Azure.ResourceManager.SecurityCenter.Models.JitNetworkAccessPortRule : int * Azure.ResourceManager.SecurityCenter.Models.JitNetworkAccessPortProtocol * TimeSpan -> Azure.ResourceManager.SecurityCenter.Models.JitNetworkAccessPortRule
Public Sub New (number As Integer, protocol As JitNetworkAccessPortProtocol, maxRequestAccessDuration As TimeSpan)

Parameters

number
Int32
maxRequestAccessDuration
TimeSpan

Maximum duration requests can be made for. In ISO 8601 duration format. Minimum 5 minutes, maximum 1 day.

Applies to