import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides a resource to Creates a new Volume Disk. * * ## Example Usage * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * // create new volume group disk and attached it to the previous volume group * const example = new nutanix.VolumeGroupDiskV2("example", { * volumeGroupExtId: "cf7de8b9-88ed-477d-a602-c34ab7174c01", * index: 1, * description: "create volume disk example", * diskSizeBytes: 5368709120, * diskDataSourceReferences: [{ * name: "disk1", * extId: "1d92110d-26b5-46c0-8c93-20b8171373e0", * entityType: "STORAGE_CONTAINER", * uris: [ * "uri1", * "uri2", * ], * }], * diskStorageFeatures: [{ * flashModes: [{ * isEnabled: false, * }], * }], * }); * ``` * */ export declare class VolumeGroupDiskV2 extends pulumi.CustomResource { /** * Get an existing VolumeGroupDiskV2 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?: VolumeGroupDiskV2State, opts?: pulumi.CustomResourceOptions): VolumeGroupDiskV2; /** * Returns true if the given object is an instance of VolumeGroupDiskV2. 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 VolumeGroupDiskV2; /** * - Volume Disk description. */ readonly description: pulumi.Output; /** * -(Required) Disk Data Source Reference. */ readonly diskDataSourceReferences: pulumi.Output; /** * - Size of the disk in bytes. This field is mandatory during Volume Group creation if a new disk is being created on the storage container. */ readonly diskSizeBytes: pulumi.Output; /** * - Storage optimization features which must be enabled on the Volume Disks. This is an optional field. If omitted, the disks will honor the Volume Group specific storage features setting. */ readonly diskStorageFeatures: pulumi.Output; /** * - A globally unique identifier of an instance that is suitable for external consumption. */ readonly extId: pulumi.Output; /** * - Index of the disk in a Volume Group. This field is optional and immutable. */ readonly index: pulumi.Output; /** * The external identifier of the volume group. */ readonly volumeGroupExtId: pulumi.Output; /** * Create a VolumeGroupDiskV2 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: VolumeGroupDiskV2Args, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering VolumeGroupDiskV2 resources. */ export interface VolumeGroupDiskV2State { /** * - Volume Disk description. */ description?: pulumi.Input; /** * -(Required) Disk Data Source Reference. */ diskDataSourceReferences?: pulumi.Input[] | undefined>; /** * - Size of the disk in bytes. This field is mandatory during Volume Group creation if a new disk is being created on the storage container. */ diskSizeBytes?: pulumi.Input; /** * - Storage optimization features which must be enabled on the Volume Disks. This is an optional field. If omitted, the disks will honor the Volume Group specific storage features setting. */ diskStorageFeatures?: pulumi.Input[] | undefined>; /** * - A globally unique identifier of an instance that is suitable for external consumption. */ extId?: pulumi.Input; /** * - Index of the disk in a Volume Group. This field is optional and immutable. */ index?: pulumi.Input; /** * The external identifier of the volume group. */ volumeGroupExtId?: pulumi.Input; } /** * The set of arguments for constructing a VolumeGroupDiskV2 resource. */ export interface VolumeGroupDiskV2Args { /** * - Volume Disk description. */ description?: pulumi.Input; /** * -(Required) Disk Data Source Reference. */ diskDataSourceReferences: pulumi.Input[]>; /** * - Size of the disk in bytes. This field is mandatory during Volume Group creation if a new disk is being created on the storage container. */ diskSizeBytes: pulumi.Input; /** * - Storage optimization features which must be enabled on the Volume Disks. This is an optional field. If omitted, the disks will honor the Volume Group specific storage features setting. */ diskStorageFeatures?: pulumi.Input[] | undefined>; /** * - Index of the disk in a Volume Group. This field is optional and immutable. */ index?: pulumi.Input; /** * The external identifier of the volume group. */ volumeGroupExtId: pulumi.Input; } //# sourceMappingURL=volumeGroupDiskV2.d.ts.map