JitNetworkAccessPolicyVirtualMachine Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. JitNetworkAccessPolicyVirtualMachine
- com.
public final class JitNetworkAccessPolicyVirtualMachine
The JitNetworkAccessPolicyVirtualMachine model.
Constructor Summary
Constructor | Description |
---|---|
JitNetworkAccessPolicyVirtualMachine() |
Creates an instance of Jit |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
id()
Get the id property: Resource ID of the virtual machine that is linked to this policy. |
List<Jit |
ports()
Get the ports property: Port configurations for the virtual machine. |
String |
publicIpAddress()
Get the public |
void |
validate()
Validates the instance. |
Jit |
withId(String id)
Set the id property: Resource ID of the virtual machine that is linked to this policy. |
Jit |
withPorts(List<JitNetworkAccessPortRule> ports)
Set the ports property: Port configurations for the virtual machine. |
Jit |
withPublicIpAddress(String publicIpAddress)
Set the public |
Methods inherited from java.lang.Object
Constructor Details
JitNetworkAccessPolicyVirtualMachine
public JitNetworkAccessPolicyVirtualMachine()
Creates an instance of JitNetworkAccessPolicyVirtualMachine class.
Method Details
id
public String id()
Get the id property: Resource ID of the virtual machine that is linked to this policy.
Returns:
ports
public List
Get the ports property: Port configurations for the virtual machine.
Returns:
publicIpAddress
public String publicIpAddress()
Get the publicIpAddress property: Public IP address of the Azure Firewall that is linked to this policy, if applicable.
Returns:
validate
public void validate()
Validates the instance.
withId
public JitNetworkAccessPolicyVirtualMachine withId(String id)
Set the id property: Resource ID of the virtual machine that is linked to this policy.
Parameters:
Returns:
withPorts
public JitNetworkAccessPolicyVirtualMachine withPorts(List
Set the ports property: Port configurations for the virtual machine.
Parameters:
Returns:
withPublicIpAddress
public JitNetworkAccessPolicyVirtualMachine withPublicIpAddress(String publicIpAddress)
Set the publicIpAddress property: Public IP address of the Azure Firewall that is linked to this policy, if applicable.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for