Class VirtualNetworkRule

java.lang.Object
com.azure.core.management.SubResource
com.azure.resourcemanager.datalakeanalytics.models.VirtualNetworkRule

public final class VirtualNetworkRule extends com.azure.core.management.SubResource
Data Lake Analytics VirtualNetwork Rule information.
  • Constructor Details

    • VirtualNetworkRule

      public VirtualNetworkRule()
      Creates an instance of VirtualNetworkRule class.
  • Method Details

    • name

      public String name()
      Get the name property: The resource name.
      Returns:
      the name value.
    • type

      public String type()
      Get the type property: The resource type.
      Returns:
      the type value.
    • withId

      public VirtualNetworkRule withId(String id)
      Overrides:
      withId in class com.azure.core.management.SubResource
    • subnetId

      public String subnetId()
      Get the subnetId property: The resource identifier for the subnet.
      Returns:
      the subnetId value.
    • virtualNetworkRuleState

      public VirtualNetworkRuleState virtualNetworkRuleState()
      Get the virtualNetworkRuleState property: The current state of the VirtualNetwork Rule.
      Returns:
      the virtualNetworkRuleState value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.