Class ClusterInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.loganalytics.fluent.models.ClusterInner
public final class ClusterInner
extends com.azure.core.management.Resource
The top level Log Analytics cluster resource container.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the associatedWorkspaces property: The list of Log Analytics workspaces associated with the cluster.Get the billingType property: The cluster's billing type.Get the capacityReservationProperties property: Additional properties for capacity reservation.Get the clusterId property: The ID associated with the cluster.Get the createdDate property: The cluster creation time.identity()
Get the identity property: The identity of the resource.Get the isAvailabilityZonesEnabled property: Sets whether the cluster will support availability zones.Get the isDoubleEncryptionEnabled property: Configures whether cluster will use double encryption.Get the keyVaultProperties property: The associated key properties.Get the lastModifiedDate property: The last time the cluster was updated.Get the provisioningState property: The provisioning state of the cluster.sku()
Get the sku property: The sku properties.void
validate()
Validates the instance.withAssociatedWorkspaces
(List<AssociatedWorkspace> associatedWorkspaces) Set the associatedWorkspaces property: The list of Log Analytics workspaces associated with the cluster.withBillingType
(BillingType billingType) Set the billingType property: The cluster's billing type.withCapacityReservationProperties
(CapacityReservationProperties capacityReservationProperties) Set the capacityReservationProperties property: Additional properties for capacity reservation.withIdentity
(Identity identity) Set the identity property: The identity of the resource.withIsAvailabilityZonesEnabled
(Boolean isAvailabilityZonesEnabled) Set the isAvailabilityZonesEnabled property: Sets whether the cluster will support availability zones.withIsDoubleEncryptionEnabled
(Boolean isDoubleEncryptionEnabled) Set the isDoubleEncryptionEnabled property: Configures whether cluster will use double encryption.withKeyVaultProperties
(KeyVaultProperties keyVaultProperties) Set the keyVaultProperties property: The associated key properties.withLocation
(String location) withSku
(ClusterSku sku) Set the sku property: The sku properties.Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
ClusterInner
public ClusterInner()
-
-
Method Details
-
identity
Get the identity property: The identity of the resource.- Returns:
- the identity value.
-
withIdentity
Set the identity property: The identity of the resource.- Parameters:
identity
- the identity value to set.- Returns:
- the ClusterInner object itself.
-
sku
Get the sku property: The sku properties.- Returns:
- the sku value.
-
withSku
Set the sku property: The sku properties.- Parameters:
sku
- the sku value to set.- Returns:
- the ClusterInner object itself.
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
clusterId
Get the clusterId property: The ID associated with the cluster.- Returns:
- the clusterId value.
-
provisioningState
Get the provisioningState property: The provisioning state of the cluster.- Returns:
- the provisioningState value.
-
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
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
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
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
Get the billingType property: The cluster's billing type.- Returns:
- the billingType value.
-
withBillingType
Set the billingType property: The cluster's billing type.- Parameters:
billingType
- the billingType value to set.- Returns:
- the ClusterInner object itself.
-
keyVaultProperties
Get the keyVaultProperties property: The associated key properties.- Returns:
- the keyVaultProperties value.
-
withKeyVaultProperties
Set the keyVaultProperties property: The associated key properties.- Parameters:
keyVaultProperties
- the keyVaultProperties value to set.- Returns:
- the ClusterInner object itself.
-
lastModifiedDate
Get the lastModifiedDate property: The last time the cluster was updated.- Returns:
- the lastModifiedDate value.
-
createdDate
Get the createdDate property: The cluster creation time.- Returns:
- the createdDate value.
-
associatedWorkspaces
Get the associatedWorkspaces property: The list of Log Analytics workspaces associated with the cluster.- Returns:
- the associatedWorkspaces value.
-
withAssociatedWorkspaces
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
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.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-