Class VirtualNetworkRuleInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.sql.fluent.models.VirtualNetworkRuleInner
-
public class VirtualNetworkRuleInner extends com.azure.core.management.ProxyResourceA virtual network rule.
-
-
Constructor Summary
Constructors Constructor Description VirtualNetworkRuleInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanignoreMissingVnetServiceEndpoint()Get the ignoreMissingVnetServiceEndpoint property: Create firewall rule before the virtual network has vnet service endpoint enabled.VirtualNetworkRuleStatestate()Get the state property: Virtual Network Rule State.voidvalidate()Validates the instance.StringvirtualNetworkSubnetId()Get the virtualNetworkSubnetId property: The ARM resource id of the virtual network subnet.VirtualNetworkRuleInnerwithIgnoreMissingVnetServiceEndpoint(Boolean ignoreMissingVnetServiceEndpoint)Set the ignoreMissingVnetServiceEndpoint property: Create firewall rule before the virtual network has vnet service endpoint enabled.VirtualNetworkRuleInnerwithVirtualNetworkSubnetId(String virtualNetworkSubnetId)Set the virtualNetworkSubnetId property: The ARM resource id of the virtual network subnet.
-
-
-
Method Detail
-
virtualNetworkSubnetId
public String virtualNetworkSubnetId()
Get the virtualNetworkSubnetId property: The ARM resource id of the virtual network subnet.- Returns:
- the virtualNetworkSubnetId value.
-
withVirtualNetworkSubnetId
public VirtualNetworkRuleInner 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 VirtualNetworkRuleInner 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 VirtualNetworkRuleInner 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 VirtualNetworkRuleInner 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.
-
-