forked from oracle/oci-go-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
create_export_details.go
52 lines (43 loc) · 1.59 KB
/
create_export_details.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// Copyright (c) 2016, 2018, 2019, Oracle and/or its affiliates. All rights reserved.
// Code generated. DO NOT EDIT.
// File Storage Service API
//
// The API for the File Storage Service.
//
package filestorage
import (
"github.com/oracle/oci-go-sdk/common"
)
// CreateExportDetails Details for creating the export.
type CreateExportDetails struct {
// The OCID of this export's export set.
ExportSetId *string `mandatory:"true" json:"exportSetId"`
// The OCID of this export's file system.
FileSystemId *string `mandatory:"true" json:"fileSystemId"`
// Path used to access the associated file system.
// Avoid entering confidential information.
// Example: `/mediafiles`
Path *string `mandatory:"true" json:"path"`
// Export options for the new export. If left unspecified,
// defaults to:
// [
// {
// "source" : "0.0.0.0/0",
// "requirePrivilegedSourcePort" : false,
// "access" : "READ_WRITE",
// "identitySquash" : "NONE"
// }
// ]
// **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 []ClientOptions `mandatory:"false" json:"exportOptions"`
}
func (m CreateExportDetails) String() string {
return common.PointerString(m)
}