Class ClusterUpdate
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.kusto.models.ClusterUpdate
-
public final class ClusterUpdate extends com.azure.core.management.ProxyResource
Class representing an update to a Kusto cluster.
-
-
Constructor Summary
Constructors Constructor Description ClusterUpdate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AcceptedAudiences>
acceptedAudiences()
Get the acceptedAudiences property: The cluster's accepted audiences.List<String>
allowedFqdnList()
Get the allowedFqdnList property: List of allowed FQDNs(Fully Qualified Domain Name) for egress from Cluster.List<String>
allowedIpRangeList()
Get the allowedIpRangeList property: The list of ips in the format of CIDR allowed to connect to the cluster.String
dataIngestionUri()
Get the dataIngestionUri property: The cluster data ingestion URI.Boolean
enableAutoStop()
Get the enableAutoStop property: A boolean value that indicates if the cluster could be automatically stopped (due to lack of data or no activity for many days).Boolean
enableDiskEncryption()
Get the enableDiskEncryption property: A boolean value that indicates if the cluster's disks are encrypted.Boolean
enableDoubleEncryption()
Get the enableDoubleEncryption property: A boolean value that indicates if double encryption is enabled.Boolean
enablePurge()
Get the enablePurge property: A boolean value that indicates if the purge operations are enabled.Boolean
enableStreamingIngest()
Get the enableStreamingIngest property: A boolean value that indicates if the streaming ingest is enabled.EngineType
engineType()
Get the engineType property: The engine type.Identity
identity()
Get the identity property: The identity of the cluster, if configured.KeyVaultProperties
keyVaultProperties()
Get the keyVaultProperties property: KeyVault properties for the cluster encryption.LanguageExtensionsList
languageExtensions()
Get the languageExtensions property: List of the cluster's language extensions.String
location()
Get the location property: Resource location.OptimizedAutoscale
optimizedAutoscale()
Get the optimizedAutoscale property: Optimized auto scale definition.List<PrivateEndpointConnectionInner>
privateEndpointConnections()
Get the privateEndpointConnections property: A list of private endpoint connections.ProvisioningState
provisioningState()
Get the provisioningState property: The provisioned state of the resource.PublicIpType
publicIpType()
Get the publicIpType property: Indicates what public IP type to create - IPv4 (default), or DualStack (both IPv4 and IPv6).PublicNetworkAccess
publicNetworkAccess()
Get the publicNetworkAccess property: Public network access to the cluster is enabled by default.ClusterNetworkAccessFlag
restrictOutboundNetworkAccess()
Get the restrictOutboundNetworkAccess property: Whether or not to restrict outbound network access.AzureSku
sku()
Get the sku property: The SKU of the cluster.State
state()
Get the state property: The state of the resource.String
stateReason()
Get the stateReason property: The reason for the cluster's current state.Map<String,String>
tags()
Get the tags property: Resource tags.List<TrustedExternalTenant>
trustedExternalTenants()
Get the trustedExternalTenants property: The cluster's external tenants.String
uri()
Get the uri property: The cluster URI.void
validate()
Validates the instance.String
virtualClusterGraduationProperties()
Get the virtualClusterGraduationProperties property: Virtual Cluster graduation properties.VirtualNetworkConfiguration
virtualNetworkConfiguration()
Get the virtualNetworkConfiguration property: Virtual network definition.ClusterUpdate
withAcceptedAudiences(List<AcceptedAudiences> acceptedAudiences)
Set the acceptedAudiences property: The cluster's accepted audiences.ClusterUpdate
withAllowedFqdnList(List<String> allowedFqdnList)
Set the allowedFqdnList property: List of allowed FQDNs(Fully Qualified Domain Name) for egress from Cluster.ClusterUpdate
withAllowedIpRangeList(List<String> allowedIpRangeList)
Set the allowedIpRangeList property: The list of ips in the format of CIDR allowed to connect to the cluster.ClusterUpdate
withEnableAutoStop(Boolean enableAutoStop)
Set the enableAutoStop property: A boolean value that indicates if the cluster could be automatically stopped (due to lack of data or no activity for many days).ClusterUpdate
withEnableDiskEncryption(Boolean enableDiskEncryption)
Set the enableDiskEncryption property: A boolean value that indicates if the cluster's disks are encrypted.ClusterUpdate
withEnableDoubleEncryption(Boolean enableDoubleEncryption)
Set the enableDoubleEncryption property: A boolean value that indicates if double encryption is enabled.ClusterUpdate
withEnablePurge(Boolean enablePurge)
Set the enablePurge property: A boolean value that indicates if the purge operations are enabled.ClusterUpdate
withEnableStreamingIngest(Boolean enableStreamingIngest)
Set the enableStreamingIngest property: A boolean value that indicates if the streaming ingest is enabled.ClusterUpdate
withEngineType(EngineType engineType)
Set the engineType property: The engine type.ClusterUpdate
withIdentity(Identity identity)
Set the identity property: The identity of the cluster, if configured.ClusterUpdate
withKeyVaultProperties(KeyVaultProperties keyVaultProperties)
Set the keyVaultProperties property: KeyVault properties for the cluster encryption.ClusterUpdate
withLocation(String location)
Set the location property: Resource location.ClusterUpdate
withOptimizedAutoscale(OptimizedAutoscale optimizedAutoscale)
Set the optimizedAutoscale property: Optimized auto scale definition.ClusterUpdate
withPublicIpType(PublicIpType publicIpType)
Set the publicIpType property: Indicates what public IP type to create - IPv4 (default), or DualStack (both IPv4 and IPv6).ClusterUpdate
withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
Set the publicNetworkAccess property: Public network access to the cluster is enabled by default.ClusterUpdate
withRestrictOutboundNetworkAccess(ClusterNetworkAccessFlag restrictOutboundNetworkAccess)
Set the restrictOutboundNetworkAccess property: Whether or not to restrict outbound network access.ClusterUpdate
withSku(AzureSku sku)
Set the sku property: The SKU of the cluster.ClusterUpdate
withTags(Map<String,String> tags)
Set the tags property: Resource tags.ClusterUpdate
withTrustedExternalTenants(List<TrustedExternalTenant> trustedExternalTenants)
Set the trustedExternalTenants property: The cluster's external tenants.ClusterUpdate
withVirtualClusterGraduationProperties(String virtualClusterGraduationProperties)
Set the virtualClusterGraduationProperties property: Virtual Cluster graduation properties.ClusterUpdate
withVirtualNetworkConfiguration(VirtualNetworkConfiguration virtualNetworkConfiguration)
Set the virtualNetworkConfiguration property: Virtual network definition.
-
-
-
Method Detail
-
tags
public Map<String,String> tags()
Get the tags property: Resource tags.- Returns:
- the tags value.
-
withTags
public ClusterUpdate withTags(Map<String,String> tags)
Set the tags property: Resource tags.- Parameters:
tags
- the tags value to set.- Returns:
- the ClusterUpdate object itself.
-
location
public String location()
Get the location property: Resource location.- Returns:
- the location value.
-
withLocation
public ClusterUpdate withLocation(String location)
Set the location property: Resource location.- Parameters:
location
- the location value to set.- Returns:
- the ClusterUpdate object itself.
-
sku
public AzureSku sku()
Get the sku property: The SKU of the cluster.- Returns:
- the sku value.
-
withSku
public ClusterUpdate withSku(AzureSku sku)
Set the sku property: The SKU of the cluster.- Parameters:
sku
- the sku value to set.- Returns:
- the ClusterUpdate object itself.
-
identity
public Identity identity()
Get the identity property: The identity of the cluster, if configured.- Returns:
- the identity value.
-
withIdentity
public ClusterUpdate withIdentity(Identity identity)
Set the identity property: The identity of the cluster, if configured.- Parameters:
identity
- the identity value to set.- Returns:
- the ClusterUpdate object itself.
-
state
public State state()
Get the state property: The state of the resource.- Returns:
- the state value.
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioned state of the resource.- Returns:
- the provisioningState value.
-
uri
public String uri()
Get the uri property: The cluster URI.- Returns:
- the uri value.
-
dataIngestionUri
public String dataIngestionUri()
Get the dataIngestionUri property: The cluster data ingestion URI.- Returns:
- the dataIngestionUri value.
-
stateReason
public String stateReason()
Get the stateReason property: The reason for the cluster's current state.- Returns:
- the stateReason value.
-
trustedExternalTenants
public List<TrustedExternalTenant> trustedExternalTenants()
Get the trustedExternalTenants property: The cluster's external tenants.- Returns:
- the trustedExternalTenants value.
-
withTrustedExternalTenants
public ClusterUpdate withTrustedExternalTenants(List<TrustedExternalTenant> trustedExternalTenants)
Set the trustedExternalTenants property: The cluster's external tenants.- Parameters:
trustedExternalTenants
- the trustedExternalTenants value to set.- Returns:
- the ClusterUpdate object itself.
-
optimizedAutoscale
public OptimizedAutoscale optimizedAutoscale()
Get the optimizedAutoscale property: Optimized auto scale definition.- Returns:
- the optimizedAutoscale value.
-
withOptimizedAutoscale
public ClusterUpdate withOptimizedAutoscale(OptimizedAutoscale optimizedAutoscale)
Set the optimizedAutoscale property: Optimized auto scale definition.- Parameters:
optimizedAutoscale
- the optimizedAutoscale value to set.- Returns:
- the ClusterUpdate object itself.
-
enableDiskEncryption
public Boolean enableDiskEncryption()
Get the enableDiskEncryption property: A boolean value that indicates if the cluster's disks are encrypted.- Returns:
- the enableDiskEncryption value.
-
withEnableDiskEncryption
public ClusterUpdate withEnableDiskEncryption(Boolean enableDiskEncryption)
Set the enableDiskEncryption property: A boolean value that indicates if the cluster's disks are encrypted.- Parameters:
enableDiskEncryption
- the enableDiskEncryption value to set.- Returns:
- the ClusterUpdate object itself.
-
enableStreamingIngest
public Boolean enableStreamingIngest()
Get the enableStreamingIngest property: A boolean value that indicates if the streaming ingest is enabled.- Returns:
- the enableStreamingIngest value.
-
withEnableStreamingIngest
public ClusterUpdate withEnableStreamingIngest(Boolean enableStreamingIngest)
Set the enableStreamingIngest property: A boolean value that indicates if the streaming ingest is enabled.- Parameters:
enableStreamingIngest
- the enableStreamingIngest value to set.- Returns:
- the ClusterUpdate object itself.
-
virtualNetworkConfiguration
public VirtualNetworkConfiguration virtualNetworkConfiguration()
Get the virtualNetworkConfiguration property: Virtual network definition.- Returns:
- the virtualNetworkConfiguration value.
-
withVirtualNetworkConfiguration
public ClusterUpdate withVirtualNetworkConfiguration(VirtualNetworkConfiguration virtualNetworkConfiguration)
Set the virtualNetworkConfiguration property: Virtual network definition.- Parameters:
virtualNetworkConfiguration
- the virtualNetworkConfiguration value to set.- Returns:
- the ClusterUpdate object itself.
-
keyVaultProperties
public KeyVaultProperties keyVaultProperties()
Get the keyVaultProperties property: KeyVault properties for the cluster encryption.- Returns:
- the keyVaultProperties value.
-
withKeyVaultProperties
public ClusterUpdate withKeyVaultProperties(KeyVaultProperties keyVaultProperties)
Set the keyVaultProperties property: KeyVault properties for the cluster encryption.- Parameters:
keyVaultProperties
- the keyVaultProperties value to set.- Returns:
- the ClusterUpdate object itself.
-
enablePurge
public Boolean enablePurge()
Get the enablePurge property: A boolean value that indicates if the purge operations are enabled.- Returns:
- the enablePurge value.
-
withEnablePurge
public ClusterUpdate withEnablePurge(Boolean enablePurge)
Set the enablePurge property: A boolean value that indicates if the purge operations are enabled.- Parameters:
enablePurge
- the enablePurge value to set.- Returns:
- the ClusterUpdate object itself.
-
languageExtensions
public LanguageExtensionsList languageExtensions()
Get the languageExtensions property: List of the cluster's language extensions.- Returns:
- the languageExtensions value.
-
enableDoubleEncryption
public Boolean enableDoubleEncryption()
Get the enableDoubleEncryption property: A boolean value that indicates if double encryption is enabled.- Returns:
- the enableDoubleEncryption value.
-
withEnableDoubleEncryption
public ClusterUpdate withEnableDoubleEncryption(Boolean enableDoubleEncryption)
Set the enableDoubleEncryption property: A boolean value that indicates if double encryption is enabled.- Parameters:
enableDoubleEncryption
- the enableDoubleEncryption value to set.- Returns:
- the ClusterUpdate object itself.
-
publicNetworkAccess
public PublicNetworkAccess publicNetworkAccess()
Get the publicNetworkAccess property: Public network access to the cluster is enabled by default. When disabled, only private endpoint connection to the cluster is allowed.- Returns:
- the publicNetworkAccess value.
-
withPublicNetworkAccess
public ClusterUpdate withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
Set the publicNetworkAccess property: Public network access to the cluster is enabled by default. When disabled, only private endpoint connection to the cluster is allowed.- Parameters:
publicNetworkAccess
- the publicNetworkAccess value to set.- Returns:
- the ClusterUpdate object itself.
-
allowedIpRangeList
public List<String> allowedIpRangeList()
Get the allowedIpRangeList property: The list of ips in the format of CIDR allowed to connect to the cluster.- Returns:
- the allowedIpRangeList value.
-
withAllowedIpRangeList
public ClusterUpdate withAllowedIpRangeList(List<String> allowedIpRangeList)
Set the allowedIpRangeList property: The list of ips in the format of CIDR allowed to connect to the cluster.- Parameters:
allowedIpRangeList
- the allowedIpRangeList value to set.- Returns:
- the ClusterUpdate object itself.
-
engineType
public EngineType engineType()
Get the engineType property: The engine type.- Returns:
- the engineType value.
-
withEngineType
public ClusterUpdate withEngineType(EngineType engineType)
Set the engineType property: The engine type.- Parameters:
engineType
- the engineType value to set.- Returns:
- the ClusterUpdate object itself.
-
acceptedAudiences
public List<AcceptedAudiences> acceptedAudiences()
Get the acceptedAudiences property: The cluster's accepted audiences.- Returns:
- the acceptedAudiences value.
-
withAcceptedAudiences
public ClusterUpdate withAcceptedAudiences(List<AcceptedAudiences> acceptedAudiences)
Set the acceptedAudiences property: The cluster's accepted audiences.- Parameters:
acceptedAudiences
- the acceptedAudiences value to set.- Returns:
- the ClusterUpdate object itself.
-
enableAutoStop
public Boolean enableAutoStop()
Get the enableAutoStop property: A boolean value that indicates if the cluster could be automatically stopped (due to lack of data or no activity for many days).- Returns:
- the enableAutoStop value.
-
withEnableAutoStop
public ClusterUpdate withEnableAutoStop(Boolean enableAutoStop)
Set the enableAutoStop property: A boolean value that indicates if the cluster could be automatically stopped (due to lack of data or no activity for many days).- Parameters:
enableAutoStop
- the enableAutoStop value to set.- Returns:
- the ClusterUpdate object itself.
-
restrictOutboundNetworkAccess
public ClusterNetworkAccessFlag restrictOutboundNetworkAccess()
Get the restrictOutboundNetworkAccess property: Whether or not to restrict outbound network access. Value is optional but if passed in, must be 'Enabled' or 'Disabled'.- Returns:
- the restrictOutboundNetworkAccess value.
-
withRestrictOutboundNetworkAccess
public ClusterUpdate withRestrictOutboundNetworkAccess(ClusterNetworkAccessFlag restrictOutboundNetworkAccess)
Set the restrictOutboundNetworkAccess property: Whether or not to restrict outbound network access. Value is optional but if passed in, must be 'Enabled' or 'Disabled'.- Parameters:
restrictOutboundNetworkAccess
- the restrictOutboundNetworkAccess value to set.- Returns:
- the ClusterUpdate object itself.
-
allowedFqdnList
public List<String> allowedFqdnList()
Get the allowedFqdnList property: List of allowed FQDNs(Fully Qualified Domain Name) for egress from Cluster.- Returns:
- the allowedFqdnList value.
-
withAllowedFqdnList
public ClusterUpdate withAllowedFqdnList(List<String> allowedFqdnList)
Set the allowedFqdnList property: List of allowed FQDNs(Fully Qualified Domain Name) for egress from Cluster.- Parameters:
allowedFqdnList
- the allowedFqdnList value to set.- Returns:
- the ClusterUpdate object itself.
-
publicIpType
public PublicIpType publicIpType()
Get the publicIpType property: Indicates what public IP type to create - IPv4 (default), or DualStack (both IPv4 and IPv6).- Returns:
- the publicIpType value.
-
withPublicIpType
public ClusterUpdate withPublicIpType(PublicIpType publicIpType)
Set the publicIpType property: Indicates what public IP type to create - IPv4 (default), or DualStack (both IPv4 and IPv6).- Parameters:
publicIpType
- the publicIpType value to set.- Returns:
- the ClusterUpdate object itself.
-
virtualClusterGraduationProperties
public String virtualClusterGraduationProperties()
Get the virtualClusterGraduationProperties property: Virtual Cluster graduation properties.- Returns:
- the virtualClusterGraduationProperties value.
-
withVirtualClusterGraduationProperties
public ClusterUpdate withVirtualClusterGraduationProperties(String virtualClusterGraduationProperties)
Set the virtualClusterGraduationProperties property: Virtual Cluster graduation properties.- Parameters:
virtualClusterGraduationProperties
- the virtualClusterGraduationProperties value to set.- Returns:
- the ClusterUpdate object itself.
-
privateEndpointConnections
public List<PrivateEndpointConnectionInner> privateEndpointConnections()
Get the privateEndpointConnections property: A list of private endpoint connections.- Returns:
- the privateEndpointConnections value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-