VpnSiteLinkInner Class

public final class VpnSiteLinkInner
extends SubResource

VpnSiteLink Resource.

Constructor Summary

Constructor Description
VpnSiteLinkInner()

Creates an instance of VpnSiteLinkInner class.

Method Summary

Modifier and Type Method and Description
VpnLinkBgpSettings bgpProperties()

Get the bgpProperties property: The set of bgp properties.

String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

String fqdn()

Get the fqdn property: FQDN of vpn-site-link.

static VpnSiteLinkInner fromJson(JsonReader jsonReader)

Reads an instance of VpnSiteLinkInner from the JsonReader.

String ipAddress()

Get the ipAddress property: The ip-address for the vpn-site-link.

VpnLinkProviderProperties linkProperties()

Get the linkProperties property: The link provider properties.

String name()

Get the name property: The name of the resource that is unique within a resource group.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the VPN site link resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Resource type.

void validate()

Validates the instance.

VpnSiteLinkInner withBgpProperties(VpnLinkBgpSettings bgpProperties)

Set the bgpProperties property: The set of bgp properties.

VpnSiteLinkInner withFqdn(String fqdn)

Set the fqdn property: FQDN of vpn-site-link.

VpnSiteLinkInner withId(String id)
VpnSiteLinkInner withIpAddress(String ipAddress)

Set the ipAddress property: The ip-address for the vpn-site-link.

VpnSiteLinkInner withLinkProperties(VpnLinkProviderProperties linkProperties)

Set the linkProperties property: The link provider properties.

VpnSiteLinkInner withName(String name)

Set the name property: The name of the resource that is unique within a resource group.

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

VpnSiteLinkInner

public VpnSiteLinkInner()

Creates an instance of VpnSiteLinkInner class.

Method Details

bgpProperties

public VpnLinkBgpSettings bgpProperties()

Get the bgpProperties property: The set of bgp properties.

Returns:

the bgpProperties value.

etag

public String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Returns:

the etag value.

fqdn

public String fqdn()

Get the fqdn property: FQDN of vpn-site-link.

Returns:

the fqdn value.

fromJson

public static VpnSiteLinkInner fromJson(JsonReader jsonReader)

Reads an instance of VpnSiteLinkInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the VpnSiteLinkInner.

ipAddress

public String ipAddress()

Get the ipAddress property: The ip-address for the vpn-site-link.

Returns:

the ipAddress value.

linkProperties

public VpnLinkProviderProperties linkProperties()

Get the linkProperties property: The link provider properties.

Returns:

the linkProperties value.

name

public String name()

Get the name property: The name of the resource that is unique within a resource group. This name can be used to access the resource.

Returns:

the name value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the VPN site link resource.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

VpnSiteLinkInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Resource type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withBgpProperties

public VpnSiteLinkInner withBgpProperties(VpnLinkBgpSettings bgpProperties)

Set the bgpProperties property: The set of bgp properties.

Parameters:

bgpProperties - the bgpProperties value to set.

Returns:

the VpnSiteLinkInner object itself.

withFqdn

public VpnSiteLinkInner withFqdn(String fqdn)

Set the fqdn property: FQDN of vpn-site-link.

Parameters:

fqdn - the fqdn value to set.

Returns:

the VpnSiteLinkInner object itself.

withId

public VpnSiteLinkInner withId(String id)

Overrides:

VpnSiteLinkInner.withId(String id)

Parameters:

id

withIpAddress

public VpnSiteLinkInner withIpAddress(String ipAddress)

Set the ipAddress property: The ip-address for the vpn-site-link.

Parameters:

ipAddress - the ipAddress value to set.

Returns:

the VpnSiteLinkInner object itself.

withLinkProperties

public VpnSiteLinkInner withLinkProperties(VpnLinkProviderProperties linkProperties)

Set the linkProperties property: The link provider properties.

Parameters:

linkProperties - the linkProperties value to set.

Returns:

the VpnSiteLinkInner object itself.

withName

public VpnSiteLinkInner withName(String name)

Set the name property: The name of the resource that is unique within a resource group. This name can be used to access the resource.

Parameters:

name - the name value to set.

Returns:

the VpnSiteLinkInner object itself.

Applies to