import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Export resource in Oracle Cloud Infrastructure File Storage service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/filestorage/latest/Export * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/ * * Creates a new export in the specified export set, path, and * file system. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testExport = new oci.filestorage.Export("test_export", { * exportSetId: testExportSet.id, * fileSystemId: testFileSystem.id, * path: exportPath, * exportOptions: [{ * source: exportExportOptionsSource, * access: exportExportOptionsAccess, * allowedAuths: exportExportOptionsAllowedAuth, * anonymousGid: exportExportOptionsAnonymousGid, * anonymousUid: exportExportOptionsAnonymousUid, * identitySquash: exportExportOptionsIdentitySquash, * isAnonymousAccessAllowed: exportExportOptionsIsAnonymousAccessAllowed === "true", * requirePrivilegedSourcePort: exportExportOptionsRequirePrivilegedSourcePort === "true", * }], * isIdmapGroupsForSysAuth: exportIsIdmapGroupsForSysAuth === "true", * locks: [{ * type: exportLocksType, * message: exportLocksMessage, * relatedResourceId: testResource.id, * timeCreated: exportLocksTimeCreated, * }], * }); * ``` * * ## Import * * Exports can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:FileStorage/export:Export test_export "id" * ``` */ export declare class Export extends pulumi.CustomResource { /** * Get an existing Export 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?: ExportState, opts?: pulumi.CustomResourceOptions): Export; /** * Returns true if the given object is an instance of Export. 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 Export; /** * (Updatable) Export options for the new export. For exports of mount targets with IPv4 address, if client options are left unspecified, client options would default to: * * [ { "source" : "0.0.0.0/0", "requirePrivilegedSourcePort" : false, "access": "READ_WRITE", "identitySquash": "NONE", "anonymousUid": 65534, "anonymousGid": 65534, "isAnonymousAccessAllowed": false, "allowedAuth": ["SYS"] } ] * * For exports of mount targets with IPv6 address, if client options are left unspecified, client options would be an empty array, i.e. export would not be visible to any clients. * * **Note:** Mount targets do not have Internet-routable IP addresses. Therefore they will not be reachable from the Internet, even if an associated `ClientOptions` item has a source of `0.0.0.0/0`. * * **If set to the empty array then the export will not be visible to any clients.** * * The export's `exportOptions` can be changed after creation using the `UpdateExport` operation. */ readonly exportOptions: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this export's export set. */ readonly exportSetId: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this export's file system. */ readonly fileSystemId: pulumi.Output; /** * (Updatable) Whether or not the export should use ID mapping for Unix groups rather than the group list provided within an NFS request's RPC header. When this flag is true the Unix UID from the RPC header is used to retrieve the list of secondary groups from a the ID mapping subsystem. The primary GID is always taken from the RPC header. If ID mapping is not configured, incorrectly configured, unavailable, or cannot be used to determine a list of secondary groups then an empty secondary group list is used for authorization. If the number of groups exceeds the limit of 256 groups, the list retrieved from LDAP is truncated to the first 256 groups read. */ readonly isIdmapGroupsForSysAuth: pulumi.Output; readonly isLockOverride: pulumi.Output; /** * Locks associated with this resource. */ readonly locks: pulumi.Output; /** * Path used to access the associated file system. * * Avoid entering confidential information. * * Example: `/mediafiles` * * ** 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 path: pulumi.Output; /** * The current state of this export. */ readonly state: pulumi.Output; /** * The date and time the export 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; /** * Create a Export 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: ExportArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Export resources. */ export interface ExportState { /** * (Updatable) Export options for the new export. For exports of mount targets with IPv4 address, if client options are left unspecified, client options would default to: * * [ { "source" : "0.0.0.0/0", "requirePrivilegedSourcePort" : false, "access": "READ_WRITE", "identitySquash": "NONE", "anonymousUid": 65534, "anonymousGid": 65534, "isAnonymousAccessAllowed": false, "allowedAuth": ["SYS"] } ] * * For exports of mount targets with IPv6 address, if client options are left unspecified, client options would be an empty array, i.e. export would not be visible to any clients. * * **Note:** Mount targets do not have Internet-routable IP addresses. Therefore they will not be reachable from the Internet, even if an associated `ClientOptions` item has a source of `0.0.0.0/0`. * * **If set to the empty array then the export will not be visible to any clients.** * * The export's `exportOptions` can be changed after creation using the `UpdateExport` operation. */ exportOptions?: pulumi.Input[] | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this export's export set. */ exportSetId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this export's file system. */ fileSystemId?: pulumi.Input; /** * (Updatable) Whether or not the export should use ID mapping for Unix groups rather than the group list provided within an NFS request's RPC header. When this flag is true the Unix UID from the RPC header is used to retrieve the list of secondary groups from a the ID mapping subsystem. The primary GID is always taken from the RPC header. If ID mapping is not configured, incorrectly configured, unavailable, or cannot be used to determine a list of secondary groups then an empty secondary group list is used for authorization. If the number of groups exceeds the limit of 256 groups, the list retrieved from LDAP is truncated to the first 256 groups read. */ isIdmapGroupsForSysAuth?: pulumi.Input; isLockOverride?: pulumi.Input; /** * Locks associated with this resource. */ locks?: pulumi.Input[] | undefined>; /** * Path used to access the associated file system. * * Avoid entering confidential information. * * Example: `/mediafiles` * * ** 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 */ path?: pulumi.Input; /** * The current state of this export. */ state?: pulumi.Input; /** * The date and time the export 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 set of arguments for constructing a Export resource. */ export interface ExportArgs { /** * (Updatable) Export options for the new export. For exports of mount targets with IPv4 address, if client options are left unspecified, client options would default to: * * [ { "source" : "0.0.0.0/0", "requirePrivilegedSourcePort" : false, "access": "READ_WRITE", "identitySquash": "NONE", "anonymousUid": 65534, "anonymousGid": 65534, "isAnonymousAccessAllowed": false, "allowedAuth": ["SYS"] } ] * * For exports of mount targets with IPv6 address, if client options are left unspecified, client options would be an empty array, i.e. export would not be visible to any clients. * * **Note:** Mount targets do not have Internet-routable IP addresses. Therefore they will not be reachable from the Internet, even if an associated `ClientOptions` item has a source of `0.0.0.0/0`. * * **If set to the empty array then the export will not be visible to any clients.** * * The export's `exportOptions` can be changed after creation using the `UpdateExport` operation. */ exportOptions?: pulumi.Input[] | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this export's export set. */ exportSetId: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this export's file system. */ fileSystemId: pulumi.Input; /** * (Updatable) Whether or not the export should use ID mapping for Unix groups rather than the group list provided within an NFS request's RPC header. When this flag is true the Unix UID from the RPC header is used to retrieve the list of secondary groups from a the ID mapping subsystem. The primary GID is always taken from the RPC header. If ID mapping is not configured, incorrectly configured, unavailable, or cannot be used to determine a list of secondary groups then an empty secondary group list is used for authorization. If the number of groups exceeds the limit of 256 groups, the list retrieved from LDAP is truncated to the first 256 groups read. */ isIdmapGroupsForSysAuth?: pulumi.Input; isLockOverride?: pulumi.Input; /** * Locks associated with this resource. */ locks?: pulumi.Input[] | undefined>; /** * Path used to access the associated file system. * * Avoid entering confidential information. * * Example: `/mediafiles` * * ** 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 */ path: pulumi.Input; } //# sourceMappingURL=export.d.ts.map