DnsResolverPolicyInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. dnsresolver. fluent. models. DnsResolverPolicyInner
- com.
- com.
- com.
public final class DnsResolverPolicyInner
extends Resource
Describes a DNS resolver policy.
Constructor Summary
| Constructor | Description |
|---|---|
| DnsResolverPolicyInner() |
Creates an instance of Dns |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
etag()
Get the etag property: ETag of the DNS resolver policy. |
|
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 |
| String |
resourceGuid()
Get the resource |
|
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. |
|
Dns |
withLocation(String location) |
|
Dns |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
DnsResolverPolicyInner
public DnsResolverPolicyInner()
Creates an instance of DnsResolverPolicyInner class.
Method Details
etag
public String etag()
Get the etag property: ETag of the DNS resolver policy.
Returns:
fromJson
public static DnsResolverPolicyInner fromJson(JsonReader jsonReader)
Reads an instance of DnsResolverPolicyInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
DnsResolverPolicyInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
DnsResolverPolicyInner.name()Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The current provisioning state of the DNS resolver policy. This is a read-only property and any attempt to set this value will be ignored.
Returns:
resourceGuid
public String resourceGuid()
Get the resourceGuid property: The resourceGuid property of the DNS resolver policy resource.
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:
DnsResolverPolicyInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
DnsResolverPolicyInner.type()Returns:
validate
public void validate()
Validates the instance.
withLocation
public DnsResolverPolicyInner withLocation(String location)
Overrides:
DnsResolverPolicyInner.withLocation(String location)Parameters:
withTags
public DnsResolverPolicyInner withTags(Map<String,String> tags)
Overrides:
DnsResolverPolicyInner.withTags(Map<String,String> tags)Parameters: