Class ConnectivityConfigurationInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.network.models.ChildResource
com.azure.resourcemanager.network.fluent.models.ConnectivityConfigurationInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>

public final class ConnectivityConfigurationInner extends ChildResource
The network manager connectivity configuration resource.
  • Constructor Details

    • ConnectivityConfigurationInner

      public ConnectivityConfigurationInner()
      Creates an instance of ConnectivityConfigurationInner class.
  • Method Details

    • systemData

      public com.azure.core.management.SystemData systemData()
      Get the systemData property: The system metadata related to this resource.
      Returns:
      the systemData value.
    • etag

      public String etag()
      Get the etag property: A unique read-only string that changes whenever the resource is updated.
      Overrides:
      etag in class ChildResource
      Returns:
      the etag value.
    • type

      public String type()
      Get the type property: The type of the resource.
      Overrides:
      type in class ChildResource
      Returns:
      the type value.
    • name

      public String name()
      Get the name property: The name of the resource.
      Overrides:
      name in class ChildResource
      Returns:
      the name value.
    • id

      public String id()
      Get the id property: Fully qualified resource Id for the resource.
      Overrides:
      id in class ChildResource
      Returns:
      the id value.
    • description

      public String description()
      Get the description property: A description of the connectivity configuration.
      Returns:
      the description value.
    • 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.
    • connectivityTopology

      public ConnectivityTopology connectivityTopology()
      Get the connectivityTopology property: Connectivity topology type.
      Returns:
      the connectivityTopology value.
    • 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.
    • hubs

      public List<Hub> hubs()
      Get the hubs property: List of hubItems.
      Returns:
      the hubs value.
    • withHubs

      public ConnectivityConfigurationInner withHubs(List<Hub> hubs)
      Set the hubs property: List of hubItems.
      Parameters:
      hubs - the hubs value to set.
      Returns:
      the ConnectivityConfigurationInner object itself.
    • isGlobal

      public IsGlobal isGlobal()
      Get the isGlobal property: Flag if global mesh is supported.
      Returns:
      the isGlobal value.
    • 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.
    • appliesToGroups

      public List<ConnectivityGroupItem> appliesToGroups()
      Get the appliesToGroups property: Groups for configuration.
      Returns:
      the appliesToGroups value.
    • withAppliesToGroups

      public ConnectivityConfigurationInner withAppliesToGroups(List<ConnectivityGroupItem> appliesToGroups)
      Set the appliesToGroups property: Groups for configuration.
      Parameters:
      appliesToGroups - the appliesToGroups value to set.
      Returns:
      the ConnectivityConfigurationInner object itself.
    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state of the connectivity configuration resource.
      Returns:
      the provisioningState value.
    • deleteExistingPeering

      public DeleteExistingPeering deleteExistingPeering()
      Get the deleteExistingPeering property: Flag if need to remove current existing peerings.
      Returns:
      the deleteExistingPeering value.
    • 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.
    • resourceGuid

      public String resourceGuid()
      Get the resourceGuid property: Unique identifier for this resource.
      Returns:
      the resourceGuid value.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class ChildResource
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
      Overrides:
      toJson in class ChildResource
      Throws:
      IOException
    • fromJson

      public static ConnectivityConfigurationInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the ConnectivityConfigurationInner.