VirtualNetworkRuleProperties Class
- java.
lang. Object - com.
azure. resourcemanager. sql. fluent. models. VirtualNetworkRuleProperties
- com.
Implements
public final class VirtualNetworkRuleProperties
implements JsonSerializable<VirtualNetworkRuleProperties>
Properties of a virtual network rule.
Constructor Summary
| Constructor | Description |
|---|---|
| VirtualNetworkRuleProperties() |
Creates an instance of Virtual |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
| Boolean |
ignoreMissingVnetServiceEndpoint()
Get the ignore |
|
Virtual |
state()
Get the state property: Virtual Network Rule State. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| String |
virtualNetworkSubnetId()
Get the virtual |
|
Virtual |
withIgnoreMissingVnetServiceEndpoint(Boolean ignoreMissingVnetServiceEndpoint)
Set the ignore |
|
Virtual |
withVirtualNetworkSubnetId(String virtualNetworkSubnetId)
Set the virtual |
Methods inherited from java.lang.Object
Constructor Details
VirtualNetworkRuleProperties
public VirtualNetworkRuleProperties()
Creates an instance of VirtualNetworkRuleProperties class.
Method Details
fromJson
public static VirtualNetworkRuleProperties fromJson(JsonReader jsonReader)
Reads an instance of VirtualNetworkRuleProperties from the JsonReader.
Parameters:
Returns:
Throws:
ignoreMissingVnetServiceEndpoint
public Boolean ignoreMissingVnetServiceEndpoint()
Get the ignoreMissingVnetServiceEndpoint property: Create firewall rule before the virtual network has vnet service endpoint enabled.
Returns:
state
public VirtualNetworkRuleState state()
Get the state property: Virtual Network Rule State.
Returns:
toJson
validate
public void validate()
Validates the instance.
virtualNetworkSubnetId
public String virtualNetworkSubnetId()
Get the virtualNetworkSubnetId property: The ARM resource id of the virtual network subnet.
Returns:
withIgnoreMissingVnetServiceEndpoint
public VirtualNetworkRuleProperties withIgnoreMissingVnetServiceEndpoint(Boolean ignoreMissingVnetServiceEndpoint)
Set the ignoreMissingVnetServiceEndpoint property: Create firewall rule before the virtual network has vnet service endpoint enabled.
Parameters:
Returns:
withVirtualNetworkSubnetId
public VirtualNetworkRuleProperties withVirtualNetworkSubnetId(String virtualNetworkSubnetId)
Set the virtualNetworkSubnetId property: The ARM resource id of the virtual network subnet.
Parameters:
Returns: