Class JitNetworkAccessPolicyProperties
java.lang.Object
com.azure.resourcemanager.security.fluent.models.JitNetworkAccessPolicyProperties
The JitNetworkAccessPolicyProperties model.
-
Constructor Summary
ConstructorDescriptionCreates an instance of JitNetworkAccessPolicyProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the provisioningState property: Gets the provisioning state of the Just-in-Time policy.requests()
Get the requests property: The requests property.void
validate()
Validates the instance.Get the virtualMachines property: Configurations for Microsoft.Compute/virtualMachines resource type.withRequests
(List<JitNetworkAccessRequestInner> requests) Set the requests property: The requests property.withVirtualMachines
(List<JitNetworkAccessPolicyVirtualMachine> virtualMachines) Set the virtualMachines property: Configurations for Microsoft.Compute/virtualMachines resource type.
-
Constructor Details
-
JitNetworkAccessPolicyProperties
public JitNetworkAccessPolicyProperties()Creates an instance of JitNetworkAccessPolicyProperties class.
-
-
Method Details
-
virtualMachines
Get the virtualMachines property: Configurations for Microsoft.Compute/virtualMachines resource type.- Returns:
- the virtualMachines value.
-
withVirtualMachines
public JitNetworkAccessPolicyProperties withVirtualMachines(List<JitNetworkAccessPolicyVirtualMachine> virtualMachines) Set the virtualMachines property: Configurations for Microsoft.Compute/virtualMachines resource type.- Parameters:
virtualMachines
- the virtualMachines value to set.- Returns:
- the JitNetworkAccessPolicyProperties object itself.
-
requests
Get the requests property: The requests property.- Returns:
- the requests value.
-
withRequests
Set the requests property: The requests property.- Parameters:
requests
- the requests value to set.- Returns:
- the JitNetworkAccessPolicyProperties object itself.
-
provisioningState
Get the provisioningState property: Gets the provisioning state of the Just-in-Time policy.- Returns:
- the provisioningState value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-