JitNetworkAccessPortRule Class

Definition

public class JitNetworkAccessPortRule
type JitNetworkAccessPortRule = class
Public Class JitNetworkAccessPortRule
Inheritance
JitNetworkAccessPortRule

Constructors

JitNetworkAccessPortRule()

Initializes a new instance of the JitNetworkAccessPortRule class.

JitNetworkAccessPortRule(Int32, String, String, String, IList<String>)

Initializes a new instance of the JitNetworkAccessPortRule class.

Properties

AllowedSourceAddressPrefix

Gets or sets 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".

AllowedSourceAddressPrefixes

Gets or sets mutually exclusive with the "allowedSourceAddressPrefix" parameter.

MaxRequestAccessDuration

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

Number

Gets or sets

Protocol

Gets or sets Possible values include: 'TCP', 'UDP', '*'

Methods

Validate()

Validate the object.

Extension Methods

ConvertToPSType(JitNetworkAccessPortRule)

Applies to