import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Resource for managing an AWS FinSpace Kx Volume. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.finspace.KxVolume("example", { * nas1Configurations: [{ * size: 1200, * type: "SSD_250", * }], * name: "my-tf-kx-volume", * environmentId: exampleAwsFinspaceKxEnvironment.id, * availabilityZones: ["use1-az2"], * azMode: "SINGLE", * type: "NAS_1", * }); * ``` * * ## Import * * Using `pulumi import`, import an AWS FinSpace Kx Volume using the `id` (environment ID and volume name, comma-delimited). For example: * * ```sh * $ pulumi import aws:finspace/kxVolume:KxVolume example n3ceo7wqxoxcti5tujqwzs,my-tf-kx-volume * ``` */ export declare class KxVolume extends pulumi.CustomResource { /** * Get an existing KxVolume resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: KxVolumeState, opts?: pulumi.CustomResourceOptions): KxVolume; /** * Returns true if the given object is an instance of KxVolume. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is KxVolume; /** * ARN identifier of the KX volume. */ readonly arn: pulumi.Output; /** * Clusters attached to the volume. See `attachedClusters` Block below. */ readonly attachedClusters: pulumi.Output; /** * Identifier of the AWS Availability Zone IDs. */ readonly availabilityZones: pulumi.Output; /** * Number of availability zones you want to assign per volume. Currently, FinSpace only supports `SINGLE` for volumes, which assigns one availability zone per volume. */ readonly azMode: pulumi.Output; /** * Timestamp at which the volume 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. */ readonly createdTimestamp: pulumi.Output; /** * Description of the volume. */ readonly description: pulumi.Output; /** * Unique identifier for the kdb environment, whose clusters can attach to the volume. */ readonly environmentId: pulumi.Output; /** * Last timestamp at which the volume was updated in FinSpace. Value determined as epoch time in seconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000. */ readonly lastModifiedTimestamp: pulumi.Output; /** * Unique name for the volume that you want to create. */ readonly name: pulumi.Output; /** * Configuration for the Network attached storage (`NAS_1`) file system volume. This parameter is required when `volumeType` is `NAS_1`. See `nas1Configuration` Block below. */ readonly nas1Configurations: pulumi.Output; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ readonly region: pulumi.Output; /** * Status of volume creation. Values are `CREATING` (volume creation is in progress), `CREATE_FAILED` (volume creation has failed), `ACTIVE` (volume is active), `UPDATING` (volume is in the process of being updated), `UPDATE_FAILED` (update action failed), `UPDATED` (volume is successfully updated), `DELETING` (volume is in the process of being deleted), `DELETE_FAILED` (system failed to delete the volume), and `DELETED` (volume is successfully deleted). */ readonly status: pulumi.Output; /** * Error message when a failed state occurs. */ readonly statusReason: pulumi.Output; /** * Key-value pairs to label the volume. You can add up to 50 tags to a volume. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; readonly tagsAll: pulumi.Output<{ [key: string]: string; }>; /** * Type of file system volume. Currently, FinSpace only supports the `NAS_1` volume type. When you select the `NAS_1` volume type, you must also provide `nas1Configuration`. * * The following arguments are optional: */ readonly type: pulumi.Output; /** * Create a KxVolume resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: KxVolumeArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering KxVolume resources. */ export interface KxVolumeState { /** * ARN identifier of the KX volume. */ arn?: pulumi.Input; /** * Clusters attached to the volume. See `attachedClusters` Block below. */ attachedClusters?: pulumi.Input[] | undefined>; /** * Identifier of the AWS Availability Zone IDs. */ availabilityZones?: pulumi.Input[] | undefined>; /** * Number of availability zones you want to assign per volume. Currently, FinSpace only supports `SINGLE` for volumes, which assigns one availability zone per volume. */ azMode?: pulumi.Input; /** * Timestamp at which the volume 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. */ createdTimestamp?: pulumi.Input; /** * Description of the volume. */ description?: pulumi.Input; /** * Unique identifier for the kdb environment, whose clusters can attach to the volume. */ environmentId?: pulumi.Input; /** * Last timestamp at which the volume was updated in FinSpace. Value determined as epoch time in seconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000. */ lastModifiedTimestamp?: pulumi.Input; /** * Unique name for the volume that you want to create. */ name?: pulumi.Input; /** * Configuration for the Network attached storage (`NAS_1`) file system volume. This parameter is required when `volumeType` is `NAS_1`. See `nas1Configuration` Block below. */ nas1Configurations?: pulumi.Input[] | undefined>; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * Status of volume creation. Values are `CREATING` (volume creation is in progress), `CREATE_FAILED` (volume creation has failed), `ACTIVE` (volume is active), `UPDATING` (volume is in the process of being updated), `UPDATE_FAILED` (update action failed), `UPDATED` (volume is successfully updated), `DELETING` (volume is in the process of being deleted), `DELETE_FAILED` (system failed to delete the volume), and `DELETED` (volume is successfully deleted). */ status?: pulumi.Input; /** * Error message when a failed state occurs. */ statusReason?: pulumi.Input; /** * Key-value pairs to label the volume. You can add up to 50 tags to a volume. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; tagsAll?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Type of file system volume. Currently, FinSpace only supports the `NAS_1` volume type. When you select the `NAS_1` volume type, you must also provide `nas1Configuration`. * * The following arguments are optional: */ type?: pulumi.Input; } /** * The set of arguments for constructing a KxVolume resource. */ export interface KxVolumeArgs { /** * Identifier of the AWS Availability Zone IDs. */ availabilityZones: pulumi.Input[]>; /** * Number of availability zones you want to assign per volume. Currently, FinSpace only supports `SINGLE` for volumes, which assigns one availability zone per volume. */ azMode: pulumi.Input; /** * Description of the volume. */ description?: pulumi.Input; /** * Unique identifier for the kdb environment, whose clusters can attach to the volume. */ environmentId: pulumi.Input; /** * Unique name for the volume that you want to create. */ name?: pulumi.Input; /** * Configuration for the Network attached storage (`NAS_1`) file system volume. This parameter is required when `volumeType` is `NAS_1`. See `nas1Configuration` Block below. */ nas1Configurations?: pulumi.Input[] | undefined>; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * Key-value pairs to label the volume. You can add up to 50 tags to a volume. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Type of file system volume. Currently, FinSpace only supports the `NAS_1` volume type. When you select the `NAS_1` volume type, you must also provide `nas1Configuration`. * * The following arguments are optional: */ type: pulumi.Input; } //# sourceMappingURL=kxVolume.d.ts.map