Class ClusterProperties

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

public final class ClusterProperties extends Object
Cluster properties.
  • Constructor Details

    • ClusterProperties

      public ClusterProperties()
  • Method Details

    • 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 ClusterProperties 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 ClusterProperties 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 ClusterProperties 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 ClusterProperties object itself.
    • billingType

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

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

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

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

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

      public String 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 ClusterProperties 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 ClusterProperties object itself.
    • capacityReservationProperties

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

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

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