VirtualNetworkLinkInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. dnsresolver. fluent. models. VirtualNetworkLinkInner
- com.
- com.
public final class VirtualNetworkLinkInner
extends ProxyResource
Describes a virtual network link.
Constructor Summary
| Constructor | Description |
|---|---|
| VirtualNetworkLinkInner() |
Creates an instance of Virtual |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
etag()
Get the etag property: 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. |
| Map<String,String> |
metadata()
Get the metadata property: Metadata attached to the virtual network link. |
| String |
name()
Get the name property: The name of the resource. |
|
Provisioning |
provisioningState()
Get the provisioning |
|
System |
systemData()
Get the system |
|
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 |
withMetadata(Map<String,String> metadata)
Set the metadata property: Metadata attached to the virtual network link. |
|
Virtual |
withVirtualNetwork(SubResource virtualNetwork)
Set the virtual |
Methods inherited from ProxyResource
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: 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:
metadata
public Map<String,String> metadata()
Get the metadata property: Metadata attached to the virtual network link.
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 current provisioning state of the virtual network link. This is a read-only property and any attempt to set this value will be ignored.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
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 to the virtual network. This cannot be changed after creation.
Returns:
withMetadata
public VirtualNetworkLinkInner withMetadata(Map<String,String> metadata)
Set the metadata property: Metadata attached to the virtual network link.
Parameters:
Returns:
withVirtualNetwork
public VirtualNetworkLinkInner withVirtualNetwork(SubResource virtualNetwork)
Set the virtualNetwork property: The reference to the virtual network. This cannot be changed after creation.
Parameters:
Returns: