Class VirtualNetworkRule
java.lang.Object
com.azure.core.management.SubResource
com.azure.resourcemanager.datalakeanalytics.models.VirtualNetworkRule
public final class VirtualNetworkRule
extends com.azure.core.management.SubResource
Data Lake Analytics VirtualNetwork Rule information.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionname()
Get the name property: The resource name.subnetId()
Get the subnetId property: The resource identifier for the subnet.type()
Get the type property: The resource type.void
validate()
Validates the instance.Get the virtualNetworkRuleState property: The current state of the VirtualNetwork Rule.Methods inherited from class com.azure.core.management.SubResource
id
-
Constructor Details
-
VirtualNetworkRule
public VirtualNetworkRule()Creates an instance of VirtualNetworkRule class.
-
-
Method Details
-
name
Get the name property: The resource name.- Returns:
- the name value.
-
type
Get the type property: The resource type.- Returns:
- the type value.
-
withId
- Overrides:
withId
in classcom.azure.core.management.SubResource
-
subnetId
Get the subnetId property: The resource identifier for the subnet.- Returns:
- the subnetId value.
-
virtualNetworkRuleState
Get the virtualNetworkRuleState property: The current state of the VirtualNetwork Rule.- Returns:
- the virtualNetworkRuleState value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-