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