VirtualNetworkLinkInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. privatedns. fluent. models. VirtualNetworkLinkInner
- com.
- com.
- com.
public final class VirtualNetworkLinkInner
extends Resource
Describes a link to virtual network for a Private DNS zone.
Constructor Summary
Constructor | Description |
---|---|
VirtualNetworkLinkInner() |
Creates an instance of Virtual |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
etag()
Get the etag property: The ETag of the virtual network link. |
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
Provisioning |
provisioningState()
Get the provisioning |
Boolean |
registrationEnabled()
Get the registration |
Resolution |
resolutionPolicy()
Get the resolution |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Sub |
virtualNetwork()
Get the virtual |
Virtual |
virtualNetworkLinkState()
Get the virtual |
Virtual |
withEtag(String etag)
Set the etag property: The ETag of the virtual network link. |
Virtual |
withLocation(String location) |
Virtual |
withRegistrationEnabled(Boolean registrationEnabled)
Set the registration |
Virtual |
withResolutionPolicy(ResolutionPolicy resolutionPolicy)
Set the resolution |
Virtual |
withTags(Map<String,String> tags) |
Virtual |
withVirtualNetwork(SubResource virtualNetwork)
Set the virtual |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
VirtualNetworkLinkInner
public VirtualNetworkLinkInner()
Creates an instance of VirtualNetworkLinkInner class.
Method Details
etag
public String etag()
Get the etag property: The ETag of the virtual network link.
Returns:
fromJson
public static VirtualNetworkLinkInner fromJson(JsonReader jsonReader)
Reads an instance of VirtualNetworkLinkInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
VirtualNetworkLinkInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
VirtualNetworkLinkInner.name()Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the resource. This is a read-only property and any attempt to set this value will be ignored.
Returns:
registrationEnabled
public Boolean registrationEnabled()
Get the registrationEnabled property: Is auto-registration of virtual machine records in the virtual network in the Private DNS zone enabled?.
Returns:
resolutionPolicy
public ResolutionPolicy resolutionPolicy()
Get the resolutionPolicy property: The resolution policy on the virtual network link. Only applicable for virtual network links to privatelink zones, and for A,AAAA,CNAME queries. When set to 'NxDomainRedirect', Azure DNS resolver falls back to public resolution if private dns query resolution results in non-existent domain response.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
VirtualNetworkLinkInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
VirtualNetworkLinkInner.type()Returns:
validate
public void validate()
Validates the instance.
virtualNetwork
public SubResource virtualNetwork()
Get the virtualNetwork property: The reference of the virtual network.
Returns:
virtualNetworkLinkState
public VirtualNetworkLinkState virtualNetworkLinkState()
Get the virtualNetworkLinkState property: The status of the virtual network link to the Private DNS zone. Possible values are 'InProgress' and 'Done'. This is a read-only property and any attempt to set this value will be ignored.
Returns:
withEtag
public VirtualNetworkLinkInner withEtag(String etag)
Set the etag property: The ETag of the virtual network link.
Parameters:
Returns:
withLocation
public VirtualNetworkLinkInner withLocation(String location)
Overrides:
VirtualNetworkLinkInner.withLocation(String location)Parameters:
withRegistrationEnabled
public 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?.
Parameters:
Returns:
withResolutionPolicy
public VirtualNetworkLinkInner withResolutionPolicy(ResolutionPolicy resolutionPolicy)
Set the resolutionPolicy property: The resolution policy on the virtual network link. Only applicable for virtual network links to privatelink zones, and for A,AAAA,CNAME queries. When set to 'NxDomainRedirect', Azure DNS resolver falls back to public resolution if private dns query resolution results in non-existent domain response.
Parameters:
Returns:
withTags
public VirtualNetworkLinkInner withTags(Map
Overrides:
VirtualNetworkLinkInner.withTags(Map<String,String> tags)Parameters:
withVirtualNetwork
public VirtualNetworkLinkInner withVirtualNetwork(SubResource virtualNetwork)
Set the virtualNetwork property: The reference of the virtual network.
Parameters:
Returns:
Applies to
Azure SDK for Java