JitNetworkAccessRequestPort Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
JitNetworkAccessRequestPort() |
Initializes a new instance of the JitNetworkAccessRequestPort class. |
JitNetworkAccessRequestPort(Int32, DateTime, String, String, String, IList<String>, Nullable<Int32>) |
Initializes a new instance of the JitNetworkAccessRequestPort class. |
JitNetworkAccessRequestPort()
Initializes a new instance of the JitNetworkAccessRequestPort class.
public JitNetworkAccessRequestPort ();
Public Sub New ()
Applies to
JitNetworkAccessRequestPort(Int32, DateTime, String, String, String, IList<String>, Nullable<Int32>)
Initializes a new instance of the JitNetworkAccessRequestPort class.
public JitNetworkAccessRequestPort (int number, DateTime endTimeUtc, string status, string statusReason, string allowedSourceAddressPrefix = default, System.Collections.Generic.IList<string> allowedSourceAddressPrefixes = default, int? mappedPort = default);
new Microsoft.Azure.Management.Security.Models.JitNetworkAccessRequestPort : int * DateTime * string * string * string * System.Collections.Generic.IList<string> * Nullable<int> -> Microsoft.Azure.Management.Security.Models.JitNetworkAccessRequestPort
Public Sub New (number As Integer, endTimeUtc As DateTime, status As String, statusReason As String, Optional allowedSourceAddressPrefix As String = Nothing, Optional allowedSourceAddressPrefixes As IList(Of String) = Nothing, Optional mappedPort As Nullable(Of Integer) = Nothing)
Parameters
- number
- Int32
- endTimeUtc
- DateTime
The date & time at which the request ends in UTC
- status
- String
The status of the port Possible values include: 'Revoked', 'Initiated'
- statusReason
- String
A description of why the status
has its value
Possible values include: 'Expired', 'UserRequested',
'NewerRequestInitiated'
- allowedSourceAddressPrefix
- String
Mutually exclusive with the "allowedSourceAddressPrefixes" parameter. Should be an IP address or CIDR, for example "192.168.0.3" or "192.168.0.0/16".
Mutually exclusive with the "allowedSourceAddressPrefix" parameter.
The port which is mapped to this port's number
in the Azure Firewall, if
applicable