#[non_exhaustive]
pub struct GetKxClusterOutput {
Show 20 fields pub status: Option<KxClusterStatus>, pub status_reason: Option<String>, pub cluster_name: Option<String>, pub cluster_type: Option<KxClusterType>, pub databases: Option<Vec<KxDatabaseConfiguration>>, pub cache_storage_configurations: Option<Vec<KxCacheStorageConfiguration>>, pub auto_scaling_configuration: Option<AutoScalingConfiguration>, pub cluster_description: Option<String>, pub capacity_configuration: Option<CapacityConfiguration>, pub release_label: Option<String>, pub vpc_configuration: Option<VpcConfiguration>, pub initialization_script: Option<String>, pub command_line_arguments: Option<Vec<KxCommandLineArgument>>, pub code: Option<CodeConfiguration>, pub execution_role: Option<String>, pub last_modified_timestamp: Option<DateTime>, pub savedown_storage_configuration: Option<KxSavedownStorageConfiguration>, pub az_mode: Option<KxAzMode>, pub availability_zone_id: Option<String>, pub created_timestamp: Option<DateTime>, /* private fields */
}

Fields (Non-exhaustive)§

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
§status: Option<KxClusterStatus>

The status of cluster creation.

  • PENDING – The cluster is pending creation.

  • CREATING – The cluster creation process is in progress.

  • CREATE_FAILED – The cluster creation process has failed.

  • RUNNING – The cluster creation process is running.

  • UPDATING – The cluster is in the process of being updated.

  • DELETING – The cluster is in the process of being deleted.

  • DELETED – The cluster has been deleted.

  • DELETE_FAILED – The cluster failed to delete.

§status_reason: Option<String>

The error message when a failed state occurs.

§cluster_name: Option<String>

A unique name for the cluster.

§cluster_type: Option<KxClusterType>

Specifies the type of KDB database that is being created. The following types are available:

  • HDB – A Historical Database. The data is only accessible with read-only permissions from one of the FinSpace managed kdb databases mounted to the cluster.

  • RDB – A Realtime Database. This type of database captures all the data from a ticker plant and stores it in memory until the end of day, after which it writes all of its data to a disk and reloads the HDB. This cluster type requires local storage for temporary storage of data during the savedown process. If you specify this field in your request, you must provide the savedownStorageConfiguration parameter.

  • GATEWAY – A gateway cluster allows you to access data across processes in kdb systems. It allows you to create your own routing logic using the initialization scripts and custom code. This type of cluster does not require a writable local storage.

§databases: Option<Vec<KxDatabaseConfiguration>>

A list of databases mounted on the cluster.

§cache_storage_configurations: Option<Vec<KxCacheStorageConfiguration>>

The configurations for a read only cache storage associated with a cluster. This cache will be stored as an FSx Lustre that reads from the S3 store.

§auto_scaling_configuration: Option<AutoScalingConfiguration>

The configuration based on which FinSpace will scale in or scale out nodes in your cluster.

§cluster_description: Option<String>

A description of the cluster.

§capacity_configuration: Option<CapacityConfiguration>

A structure for the metadata of a cluster. It includes information like the CPUs needed, memory of instances, and number of instances.

§release_label: Option<String>

The version of FinSpace managed kdb to run.

§vpc_configuration: Option<VpcConfiguration>

Configuration details about the network where the Privatelink endpoint of the cluster resides.

§initialization_script: Option<String>

Specifies a Q program that will be run at launch of a cluster. It is a relative path within .zip file that contains the custom code, which will be loaded on the cluster. It must include the file name itself. For example, somedir/init.q.

§command_line_arguments: Option<Vec<KxCommandLineArgument>>

Defines key-value pairs to make them available inside the cluster.

§code: Option<CodeConfiguration>

The details of the custom code that you want to use inside a cluster when analyzing a data. It consists of the S3 source bucket, location, S3 object version, and the relative path from where the custom code is loaded into the cluster.

§execution_role: Option<String>

An IAM role that defines a set of permissions associated with a cluster. These permissions are assumed when a cluster attempts to access another cluster.

§last_modified_timestamp: Option<DateTime>

The last time that the cluster was modified. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

§savedown_storage_configuration: Option<KxSavedownStorageConfiguration>

The size and type of the temporary storage that is used to hold data during the savedown process. This parameter is required when you choose clusterType as RDB. All the data written to this storage space is lost when the cluster node is restarted.

§az_mode: Option<KxAzMode>

The number of availability zones you want to assign per cluster. This can be one of the following

  • SINGLE – Assigns one availability zone per cluster.

  • MULTI – Assigns all the availability zones per cluster.

§availability_zone_id: Option<String>

The availability zone identifiers for the requested regions.

§created_timestamp: Option<DateTime>

The timestamp at which the cluster was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

Implementations§

source§

impl GetKxClusterOutput

source

pub fn status(&self) -> Option<&KxClusterStatus>

The status of cluster creation.

  • PENDING – The cluster is pending creation.

  • CREATING – The cluster creation process is in progress.

  • CREATE_FAILED – The cluster creation process has failed.

  • RUNNING – The cluster creation process is running.

  • UPDATING – The cluster is in the process of being updated.

  • DELETING – The cluster is in the process of being deleted.

  • DELETED – The cluster has been deleted.

  • DELETE_FAILED – The cluster failed to delete.

source

pub fn status_reason(&self) -> Option<&str>

The error message when a failed state occurs.

source

pub fn cluster_name(&self) -> Option<&str>

A unique name for the cluster.

source

pub fn cluster_type(&self) -> Option<&KxClusterType>

Specifies the type of KDB database that is being created. The following types are available:

  • HDB – A Historical Database. The data is only accessible with read-only permissions from one of the FinSpace managed kdb databases mounted to the cluster.

  • RDB – A Realtime Database. This type of database captures all the data from a ticker plant and stores it in memory until the end of day, after which it writes all of its data to a disk and reloads the HDB. This cluster type requires local storage for temporary storage of data during the savedown process. If you specify this field in your request, you must provide the savedownStorageConfiguration parameter.

  • GATEWAY – A gateway cluster allows you to access data across processes in kdb systems. It allows you to create your own routing logic using the initialization scripts and custom code. This type of cluster does not require a writable local storage.

source

pub fn databases(&self) -> &[KxDatabaseConfiguration]

A list of databases mounted on the cluster.

If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .databases.is_none().

source

pub fn cache_storage_configurations(&self) -> &[KxCacheStorageConfiguration]

The configurations for a read only cache storage associated with a cluster. This cache will be stored as an FSx Lustre that reads from the S3 store.

If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .cache_storage_configurations.is_none().

source

pub fn auto_scaling_configuration(&self) -> Option<&AutoScalingConfiguration>

The configuration based on which FinSpace will scale in or scale out nodes in your cluster.

source

pub fn cluster_description(&self) -> Option<&str>

A description of the cluster.

source

pub fn capacity_configuration(&self) -> Option<&CapacityConfiguration>

A structure for the metadata of a cluster. It includes information like the CPUs needed, memory of instances, and number of instances.

source

pub fn release_label(&self) -> Option<&str>

The version of FinSpace managed kdb to run.

source

pub fn vpc_configuration(&self) -> Option<&VpcConfiguration>

Configuration details about the network where the Privatelink endpoint of the cluster resides.

source

pub fn initialization_script(&self) -> Option<&str>

Specifies a Q program that will be run at launch of a cluster. It is a relative path within .zip file that contains the custom code, which will be loaded on the cluster. It must include the file name itself. For example, somedir/init.q.

source

pub fn command_line_arguments(&self) -> &[KxCommandLineArgument]

Defines key-value pairs to make them available inside the cluster.

If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .command_line_arguments.is_none().

source

pub fn code(&self) -> Option<&CodeConfiguration>

The details of the custom code that you want to use inside a cluster when analyzing a data. It consists of the S3 source bucket, location, S3 object version, and the relative path from where the custom code is loaded into the cluster.

source

pub fn execution_role(&self) -> Option<&str>

An IAM role that defines a set of permissions associated with a cluster. These permissions are assumed when a cluster attempts to access another cluster.

source

pub fn last_modified_timestamp(&self) -> Option<&DateTime>

The last time that the cluster was modified. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

source

pub fn savedown_storage_configuration( &self ) -> Option<&KxSavedownStorageConfiguration>

The size and type of the temporary storage that is used to hold data during the savedown process. This parameter is required when you choose clusterType as RDB. All the data written to this storage space is lost when the cluster node is restarted.

source

pub fn az_mode(&self) -> Option<&KxAzMode>

The number of availability zones you want to assign per cluster. This can be one of the following

  • SINGLE – Assigns one availability zone per cluster.

  • MULTI – Assigns all the availability zones per cluster.

source

pub fn availability_zone_id(&self) -> Option<&str>

The availability zone identifiers for the requested regions.

source

pub fn created_timestamp(&self) -> Option<&DateTime>

The timestamp at which the cluster was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

source§

impl GetKxClusterOutput

source

pub fn builder() -> GetKxClusterOutputBuilder

Creates a new builder-style object to manufacture GetKxClusterOutput.

Trait Implementations§

source§

impl Clone for GetKxClusterOutput

source§

fn clone(&self) -> GetKxClusterOutput

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for GetKxClusterOutput

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for GetKxClusterOutput

source§

fn eq(&self, other: &GetKxClusterOutput) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl RequestId for GetKxClusterOutput

source§

fn request_id(&self) -> Option<&str>

Returns the request ID, or None if the service could not be reached.
source§

impl StructuralPartialEq for GetKxClusterOutput

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more