Class VirtualNetworkRuleInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.mariadb.fluent.models.VirtualNetworkRuleInner
public final class VirtualNetworkRuleInner
extends com.azure.core.management.ProxyResource
A virtual network rule.
-
Constructor Summary
ConstructorDescriptionCreates an instance of VirtualNetworkRuleInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the ignoreMissingVnetServiceEndpoint property: Create firewall rule before the virtual network has vnet service endpoint enabled.state()
Get the state property: Virtual Network Rule State.void
validate()
Validates the instance.Get the virtualNetworkSubnetId property: The ARM resource id of the virtual network subnet.withIgnoreMissingVnetServiceEndpoint
(Boolean ignoreMissingVnetServiceEndpoint) Set the ignoreMissingVnetServiceEndpoint property: Create firewall rule before the virtual network has vnet service endpoint enabled.withVirtualNetworkSubnetId
(String virtualNetworkSubnetId) Set the virtualNetworkSubnetId property: The ARM resource id of the virtual network subnet.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
VirtualNetworkRuleInner
public VirtualNetworkRuleInner()Creates an instance of VirtualNetworkRuleInner class.
-
-
Method Details
-
virtualNetworkSubnetId
Get the virtualNetworkSubnetId property: The ARM resource id of the virtual network subnet.- Returns:
- the virtualNetworkSubnetId value.
-
withVirtualNetworkSubnetId
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
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
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.
-