VirtualNetworkRuleInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. sql. fluent. models. VirtualNetworkRuleInner
- com.
- com.
public final class VirtualNetworkRuleInner
extends ProxyResource
A virtual network rule.
Constructor Summary
Constructor | Description |
---|---|
VirtualNetworkRuleInner() |
Creates an instance of Virtual |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
Boolean |
ignoreMissingVnetServiceEndpoint()
Get the ignore |
String |
name()
Get the name property: The name of the resource. |
Virtual |
state()
Get the state property: Virtual Network Rule State. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
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 ProxyResource
Methods inherited from java.lang.Object
Constructor Details
VirtualNetworkRuleInner
public VirtualNetworkRuleInner()
Creates an instance of VirtualNetworkRuleInner class.
Method Details
fromJson
public static VirtualNetworkRuleInner fromJson(JsonReader jsonReader)
Reads an instance of VirtualNetworkRuleInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
VirtualNetworkRuleInner.id()Returns:
ignoreMissingVnetServiceEndpoint
public Boolean ignoreMissingVnetServiceEndpoint()
Get the ignoreMissingVnetServiceEndpoint property: Create firewall rule before the virtual network has vnet service endpoint enabled.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
VirtualNetworkRuleInner.name()Returns:
state
public VirtualNetworkRuleState state()
Get the state property: Virtual Network Rule State.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
VirtualNetworkRuleInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
VirtualNetworkRuleInner.type()Returns:
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 VirtualNetworkRuleInner withIgnoreMissingVnetServiceEndpoint(Boolean ignoreMissingVnetServiceEndpoint)
Set the ignoreMissingVnetServiceEndpoint property: Create firewall rule before the virtual network has vnet service endpoint enabled.
Parameters:
Returns:
withVirtualNetworkSubnetId
public VirtualNetworkRuleInner withVirtualNetworkSubnetId(String virtualNetworkSubnetId)
Set the virtualNetworkSubnetId property: The ARM resource id of the virtual network subnet.
Parameters:
Returns:
Applies to
Azure SDK for Java