Class ClusterProperties

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

public final class ClusterProperties extends Object
Class representing the Kusto cluster properties.
  • Constructor Details

    • ClusterProperties

      public ClusterProperties()
  • Method Details

    • 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 ClusterProperties withTrustedExternalTenants(List<TrustedExternalTenant> trustedExternalTenants)
      Set the trustedExternalTenants property: The cluster's external tenants.
      Parameters:
      trustedExternalTenants - the trustedExternalTenants value to set.
      Returns:
      the ClusterProperties object itself.
    • optimizedAutoscale

      public OptimizedAutoscale optimizedAutoscale()
      Get the optimizedAutoscale property: Optimized auto scale definition.
      Returns:
      the optimizedAutoscale value.
    • withOptimizedAutoscale

      public ClusterProperties withOptimizedAutoscale(OptimizedAutoscale optimizedAutoscale)
      Set the optimizedAutoscale property: Optimized auto scale definition.
      Parameters:
      optimizedAutoscale - the optimizedAutoscale value to set.
      Returns:
      the ClusterProperties 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 ClusterProperties 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 ClusterProperties 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 ClusterProperties 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 ClusterProperties object itself.
    • virtualNetworkConfiguration

      public VirtualNetworkConfiguration virtualNetworkConfiguration()
      Get the virtualNetworkConfiguration property: Virtual network definition.
      Returns:
      the virtualNetworkConfiguration value.
    • withVirtualNetworkConfiguration

      public ClusterProperties withVirtualNetworkConfiguration(VirtualNetworkConfiguration virtualNetworkConfiguration)
      Set the virtualNetworkConfiguration property: Virtual network definition.
      Parameters:
      virtualNetworkConfiguration - the virtualNetworkConfiguration value to set.
      Returns:
      the ClusterProperties object itself.
    • keyVaultProperties

      public KeyVaultProperties keyVaultProperties()
      Get the keyVaultProperties property: KeyVault properties for the cluster encryption.
      Returns:
      the keyVaultProperties value.
    • withKeyVaultProperties

      public ClusterProperties withKeyVaultProperties(KeyVaultProperties keyVaultProperties)
      Set the keyVaultProperties property: KeyVault properties for the cluster encryption.
      Parameters:
      keyVaultProperties - the keyVaultProperties value to set.
      Returns:
      the ClusterProperties 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 ClusterProperties 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 ClusterProperties 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 ClusterProperties 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 ClusterProperties 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 ClusterProperties 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 ClusterProperties 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 ClusterProperties 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 ClusterProperties object itself.
    • engineType

      public EngineType engineType()
      Get the engineType property: The engine type.
      Returns:
      the engineType value.
    • withEngineType

      public ClusterProperties withEngineType(EngineType engineType)
      Set the engineType property: The engine type.
      Parameters:
      engineType - the engineType value to set.
      Returns:
      the ClusterProperties object itself.
    • acceptedAudiences

      public List<AcceptedAudiences> acceptedAudiences()
      Get the acceptedAudiences property: The cluster's accepted audiences.
      Returns:
      the acceptedAudiences value.
    • withAcceptedAudiences

      public ClusterProperties withAcceptedAudiences(List<AcceptedAudiences> acceptedAudiences)
      Set the acceptedAudiences property: The cluster's accepted audiences.
      Parameters:
      acceptedAudiences - the acceptedAudiences value to set.
      Returns:
      the ClusterProperties 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 ClusterProperties 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 ClusterProperties 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 ClusterProperties 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 ClusterProperties 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 ClusterProperties 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 ClusterProperties 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 ClusterProperties 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 ClusterProperties object itself.
    • virtualClusterGraduationProperties

      public String virtualClusterGraduationProperties()
      Get the virtualClusterGraduationProperties property: Virtual Cluster graduation properties.
      Returns:
      the virtualClusterGraduationProperties value.
    • withVirtualClusterGraduationProperties

      public ClusterProperties withVirtualClusterGraduationProperties(String virtualClusterGraduationProperties)
      Set the virtualClusterGraduationProperties property: Virtual Cluster graduation properties.
      Parameters:
      virtualClusterGraduationProperties - the virtualClusterGraduationProperties value to set.
      Returns:
      the ClusterProperties 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.