共用方式為


JitNetworkAccessRequestPort Constructor

Definition

Initializes a new instance of JitNetworkAccessRequestPort.

public JitNetworkAccessRequestPort (int number, DateTimeOffset endOn, Azure.ResourceManager.SecurityCenter.Models.JitNetworkAccessPortStatus status, Azure.ResourceManager.SecurityCenter.Models.JitNetworkAccessPortStatusReason statusReason);
new Azure.ResourceManager.SecurityCenter.Models.JitNetworkAccessRequestPort : int * DateTimeOffset * Azure.ResourceManager.SecurityCenter.Models.JitNetworkAccessPortStatus * Azure.ResourceManager.SecurityCenter.Models.JitNetworkAccessPortStatusReason -> Azure.ResourceManager.SecurityCenter.Models.JitNetworkAccessRequestPort
Public Sub New (number As Integer, endOn As DateTimeOffset, status As JitNetworkAccessPortStatus, statusReason As JitNetworkAccessPortStatusReason)

Parameters

number
Int32
endOn
DateTimeOffset

The date & time at which the request ends in UTC.

status
JitNetworkAccessPortStatus

The status of the port.

statusReason
JitNetworkAccessPortStatusReason

A description of why the status has its value.

Applies to