DnsResolverPolicyVirtualNetworkLinkInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. dnsresolver. fluent. models. DnsResolverPolicyVirtualNetworkLinkInner
- com.
- com.
- com.
public final class DnsResolverPolicyVirtualNetworkLinkInner
extends Resource
Describes a DNS resolver policy virtual network link.
Constructor Summary
| Constructor | Description |
|---|---|
| DnsResolverPolicyVirtualNetworkLinkInner() |
Creates an instance of Dns |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
etag()
Get the etag property: "If etag is provided in the response body, it may also be provided as a header per the normal etag convention. |
|
static
Dns |
fromJson(JsonReader jsonReader)
Reads an instance of Dns |
| 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 |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
|
Sub |
virtualNetwork()
Get the virtual |
|
Dns |
withLocation(String location) |
|
Dns |
withTags(Map<String,String> tags) |
|
Dns |
withVirtualNetwork(SubResource virtualNetwork)
Set the virtual |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
DnsResolverPolicyVirtualNetworkLinkInner
public DnsResolverPolicyVirtualNetworkLinkInner()
Creates an instance of DnsResolverPolicyVirtualNetworkLinkInner class.
Method Details
etag
public String etag()
Get the etag property: "If etag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.").
Returns:
fromJson
public static DnsResolverPolicyVirtualNetworkLinkInner fromJson(JsonReader jsonReader)
Reads an instance of DnsResolverPolicyVirtualNetworkLinkInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
DnsResolverPolicyVirtualNetworkLinkInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
DnsResolverPolicyVirtualNetworkLinkInner.name()Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The current provisioning state of the DNS resolver policy 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:
DnsResolverPolicyVirtualNetworkLinkInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
DnsResolverPolicyVirtualNetworkLinkInner.type()Returns:
virtualNetwork
public SubResource virtualNetwork()
Get the virtualNetwork property: The reference to the virtual network. This cannot be changed after creation.
Returns:
withLocation
public DnsResolverPolicyVirtualNetworkLinkInner withLocation(String location)
Overrides:
DnsResolverPolicyVirtualNetworkLinkInner.withLocation(String location)Parameters:
withTags
public DnsResolverPolicyVirtualNetworkLinkInner withTags(Map<String,String> tags)
Overrides:
DnsResolverPolicyVirtualNetworkLinkInner.withTags(Map<String,String> tags)Parameters:
withVirtualNetwork
public DnsResolverPolicyVirtualNetworkLinkInner withVirtualNetwork(SubResource virtualNetwork)
Set the virtualNetwork property: The reference to the virtual network. This cannot be changed after creation.
Parameters:
Returns: