OutboundEndpointInner Class

public final class OutboundEndpointInner
extends Resource

Describes an outbound endpoint for a DNS resolver.

Constructor Summary

Constructor Description
OutboundEndpointInner()

Creates an instance of OutboundEndpointInner class.

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 OutboundEndpointInner fromJson(JsonReader jsonReader)

Reads an instance of OutboundEndpointInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

ProvisioningState provisioningState()

Get the provisioningState property: The current provisioning state of the outbound endpoint.

String resourceGuid()

Get the resourceGuid property: The resourceGuid property of the outbound endpoint resource.

SubResource subnet()

Get the subnet property: The reference to the subnet used for the outbound endpoint.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

OutboundEndpointInner withLocation(String location)
OutboundEndpointInner withSubnet(SubResource subnet)

Set the subnet property: The reference to the subnet used for the outbound endpoint.

OutboundEndpointInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

OutboundEndpointInner

public OutboundEndpointInner()

Creates an instance of OutboundEndpointInner 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:

the etag value.

fromJson

public static OutboundEndpointInner fromJson(JsonReader jsonReader)

Reads an instance of OutboundEndpointInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of OutboundEndpointInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

OutboundEndpointInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

OutboundEndpointInner.name()

Returns:

the name value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The current provisioning state of the outbound endpoint. This is a read-only property and any attempt to set this value will be ignored.

Returns:

the provisioningState value.

resourceGuid

public String resourceGuid()

Get the resourceGuid property: The resourceGuid property of the outbound endpoint resource.

Returns:

the resourceGuid value.

subnet

public SubResource subnet()

Get the subnet property: The reference to the subnet used for the outbound endpoint.

Returns:

the subnet value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

OutboundEndpointInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

OutboundEndpointInner.type()

Returns:

the type value.

withLocation

public OutboundEndpointInner withLocation(String location)

Overrides:

OutboundEndpointInner.withLocation(String location)

Parameters:

location

withSubnet

public OutboundEndpointInner withSubnet(SubResource subnet)

Set the subnet property: The reference to the subnet used for the outbound endpoint.

Parameters:

subnet - the subnet value to set.

Returns:

the OutboundEndpointInner object itself.

withTags

public OutboundEndpointInner withTags(Map<String,String> tags)

Overrides:

OutboundEndpointInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to