Class JitNetworkAccessPolicyInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.security.fluent.models.JitNetworkAccessPolicyInner

public final class JitNetworkAccessPolicyInner extends com.azure.core.management.ProxyResource
The JitNetworkAccessPolicy model.
  • Constructor Details

    • JitNetworkAccessPolicyInner

      public JitNetworkAccessPolicyInner()
  • Method Details

    • kind

      public String kind()
      Get the kind property: Kind of the resource.
      Returns:
      the kind value.
    • withKind

      public JitNetworkAccessPolicyInner withKind(String kind)
      Set the kind property: Kind of the resource.
      Parameters:
      kind - the kind value to set.
      Returns:
      the JitNetworkAccessPolicyInner object itself.
    • location

      public String location()
      Get the location property: Location where the resource is stored.
      Returns:
      the location value.
    • virtualMachines

      public List<JitNetworkAccessPolicyVirtualMachine> virtualMachines()
      Get the virtualMachines property: Configurations for Microsoft.Compute/virtualMachines resource type.
      Returns:
      the virtualMachines value.
    • withVirtualMachines

      public JitNetworkAccessPolicyInner withVirtualMachines(List<JitNetworkAccessPolicyVirtualMachine> virtualMachines)
      Set the virtualMachines property: Configurations for Microsoft.Compute/virtualMachines resource type.
      Parameters:
      virtualMachines - the virtualMachines value to set.
      Returns:
      the JitNetworkAccessPolicyInner 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 JitNetworkAccessPolicyInner 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.