/
smb_share_extended.go
131 lines (90 loc) · 4.4 KB
/
smb_share_extended.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
/*
* Isilon SDK
*
* Isilon SDK - Language bindings for the OneFS API
*
* API version: 5
* Contact: sdk@isilon.com
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package isi_sdk_8_1_0
type SmbShareExtended struct {
// Only enumerate files and folders the requesting user has access to.
AccessBasedEnumeration bool `json:"access_based_enumeration,omitempty"`
// Access-based enumeration on only the root directory of the share.
AccessBasedEnumerationRootOnly bool `json:"access_based_enumeration_root_only,omitempty"`
// Allow deletion of read-only files in the share.
AllowDeleteReadonly bool `json:"allow_delete_readonly,omitempty"`
// Allows users to execute files they have read rights for.
AllowExecuteAlways bool `json:"allow_execute_always,omitempty"`
// Allow automatic expansion of variables for home directories.
AllowVariableExpansion bool `json:"allow_variable_expansion,omitempty"`
// Automatically create home directories.
AutoCreateDirectory bool `json:"auto_create_directory,omitempty"`
// Share is visible in net view and the browse list.
Browsable bool `json:"browsable,omitempty"`
// Persistent open timeout for the share.
CaTimeout int32 `json:"ca_timeout,omitempty"`
// Specify the level of write-integrity on continuously available shares.
CaWriteIntegrity string `json:"ca_write_integrity,omitempty"`
// Level of change notification alerts on the share.
ChangeNotify string `json:"change_notify,omitempty"`
// Specify if persistent opens are allowed on the share.
ContinuouslyAvailable bool `json:"continuously_available,omitempty"`
// Create permissions for new files and directories in share.
CreatePermissions string `json:"create_permissions,omitempty"`
// Client-side caching policy for the shares.
CscPolicy string `json:"csc_policy,omitempty"`
// Description for this SMB share.
Description string `json:"description,omitempty"`
// Directory create mask bits.
DirectoryCreateMask int32 `json:"directory_create_mask,omitempty"`
// Directory create mode bits.
DirectoryCreateMode int32 `json:"directory_create_mode,omitempty"`
// File create mask bits.
FileCreateMask int32 `json:"file_create_mask,omitempty"`
// File create mode bits.
FileCreateMode int32 `json:"file_create_mode,omitempty"`
// Specifies the list of file extensions.
FileFilterExtensions []string `json:"file_filter_extensions,omitempty"`
// Specifies if filter list is for deny or allow. Default is deny.
FileFilterType string `json:"file_filter_type,omitempty"`
// Enables file filtering on this zone.
FileFilteringEnabled bool `json:"file_filtering_enabled,omitempty"`
// Hide files and directories that begin with a period '.'.
HideDotFiles bool `json:"hide_dot_files,omitempty"`
// An ACL expressing which hosts are allowed access. A deny clause must be the final entry.
HostAcl []string `json:"host_acl,omitempty"`
// Share ID.
Id string `json:"id,omitempty"`
// Specify the condition in which user access is done as the guest account.
ImpersonateGuest string `json:"impersonate_guest,omitempty"`
// User account to be used as guest account.
ImpersonateUser string `json:"impersonate_user,omitempty"`
// Set the inheritable ACL on the share path.
InheritablePathAcl bool `json:"inheritable_path_acl,omitempty"`
// Specifies the wchar_t starting point for automatic byte mangling.
MangleByteStart int32 `json:"mangle_byte_start,omitempty"`
// Character mangle map.
MangleMap []string `json:"mangle_map,omitempty"`
// Share name.
Name string `json:"name,omitempty"`
// Support NTFS ACLs on files and directories.
NtfsAclSupport bool `json:"ntfs_acl_support,omitempty"`
// Support oplocks.
Oplocks bool `json:"oplocks,omitempty"`
// Path of share within /ifs.
Path string `json:"path,omitempty"`
// Specifies an ordered list of permission modifications.
Permissions []SmbSharePermission `json:"permissions,omitempty"`
// Allow account to run as root.
RunAsRoot []AuthAccessAccessItemFileGroup `json:"run_as_root,omitempty"`
// Specifies if persistent opens would do strict lockout on the share.
StrictCaLockout bool `json:"strict_ca_lockout,omitempty"`
// Handle SMB flush operations.
StrictFlush bool `json:"strict_flush,omitempty"`
// Specifies whether byte range locks contend against SMB I/O.
StrictLocking bool `json:"strict_locking,omitempty"`
// Numeric ID of the access zone which contains this SMB share
Zid int32 `json:"zid"`
}