Freigeben über


JitNetworkAccessPortRule Class

Definition

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

Constructors

Name Description
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

Name Description
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

Name Description
Validate()

Validate the object.

Extension Methods

Name Description
ConvertToPSType(JitNetworkAccessPortRule)

Applies to