JitNetworkAccessRequestPort Class

JitNetworkAccessRequestPort.

All required parameters must be populated in order to send to server.

Constructor

JitNetworkAccessRequestPort(*, number: int, end_time_utc: datetime, status: str | _models.Status, status_reason: str | _models.StatusReason, allowed_source_address_prefix: str | None = None, allowed_source_address_prefixes: List[str] | None = None, mapped_port: int | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
number
int

Required.

allowed_source_address_prefix
str

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".

Default value: None
allowed_source_address_prefixes

Mutually exclusive with the "allowedSourceAddressPrefix" parameter.

Default value: None
end_time_utc

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

status
str or Status

The status of the port. Required. Known values are: "Revoked" and "Initiated".

status_reason

A description of why the status has its value. Required. Known values are: "Expired", "UserRequested", and "NewerRequestInitiated".

mapped_port
int

The port which is mapped to this port's number in the Azure Firewall, if applicable.

Default value: None

Variables

Name Description
number
int

Required.

allowed_source_address_prefix
str

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".

allowed_source_address_prefixes

Mutually exclusive with the "allowedSourceAddressPrefix" parameter.

end_time_utc

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

status
str or Status

The status of the port. Required. Known values are: "Revoked" and "Initiated".

status_reason

A description of why the status has its value. Required. Known values are: "Expired", "UserRequested", and "NewerRequestInitiated".

mapped_port
int

The port which is mapped to this port's number in the Azure Firewall, if applicable.