VpnServerConfigurationPolicyGroupInner Class

public final class VpnServerConfigurationPolicyGroupInner
extends SubResource

VpnServerConfigurationPolicyGroup Resource.

Constructor Summary

Constructor Description
VpnServerConfigurationPolicyGroupInner()

Creates an instance of VpnServerConfigurationPolicyGroupInner class.

Method Summary

Modifier and Type Method and Description
String etag()

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

static VpnServerConfigurationPolicyGroupInner fromJson(JsonReader jsonReader)

Reads an instance of VpnServerConfigurationPolicyGroupInner from the JsonReader.

Boolean isDefault()

Get the isDefault property: Shows if this is a Default VpnServerConfigurationPolicyGroup or not.

String name()

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

List<SubResource> p2SConnectionConfigurations()

Get the p2SConnectionConfigurations property: List of references to P2SConnectionConfigurations.

List<VpnServerConfigurationPolicyGroupMember> policyMembers()

Get the policyMembers property: Multiple PolicyMembers for VpnServerConfigurationPolicyGroup.

Integer priority()

Get the priority property: Priority for VpnServerConfigurationPolicyGroup.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the VpnServerConfigurationPolicyGroup resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Resource type.

void validate()

Validates the instance.

VpnServerConfigurationPolicyGroupInner withId(String id)
VpnServerConfigurationPolicyGroupInner withIsDefault(Boolean isDefault)

Set the isDefault property: Shows if this is a Default VpnServerConfigurationPolicyGroup or not.

VpnServerConfigurationPolicyGroupInner withName(String name)

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

VpnServerConfigurationPolicyGroupInner withPolicyMembers(List<VpnServerConfigurationPolicyGroupMember> policyMembers)

Set the policyMembers property: Multiple PolicyMembers for VpnServerConfigurationPolicyGroup.

VpnServerConfigurationPolicyGroupInner withPriority(Integer priority)

Set the priority property: Priority for VpnServerConfigurationPolicyGroup.

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

VpnServerConfigurationPolicyGroupInner

public VpnServerConfigurationPolicyGroupInner()

Creates an instance of VpnServerConfigurationPolicyGroupInner class.

Method Details

etag

public String etag()

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

Returns:

the etag value.

fromJson

public static VpnServerConfigurationPolicyGroupInner fromJson(JsonReader jsonReader)

Reads an instance of VpnServerConfigurationPolicyGroupInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of VpnServerConfigurationPolicyGroupInner 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 VpnServerConfigurationPolicyGroupInner.

isDefault

public Boolean isDefault()

Get the isDefault property: Shows if this is a Default VpnServerConfigurationPolicyGroup or not.

Returns:

the isDefault 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.

p2SConnectionConfigurations

public List p2SConnectionConfigurations()

Get the p2SConnectionConfigurations property: List of references to P2SConnectionConfigurations.

Returns:

the p2SConnectionConfigurations value.

policyMembers

public List policyMembers()

Get the policyMembers property: Multiple PolicyMembers for VpnServerConfigurationPolicyGroup.

Returns:

the policyMembers value.

priority

public Integer priority()

Get the priority property: Priority for VpnServerConfigurationPolicyGroup.

Returns:

the priority value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the VpnServerConfigurationPolicyGroup resource.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

VpnServerConfigurationPolicyGroupInner.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.

withId

public VpnServerConfigurationPolicyGroupInner withId(String id)

Overrides:

VpnServerConfigurationPolicyGroupInner.withId(String id)

Parameters:

id

withIsDefault

public VpnServerConfigurationPolicyGroupInner withIsDefault(Boolean isDefault)

Set the isDefault property: Shows if this is a Default VpnServerConfigurationPolicyGroup or not.

Parameters:

isDefault - the isDefault value to set.

Returns:

the VpnServerConfigurationPolicyGroupInner object itself.

withName

public VpnServerConfigurationPolicyGroupInner 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 VpnServerConfigurationPolicyGroupInner object itself.

withPolicyMembers

public VpnServerConfigurationPolicyGroupInner withPolicyMembers(List policyMembers)

Set the policyMembers property: Multiple PolicyMembers for VpnServerConfigurationPolicyGroup.

Parameters:

policyMembers - the policyMembers value to set.

Returns:

the VpnServerConfigurationPolicyGroupInner object itself.

withPriority

public VpnServerConfigurationPolicyGroupInner withPriority(Integer priority)

Set the priority property: Priority for VpnServerConfigurationPolicyGroup.

Parameters:

priority - the priority value to set.

Returns:

the VpnServerConfigurationPolicyGroupInner object itself.

Applies to