import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Export Set resource in Oracle Cloud Infrastructure File Storage service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/filestorage/latest/ExportSet * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/ * * The exportSet resource cannot be directly created or destroyed. An export set is created by the service automatically when a mount target is created. * When a mount target is deleted, the export set associated with it is also deleted automatically. * * You can use this resource for managing existing export sets from within Terraform. The resource exposes the following updatable attributes: * * displayName * maxFsStatBytes * maxFsStatFiles * * Any other updates to the behavior of exportSet require updating the parent mount target. If you intend to manage exportSet with Terraform, you should import the mountTarget resource as well. * The mountTarget resource includes the mountTargetId attribute, which is required for updates to export_set. * * Only one export set resource should be created per mount target. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testExportSet = new oci.filestorage.ExportSet("test_export_set", { * mountTargetId: testMountTarget.id, * displayName: exportSetName, * maxFsStatBytes: "23843202333", * maxFsStatFiles: "223442", * }); * ``` * * ## Import * * ExportSets can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:FileStorage/exportSet:ExportSet test_export_set "id" * ``` */ export declare class ExportSet extends pulumi.CustomResource { /** * Get an existing ExportSet 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?: ExportSetState, opts?: pulumi.CustomResourceOptions): ExportSet; /** * Returns true if the given object is an instance of ExportSet. 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 ExportSet; /** * The availability domain the export set is in. May be unset as a blank or NULL value. Example: `Uocm:PHX-AD-1` */ readonly availabilityDomain: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the export set. */ readonly compartmentId: pulumi.Output; /** * (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: `My export set` */ readonly displayName: pulumi.Output; /** * (Updatable) Controls the maximum `tbytes`, `fbytes`, and `abytes`, values reported by `NFS FSSTAT` calls through any associated mount targets. This is an advanced feature. For most applications, use the default value. The `tbytes` value reported by `FSSTAT` will be `maxFsStatBytes`. The value of `fbytes` and `abytes` will be `maxFsStatBytes` minus the metered size of the file system. If the metered size is larger than `maxFsStatBytes`, then `fbytes` and `abytes` will both be '0'. */ readonly maxFsStatBytes: pulumi.Output; /** * (Updatable) Controls the maximum `tfiles`, `ffiles`, and `afiles` values reported by `NFS FSSTAT` calls through any associated mount targets. This is an advanced feature. For most applications, use the default value. The `tfiles` value reported by `FSSTAT` will be `maxFsStatFiles`. The value of `ffiles` and `afiles` will be `maxFsStatFiles` minus the metered size of the file system. If the metered size is larger than `maxFsStatFiles`, then `ffiles` and `afiles` will both be '0'. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly maxFsStatFiles: pulumi.Output; /** * (Updatable) The OCID of the mount target that the export set is associated with */ readonly mountTargetId: pulumi.Output; /** * The current state of the export set. */ readonly state: pulumi.Output; /** * The date and time the export set was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` */ readonly timeCreated: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual cloud network (VCN) the export set is in. */ readonly vcnId: pulumi.Output; /** * Create a ExportSet 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: ExportSetArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ExportSet resources. */ export interface ExportSetState { /** * The availability domain the export set is in. May be unset as a blank or NULL value. Example: `Uocm:PHX-AD-1` */ availabilityDomain?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the export set. */ compartmentId?: pulumi.Input; /** * (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: `My export set` */ displayName?: pulumi.Input; /** * (Updatable) Controls the maximum `tbytes`, `fbytes`, and `abytes`, values reported by `NFS FSSTAT` calls through any associated mount targets. This is an advanced feature. For most applications, use the default value. The `tbytes` value reported by `FSSTAT` will be `maxFsStatBytes`. The value of `fbytes` and `abytes` will be `maxFsStatBytes` minus the metered size of the file system. If the metered size is larger than `maxFsStatBytes`, then `fbytes` and `abytes` will both be '0'. */ maxFsStatBytes?: pulumi.Input; /** * (Updatable) Controls the maximum `tfiles`, `ffiles`, and `afiles` values reported by `NFS FSSTAT` calls through any associated mount targets. This is an advanced feature. For most applications, use the default value. The `tfiles` value reported by `FSSTAT` will be `maxFsStatFiles`. The value of `ffiles` and `afiles` will be `maxFsStatFiles` minus the metered size of the file system. If the metered size is larger than `maxFsStatFiles`, then `ffiles` and `afiles` will both be '0'. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ maxFsStatFiles?: pulumi.Input; /** * (Updatable) The OCID of the mount target that the export set is associated with */ mountTargetId?: pulumi.Input; /** * The current state of the export set. */ state?: pulumi.Input; /** * The date and time the export set was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` */ timeCreated?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual cloud network (VCN) the export set is in. */ vcnId?: pulumi.Input; } /** * The set of arguments for constructing a ExportSet resource. */ export interface ExportSetArgs { /** * (Updatable) A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: `My export set` */ displayName?: pulumi.Input; /** * (Updatable) Controls the maximum `tbytes`, `fbytes`, and `abytes`, values reported by `NFS FSSTAT` calls through any associated mount targets. This is an advanced feature. For most applications, use the default value. The `tbytes` value reported by `FSSTAT` will be `maxFsStatBytes`. The value of `fbytes` and `abytes` will be `maxFsStatBytes` minus the metered size of the file system. If the metered size is larger than `maxFsStatBytes`, then `fbytes` and `abytes` will both be '0'. */ maxFsStatBytes?: pulumi.Input; /** * (Updatable) Controls the maximum `tfiles`, `ffiles`, and `afiles` values reported by `NFS FSSTAT` calls through any associated mount targets. This is an advanced feature. For most applications, use the default value. The `tfiles` value reported by `FSSTAT` will be `maxFsStatFiles`. The value of `ffiles` and `afiles` will be `maxFsStatFiles` minus the metered size of the file system. If the metered size is larger than `maxFsStatFiles`, then `ffiles` and `afiles` will both be '0'. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ maxFsStatFiles?: pulumi.Input; /** * (Updatable) The OCID of the mount target that the export set is associated with */ mountTargetId: pulumi.Input; } //# sourceMappingURL=exportSet.d.ts.map