import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * Persistent disks are durable storage devices that function similarly to
 * the physical disks in a desktop or a server. Compute Engine manages the
 * hardware behind these devices to ensure data redundancy and optimize
 * performance for you. Persistent disks are available as either standard
 * hard disk drives (HDD) or solid-state drives (SSD).
 *
 * Persistent disks are located independently from your virtual machine
 * instances, so you can detach or move persistent disks to keep your data
 * even after you delete your instances. Persistent disk performance scales
 * automatically with size, so you can resize your existing persistent disks
 * or add more persistent disks to an instance to meet your performance and
 * storage space requirements.
 *
 * Add a persistent disk to your instance when you need reliable and
 * affordable storage with consistent performance characteristics.
 *
 * To get more information about RegionDisk, see:
 *
 * * [API documentation](https://cloud.google.com/compute/docs/reference/rest/v1/regionDisks)
 * * How-to Guides
 *     * [Adding or Resizing Regional Persistent Disks](https://cloud.google.com/compute/docs/disks/regional-persistent-disk)
 *
 * ## Example Usage
 *
 * ### Region Disk Basic
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as gcp from "@pulumi/gcp";
 *
 * const disk = new gcp.compute.Disk("disk", {
 *     name: "my-disk",
 *     image: "debian-cloud/debian-11",
 *     size: 50,
 *     type: "pd-ssd",
 *     zone: "us-central1-a",
 * });
 * const snapdisk = new gcp.compute.Snapshot("snapdisk", {
 *     name: "my-snapshot",
 *     sourceDisk: disk.name,
 *     zone: "us-central1-a",
 * });
 * const regiondisk = new gcp.compute.RegionDisk("regiondisk", {
 *     name: "my-region-disk",
 *     snapshot: snapdisk.id,
 *     type: "pd-ssd",
 *     region: "us-central1",
 *     physicalBlockSizeBytes: 4096,
 *     replicaZones: [
 *         "us-central1-a",
 *         "us-central1-f",
 *     ],
 * });
 * ```
 * ### Region Disk Async
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as gcp from "@pulumi/gcp";
 *
 * const primary = new gcp.compute.RegionDisk("primary", {
 *     name: "primary-region-disk",
 *     type: "pd-ssd",
 *     region: "us-central1",
 *     physicalBlockSizeBytes: 4096,
 *     replicaZones: [
 *         "us-central1-a",
 *         "us-central1-f",
 *     ],
 * });
 * const secondary = new gcp.compute.RegionDisk("secondary", {
 *     name: "secondary-region-disk",
 *     type: "pd-ssd",
 *     region: "us-east1",
 *     physicalBlockSizeBytes: 4096,
 *     asyncPrimaryDisk: {
 *         disk: primary.id,
 *     },
 *     replicaZones: [
 *         "us-east1-b",
 *         "us-east1-c",
 *     ],
 * });
 * ```
 * ### Region Disk Features
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as gcp from "@pulumi/gcp";
 *
 * const regiondisk = new gcp.compute.RegionDisk("regiondisk", {
 *     name: "my-region-features-disk",
 *     type: "pd-ssd",
 *     region: "us-central1",
 *     physicalBlockSizeBytes: 4096,
 *     guestOsFeatures: [
 *         {
 *             type: "SECURE_BOOT",
 *         },
 *         {
 *             type: "MULTI_IP_SUBNET",
 *         },
 *         {
 *             type: "WINDOWS",
 *         },
 *     ],
 *     licenses: ["https://www.googleapis.com/compute/v1/projects/windows-cloud/global/licenses/windows-server-core"],
 *     replicaZones: [
 *         "us-central1-a",
 *         "us-central1-f",
 *     ],
 * });
 * ```
 * ### Region Disk Hyperdisk Balanced Ha Write Many
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as gcp from "@pulumi/gcp";
 *
 * const primary = new gcp.compute.RegionDisk("primary", {
 *     name: "my-region-hyperdisk",
 *     type: "hyperdisk-balanced-high-availability",
 *     region: "us-central1",
 *     replicaZones: [
 *         "us-central1-a",
 *         "us-central1-f",
 *     ],
 *     accessMode: "READ_WRITE_MANY",
 * });
 * ```
 *
 * ## Import
 *
 * RegionDisk can be imported using any of these accepted formats:
 *
 * * `projects/{{project}}/regions/{{region}}/disks/{{name}}`
 * * `{{project}}/{{region}}/{{name}}`
 * * `{{region}}/{{name}}`
 * * `{{name}}`
 *
 * When using the `pulumi import` command, RegionDisk can be imported using one of the formats above. For example:
 *
 * ```sh
 * $ pulumi import gcp:compute/regionDisk:RegionDisk default projects/{{project}}/regions/{{region}}/disks/{{name}}
 * $ pulumi import gcp:compute/regionDisk:RegionDisk default {{project}}/{{region}}/{{name}}
 * $ pulumi import gcp:compute/regionDisk:RegionDisk default {{region}}/{{name}}
 * $ pulumi import gcp:compute/regionDisk:RegionDisk default {{name}}
 * ```
 */
export declare class RegionDisk extends pulumi.CustomResource {
    /**
     * Get an existing RegionDisk 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<pulumi.ID>, state?: RegionDiskState, opts?: pulumi.CustomResourceOptions): RegionDisk;
    /**
     * Returns true if the given object is an instance of RegionDisk.  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 RegionDisk;
    /**
     * The access mode of the disk.
     * For example:
     * * READ_WRITE_SINGLE: The default AccessMode, means the disk can be attached to single instance in RW mode.
     * * READ_WRITE_MANY: The AccessMode means the disk can be attached to multiple instances in RW mode.
     * * READ_ONLY_SINGLE: The AccessMode means the disk can be attached to multiple instances in RO mode.
     * The AccessMode is only valid for Hyperdisk disk types.
     */
    readonly accessMode: pulumi.Output<string>;
    /**
     * A nested object resource.
     * Structure is documented below.
     */
    readonly asyncPrimaryDisk: pulumi.Output<outputs.compute.RegionDiskAsyncPrimaryDisk | undefined>;
    /**
     * If set to true, a snapshot of the disk will be created before it is destroyed.
     * If your disk is encrypted with customer managed encryption keys these will be reused for the snapshot creation.
     * The name of the snapshot by default will be `{{disk-name}}-YYYYMMDD-HHmm`
     */
    readonly createSnapshotBeforeDestroy: pulumi.Output<boolean | undefined>;
    /**
     * This will set a custom name prefix for the snapshot that's created when the disk is deleted.
     */
    readonly createSnapshotBeforeDestroyPrefix: pulumi.Output<string | undefined>;
    /**
     * Creation timestamp in RFC3339 text format.
     */
    readonly creationTimestamp: pulumi.Output<string>;
    /**
     * Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
     * When a 'terraform destroy' or 'pulumi up' would delete the resource,
     * the command will fail if this field is set to "PREVENT" in Terraform state.
     * When set to "ABANDON", the command will remove the resource from Terraform
     * management without updating or deleting the resource in the API.
     * When set to "DELETE", deleting the resource is allowed.
     */
    readonly deletionPolicy: pulumi.Output<string>;
    /**
     * An optional description of this resource. Provide this property when
     * you create the resource.
     */
    readonly description: pulumi.Output<string | undefined>;
    /**
     * Encrypts the disk using a customer-supplied encryption key.
     * After you encrypt a disk with a customer-supplied key, you must
     * provide the same key if you use the disk later (e.g. to create a disk
     * snapshot or an image, or to attach the disk to a virtual machine).
     * Customer-supplied encryption keys do not protect access to metadata of
     * the disk.
     * If you do not provide an encryption key when creating the disk, then
     * the disk will be encrypted using an automatically generated key and
     * you do not need to provide a key to use the disk later.
     * Structure is documented below.
     */
    readonly diskEncryptionKey: pulumi.Output<outputs.compute.RegionDiskDiskEncryptionKey | undefined>;
    /**
     * The unique identifier for the resource. This identifier is defined by the server.
     */
    readonly diskId: pulumi.Output<string>;
    /**
     * All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
     */
    readonly effectiveLabels: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * (Optional, Beta)
     * Specifies whether the disk restored from a source snapshot should erase Windows specific VSS signature.
     */
    readonly eraseWindowsVssSignature: pulumi.Output<boolean | undefined>;
    /**
     * A list of features to enable on the guest operating system.
     * Applicable only for bootable disks.
     * Structure is documented below.
     */
    readonly guestOsFeatures: pulumi.Output<outputs.compute.RegionDiskGuestOsFeature[]>;
    /**
     * The image from which to initialize this disk. This can be
     * one of: the image's `selfLink`, `projects/{project}/global/images/{image}`,
     * `projects/{project}/global/images/family/{family}`, `global/images/{image}`,
     * `global/images/family/{family}`, `family/{family}`, `{project}/{family}`,
     * `{project}/{image}`, `{family}`, or `{image}`. If referred by family, the
     * images names must include the family name. If they don't, use the
     * [gcp.compute.Image data source](https://www.terraform.io/docs/providers/google/d/compute_image.html).
     * For instance, the image `centos-6-v20180104` includes its family name `centos-6`.
     * These images can be referred by family name here.
     */
    readonly image: pulumi.Output<string | undefined>;
    /**
     * (Optional, Beta, Deprecated)
     * Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI.
     *
     * > **Warning:** `interface` is deprecated and will be removed in a future major release. This field is no longer used and can be safely removed from your configurations; disk interfaces are automatically determined on attachment.
     *
     * @deprecated `interface` is deprecated and will be removed in a future major release. This field is no longer used and can be safely removed from your configurations; disk interfaces are automatically determined on attachment.
     */
    readonly interface: pulumi.Output<string | undefined>;
    /**
     * The fingerprint used for optimistic locking of this resource.  Used
     * internally during updates.
     */
    readonly labelFingerprint: pulumi.Output<string>;
    /**
     * Labels to apply to this disk.  A list of key->value pairs.
     *
     * **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
     * Please refer to the field `effectiveLabels` for all of the labels present on the resource.
     */
    readonly labels: pulumi.Output<{
        [key: string]: string;
    } | undefined>;
    /**
     * Last attach timestamp in RFC3339 text format.
     */
    readonly lastAttachTimestamp: pulumi.Output<string>;
    /**
     * Last detach timestamp in RFC3339 text format.
     */
    readonly lastDetachTimestamp: pulumi.Output<string>;
    /**
     * Any applicable license URI.
     */
    readonly licenses: pulumi.Output<string[]>;
    /**
     * Name of the resource. Provided by the client when the resource is
     * created. The name must be 1-63 characters long, and comply with
     * RFC1035. Specifically, the name must be 1-63 characters long and match
     * the regular expression `a-z?` which means the
     * first character must be a lowercase letter, and all following
     * characters must be a dash, lowercase letter, or digit, except the last
     * character, which cannot be a dash.
     */
    readonly name: pulumi.Output<string>;
    /**
     * Physical block size of the persistent disk, in bytes. If not present
     * in a request, a default value is used. Currently supported sizes
     * are 4096 and 16384, other sizes may be added in the future.
     * If an unsupported value is requested, the error message will list
     * the supported values for the caller's project.
     */
    readonly physicalBlockSizeBytes: pulumi.Output<number>;
    /**
     * The ID of the project in which the resource belongs.
     * If it is not provided, the provider project is used.
     */
    readonly project: pulumi.Output<string>;
    /**
     * Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second
     * that the disk can handle. Values must be between 10,000 and 120,000.
     * For more details, see the Extreme persistent disk [documentation](https://cloud.google.com/compute/docs/disks/extreme-persistent-disk).
     */
    readonly provisionedIops: pulumi.Output<number>;
    /**
     * Indicates how much throughput to provision for the disk. This sets the number of throughput
     * mb per second that the disk can handle. Values must be greater than or equal to 1.
     */
    readonly provisionedThroughput: pulumi.Output<number>;
    /**
     * The combination of labels configured directly on the resource
     *  and default labels configured on the provider.
     */
    readonly pulumiLabels: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * A reference to the region where the disk resides.
     */
    readonly region: pulumi.Output<string>;
    /**
     * URLs of the zones where the disk should be replicated to.
     */
    readonly replicaZones: pulumi.Output<string[]>;
    /**
     * The URI of the created resource.
     */
    readonly selfLink: pulumi.Output<string>;
    /**
     * Size of the persistent disk, specified in GB. You can specify this
     * field when creating a persistent disk using the sourceImage or
     * sourceSnapshot parameter, or specify it alone to create an empty
     * persistent disk.
     * If you specify this field along with sourceImage or sourceSnapshot,
     * the value of sizeGb must not be less than the size of the sourceImage
     * or the size of the snapshot.
     */
    readonly size: pulumi.Output<number>;
    /**
     * The source snapshot used to create this disk. You can provide this as
     * a partial or full URL to the resource. For example, the following are
     * valid values:
     * * `https://www.googleapis.com/compute/v1/projects/project/global/snapshots/snapshot`
     * * `projects/project/global/snapshots/snapshot`
     * * `global/snapshots/snapshot`
     */
    readonly snapshot: pulumi.Output<string | undefined>;
    /**
     * The source disk used to create this disk. You can provide this as a partial or full URL to the resource.
     * For example, the following are valid values:
     * * https://www.googleapis.com/compute/v1/projects/{project}/zones/{zone}/disks/{disk}
     * * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/disks/{disk}
     * * projects/{project}/zones/{zone}/disks/{disk}
     * * projects/{project}/regions/{region}/disks/{disk}
     * * zones/{zone}/disks/{disk}
     * * regions/{region}/disks/{disk}
     */
    readonly sourceDisk: pulumi.Output<string | undefined>;
    /**
     * The ID value of the disk used to create this image. This value may
     * be used to determine whether the image was taken from the current
     * or a previous instance of a given disk name.
     */
    readonly sourceDiskId: pulumi.Output<string>;
    /**
     * The customer-supplied encryption key of the source image. Required if
     * the source image is protected by a customer-supplied encryption key.
     * Structure is documented below.
     */
    readonly sourceImageEncryptionKey: pulumi.Output<outputs.compute.RegionDiskSourceImageEncryptionKey | undefined>;
    /**
     * The ID value of the image used to create this disk. This value
     * identifies the exact image that was used to create this persistent
     * disk. For example, if you created the persistent disk from an image
     * that was later deleted and recreated under the same name, the source
     * image ID would identify the exact version of the image that was used.
     */
    readonly sourceImageId: pulumi.Output<string>;
    /**
     * The customer-supplied encryption key of the source snapshot. Required
     * if the source snapshot is protected by a customer-supplied encryption
     * key.
     * Structure is documented below.
     */
    readonly sourceSnapshotEncryptionKey: pulumi.Output<outputs.compute.RegionDiskSourceSnapshotEncryptionKey | undefined>;
    /**
     * The unique ID of the snapshot used to create this disk. This value
     * identifies the exact snapshot that was used to create this persistent
     * disk. For example, if you created the persistent disk from a snapshot
     * that was later deleted and recreated under the same name, the source
     * snapshot ID would identify the exact version of the snapshot that was
     * used.
     */
    readonly sourceSnapshotId: pulumi.Output<string>;
    /**
     * URL of the disk type resource describing which disk type to use to
     * create the disk. Provide this when creating the disk.
     */
    readonly type: pulumi.Output<string | undefined>;
    /**
     * Links to the users of the disk (attached instances) in form:
     * project/zones/zone/instances/instance
     */
    readonly users: pulumi.Output<string[]>;
    /**
     * Create a RegionDisk 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: RegionDiskArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering RegionDisk resources.
 */
export interface RegionDiskState {
    /**
     * The access mode of the disk.
     * For example:
     * * READ_WRITE_SINGLE: The default AccessMode, means the disk can be attached to single instance in RW mode.
     * * READ_WRITE_MANY: The AccessMode means the disk can be attached to multiple instances in RW mode.
     * * READ_ONLY_SINGLE: The AccessMode means the disk can be attached to multiple instances in RO mode.
     * The AccessMode is only valid for Hyperdisk disk types.
     */
    accessMode?: pulumi.Input<string | undefined>;
    /**
     * A nested object resource.
     * Structure is documented below.
     */
    asyncPrimaryDisk?: pulumi.Input<inputs.compute.RegionDiskAsyncPrimaryDisk | undefined>;
    /**
     * If set to true, a snapshot of the disk will be created before it is destroyed.
     * If your disk is encrypted with customer managed encryption keys these will be reused for the snapshot creation.
     * The name of the snapshot by default will be `{{disk-name}}-YYYYMMDD-HHmm`
     */
    createSnapshotBeforeDestroy?: pulumi.Input<boolean | undefined>;
    /**
     * This will set a custom name prefix for the snapshot that's created when the disk is deleted.
     */
    createSnapshotBeforeDestroyPrefix?: pulumi.Input<string | undefined>;
    /**
     * Creation timestamp in RFC3339 text format.
     */
    creationTimestamp?: pulumi.Input<string | undefined>;
    /**
     * Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
     * When a 'terraform destroy' or 'pulumi up' would delete the resource,
     * the command will fail if this field is set to "PREVENT" in Terraform state.
     * When set to "ABANDON", the command will remove the resource from Terraform
     * management without updating or deleting the resource in the API.
     * When set to "DELETE", deleting the resource is allowed.
     */
    deletionPolicy?: pulumi.Input<string | undefined>;
    /**
     * An optional description of this resource. Provide this property when
     * you create the resource.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * Encrypts the disk using a customer-supplied encryption key.
     * After you encrypt a disk with a customer-supplied key, you must
     * provide the same key if you use the disk later (e.g. to create a disk
     * snapshot or an image, or to attach the disk to a virtual machine).
     * Customer-supplied encryption keys do not protect access to metadata of
     * the disk.
     * If you do not provide an encryption key when creating the disk, then
     * the disk will be encrypted using an automatically generated key and
     * you do not need to provide a key to use the disk later.
     * Structure is documented below.
     */
    diskEncryptionKey?: pulumi.Input<inputs.compute.RegionDiskDiskEncryptionKey | undefined>;
    /**
     * The unique identifier for the resource. This identifier is defined by the server.
     */
    diskId?: pulumi.Input<string | undefined>;
    /**
     * All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
     */
    effectiveLabels?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Optional, Beta)
     * Specifies whether the disk restored from a source snapshot should erase Windows specific VSS signature.
     */
    eraseWindowsVssSignature?: pulumi.Input<boolean | undefined>;
    /**
     * A list of features to enable on the guest operating system.
     * Applicable only for bootable disks.
     * Structure is documented below.
     */
    guestOsFeatures?: pulumi.Input<pulumi.Input<inputs.compute.RegionDiskGuestOsFeature>[] | undefined>;
    /**
     * The image from which to initialize this disk. This can be
     * one of: the image's `selfLink`, `projects/{project}/global/images/{image}`,
     * `projects/{project}/global/images/family/{family}`, `global/images/{image}`,
     * `global/images/family/{family}`, `family/{family}`, `{project}/{family}`,
     * `{project}/{image}`, `{family}`, or `{image}`. If referred by family, the
     * images names must include the family name. If they don't, use the
     * [gcp.compute.Image data source](https://www.terraform.io/docs/providers/google/d/compute_image.html).
     * For instance, the image `centos-6-v20180104` includes its family name `centos-6`.
     * These images can be referred by family name here.
     */
    image?: pulumi.Input<string | undefined>;
    /**
     * (Optional, Beta, Deprecated)
     * Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI.
     *
     * > **Warning:** `interface` is deprecated and will be removed in a future major release. This field is no longer used and can be safely removed from your configurations; disk interfaces are automatically determined on attachment.
     *
     * @deprecated `interface` is deprecated and will be removed in a future major release. This field is no longer used and can be safely removed from your configurations; disk interfaces are automatically determined on attachment.
     */
    interface?: pulumi.Input<string | undefined>;
    /**
     * The fingerprint used for optimistic locking of this resource.  Used
     * internally during updates.
     */
    labelFingerprint?: pulumi.Input<string | undefined>;
    /**
     * Labels to apply to this disk.  A list of key->value pairs.
     *
     * **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
     * Please refer to the field `effectiveLabels` for all of the labels present on the resource.
     */
    labels?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * Last attach timestamp in RFC3339 text format.
     */
    lastAttachTimestamp?: pulumi.Input<string | undefined>;
    /**
     * Last detach timestamp in RFC3339 text format.
     */
    lastDetachTimestamp?: pulumi.Input<string | undefined>;
    /**
     * Any applicable license URI.
     */
    licenses?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * Name of the resource. Provided by the client when the resource is
     * created. The name must be 1-63 characters long, and comply with
     * RFC1035. Specifically, the name must be 1-63 characters long and match
     * the regular expression `a-z?` which means the
     * first character must be a lowercase letter, and all following
     * characters must be a dash, lowercase letter, or digit, except the last
     * character, which cannot be a dash.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * Physical block size of the persistent disk, in bytes. If not present
     * in a request, a default value is used. Currently supported sizes
     * are 4096 and 16384, other sizes may be added in the future.
     * If an unsupported value is requested, the error message will list
     * the supported values for the caller's project.
     */
    physicalBlockSizeBytes?: pulumi.Input<number | undefined>;
    /**
     * The ID of the project in which the resource belongs.
     * If it is not provided, the provider project is used.
     */
    project?: pulumi.Input<string | undefined>;
    /**
     * Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second
     * that the disk can handle. Values must be between 10,000 and 120,000.
     * For more details, see the Extreme persistent disk [documentation](https://cloud.google.com/compute/docs/disks/extreme-persistent-disk).
     */
    provisionedIops?: pulumi.Input<number | undefined>;
    /**
     * Indicates how much throughput to provision for the disk. This sets the number of throughput
     * mb per second that the disk can handle. Values must be greater than or equal to 1.
     */
    provisionedThroughput?: pulumi.Input<number | undefined>;
    /**
     * The combination of labels configured directly on the resource
     *  and default labels configured on the provider.
     */
    pulumiLabels?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * A reference to the region where the disk resides.
     */
    region?: pulumi.Input<string | undefined>;
    /**
     * URLs of the zones where the disk should be replicated to.
     */
    replicaZones?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * The URI of the created resource.
     */
    selfLink?: pulumi.Input<string | undefined>;
    /**
     * Size of the persistent disk, specified in GB. You can specify this
     * field when creating a persistent disk using the sourceImage or
     * sourceSnapshot parameter, or specify it alone to create an empty
     * persistent disk.
     * If you specify this field along with sourceImage or sourceSnapshot,
     * the value of sizeGb must not be less than the size of the sourceImage
     * or the size of the snapshot.
     */
    size?: pulumi.Input<number | undefined>;
    /**
     * The source snapshot used to create this disk. You can provide this as
     * a partial or full URL to the resource. For example, the following are
     * valid values:
     * * `https://www.googleapis.com/compute/v1/projects/project/global/snapshots/snapshot`
     * * `projects/project/global/snapshots/snapshot`
     * * `global/snapshots/snapshot`
     */
    snapshot?: pulumi.Input<string | undefined>;
    /**
     * The source disk used to create this disk. You can provide this as a partial or full URL to the resource.
     * For example, the following are valid values:
     * * https://www.googleapis.com/compute/v1/projects/{project}/zones/{zone}/disks/{disk}
     * * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/disks/{disk}
     * * projects/{project}/zones/{zone}/disks/{disk}
     * * projects/{project}/regions/{region}/disks/{disk}
     * * zones/{zone}/disks/{disk}
     * * regions/{region}/disks/{disk}
     */
    sourceDisk?: pulumi.Input<string | undefined>;
    /**
     * The ID value of the disk used to create this image. This value may
     * be used to determine whether the image was taken from the current
     * or a previous instance of a given disk name.
     */
    sourceDiskId?: pulumi.Input<string | undefined>;
    /**
     * The customer-supplied encryption key of the source image. Required if
     * the source image is protected by a customer-supplied encryption key.
     * Structure is documented below.
     */
    sourceImageEncryptionKey?: pulumi.Input<inputs.compute.RegionDiskSourceImageEncryptionKey | undefined>;
    /**
     * The ID value of the image used to create this disk. This value
     * identifies the exact image that was used to create this persistent
     * disk. For example, if you created the persistent disk from an image
     * that was later deleted and recreated under the same name, the source
     * image ID would identify the exact version of the image that was used.
     */
    sourceImageId?: pulumi.Input<string | undefined>;
    /**
     * The customer-supplied encryption key of the source snapshot. Required
     * if the source snapshot is protected by a customer-supplied encryption
     * key.
     * Structure is documented below.
     */
    sourceSnapshotEncryptionKey?: pulumi.Input<inputs.compute.RegionDiskSourceSnapshotEncryptionKey | undefined>;
    /**
     * The unique ID of the snapshot used to create this disk. This value
     * identifies the exact snapshot that was used to create this persistent
     * disk. For example, if you created the persistent disk from a snapshot
     * that was later deleted and recreated under the same name, the source
     * snapshot ID would identify the exact version of the snapshot that was
     * used.
     */
    sourceSnapshotId?: pulumi.Input<string | undefined>;
    /**
     * URL of the disk type resource describing which disk type to use to
     * create the disk. Provide this when creating the disk.
     */
    type?: pulumi.Input<string | undefined>;
    /**
     * Links to the users of the disk (attached instances) in form:
     * project/zones/zone/instances/instance
     */
    users?: pulumi.Input<pulumi.Input<string>[] | undefined>;
}
/**
 * The set of arguments for constructing a RegionDisk resource.
 */
export interface RegionDiskArgs {
    /**
     * The access mode of the disk.
     * For example:
     * * READ_WRITE_SINGLE: The default AccessMode, means the disk can be attached to single instance in RW mode.
     * * READ_WRITE_MANY: The AccessMode means the disk can be attached to multiple instances in RW mode.
     * * READ_ONLY_SINGLE: The AccessMode means the disk can be attached to multiple instances in RO mode.
     * The AccessMode is only valid for Hyperdisk disk types.
     */
    accessMode?: pulumi.Input<string | undefined>;
    /**
     * A nested object resource.
     * Structure is documented below.
     */
    asyncPrimaryDisk?: pulumi.Input<inputs.compute.RegionDiskAsyncPrimaryDisk | undefined>;
    /**
     * If set to true, a snapshot of the disk will be created before it is destroyed.
     * If your disk is encrypted with customer managed encryption keys these will be reused for the snapshot creation.
     * The name of the snapshot by default will be `{{disk-name}}-YYYYMMDD-HHmm`
     */
    createSnapshotBeforeDestroy?: pulumi.Input<boolean | undefined>;
    /**
     * This will set a custom name prefix for the snapshot that's created when the disk is deleted.
     */
    createSnapshotBeforeDestroyPrefix?: pulumi.Input<string | undefined>;
    /**
     * Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
     * When a 'terraform destroy' or 'pulumi up' would delete the resource,
     * the command will fail if this field is set to "PREVENT" in Terraform state.
     * When set to "ABANDON", the command will remove the resource from Terraform
     * management without updating or deleting the resource in the API.
     * When set to "DELETE", deleting the resource is allowed.
     */
    deletionPolicy?: pulumi.Input<string | undefined>;
    /**
     * An optional description of this resource. Provide this property when
     * you create the resource.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * Encrypts the disk using a customer-supplied encryption key.
     * After you encrypt a disk with a customer-supplied key, you must
     * provide the same key if you use the disk later (e.g. to create a disk
     * snapshot or an image, or to attach the disk to a virtual machine).
     * Customer-supplied encryption keys do not protect access to metadata of
     * the disk.
     * If you do not provide an encryption key when creating the disk, then
     * the disk will be encrypted using an automatically generated key and
     * you do not need to provide a key to use the disk later.
     * Structure is documented below.
     */
    diskEncryptionKey?: pulumi.Input<inputs.compute.RegionDiskDiskEncryptionKey | undefined>;
    /**
     * (Optional, Beta)
     * Specifies whether the disk restored from a source snapshot should erase Windows specific VSS signature.
     */
    eraseWindowsVssSignature?: pulumi.Input<boolean | undefined>;
    /**
     * A list of features to enable on the guest operating system.
     * Applicable only for bootable disks.
     * Structure is documented below.
     */
    guestOsFeatures?: pulumi.Input<pulumi.Input<inputs.compute.RegionDiskGuestOsFeature>[] | undefined>;
    /**
     * The image from which to initialize this disk. This can be
     * one of: the image's `selfLink`, `projects/{project}/global/images/{image}`,
     * `projects/{project}/global/images/family/{family}`, `global/images/{image}`,
     * `global/images/family/{family}`, `family/{family}`, `{project}/{family}`,
     * `{project}/{image}`, `{family}`, or `{image}`. If referred by family, the
     * images names must include the family name. If they don't, use the
     * [gcp.compute.Image data source](https://www.terraform.io/docs/providers/google/d/compute_image.html).
     * For instance, the image `centos-6-v20180104` includes its family name `centos-6`.
     * These images can be referred by family name here.
     */
    image?: pulumi.Input<string | undefined>;
    /**
     * (Optional, Beta, Deprecated)
     * Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI.
     *
     * > **Warning:** `interface` is deprecated and will be removed in a future major release. This field is no longer used and can be safely removed from your configurations; disk interfaces are automatically determined on attachment.
     *
     * @deprecated `interface` is deprecated and will be removed in a future major release. This field is no longer used and can be safely removed from your configurations; disk interfaces are automatically determined on attachment.
     */
    interface?: pulumi.Input<string | undefined>;
    /**
     * Labels to apply to this disk.  A list of key->value pairs.
     *
     * **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
     * Please refer to the field `effectiveLabels` for all of the labels present on the resource.
     */
    labels?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * Any applicable license URI.
     */
    licenses?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * Name of the resource. Provided by the client when the resource is
     * created. The name must be 1-63 characters long, and comply with
     * RFC1035. Specifically, the name must be 1-63 characters long and match
     * the regular expression `a-z?` which means the
     * first character must be a lowercase letter, and all following
     * characters must be a dash, lowercase letter, or digit, except the last
     * character, which cannot be a dash.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * Physical block size of the persistent disk, in bytes. If not present
     * in a request, a default value is used. Currently supported sizes
     * are 4096 and 16384, other sizes may be added in the future.
     * If an unsupported value is requested, the error message will list
     * the supported values for the caller's project.
     */
    physicalBlockSizeBytes?: pulumi.Input<number | undefined>;
    /**
     * The ID of the project in which the resource belongs.
     * If it is not provided, the provider project is used.
     */
    project?: pulumi.Input<string | undefined>;
    /**
     * Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second
     * that the disk can handle. Values must be between 10,000 and 120,000.
     * For more details, see the Extreme persistent disk [documentation](https://cloud.google.com/compute/docs/disks/extreme-persistent-disk).
     */
    provisionedIops?: pulumi.Input<number | undefined>;
    /**
     * Indicates how much throughput to provision for the disk. This sets the number of throughput
     * mb per second that the disk can handle. Values must be greater than or equal to 1.
     */
    provisionedThroughput?: pulumi.Input<number | undefined>;
    /**
     * A reference to the region where the disk resides.
     */
    region?: pulumi.Input<string | undefined>;
    /**
     * URLs of the zones where the disk should be replicated to.
     */
    replicaZones: pulumi.Input<pulumi.Input<string>[]>;
    /**
     * Size of the persistent disk, specified in GB. You can specify this
     * field when creating a persistent disk using the sourceImage or
     * sourceSnapshot parameter, or specify it alone to create an empty
     * persistent disk.
     * If you specify this field along with sourceImage or sourceSnapshot,
     * the value of sizeGb must not be less than the size of the sourceImage
     * or the size of the snapshot.
     */
    size?: pulumi.Input<number | undefined>;
    /**
     * The source snapshot used to create this disk. You can provide this as
     * a partial or full URL to the resource. For example, the following are
     * valid values:
     * * `https://www.googleapis.com/compute/v1/projects/project/global/snapshots/snapshot`
     * * `projects/project/global/snapshots/snapshot`
     * * `global/snapshots/snapshot`
     */
    snapshot?: pulumi.Input<string | undefined>;
    /**
     * The source disk used to create this disk. You can provide this as a partial or full URL to the resource.
     * For example, the following are valid values:
     * * https://www.googleapis.com/compute/v1/projects/{project}/zones/{zone}/disks/{disk}
     * * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/disks/{disk}
     * * projects/{project}/zones/{zone}/disks/{disk}
     * * projects/{project}/regions/{region}/disks/{disk}
     * * zones/{zone}/disks/{disk}
     * * regions/{region}/disks/{disk}
     */
    sourceDisk?: pulumi.Input<string | undefined>;
    /**
     * The customer-supplied encryption key of the source image. Required if
     * the source image is protected by a customer-supplied encryption key.
     * Structure is documented below.
     */
    sourceImageEncryptionKey?: pulumi.Input<inputs.compute.RegionDiskSourceImageEncryptionKey | undefined>;
    /**
     * The customer-supplied encryption key of the source snapshot. Required
     * if the source snapshot is protected by a customer-supplied encryption
     * key.
     * Structure is documented below.
     */
    sourceSnapshotEncryptionKey?: pulumi.Input<inputs.compute.RegionDiskSourceSnapshotEncryptionKey | undefined>;
    /**
     * URL of the disk type resource describing which disk type to use to
     * create the disk. Provide this when creating the disk.
     */
    type?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=regionDisk.d.ts.map