public class VirtualNetworkLinkInner
extends com.azure.core.management.Resource
| Constructor and Description |
|---|
VirtualNetworkLinkInner() |
| Modifier and Type | Method and Description |
|---|---|
String |
etag()
Get the etag property: The ETag of the virtual network link.
|
ProvisioningState |
provisioningState()
Get the provisioningState property: The provisioning state of the resource.
|
Boolean |
registrationEnabled()
Get the registrationEnabled property: Is auto-registration of virtual machine records in the virtual network in
the Private DNS zone enabled?.
|
void |
validate()
Validates the instance.
|
com.azure.core.management.SubResource |
virtualNetwork()
Get the virtualNetwork property: The reference of the virtual network.
|
VirtualNetworkLinkState |
virtualNetworkLinkState()
Get the virtualNetworkLinkState property: The status of the virtual network link to the Private DNS zone.
|
VirtualNetworkLinkInner |
withEtag(String etag)
Set the etag property: The ETag of the virtual network link.
|
VirtualNetworkLinkInner |
withRegistrationEnabled(Boolean registrationEnabled)
Set the registrationEnabled property: Is auto-registration of virtual machine records in the virtual network in
the Private DNS zone enabled?.
|
VirtualNetworkLinkInner |
withVirtualNetwork(com.azure.core.management.SubResource virtualNetwork)
Set the virtualNetwork property: The reference of the virtual network.
|
public String etag()
public VirtualNetworkLinkInner withEtag(String etag)
etag - the etag value to set.public com.azure.core.management.SubResource virtualNetwork()
public VirtualNetworkLinkInner withVirtualNetwork(com.azure.core.management.SubResource virtualNetwork)
virtualNetwork - the virtualNetwork value to set.public Boolean registrationEnabled()
public VirtualNetworkLinkInner withRegistrationEnabled(Boolean registrationEnabled)
registrationEnabled - the registrationEnabled value to set.public VirtualNetworkLinkState virtualNetworkLinkState()
public ProvisioningState provisioningState()
public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.