Class VirtualNetworkRuleProperties

java.lang.Object
com.azure.resourcemanager.mariadb.fluent.models.VirtualNetworkRuleProperties

public final class VirtualNetworkRuleProperties extends Object
Properties of a virtual network rule.
  • Constructor Details

    • VirtualNetworkRuleProperties

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

    • virtualNetworkSubnetId

      public String virtualNetworkSubnetId()
      Get the virtualNetworkSubnetId property: The ARM resource id of the virtual network subnet.
      Returns:
      the virtualNetworkSubnetId value.
    • withVirtualNetworkSubnetId

      public VirtualNetworkRuleProperties withVirtualNetworkSubnetId(String virtualNetworkSubnetId)
      Set the virtualNetworkSubnetId property: The ARM resource id of the virtual network subnet.
      Parameters:
      virtualNetworkSubnetId - the virtualNetworkSubnetId value to set.
      Returns:
      the VirtualNetworkRuleProperties object itself.
    • ignoreMissingVnetServiceEndpoint

      public Boolean ignoreMissingVnetServiceEndpoint()
      Get the ignoreMissingVnetServiceEndpoint property: Create firewall rule before the virtual network has vnet service endpoint enabled.
      Returns:
      the ignoreMissingVnetServiceEndpoint value.
    • withIgnoreMissingVnetServiceEndpoint

      public VirtualNetworkRuleProperties withIgnoreMissingVnetServiceEndpoint(Boolean ignoreMissingVnetServiceEndpoint)
      Set the ignoreMissingVnetServiceEndpoint property: Create firewall rule before the virtual network has vnet service endpoint enabled.
      Parameters:
      ignoreMissingVnetServiceEndpoint - the ignoreMissingVnetServiceEndpoint value to set.
      Returns:
      the VirtualNetworkRuleProperties object itself.
    • state

      public VirtualNetworkRuleState state()
      Get the state property: Virtual Network Rule State.
      Returns:
      the state value.
    • validate

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