EffectiveConnectivityConfiguration Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.EffectiveConnectivityConfiguration

Implements

public class EffectiveConnectivityConfiguration
implements JsonSerializable<EffectiveConnectivityConfiguration>

The network manager effective connectivity configuration.

Constructor Summary

Constructor Description
EffectiveConnectivityConfiguration()

Creates an instance of EffectiveConnectivityConfiguration class.

Method Summary

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

Get the appliesToGroups property: Groups for configuration.

List<ConfigurationGroup> configurationGroups()

Get the configurationGroups property: Effective configuration groups.

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.

static EffectiveConnectivityConfiguration fromJson(JsonReader jsonReader)

Reads an instance of EffectiveConnectivityConfiguration from the JsonReader.

List<Hub> hubs()

Get the hubs property: List of hubItems.

String id()

Get the id property: Connectivity configuration ID.

IsGlobal isGlobal()

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

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.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

EffectiveConnectivityConfiguration withAppliesToGroups(List<ConnectivityGroupItem> appliesToGroups)

Set the appliesToGroups property: Groups for configuration.

EffectiveConnectivityConfiguration withConfigurationGroups(List<ConfigurationGroup> configurationGroups)

Set the configurationGroups property: Effective configuration groups.

EffectiveConnectivityConfiguration withConnectivityTopology(ConnectivityTopology connectivityTopology)

Set the connectivityTopology property: Connectivity topology type.

EffectiveConnectivityConfiguration withDeleteExistingPeering(DeleteExistingPeering deleteExistingPeering)

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

EffectiveConnectivityConfiguration withDescription(String description)

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

EffectiveConnectivityConfiguration withHubs(List<Hub> hubs)

Set the hubs property: List of hubItems.

EffectiveConnectivityConfiguration withId(String id)

Set the id property: Connectivity configuration ID.

EffectiveConnectivityConfiguration withIsGlobal(IsGlobal isGlobal)

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

Methods inherited from java.lang.Object

Constructor Details

EffectiveConnectivityConfiguration

public EffectiveConnectivityConfiguration()

Creates an instance of EffectiveConnectivityConfiguration class.

Method Details

appliesToGroups

public List appliesToGroups()

Get the appliesToGroups property: Groups for configuration.

Returns:

the appliesToGroups value.

configurationGroups

public List configurationGroups()

Get the configurationGroups property: Effective configuration groups.

Returns:

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

fromJson

public static EffectiveConnectivityConfiguration fromJson(JsonReader jsonReader)

Reads an instance of EffectiveConnectivityConfiguration from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

hubs

public List hubs()

Get the hubs property: List of hubItems.

Returns:

the hubs value.

id

public String id()

Get the id property: Connectivity configuration ID.

Returns:

the id value.

isGlobal

public IsGlobal isGlobal()

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

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAppliesToGroups

public EffectiveConnectivityConfiguration withAppliesToGroups(List appliesToGroups)

Set the appliesToGroups property: Groups for configuration.

Parameters:

appliesToGroups - the appliesToGroups value to set.

Returns:

the EffectiveConnectivityConfiguration object itself.

withConfigurationGroups

public EffectiveConnectivityConfiguration withConfigurationGroups(List configurationGroups)

Set the configurationGroups property: Effective configuration groups.

Parameters:

configurationGroups - the configurationGroups value to set.

Returns:

the EffectiveConnectivityConfiguration object itself.

withConnectivityTopology

public EffectiveConnectivityConfiguration withConnectivityTopology(ConnectivityTopology connectivityTopology)

Set the connectivityTopology property: Connectivity topology type.

Parameters:

connectivityTopology - the connectivityTopology value to set.

Returns:

the EffectiveConnectivityConfiguration object itself.

withDeleteExistingPeering

public EffectiveConnectivityConfiguration withDeleteExistingPeering(DeleteExistingPeering deleteExistingPeering)

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

Parameters:

deleteExistingPeering - the deleteExistingPeering value to set.

Returns:

the EffectiveConnectivityConfiguration object itself.

withDescription

public EffectiveConnectivityConfiguration withDescription(String description)

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

Parameters:

description - the description value to set.

Returns:

the EffectiveConnectivityConfiguration object itself.

withHubs

public EffectiveConnectivityConfiguration withHubs(List hubs)

Set the hubs property: List of hubItems.

Parameters:

hubs - the hubs value to set.

Returns:

the EffectiveConnectivityConfiguration object itself.

withId

public EffectiveConnectivityConfiguration withId(String id)

Set the id property: Connectivity configuration ID.

Parameters:

id - the id value to set.

Returns:

the EffectiveConnectivityConfiguration object itself.

withIsGlobal

public EffectiveConnectivityConfiguration withIsGlobal(IsGlobal isGlobal)

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

Parameters:

isGlobal - the isGlobal value to set.

Returns:

the EffectiveConnectivityConfiguration object itself.

Applies to