Class ActiveConnectivityConfiguration
java.lang.Object
com.azure.resourcemanager.network.models.EffectiveConnectivityConfiguration
com.azure.resourcemanager.network.models.ActiveConnectivityConfiguration
Active connectivity configuration.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ActiveConnectivityConfiguration class. -
Method Summary
Modifier and TypeMethodDescriptionGet the commitTime property: Deployment time string.region()Get the region property: Deployment region.voidvalidate()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
appliesToGroups, configurationGroups, connectivityTopology, deleteExistingPeering, description, hubs, id, isGlobal, provisioningState
-
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:
withIdin 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:
withConfigurationGroupsin classEffectiveConnectivityConfiguration- Parameters:
configurationGroups- the configurationGroups value to set.- Returns:
- the EffectiveConnectivityConfiguration object itself.
-
withDescription
Set the description property: A description of the connectivity configuration.- Overrides:
withDescriptionin classEffectiveConnectivityConfiguration- Parameters:
description- the description value to set.- Returns:
- the EffectiveConnectivityConfiguration object itself.
-
withConnectivityTopology
public ActiveConnectivityConfiguration withConnectivityTopology(ConnectivityTopology connectivityTopology) Set the connectivityTopology property: Connectivity topology type.- Overrides:
withConnectivityTopologyin classEffectiveConnectivityConfiguration- Parameters:
connectivityTopology- the connectivityTopology value to set.- Returns:
- the EffectiveConnectivityConfiguration object itself.
-
withHubs
Set the hubs property: List of hubItems.- Overrides:
withHubsin classEffectiveConnectivityConfiguration- Parameters:
hubs- the hubs value to set.- Returns:
- the EffectiveConnectivityConfiguration object itself.
-
withIsGlobal
Set the isGlobal property: Flag if global mesh is supported.- Overrides:
withIsGlobalin classEffectiveConnectivityConfiguration- Parameters:
isGlobal- the isGlobal value to set.- Returns:
- the EffectiveConnectivityConfiguration object itself.
-
withAppliesToGroups
public ActiveConnectivityConfiguration withAppliesToGroups(List<ConnectivityGroupItem> appliesToGroups) Set the appliesToGroups property: Groups for configuration.- Overrides:
withAppliesToGroupsin classEffectiveConnectivityConfiguration- Parameters:
appliesToGroups- the appliesToGroups value to set.- Returns:
- the EffectiveConnectivityConfiguration object itself.
-
withDeleteExistingPeering
public ActiveConnectivityConfiguration withDeleteExistingPeering(DeleteExistingPeering deleteExistingPeering) Set the deleteExistingPeering property: Flag if need to remove current existing peerings.- Overrides:
withDeleteExistingPeeringin classEffectiveConnectivityConfiguration- Parameters:
deleteExistingPeering- the deleteExistingPeering value to set.- Returns:
- the EffectiveConnectivityConfiguration object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classEffectiveConnectivityConfiguration- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-