Class ClusterInner


  • public final class ClusterInner
    extends com.azure.core.management.Resource
    Class representing a Kusto cluster.
    • Constructor Detail

      • ClusterInner

        public ClusterInner()
    • Method Detail

      • sku

        public AzureSku sku()
        Get the sku property: The SKU of the cluster.
        Returns:
        the sku value.
      • withSku

        public ClusterInner withSku​(AzureSku sku)
        Set the sku property: The SKU of the cluster.
        Parameters:
        sku - the sku value to set.
        Returns:
        the ClusterInner object itself.
      • systemData

        public com.azure.core.management.SystemData systemData()
        Get the systemData property: Metadata pertaining to creation and last modification of the resource.
        Returns:
        the systemData value.
      • zones

        public List<String> zones()
        Get the zones property: The availability zones of the cluster.
        Returns:
        the zones value.
      • withZones

        public ClusterInner withZones​(List<String> zones)
        Set the zones property: The availability zones of the cluster.
        Parameters:
        zones - the zones value to set.
        Returns:
        the ClusterInner object itself.
      • identity

        public Identity identity()
        Get the identity property: The identity of the cluster, if configured.
        Returns:
        the identity value.
      • withIdentity

        public ClusterInner withIdentity​(Identity identity)
        Set the identity property: The identity of the cluster, if configured.
        Parameters:
        identity - the identity value to set.
        Returns:
        the ClusterInner object itself.
      • etag

        public String etag()
        Get the etag property: A unique read-only string that changes whenever the resource is updated.
        Returns:
        the etag 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
      • 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 ClusterInner withTrustedExternalTenants​(List<TrustedExternalTenant> trustedExternalTenants)
        Set the trustedExternalTenants property: The cluster's external tenants.
        Parameters:
        trustedExternalTenants - the trustedExternalTenants value to set.
        Returns:
        the ClusterInner object itself.
      • optimizedAutoscale

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

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

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

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

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

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

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

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

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

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

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

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