Uses of Class
com.azure.resourcemanager.security.models.JitNetworkAccessPortRule
Package
Description
Package containing the data models for SecurityCenter.
-
Uses of JitNetworkAccessPortRule in com.azure.resourcemanager.security.models
Modifier and TypeMethodDescriptionJitNetworkAccessPortRule.withAllowedSourceAddressPrefix
(String allowedSourceAddressPrefix) Set the allowedSourceAddressPrefix property: Mutually exclusive with the "allowedSourceAddressPrefixes" parameter.JitNetworkAccessPortRule.withAllowedSourceAddressPrefixes
(List<String> allowedSourceAddressPrefixes) Set the allowedSourceAddressPrefixes property: Mutually exclusive with the "allowedSourceAddressPrefix" parameter.JitNetworkAccessPortRule.withMaxRequestAccessDuration
(String maxRequestAccessDuration) Set the maxRequestAccessDuration property: Maximum duration requests can be made for.JitNetworkAccessPortRule.withNumber
(int number) Set the number property: The number property.JitNetworkAccessPortRule.withProtocol
(Protocol protocol) Set the protocol property: The protocol property.Modifier and TypeMethodDescriptionJitNetworkAccessPolicyVirtualMachine.ports()
Get the ports property: Port configurations for the virtual machine.Modifier and TypeMethodDescriptionJitNetworkAccessPolicyVirtualMachine.withPorts
(List<JitNetworkAccessPortRule> ports) Set the ports property: Port configurations for the virtual machine.