你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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