openapi

package
v1.17.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type Createv12SmbShareResponse

type Createv12SmbShareResponse struct {
	// ID of created item that can be used to refer to item in the collection-item resource path.
	Id string `json:"id"`
}

Createv12SmbShareResponse An array of ids to refer SMB shares.

type Createv3EventEventResponse

type Createv3EventEventResponse struct {
	// ID of created item that can be used to refer to item in the collection-item resource path.
	Id int32 `json:"id"`
}

Createv3EventEventResponse struct for Createv3EventEventResponse

type Error

type Error struct {
	Code    int32  `json:"code"`
	Message string `json:"message"`
}

Error struct for Error

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type NullableBool

type NullableBool struct {
	// contains filtered or unexported fields
}

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

func (v *NullableBool) UnmarshalJSON(src []byte) error

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableFloat32

type NullableFloat32 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

func (v NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

type NullableFloat64 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

func (v NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableInt

type NullableInt struct {
	// contains filtered or unexported fields
}

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

func (v NullableInt) MarshalJSON() ([]byte, error)

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

func (v *NullableInt) UnmarshalJSON(src []byte) error

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

type NullableInt32 struct {
	// contains filtered or unexported fields
}

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

func (v NullableInt32) MarshalJSON() ([]byte, error)

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

func (v *NullableInt32) UnmarshalJSON(src []byte) error

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

type NullableInt64 struct {
	// contains filtered or unexported fields
}

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

func (v NullableInt64) MarshalJSON() ([]byte, error)

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

func (v *NullableInt64) UnmarshalJSON(src []byte) error

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableString

type NullableString struct {
	// contains filtered or unexported fields
}

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

func (v NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) Set

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON

func (v *NullableString) UnmarshalJSON(src []byte) error

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableTime

type NullableTime struct {
	// contains filtered or unexported fields
}

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

func (v NullableTime) MarshalJSON() ([]byte, error)

func (*NullableTime) Set

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON

func (v *NullableTime) UnmarshalJSON(src []byte) error

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type V12SmbShare

type V12SmbShare 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 path if does not exist.
	CreatePath *bool `json:"create_path,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"`
	// 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"`
	// 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"`
	// Specifies an ordered list of permission modifications.
	Permissions []V1SmbSharePermission `json:"permissions,omitempty"`
	// Allow account to run as root.
	RunAsRoot []V1AuthAccessAccessItemFileGroup `json:"run_as_root,omitempty"`
	// Enables SMB3 encryption for the share.
	Smb3EncryptionEnabled *bool `json:"smb3_encryption_enabled,omitempty"`
	// Enables sparse file.
	SparseFile *bool `json:"sparse_file,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"`
	// Name of the access zone to which to move this SMB share.
	Zone *string `json:"zone,omitempty"`
}

V12SmbShare struct for V12SmbShare

type V12SmbShareExtended

type V12SmbShareExtended 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"`
	// 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"`
	// 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"`
	// Specifies an ordered list of permission modifications.
	Permissions []V1SmbSharePermission `json:"permissions,omitempty"`
	// Allow account to run as root.
	RunAsRoot []V1AuthAccessAccessItemFileGroup `json:"run_as_root,omitempty"`
	// Enables SMB3 encryption for the share.
	Smb3EncryptionEnabled *bool `json:"smb3_encryption_enabled,omitempty"`
	// Enables sparse file.
	SparseFile *bool `json:"sparse_file,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"`
}

V12SmbShareExtended struct for V12SmbShareExtended

type V12SmbShareExtendedExtended

type V12SmbShareExtendedExtended 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"`
	// 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"`
	// 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 []V1SmbSharePermission `json:"permissions,omitempty"`
	// Allow account to run as root.
	RunAsRoot []V1AuthAccessAccessItemFileGroup `json:"run_as_root,omitempty"`
	// Enables SMB3 encryption for the share.
	Smb3EncryptionEnabled *bool `json:"smb3_encryption_enabled,omitempty"`
	// Enables sparse file.
	SparseFile *bool `json:"sparse_file,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"`
	// Name of the access zone to which to move this SMB share.
	Zone *string `json:"zone,omitempty"`
}

V12SmbShareExtendedExtended struct for V12SmbShareExtendedExtended

type V12SmbShares

type V12SmbShares struct {
	// An identifier for a set of shares.
	Digest *string `json:"digest,omitempty"`
	// Provide this token as the 'resume' query argument to continue listing results.
	Resume *string               `json:"resume,omitempty"`
	Shares []V12SmbShareExtended `json:"shares"`
	// Total number of items available.
	Total *int32 `json:"total,omitempty"`
}

V12SmbShares struct for V12SmbShares

type V12SmbSharesExtended

type V12SmbSharesExtended struct {
	Shares []V12SmbShareExtended `json:"shares"`
}

V12SmbSharesExtended struct for V12SmbSharesExtended

type V1AuthAccessAccessItemFileGroup

type V1AuthAccessAccessItemFileGroup struct {
	// Specifies the serialized form of a persona, which can be 'UID:0', 'USER:name', 'GID:0', 'GROUP:wheel', or 'SID:S-1-1'.
	Id *string `json:"id,omitempty"`
	// Specifies the persona name, which must be combined with a type.
	Name *string `json:"name,omitempty"`
	// Specifies the type of persona, which must be combined with a name.
	Type *string `json:"type,omitempty"`
}

V1AuthAccessAccessItemFileGroup Specifies the persona of the file group.

type V1SmbSharePermission

type V1SmbSharePermission struct {
	// Specifies the file system rights that are allowed or denied.
	Permission string `json:"permission"`
	// Determines whether the permission is allowed or denied.
	PermissionType string                          `json:"permission_type"`
	Trustee        V1AuthAccessAccessItemFileGroup `json:"trustee"`
}

V1SmbSharePermission Specifies properties for an Access Control Entry.

type V2NfsExport

type V2NfsExport struct {
	// True if all directories under the specified paths are mountable.
	AllDirs *bool `json:"all_dirs,omitempty"`
	// Specifies the block size returned by the NFS statfs procedure.
	BlockSize *int32 `json:"block_size,omitempty"`
	// True if the client can set file times through the NFS set attribute request. This parameter does not affect server behavior, but is included to accommodate legacy client requirements.
	CanSetTime *bool `json:"can_set_time,omitempty"`
	// True if the case is ignored for file names. This parameter does not affect server behavior, but is included to accommodate legacy client requirements.
	CaseInsensitive *bool `json:"case_insensitive,omitempty"`
	// True if the case is preserved for file names. This parameter does not affect server behavior, but is included to accommodate legacy client requirements.
	CasePreserving *bool `json:"case_preserving,omitempty"`
	// True if the superuser can change file ownership. This parameter does not affect server behavior, but is included to accommodate legacy client requirements.
	ChownRestricted *bool `json:"chown_restricted,omitempty"`
	// Specifies the clients with root access to the export.
	Clients []string `json:"clients,omitempty"`
	// True if NFS  commit  requests execute asynchronously.
	CommitAsynchronous *bool `json:"commit_asynchronous,omitempty"`
	// Specifies the user-defined string that is used to identify the export.
	Description *string `json:"description,omitempty"`
	// Specifies the preferred size for directory read operations. This value is used to advise the client of optimal settings for the server, but is not enforced.
	DirectoryTransferSize *int32 `json:"directory_transfer_size,omitempty"`
	// Specifies the default character set encoding of the clients connecting to the export, unless otherwise specified.
	Encoding *string `json:"encoding,omitempty"`
	// Specifies the reported maximum number of links to a file. This parameter does not affect server behavior, but is included to accommodate legacy client requirements.
	LinkMax    *int32             `json:"link_max,omitempty"`
	MapAll     *V2NfsExportMapAll `json:"map_all,omitempty"`
	MapFailure *V2NfsExportMapAll `json:"map_failure,omitempty"`
	// True if user mappings query the OneFS user database. When set to false, user mappings only query local authentication.
	MapFull *bool `json:"map_full,omitempty"`
	// True if incoming user IDs (UIDs) are mapped to users in the OneFS user database. When set to false, incoming UIDs are applied directly to file operations.
	MapLookupUid *bool              `json:"map_lookup_uid,omitempty"`
	MapNonRoot   *V2NfsExportMapAll `json:"map_non_root,omitempty"`
	// Determines whether searches for users specified in 'map_all', 'map_root' or 'map_nonroot' are retried if the search fails.
	MapRetry *bool              `json:"map_retry,omitempty"`
	MapRoot  *V2NfsExportMapAll `json:"map_root,omitempty"`
	// Specifies the maximum file size for any file accessed from the export. This parameter does not affect server behavior, but is included to accommodate legacy client requirements.
	MaxFileSize *int64 `json:"max_file_size,omitempty"`
	// Specifies the reported maximum length of a file name. This parameter does not affect server behavior, but is included to accommodate legacy client requirements.
	NameMaxSize *int32 `json:"name_max_size,omitempty"`
	// True if long file names result in an error. This parameter does not affect server behavior, but is included to accommodate legacy client requirements.
	NoTruncate *bool `json:"no_truncate,omitempty"`
	// Specifies the paths under /ifs that are exported.
	Paths []string `json:"paths"`
	// True if the export is set to read-only.
	ReadOnly *bool `json:"read_only,omitempty"`
	// Specifies the clients with read-only access to the export.
	ReadOnlyClients []string `json:"read_only_clients,omitempty"`
	// Specifies the maximum buffer size that clients should use on NFS read requests. This value is used to advise the client of optimal settings for the server, but is not enforced.
	ReadTransferMaxSize *int32 `json:"read_transfer_max_size,omitempty"`
	// Specifies the preferred multiple size for NFS read requests. This value is used to advise the client of optimal settings for the server, but is not enforced.
	ReadTransferMultiple *int32 `json:"read_transfer_multiple,omitempty"`
	// Specifies the preferred size for NFS read requests. This value is used to advise the client of optimal settings for the server, but is not enforced.
	ReadTransferSize *int32 `json:"read_transfer_size,omitempty"`
	// Specifies the clients with both read and write access to the export, even when the export is set to read-only.
	ReadWriteClients []string `json:"read_write_clients,omitempty"`
	// True if 'readdirplus' requests are enabled. Enabling this property might improve network performance and is only available for NFSv3.
	Readdirplus *bool `json:"readdirplus,omitempty"`
	// Sets the number of directory entries that are prefetched when a 'readdirplus' request is processed. (Deprecated.)
	ReaddirplusPrefetch *int32 `json:"readdirplus_prefetch,omitempty"`
	// Limits the size of file identifiers returned by NFSv3+ to 32-bit values (may require remount).
	Return32bitFileIds *bool `json:"return_32bit_file_ids,omitempty"`
	// Clients that have root access to the export.
	RootClients []string `json:"root_clients,omitempty"`
	// Specifies the authentication types that are supported for this export.
	SecurityFlavors []string `json:"security_flavors,omitempty"`
	// True if set attribute operations execute asynchronously.
	SetattrAsynchronous *bool `json:"setattr_asynchronous,omitempty"`
	// Specifies the snapshot for all mounts.
	Snapshot *string `json:"snapshot,omitempty"`
	// True if symlinks are supported. This value is used to advise the client of optimal settings for the server, but is not enforced.
	Symlinks *bool `json:"symlinks,omitempty"`
	// Specifies the resolution of all time values that are returned to the clients
	TimeDelta *float32 `json:"time_delta,omitempty"`
	// Specifies the action to be taken when an NFSv3+ datasync write is requested.
	WriteDatasyncAction *string `json:"write_datasync_action,omitempty"`
	// Specifies the stability disposition returned when an NFSv3+ datasync write is processed.
	WriteDatasyncReply *string `json:"write_datasync_reply,omitempty"`
	// Specifies the action to be taken when an NFSv3+ filesync write is requested.
	WriteFilesyncAction *string `json:"write_filesync_action,omitempty"`
	// Specifies the stability disposition returned when an NFSv3+ filesync write is processed.
	WriteFilesyncReply *string `json:"write_filesync_reply,omitempty"`
	// Specifies the maximum buffer size that clients should use on NFS write requests. This value is used to advise the client of optimal settings for the server, but is not enforced.
	WriteTransferMaxSize *int32 `json:"write_transfer_max_size,omitempty"`
	// Specifies the preferred multiple size for NFS write requests. This value is used to advise the client of optimal settings for the server, but is not enforced.
	WriteTransferMultiple *int32 `json:"write_transfer_multiple,omitempty"`
	// Specifies the preferred multiple size for NFS write requests. This value is used to advise the client of optimal settings for the server, but is not enforced.
	WriteTransferSize *int32 `json:"write_transfer_size,omitempty"`
	// Specifies the action to be taken when an NFSv3+ unstable write is requested.
	WriteUnstableAction *string `json:"write_unstable_action,omitempty"`
	// Specifies the stability disposition returned when an NFSv3+ unstable write is processed.
	WriteUnstableReply *string `json:"write_unstable_reply,omitempty"`
	// Specifies the zone in which the export is valid.
	Zone *string `json:"zone,omitempty"`
}

V2NfsExport Specifies configuration values for NFS exports.

type V2NfsExportExtended

type V2NfsExportExtended struct {
	// True if all directories under the specified paths are mountable.
	AllDirs *bool `json:"all_dirs,omitempty"`
	// Specifies the block size returned by the NFS statfs procedure.
	BlockSize *int32 `json:"block_size,omitempty"`
	// True if the client can set file times through the NFS set attribute request. This parameter does not affect server behavior, but is included to accommodate legacy client requirements.
	CanSetTime *bool `json:"can_set_time,omitempty"`
	// True if the case is ignored for file names. This parameter does not affect server behavior, but is included to accommodate legacy client requirements.
	CaseInsensitive *bool `json:"case_insensitive,omitempty"`
	// True if the case is preserved for file names. This parameter does not affect server behavior, but is included to accommodate legacy client requirements.
	CasePreserving *bool `json:"case_preserving,omitempty"`
	// True if the superuser can change file ownership. This parameter does not affect server behavior, but is included to accommodate legacy client requirements.
	ChownRestricted *bool `json:"chown_restricted,omitempty"`
	// Specifies the clients with root access to the export.
	Clients []string `json:"clients,omitempty"`
	// True if NFS  commit  requests execute asynchronously.
	CommitAsynchronous *bool `json:"commit_asynchronous,omitempty"`
	// Reports the paths that conflict with another export.
	ConflictingPaths []string `json:"conflicting_paths,omitempty"`
	// Specifies the user-defined string that is used to identify the export.
	Description *string `json:"description,omitempty"`
	// Specifies the preferred size for directory read operations. This value is used to advise the client of optimal settings for the server, but is not enforced.
	DirectoryTransferSize *int32 `json:"directory_transfer_size,omitempty"`
	// Specifies the default character set encoding of the clients connecting to the export, unless otherwise specified.
	Encoding *string `json:"encoding,omitempty"`
	// Specifies the system-assigned ID for the export. This ID is returned when an export is created through the POST method.
	Id *int32 `json:"id,omitempty"`
	// Specifies the reported maximum number of links to a file. This parameter does not affect server behavior, but is included to accommodate legacy client requirements.
	LinkMax    *int32             `json:"link_max,omitempty"`
	MapAll     *V2NfsExportMapAll `json:"map_all,omitempty"`
	MapFailure *V2NfsExportMapAll `json:"map_failure,omitempty"`
	// True if user mappings query the OneFS user database. When set to false, user mappings only query local authentication.
	MapFull *bool `json:"map_full,omitempty"`
	// True if incoming user IDs (UIDs) are mapped to users in the OneFS user database. When set to false, incoming UIDs are applied directly to file operations.
	MapLookupUid *bool              `json:"map_lookup_uid,omitempty"`
	MapNonRoot   *V2NfsExportMapAll `json:"map_non_root,omitempty"`
	// Determines whether searches for users specified in 'map_all', 'map_root' or 'map_nonroot' are retried if the search fails.
	MapRetry *bool              `json:"map_retry,omitempty"`
	MapRoot  *V2NfsExportMapAll `json:"map_root,omitempty"`
	// Specifies the maximum file size for any file accessed from the export. This parameter does not affect server behavior, but is included to accommodate legacy client requirements.
	MaxFileSize *int64 `json:"max_file_size,omitempty"`
	// Specifies the reported maximum length of a file name. This parameter does not affect server behavior, but is included to accommodate legacy client requirements.
	NameMaxSize *int32 `json:"name_max_size,omitempty"`
	// True if long file names result in an error. This parameter does not affect server behavior, but is included to accommodate legacy client requirements.
	NoTruncate *bool `json:"no_truncate,omitempty"`
	// Specifies the paths under /ifs that are exported.
	Paths []string `json:"paths,omitempty"`
	// True if the export is set to read-only.
	ReadOnly *bool `json:"read_only,omitempty"`
	// Specifies the clients with read-only access to the export.
	ReadOnlyClients []string `json:"read_only_clients,omitempty"`
	// Specifies the maximum buffer size that clients should use on NFS read requests. This value is used to advise the client of optimal settings for the server, but is not enforced.
	ReadTransferMaxSize *int32 `json:"read_transfer_max_size,omitempty"`
	// Specifies the preferred multiple size for NFS read requests. This value is used to advise the client of optimal settings for the server, but is not enforced.
	ReadTransferMultiple *int32 `json:"read_transfer_multiple,omitempty"`
	// Specifies the preferred size for NFS read requests. This value is used to advise the client of optimal settings for the server, but is not enforced.
	ReadTransferSize *int32 `json:"read_transfer_size,omitempty"`
	// Specifies the clients with both read and write access to the export, even when the export is set to read-only.
	ReadWriteClients []string `json:"read_write_clients,omitempty"`
	// True if 'readdirplus' requests are enabled. Enabling this property might improve network performance and is only available for NFSv3.
	Readdirplus *bool `json:"readdirplus,omitempty"`
	// Sets the number of directory entries that are prefetched when a 'readdirplus' request is processed. (Deprecated.)
	ReaddirplusPrefetch *int32 `json:"readdirplus_prefetch,omitempty"`
	// Limits the size of file identifiers returned by NFSv3+ to 32-bit values (may require remount).
	Return32bitFileIds *bool `json:"return_32bit_file_ids,omitempty"`
	// Clients that have root access to the export.
	RootClients []string `json:"root_clients,omitempty"`
	// Specifies the authentication types that are supported for this export.
	SecurityFlavors []string `json:"security_flavors,omitempty"`
	// True if set attribute operations execute asynchronously.
	SetattrAsynchronous *bool `json:"setattr_asynchronous,omitempty"`
	// Specifies the snapshot for all mounts.
	Snapshot *string `json:"snapshot,omitempty"`
	// True if symlinks are supported. This value is used to advise the client of optimal settings for the server, but is not enforced.
	Symlinks *bool `json:"symlinks,omitempty"`
	// Specifies the resolution of all time values that are returned to the clients
	TimeDelta *float32 `json:"time_delta,omitempty"`
	// Reports clients that cannot be resolved.
	UnresolvedClients []string `json:"unresolved_clients,omitempty"`
	// Specifies the action to be taken when an NFSv3+ datasync write is requested.
	WriteDatasyncAction *string `json:"write_datasync_action,omitempty"`
	// Specifies the stability disposition returned when an NFSv3+ datasync write is processed.
	WriteDatasyncReply *string `json:"write_datasync_reply,omitempty"`
	// Specifies the action to be taken when an NFSv3+ filesync write is requested.
	WriteFilesyncAction *string `json:"write_filesync_action,omitempty"`
	// Specifies the stability disposition returned when an NFSv3+ filesync write is processed.
	WriteFilesyncReply *string `json:"write_filesync_reply,omitempty"`
	// Specifies the maximum buffer size that clients should use on NFS write requests. This value is used to advise the client of optimal settings for the server, but is not enforced.
	WriteTransferMaxSize *int32 `json:"write_transfer_max_size,omitempty"`
	// Specifies the preferred multiple size for NFS write requests. This value is used to advise the client of optimal settings for the server, but is not enforced.
	WriteTransferMultiple *int32 `json:"write_transfer_multiple,omitempty"`
	// Specifies the preferred multiple size for NFS write requests. This value is used to advise the client of optimal settings for the server, but is not enforced.
	WriteTransferSize *int32 `json:"write_transfer_size,omitempty"`
	// Specifies the action to be taken when an NFSv3+ unstable write is requested.
	WriteUnstableAction *string `json:"write_unstable_action,omitempty"`
	// Specifies the stability disposition returned when an NFSv3+ unstable write is processed.
	WriteUnstableReply *string `json:"write_unstable_reply,omitempty"`
	// Specifies the zone in which the export is valid.
	Zone *string `json:"zone,omitempty"`
}

V2NfsExportExtended Specifies configuration values for NFS exports.

type V2NfsExportExtendedExtended

type V2NfsExportExtendedExtended struct {
	// True if all directories under the specified paths are mountable.
	AllDirs *bool `json:"all_dirs,omitempty"`
	// Specifies the block size returned by the NFS statfs procedure.
	BlockSize *int32 `json:"block_size,omitempty"`
	// True if the client can set file times through the NFS set attribute request. This parameter does not affect server behavior, but is included to accommodate legacy client requirements.
	CanSetTime *bool `json:"can_set_time,omitempty"`
	// True if the case is ignored for file names. This parameter does not affect server behavior, but is included to accommodate legacy client requirements.
	CaseInsensitive *bool `json:"case_insensitive,omitempty"`
	// True if the case is preserved for file names. This parameter does not affect server behavior, but is included to accommodate legacy client requirements.
	CasePreserving *bool `json:"case_preserving,omitempty"`
	// True if the superuser can change file ownership. This parameter does not affect server behavior, but is included to accommodate legacy client requirements.
	ChownRestricted *bool `json:"chown_restricted,omitempty"`
	// Specifies the clients with root access to the export.
	Clients []string `json:"clients,omitempty"`
	// True if NFS  commit  requests execute asynchronously.
	CommitAsynchronous *bool `json:"commit_asynchronous,omitempty"`
	// Specifies the user-defined string that is used to identify the export.
	Description *string `json:"description,omitempty"`
	// Specifies the preferred size for directory read operations. This value is used to advise the client of optimal settings for the server, but is not enforced.
	DirectoryTransferSize *int32 `json:"directory_transfer_size,omitempty"`
	// Specifies the default character set encoding of the clients connecting to the export, unless otherwise specified.
	Encoding *string `json:"encoding,omitempty"`
	// Specifies the reported maximum number of links to a file. This parameter does not affect server behavior, but is included to accommodate legacy client requirements.
	LinkMax    *int32             `json:"link_max,omitempty"`
	MapAll     *V2NfsExportMapAll `json:"map_all,omitempty"`
	MapFailure *V2NfsExportMapAll `json:"map_failure,omitempty"`
	// True if user mappings query the OneFS user database. When set to false, user mappings only query local authentication.
	MapFull *bool `json:"map_full,omitempty"`
	// True if incoming user IDs (UIDs) are mapped to users in the OneFS user database. When set to false, incoming UIDs are applied directly to file operations.
	MapLookupUid *bool              `json:"map_lookup_uid,omitempty"`
	MapNonRoot   *V2NfsExportMapAll `json:"map_non_root,omitempty"`
	// Determines whether searches for users specified in 'map_all', 'map_root' or 'map_nonroot' are retried if the search fails.
	MapRetry *bool              `json:"map_retry,omitempty"`
	MapRoot  *V2NfsExportMapAll `json:"map_root,omitempty"`
	// Specifies the maximum file size for any file accessed from the export. This parameter does not affect server behavior, but is included to accommodate legacy client requirements.
	MaxFileSize *int64 `json:"max_file_size,omitempty"`
	// Specifies the reported maximum length of a file name. This parameter does not affect server behavior, but is included to accommodate legacy client requirements.
	NameMaxSize *int32 `json:"name_max_size,omitempty"`
	// True if long file names result in an error. This parameter does not affect server behavior, but is included to accommodate legacy client requirements.
	NoTruncate *bool `json:"no_truncate,omitempty"`
	// Specifies the paths under /ifs that are exported.
	Paths []string `json:"paths,omitempty"`
	// True if the export is set to read-only.
	ReadOnly *bool `json:"read_only,omitempty"`
	// Specifies the clients with read-only access to the export.
	ReadOnlyClients []string `json:"read_only_clients,omitempty"`
	// Specifies the maximum buffer size that clients should use on NFS read requests. This value is used to advise the client of optimal settings for the server, but is not enforced.
	ReadTransferMaxSize *int32 `json:"read_transfer_max_size,omitempty"`
	// Specifies the preferred multiple size for NFS read requests. This value is used to advise the client of optimal settings for the server, but is not enforced.
	ReadTransferMultiple *int32 `json:"read_transfer_multiple,omitempty"`
	// Specifies the preferred size for NFS read requests. This value is used to advise the client of optimal settings for the server, but is not enforced.
	ReadTransferSize *int32 `json:"read_transfer_size,omitempty"`
	// Specifies the clients with both read and write access to the export, even when the export is set to read-only.
	ReadWriteClients []string `json:"read_write_clients,omitempty"`
	// True if 'readdirplus' requests are enabled. Enabling this property might improve network performance and is only available for NFSv3.
	Readdirplus *bool `json:"readdirplus,omitempty"`
	// Sets the number of directory entries that are prefetched when a 'readdirplus' request is processed. (Deprecated.)
	ReaddirplusPrefetch *int32 `json:"readdirplus_prefetch,omitempty"`
	// Limits the size of file identifiers returned by NFSv3+ to 32-bit values (may require remount).
	Return32bitFileIds *bool `json:"return_32bit_file_ids,omitempty"`
	// Clients that have root access to the export.
	RootClients []string `json:"root_clients,omitempty"`
	// Specifies the authentication types that are supported for this export.
	SecurityFlavors []string `json:"security_flavors,omitempty"`
	// True if set attribute operations execute asynchronously.
	SetattrAsynchronous *bool `json:"setattr_asynchronous,omitempty"`
	// Specifies the snapshot for all mounts.
	Snapshot *string `json:"snapshot,omitempty"`
	// True if symlinks are supported. This value is used to advise the client of optimal settings for the server, but is not enforced.
	Symlinks *bool `json:"symlinks,omitempty"`
	// Specifies the resolution of all time values that are returned to the clients
	TimeDelta *float32 `json:"time_delta,omitempty"`
	// Specifies the action to be taken when an NFSv3+ datasync write is requested.
	WriteDatasyncAction *string `json:"write_datasync_action,omitempty"`
	// Specifies the stability disposition returned when an NFSv3+ datasync write is processed.
	WriteDatasyncReply *string `json:"write_datasync_reply,omitempty"`
	// Specifies the action to be taken when an NFSv3+ filesync write is requested.
	WriteFilesyncAction *string `json:"write_filesync_action,omitempty"`
	// Specifies the stability disposition returned when an NFSv3+ filesync write is processed.
	WriteFilesyncReply *string `json:"write_filesync_reply,omitempty"`
	// Specifies the maximum buffer size that clients should use on NFS write requests. This value is used to advise the client of optimal settings for the server, but is not enforced.
	WriteTransferMaxSize *int32 `json:"write_transfer_max_size,omitempty"`
	// Specifies the preferred multiple size for NFS write requests. This value is used to advise the client of optimal settings for the server, but is not enforced.
	WriteTransferMultiple *int32 `json:"write_transfer_multiple,omitempty"`
	// Specifies the preferred multiple size for NFS write requests. This value is used to advise the client of optimal settings for the server, but is not enforced.
	WriteTransferSize *int32 `json:"write_transfer_size,omitempty"`
	// Specifies the action to be taken when an NFSv3+ unstable write is requested.
	WriteUnstableAction *string `json:"write_unstable_action,omitempty"`
	// Specifies the stability disposition returned when an NFSv3+ unstable write is processed.
	WriteUnstableReply *string `json:"write_unstable_reply,omitempty"`
	// Specifies the zone in which the export is valid.
	Zone *string `json:"zone,omitempty"`
}

V2NfsExportExtendedExtended Specifies configuration values for NFS exports.

type V2NfsExportMapAll

type V2NfsExportMapAll struct {
	// True if the user mapping is applied.
	Enabled      *bool                            `json:"enabled,omitempty"`
	PrimaryGroup *V1AuthAccessAccessItemFileGroup `json:"primary_group,omitempty"`
	// Specifies persona properties for the secondary user group. A persona consists of either a type and name, or an ID.
	SecondaryGroups []V2NfsExportMapAllSecondaryGroupsInner `json:"secondary_groups,omitempty"`
	User            *V1AuthAccessAccessItemFileGroup        `json:"user,omitempty"`
}

V2NfsExportMapAll Specifies the users and groups to which non-root and root clients are mapped.

type V2NfsExportMapAllSecondaryGroupsInner

type V2NfsExportMapAllSecondaryGroupsInner struct {
	// Specifies the serialized form of a persona, which can be 'UID:0', 'USER:name', 'GID:0', 'GROUP:wheel', or 'SID:S-1-1'.
	Id *string `json:"id,omitempty"`
	// Specifies the persona name, which must be combined with a type.
	Name NullableString `json:"name,omitempty"`
	// Specifies the type of persona, which must be combined with a name.
	Type NullableString `json:"type,omitempty"`
}

V2NfsExportMapAllSecondaryGroupsInner Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.

type V2NfsExports

type V2NfsExports struct {
	// An identifier for a set of exports.
	Digest  *string               `json:"digest,omitempty"`
	Exports []V2NfsExportExtended `json:"exports,omitempty"`
	// Provide this token as the 'resume' query argument to continue listing results.
	Resume *string `json:"resume,omitempty"`
	// Total number of items available.
	Total *int32 `json:"total,omitempty"`
}

V2NfsExports struct for V2NfsExports

type V2NfsExportsExtended

type V2NfsExportsExtended struct {
	Exports []V2NfsExportExtended `json:"exports,omitempty"`
}

V2NfsExportsExtended struct for V2NfsExportsExtended

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL