Class JitNetworkAccessPolicyProperties

java.lang.Object
com.azure.resourcemanager.security.fluent.models.JitNetworkAccessPolicyProperties

public final class JitNetworkAccessPolicyProperties extends Object
The JitNetworkAccessPolicyProperties model.
  • Constructor Details

    • JitNetworkAccessPolicyProperties

      public JitNetworkAccessPolicyProperties()
  • Method Details

    • virtualMachines

      public List<JitNetworkAccessPolicyVirtualMachine> 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

      public List<JitNetworkAccessRequestInner> 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

      public String 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.