CreateExportDetails

class oci.file_storage.models.CreateExportDetails(**kwargs)

Bases: object

Details for creating the export.

Methods

__init__(**kwargs) Initializes a new CreateExportDetails object with values from keyword arguments.

Attributes

export_options Gets the export_options of this CreateExportDetails.
export_set_id [Required] Gets the export_set_id of this CreateExportDetails.
file_system_id [Required] Gets the file_system_id of this CreateExportDetails.
is_idmap_groups_for_sys_auth Gets the is_idmap_groups_for_sys_auth of this CreateExportDetails.
locks Gets the locks of this CreateExportDetails.
path [Required] Gets the path of this CreateExportDetails.
__init__(**kwargs)

Initializes a new CreateExportDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • export_options (list[oci.file_storage.models.ClientOptions]) – The value to assign to the export_options property of this CreateExportDetails.
  • export_set_id (str) – The value to assign to the export_set_id property of this CreateExportDetails.
  • file_system_id (str) – The value to assign to the file_system_id property of this CreateExportDetails.
  • path (str) – The value to assign to the path property of this CreateExportDetails.
  • locks (list[oci.file_storage.models.ResourceLock]) – The value to assign to the locks property of this CreateExportDetails.
  • is_idmap_groups_for_sys_auth (bool) – The value to assign to the is_idmap_groups_for_sys_auth property of this CreateExportDetails.
export_options

Gets the export_options of this CreateExportDetails. 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.

Returns:The export_options of this CreateExportDetails.
Return type:list[oci.file_storage.models.ClientOptions]
export_set_id

[Required] Gets the export_set_id of this CreateExportDetails. The OCID of this export’s export set.

Returns:The export_set_id of this CreateExportDetails.
Return type:str
file_system_id

[Required] Gets the file_system_id of this CreateExportDetails. The OCID of this export’s file system.

Returns:The file_system_id of this CreateExportDetails.
Return type:str
is_idmap_groups_for_sys_auth

Gets the is_idmap_groups_for_sys_auth of this CreateExportDetails. 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.

Returns:The is_idmap_groups_for_sys_auth of this CreateExportDetails.
Return type:bool
locks

Gets the locks of this CreateExportDetails. Locks associated with this resource.

Returns:The locks of this CreateExportDetails.
Return type:list[oci.file_storage.models.ResourceLock]
path

[Required] Gets the path of this CreateExportDetails. Path used to access the associated file system.

Avoid entering confidential information.

Example: /mediafiles

Returns:The path of this CreateExportDetails.
Return type:str