VirtualNetworkRule Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. datalakeanalytics. models. VirtualNetworkRule
- com.
- com.
public final class VirtualNetworkRule
extends SubResource
Data Lake Analytics VirtualNetwork Rule information.
Constructor Summary
| Constructor | Description |
|---|---|
| VirtualNetworkRule() |
Creates an instance of Virtual |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
| String |
name()
Get the name property: The resource name. |
| String |
subnetId()
Get the subnet |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The resource type. |
| void |
validate()
Validates the instance. |
|
Virtual |
virtualNetworkRuleState()
Get the virtual |
|
Virtual |
withId(String id) |
Methods inherited from SubResource
Methods inherited from java.lang.Object
Constructor Details
VirtualNetworkRule
public VirtualNetworkRule()
Creates an instance of VirtualNetworkRule class.
Method Details
fromJson
public static VirtualNetworkRule fromJson(JsonReader jsonReader)
Reads an instance of VirtualNetworkRule from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The resource name.
Returns:
subnetId
public String subnetId()
Get the subnetId property: The resource identifier for the subnet.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
VirtualNetworkRule.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The resource type.
Returns:
validate
public void validate()
Validates the instance.
virtualNetworkRuleState
public VirtualNetworkRuleState virtualNetworkRuleState()
Get the virtualNetworkRuleState property: The current state of the VirtualNetwork Rule.
Returns:
withId
public VirtualNetworkRule withId(String id)
Overrides:
VirtualNetworkRule.withId(String id)Parameters: