ConnectivityConfigurationInner Class

public final class ConnectivityConfigurationInner
extends ChildResource

The network manager connectivity configuration resource.

Constructor Summary

Constructor Description
ConnectivityConfigurationInner()

Creates an instance of ConnectivityConfigurationInner class.

Method Summary

Modifier and Type Method and Description
List<ConnectivityGroupItem> appliesToGroups()

Get the appliesToGroups property: Groups for configuration.

ConnectivityTopology connectivityTopology()

Get the connectivityTopology property: Connectivity topology type.

DeleteExistingPeering deleteExistingPeering()

Get the deleteExistingPeering property: Flag if need to remove current existing peerings.

String description()

Get the description property: A description of the connectivity configuration.

String etag()

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

static ConnectivityConfigurationInner fromJson(JsonReader jsonReader)

Reads an instance of ConnectivityConfigurationInner from the JsonReader.

List<Hub> hubs()

Get the hubs property: List of hubItems.

String id()

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

IsGlobal isGlobal()

Get the isGlobal property: Flag if global mesh is supported.

String name()

Get the name property: The name of the resource.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the connectivity configuration resource.

String resourceGuid()

Get the resourceGuid property: Unique identifier for this resource.

SystemData systemData()

Get the systemData property: The system metadata related to this resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

ConnectivityConfigurationInner withAppliesToGroups(List<ConnectivityGroupItem> appliesToGroups)

Set the appliesToGroups property: Groups for configuration.

ConnectivityConfigurationInner withConnectivityTopology(ConnectivityTopology connectivityTopology)

Set the connectivityTopology property: Connectivity topology type.

ConnectivityConfigurationInner withDeleteExistingPeering(DeleteExistingPeering deleteExistingPeering)

Set the deleteExistingPeering property: Flag if need to remove current existing peerings.

ConnectivityConfigurationInner withDescription(String description)

Set the description property: A description of the connectivity configuration.

ConnectivityConfigurationInner withHubs(List<Hub> hubs)

Set the hubs property: List of hubItems.

ConnectivityConfigurationInner withIsGlobal(IsGlobal isGlobal)

Set the isGlobal property: Flag if global mesh is supported.

Methods inherited from ChildResource

Methods inherited from java.lang.Object

Constructor Details

ConnectivityConfigurationInner

public ConnectivityConfigurationInner()

Creates an instance of ConnectivityConfigurationInner class.

Method Details

appliesToGroups

public List appliesToGroups()

Get the appliesToGroups property: Groups for configuration.

Returns:

the appliesToGroups value.

connectivityTopology

public ConnectivityTopology connectivityTopology()

Get the connectivityTopology property: Connectivity topology type.

Returns:

the connectivityTopology value.

deleteExistingPeering

public DeleteExistingPeering deleteExistingPeering()

Get the deleteExistingPeering property: Flag if need to remove current existing peerings.

Returns:

the deleteExistingPeering value.

description

public String description()

Get the description property: A description of the connectivity configuration.

Returns:

the description value.

etag

public String etag()

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

Overrides:

ConnectivityConfigurationInner.etag()

Returns:

the etag value.

fromJson

public static ConnectivityConfigurationInner fromJson(JsonReader jsonReader)

Reads an instance of ConnectivityConfigurationInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

hubs

public List hubs()

Get the hubs property: List of hubItems.

Returns:

the hubs value.

id

public String id()

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

Overrides:

ConnectivityConfigurationInner.id()

Returns:

the id value.

isGlobal

public IsGlobal isGlobal()

Get the isGlobal property: Flag if global mesh is supported.

Returns:

the isGlobal value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ConnectivityConfigurationInner.name()

Returns:

the name value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the connectivity configuration resource.

Returns:

the provisioningState value.

resourceGuid

public String resourceGuid()

Get the resourceGuid property: Unique identifier for this resource.

Returns:

the resourceGuid value.

systemData

public SystemData systemData()

Get the systemData property: The system metadata related to this resource.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ConnectivityConfigurationInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ConnectivityConfigurationInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

ConnectivityConfigurationInner.validate()

withAppliesToGroups

public ConnectivityConfigurationInner withAppliesToGroups(List appliesToGroups)

Set the appliesToGroups property: Groups for configuration.

Parameters:

appliesToGroups - the appliesToGroups value to set.

Returns:

the ConnectivityConfigurationInner object itself.

withConnectivityTopology

public ConnectivityConfigurationInner withConnectivityTopology(ConnectivityTopology connectivityTopology)

Set the connectivityTopology property: Connectivity topology type.

Parameters:

connectivityTopology - the connectivityTopology value to set.

Returns:

the ConnectivityConfigurationInner object itself.

withDeleteExistingPeering

public ConnectivityConfigurationInner withDeleteExistingPeering(DeleteExistingPeering deleteExistingPeering)

Set the deleteExistingPeering property: Flag if need to remove current existing peerings.

Parameters:

deleteExistingPeering - the deleteExistingPeering value to set.

Returns:

the ConnectivityConfigurationInner object itself.

withDescription

public ConnectivityConfigurationInner withDescription(String description)

Set the description property: A description of the connectivity configuration.

Parameters:

description - the description value to set.

Returns:

the ConnectivityConfigurationInner object itself.

withHubs

public ConnectivityConfigurationInner withHubs(List hubs)

Set the hubs property: List of hubItems.

Parameters:

hubs - the hubs value to set.

Returns:

the ConnectivityConfigurationInner object itself.

withIsGlobal

public ConnectivityConfigurationInner withIsGlobal(IsGlobal isGlobal)

Set the isGlobal property: Flag if global mesh is supported.

Parameters:

isGlobal - the isGlobal value to set.

Returns:

the ConnectivityConfigurationInner object itself.

Applies to