Class EffectiveConnectivityConfiguration
java.lang.Object
com.azure.resourcemanager.network.models.EffectiveConnectivityConfiguration
- All Implemented Interfaces:
com.azure.json.JsonSerializable<EffectiveConnectivityConfiguration>
- Direct Known Subclasses:
ActiveConnectivityConfiguration
public class EffectiveConnectivityConfiguration
extends Object
implements com.azure.json.JsonSerializable<EffectiveConnectivityConfiguration>
The network manager effective connectivity configuration.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of EffectiveConnectivityConfiguration class. -
Method Summary
Modifier and TypeMethodDescriptionGet the appliesToGroups property: Groups for configuration.Get the configurationGroups property: Effective configuration groups.Get the connectivityTopology property: Connectivity topology type.Get the deleteExistingPeering property: Flag if need to remove current existing peerings.Get the description property: A description of the connectivity configuration.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of EffectiveConnectivityConfiguration from the JsonReader.hubs()Get the hubs property: List of hubItems.id()Get the id property: Connectivity configuration ID.isGlobal()Get the isGlobal property: Flag if global mesh is supported.Get the provisioningState property: The provisioning state of the connectivity configuration resource.Get the resourceGuid property: Unique identifier for this resource.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withAppliesToGroups(List<ConnectivityGroupItem> appliesToGroups) Set the appliesToGroups property: Groups for configuration.withConfigurationGroups(List<ConfigurationGroup> configurationGroups) Set the configurationGroups property: Effective configuration groups.withConnectivityTopology(ConnectivityTopology connectivityTopology) Set the connectivityTopology property: Connectivity topology type.withDeleteExistingPeering(DeleteExistingPeering deleteExistingPeering) Set the deleteExistingPeering property: Flag if need to remove current existing peerings.withDescription(String description) Set the description property: A description of the connectivity configuration.Set the hubs property: List of hubItems.Set the id property: Connectivity configuration ID.withIsGlobal(IsGlobal isGlobal) Set the isGlobal property: Flag if global mesh is supported.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
EffectiveConnectivityConfiguration
public EffectiveConnectivityConfiguration()Creates an instance of EffectiveConnectivityConfiguration class.
-
-
Method Details
-
id
Get the id property: Connectivity configuration ID.- Returns:
- the id value.
-
withId
Set the id property: Connectivity configuration ID.- Parameters:
id- the id value to set.- Returns:
- the EffectiveConnectivityConfiguration object itself.
-
configurationGroups
Get the configurationGroups property: Effective configuration groups.- Returns:
- the configurationGroups value.
-
withConfigurationGroups
public EffectiveConnectivityConfiguration withConfigurationGroups(List<ConfigurationGroup> configurationGroups) Set the configurationGroups property: Effective configuration groups.- Parameters:
configurationGroups- the configurationGroups value to set.- Returns:
- the EffectiveConnectivityConfiguration object itself.
-
description
Get the description property: A description of the connectivity configuration.- Returns:
- the description value.
-
withDescription
Set the description property: A description of the connectivity configuration.- Parameters:
description- the description value to set.- Returns:
- the EffectiveConnectivityConfiguration object itself.
-
connectivityTopology
Get the connectivityTopology property: Connectivity topology type.- Returns:
- the connectivityTopology value.
-
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.
-
hubs
Get the hubs property: List of hubItems.- Returns:
- the hubs value.
-
withHubs
Set the hubs property: List of hubItems.- Parameters:
hubs- the hubs value to set.- Returns:
- the EffectiveConnectivityConfiguration object itself.
-
isGlobal
Get the isGlobal property: Flag if global mesh is supported.- Returns:
- the isGlobal value.
-
withIsGlobal
Set the isGlobal property: Flag if global mesh is supported.- Parameters:
isGlobal- the isGlobal value to set.- Returns:
- the EffectiveConnectivityConfiguration object itself.
-
appliesToGroups
Get the appliesToGroups property: Groups for configuration.- Returns:
- the appliesToGroups value.
-
withAppliesToGroups
public EffectiveConnectivityConfiguration withAppliesToGroups(List<ConnectivityGroupItem> appliesToGroups) Set the appliesToGroups property: Groups for configuration.- Parameters:
appliesToGroups- the appliesToGroups value to set.- Returns:
- the EffectiveConnectivityConfiguration object itself.
-
provisioningState
Get the provisioningState property: The provisioning state of the connectivity configuration resource.- Returns:
- the provisioningState value.
-
deleteExistingPeering
Get the deleteExistingPeering property: Flag if need to remove current existing peerings.- Returns:
- the deleteExistingPeering value.
-
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.
-
resourceGuid
Get the resourceGuid property: Unique identifier for this resource.- Returns:
- the resourceGuid value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<EffectiveConnectivityConfiguration>- Throws:
IOException
-
fromJson
public static EffectiveConnectivityConfiguration fromJson(com.azure.json.JsonReader jsonReader) throws IOException 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.
-