Class ManagementGroupInner

java.lang.Object
com.azure.resourcemanager.loganalytics.fluent.models.ManagementGroupInner

public final class ManagementGroupInner extends Object
A management group that is connected to a workspace.
  • Constructor Details

    • ManagementGroupInner

      public ManagementGroupInner()
  • Method Details

    • serverCount

      public Integer serverCount()
      Get the serverCount property: The number of servers connected to the management group.
      Returns:
      the serverCount value.
    • withServerCount

      public ManagementGroupInner withServerCount(Integer serverCount)
      Set the serverCount property: The number of servers connected to the management group.
      Parameters:
      serverCount - the serverCount value to set.
      Returns:
      the ManagementGroupInner object itself.
    • isGateway

      public Boolean isGateway()
      Get the isGateway property: Gets or sets a value indicating whether the management group is a gateway.
      Returns:
      the isGateway value.
    • withIsGateway

      public ManagementGroupInner withIsGateway(Boolean isGateway)
      Set the isGateway property: Gets or sets a value indicating whether the management group is a gateway.
      Parameters:
      isGateway - the isGateway value to set.
      Returns:
      the ManagementGroupInner object itself.
    • name

      public String name()
      Get the name property: The name of the management group.
      Returns:
      the name value.
    • withName

      public ManagementGroupInner withName(String name)
      Set the name property: The name of the management group.
      Parameters:
      name - the name value to set.
      Returns:
      the ManagementGroupInner object itself.
    • id

      public String id()
      Get the id property: The unique ID of the management group.
      Returns:
      the id value.
    • withId

      public ManagementGroupInner withId(String id)
      Set the id property: The unique ID of the management group.
      Parameters:
      id - the id value to set.
      Returns:
      the ManagementGroupInner object itself.
    • created

      public OffsetDateTime created()
      Get the created property: The datetime that the management group was created.
      Returns:
      the created value.
    • withCreated

      public ManagementGroupInner withCreated(OffsetDateTime created)
      Set the created property: The datetime that the management group was created.
      Parameters:
      created - the created value to set.
      Returns:
      the ManagementGroupInner object itself.
    • dataReceived

      public OffsetDateTime dataReceived()
      Get the dataReceived property: The last datetime that the management group received data.
      Returns:
      the dataReceived value.
    • withDataReceived

      public ManagementGroupInner withDataReceived(OffsetDateTime dataReceived)
      Set the dataReceived property: The last datetime that the management group received data.
      Parameters:
      dataReceived - the dataReceived value to set.
      Returns:
      the ManagementGroupInner object itself.
    • version

      public String version()
      Get the version property: The version of System Center that is managing the management group.
      Returns:
      the version value.
    • withVersion

      public ManagementGroupInner withVersion(String version)
      Set the version property: The version of System Center that is managing the management group.
      Parameters:
      version - the version value to set.
      Returns:
      the ManagementGroupInner object itself.
    • sku

      public String sku()
      Get the sku property: The SKU of System Center that is managing the management group.
      Returns:
      the sku value.
    • withSku

      public ManagementGroupInner withSku(String sku)
      Set the sku property: The SKU of System Center that is managing the management group.
      Parameters:
      sku - the sku value to set.
      Returns:
      the ManagementGroupInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.