Class ClusterInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.loganalytics.fluent.models.ClusterInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>

public final class ClusterInner extends com.azure.core.management.Resource
The top level Log Analytics cluster resource container.
  • Constructor Details

    • ClusterInner

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

    • identity

      public ManagedServiceIdentity identity()
      Get the identity property: The managed service identities assigned to this resource.
      Returns:
      the identity value.
    • withIdentity

      public ClusterInner withIdentity(ManagedServiceIdentity identity)
      Set the identity property: The managed service identities assigned to this resource.
      Parameters:
      identity - the identity value to set.
      Returns:
      the ClusterInner object itself.
    • sku

      public ClusterSku sku()
      Get the sku property: The sku properties.
      Returns:
      the sku value.
    • withSku

      public ClusterInner withSku(ClusterSku sku)
      Set the sku property: The sku properties.
      Parameters:
      sku - the sku value to set.
      Returns:
      the ClusterInner object itself.
    • systemData

      public com.azure.core.management.SystemData systemData()
      Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
      Returns:
      the systemData value.
    • type

      public String type()
      Get the type property: The type of the resource.
      Overrides:
      type in class com.azure.core.management.ProxyResource
      Returns:
      the type value.
    • name

      public String name()
      Get the name property: The name of the resource.
      Overrides:
      name in class com.azure.core.management.ProxyResource
      Returns:
      the name value.
    • id

      public String id()
      Get the id property: Fully qualified resource Id for the resource.
      Overrides:
      id in class com.azure.core.management.ProxyResource
      Returns:
      the id value.
    • withLocation

      public ClusterInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public ClusterInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • clusterId

      public String clusterId()
      Get the clusterId property: The ID associated with the cluster.
      Returns:
      the clusterId value.
    • provisioningState

      public ClusterEntityStatus provisioningState()
      Get the provisioningState property: The provisioning state of the cluster.
      Returns:
      the provisioningState value.
    • isDoubleEncryptionEnabled

      public Boolean isDoubleEncryptionEnabled()
      Get the isDoubleEncryptionEnabled property: Configures whether cluster will use double encryption. This Property can not be modified after cluster creation. Default value is 'true'.
      Returns:
      the isDoubleEncryptionEnabled value.
    • withIsDoubleEncryptionEnabled

      public ClusterInner withIsDoubleEncryptionEnabled(Boolean isDoubleEncryptionEnabled)
      Set the isDoubleEncryptionEnabled property: Configures whether cluster will use double encryption. This Property can not be modified after cluster creation. Default value is 'true'.
      Parameters:
      isDoubleEncryptionEnabled - the isDoubleEncryptionEnabled value to set.
      Returns:
      the ClusterInner object itself.
    • isAvailabilityZonesEnabled

      public Boolean isAvailabilityZonesEnabled()
      Get the isAvailabilityZonesEnabled property: Sets whether the cluster will support availability zones. This can be set as true only in regions where Azure Data Explorer support Availability Zones. This Property can not be modified after cluster creation. Default value is 'true' if region supports Availability Zones.
      Returns:
      the isAvailabilityZonesEnabled value.
    • withIsAvailabilityZonesEnabled

      public ClusterInner withIsAvailabilityZonesEnabled(Boolean isAvailabilityZonesEnabled)
      Set the isAvailabilityZonesEnabled property: Sets whether the cluster will support availability zones. This can be set as true only in regions where Azure Data Explorer support Availability Zones. This Property can not be modified after cluster creation. Default value is 'true' if region supports Availability Zones.
      Parameters:
      isAvailabilityZonesEnabled - the isAvailabilityZonesEnabled value to set.
      Returns:
      the ClusterInner object itself.
    • billingType

      public BillingType billingType()
      Get the billingType property: The cluster's billing type.
      Returns:
      the billingType value.
    • withBillingType

      public ClusterInner withBillingType(BillingType billingType)
      Set the billingType property: The cluster's billing type.
      Parameters:
      billingType - the billingType value to set.
      Returns:
      the ClusterInner object itself.
    • keyVaultProperties

      public KeyVaultProperties keyVaultProperties()
      Get the keyVaultProperties property: The associated key properties.
      Returns:
      the keyVaultProperties value.
    • withKeyVaultProperties

      public ClusterInner withKeyVaultProperties(KeyVaultProperties keyVaultProperties)
      Set the keyVaultProperties property: The associated key properties.
      Parameters:
      keyVaultProperties - the keyVaultProperties value to set.
      Returns:
      the ClusterInner object itself.
    • lastModifiedDate

      public OffsetDateTime lastModifiedDate()
      Get the lastModifiedDate property: The last time the cluster was updated.
      Returns:
      the lastModifiedDate value.
    • createdDate

      public OffsetDateTime createdDate()
      Get the createdDate property: The cluster creation time.
      Returns:
      the createdDate value.
    • associatedWorkspaces

      public List<AssociatedWorkspace> associatedWorkspaces()
      Get the associatedWorkspaces property: The list of Log Analytics workspaces associated with the cluster.
      Returns:
      the associatedWorkspaces value.
    • withAssociatedWorkspaces

      public ClusterInner withAssociatedWorkspaces(List<AssociatedWorkspace> associatedWorkspaces)
      Set the associatedWorkspaces property: The list of Log Analytics workspaces associated with the cluster.
      Parameters:
      associatedWorkspaces - the associatedWorkspaces value to set.
      Returns:
      the ClusterInner object itself.
    • capacityReservationProperties

      public CapacityReservationProperties capacityReservationProperties()
      Get the capacityReservationProperties property: Additional properties for capacity reservation.
      Returns:
      the capacityReservationProperties value.
    • withCapacityReservationProperties

      public ClusterInner withCapacityReservationProperties(CapacityReservationProperties capacityReservationProperties)
      Set the capacityReservationProperties property: Additional properties for capacity reservation.
      Parameters:
      capacityReservationProperties - the capacityReservationProperties value to set.
      Returns:
      the ClusterInner object itself.
    • replication

      public ClusterReplicationProperties replication()
      Get the replication property: Cluster's replication properties.
      Returns:
      the replication value.
    • withReplication

      public ClusterInner withReplication(ClusterReplicationProperties replication)
      Set the replication property: Cluster's replication properties.
      Parameters:
      replication - the replication value to set.
      Returns:
      the ClusterInner object itself.
    • 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 com.azure.core.management.Resource
      Throws:
      IOException
    • fromJson

      public static ClusterInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ClusterInner from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ClusterInner 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 ClusterInner.