isi_sdk_8_1_0

package module
v0.0.0-...-cb91199 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2018 License: MIT Imports: 20 Imported by: 0

README ¶

Go API client for isi_sdk_8_1_0

Isilon SDK - Language bindings for the OneFS API

Overview

This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client.

Installation

Put the package under your project folder and add the following in import:

    "./isi_sdk_8_1_0"

Documentation for API Endpoints

All URIs are relative to https://YOUR_CLUSTER_HOSTNAME_OR_NODE_IP:8080

Class Method HTTP request Description
AntivirusApi CreateAntivirusPolicy Post /platform/3/antivirus/policies
AntivirusApi CreateAntivirusScanItem Post /platform/3/antivirus/scan
AntivirusApi CreateAntivirusServer Post /platform/3/antivirus/servers
AntivirusApi DeleteAntivirusPolicies Delete /platform/3/antivirus/policies
AntivirusApi DeleteAntivirusPolicy Delete /platform/3/antivirus/policies/{AntivirusPolicyId}
AntivirusApi DeleteAntivirusServer Delete /platform/3/antivirus/servers/{AntivirusServerId}
AntivirusApi DeleteAntivirusServers Delete /platform/3/antivirus/servers
AntivirusApi DeleteReportsScan Delete /platform/3/antivirus/reports/scans/{ReportsScanId}
AntivirusApi DeleteReportsScans Delete /platform/3/antivirus/reports/scans
AntivirusApi GetAntivirusPolicy Get /platform/3/antivirus/policies/{AntivirusPolicyId}
AntivirusApi GetAntivirusQuarantinePath Get /platform/3/antivirus/quarantine/{AntivirusQuarantinePath}
AntivirusApi GetAntivirusServer Get /platform/3/antivirus/servers/{AntivirusServerId}
AntivirusApi GetAntivirusSettings Get /platform/3/antivirus/settings
AntivirusApi GetReportsScan Get /platform/3/antivirus/reports/scans/{ReportsScanId}
AntivirusApi GetReportsScans Get /platform/3/antivirus/reports/scans
AntivirusApi GetReportsThreat Get /platform/3/antivirus/reports/threats/{ReportsThreatId}
AntivirusApi GetReportsThreats Get /platform/3/antivirus/reports/threats
AntivirusApi ListAntivirusPolicies Get /platform/3/antivirus/policies
AntivirusApi ListAntivirusServers Get /platform/3/antivirus/servers
AntivirusApi UpdateAntivirusPolicy Put /platform/3/antivirus/policies/{AntivirusPolicyId}
AntivirusApi UpdateAntivirusQuarantinePath Put /platform/3/antivirus/quarantine/{AntivirusQuarantinePath}
AntivirusApi UpdateAntivirusServer Put /platform/3/antivirus/servers/{AntivirusServerId}
AntivirusApi UpdateAntivirusSettings Put /platform/3/antivirus/settings
AuditApi CreateAuditTopic Post /platform/1/audit/topics
AuditApi DeleteAuditTopic Delete /platform/1/audit/topics/{AuditTopicId}
AuditApi GetAuditProgress Get /platform/4/audit/progress
AuditApi GetAuditSettings Get /platform/3/audit/settings
AuditApi GetAuditTopic Get /platform/1/audit/topics/{AuditTopicId}
AuditApi GetProgressGlobal Get /platform/4/audit/progress/global
AuditApi GetSettingsGlobal Get /platform/3/audit/settings/global
AuditApi ListAuditTopics Get /platform/1/audit/topics
AuditApi UpdateAuditSettings Put /platform/3/audit/settings
AuditApi UpdateAuditTopic Put /platform/1/audit/topics/{AuditTopicId}
AuditApi UpdateSettingsGlobal Put /platform/3/audit/settings/global
AuthApi CreateAuthCacheItem Post /platform/4/auth/cache
AuthApi CreateAuthGroup Post /platform/1/auth/groups
AuthApi CreateAuthRefreshItem Post /platform/3/auth/refresh
AuthApi CreateAuthRole Post /platform/1/auth/roles
AuthApi CreateAuthUser Post /platform/1/auth/users
AuthApi CreateMappingIdentity Post /platform/1/auth/mapping/identities
AuthApi CreateMappingIdentity_0 Post /platform/1/auth/mapping/identities/{MappingIdentityId}
AuthApi CreateProvidersAdsItem Post /platform/3/auth/providers/ads
AuthApi CreateProvidersFileItem Post /platform/1/auth/providers/file
AuthApi CreateProvidersKrb5Item Post /platform/3/auth/providers/krb5
AuthApi CreateProvidersLdapItem Post /platform/4/auth/providers/ldap
AuthApi CreateProvidersNisItem Post /platform/3/auth/providers/nis
AuthApi CreateSettingsKrb5Domain Post /platform/1/auth/settings/krb5/domains
AuthApi CreateSettingsKrb5Realm Post /platform/1/auth/settings/krb5/realms
AuthApi DeleteAuthGroup Delete /platform/1/auth/groups/{AuthGroupId}
AuthApi DeleteAuthGroups Delete /platform/1/auth/groups
AuthApi DeleteAuthRole Delete /platform/1/auth/roles/{AuthRoleId}
AuthApi DeleteAuthUser Delete /platform/1/auth/users/{AuthUserId}
AuthApi DeleteAuthUsers Delete /platform/1/auth/users
AuthApi DeleteMappingIdentities Delete /platform/1/auth/mapping/identities
AuthApi DeleteMappingIdentity Delete /platform/1/auth/mapping/identities/{MappingIdentityId}
AuthApi DeleteProvidersAdsById Delete /platform/3/auth/providers/ads/{ProvidersAdsId}
AuthApi DeleteProvidersFileById Delete /platform/1/auth/providers/file/{ProvidersFileId}
AuthApi DeleteProvidersKrb5ById Delete /platform/3/auth/providers/krb5/{ProvidersKrb5Id}
AuthApi DeleteProvidersLdapById Delete /platform/4/auth/providers/ldap/{ProvidersLdapId}
AuthApi DeleteProvidersLocalById Delete /platform/1/auth/providers/local/{ProvidersLocalId}
AuthApi DeleteProvidersNisById Delete /platform/3/auth/providers/nis/{ProvidersNisId}
AuthApi DeleteSettingsKrb5Domain Delete /platform/1/auth/settings/krb5/domains/{SettingsKrb5DomainId}
AuthApi DeleteSettingsKrb5Realm Delete /platform/1/auth/settings/krb5/realms/{SettingsKrb5RealmId}
AuthApi GetAuthAccessUser Get /platform/1/auth/access/{AuthAccessUser}
AuthApi GetAuthGroup Get /platform/1/auth/groups/{AuthGroupId}
AuthApi GetAuthId Get /platform/1/auth/id
AuthApi GetAuthLdapTemplate Get /platform/4/auth/ldap-templates/{AuthLdapTemplateId}
AuthApi GetAuthLdapTemplates Get /platform/4/auth/ldap-templates
AuthApi GetAuthLogLevel Get /platform/3/auth/log-level
AuthApi GetAuthNetgroup Get /platform/1/auth/netgroups/{AuthNetgroupId}
AuthApi GetAuthPrivileges Get /platform/1/auth/privileges
AuthApi GetAuthRole Get /platform/1/auth/roles/{AuthRoleId}
AuthApi GetAuthShells Get /platform/1/auth/shells
AuthApi GetAuthUser Get /platform/1/auth/users/{AuthUserId}
AuthApi GetAuthWellknown Get /platform/1/auth/wellknowns/{AuthWellknownId}
AuthApi GetAuthWellknowns Get /platform/1/auth/wellknowns
AuthApi GetMappingDump Get /platform/3/auth/mapping/dump
AuthApi GetMappingIdentity Get /platform/1/auth/mapping/identities/{MappingIdentityId}
AuthApi GetMappingUsersLookup Get /platform/1/auth/mapping/users/lookup
AuthApi GetMappingUsersRules Get /platform/1/auth/mapping/users/rules
AuthApi GetProvidersAdsById Get /platform/3/auth/providers/ads/{ProvidersAdsId}
AuthApi GetProvidersFileById Get /platform/1/auth/providers/file/{ProvidersFileId}
AuthApi GetProvidersKrb5ById Get /platform/3/auth/providers/krb5/{ProvidersKrb5Id}
AuthApi GetProvidersLdapById Get /platform/4/auth/providers/ldap/{ProvidersLdapId}
AuthApi GetProvidersLocal Get /platform/1/auth/providers/local
AuthApi GetProvidersLocalById Get /platform/1/auth/providers/local/{ProvidersLocalId}
AuthApi GetProvidersNisById Get /platform/3/auth/providers/nis/{ProvidersNisId}
AuthApi GetProvidersSummary Get /platform/3/auth/providers/summary
AuthApi GetSettingsAcls Get /platform/3/auth/settings/acls
AuthApi GetSettingsGlobal Get /platform/1/auth/settings/global
AuthApi GetSettingsKrb5Defaults Get /platform/1/auth/settings/krb5/defaults
AuthApi GetSettingsKrb5Domain Get /platform/1/auth/settings/krb5/domains/{SettingsKrb5DomainId}
AuthApi GetSettingsKrb5Realm Get /platform/1/auth/settings/krb5/realms/{SettingsKrb5RealmId}
AuthApi GetSettingsMapping Get /platform/1/auth/settings/mapping
AuthApi ListAuthGroups Get /platform/1/auth/groups
AuthApi ListAuthRoles Get /platform/1/auth/roles
AuthApi ListAuthUsers Get /platform/1/auth/users
AuthApi ListProvidersAds Get /platform/3/auth/providers/ads
AuthApi ListProvidersFile Get /platform/1/auth/providers/file
AuthApi ListProvidersKrb5 Get /platform/3/auth/providers/krb5
AuthApi ListProvidersLdap Get /platform/4/auth/providers/ldap
AuthApi ListProvidersNis Get /platform/3/auth/providers/nis
AuthApi ListSettingsKrb5Domains Get /platform/1/auth/settings/krb5/domains
AuthApi ListSettingsKrb5Realms Get /platform/1/auth/settings/krb5/realms
AuthApi UpdateAuthGroup Put /platform/1/auth/groups/{AuthGroupId}
AuthApi UpdateAuthLogLevel Put /platform/3/auth/log-level
AuthApi UpdateAuthRole Put /platform/1/auth/roles/{AuthRoleId}
AuthApi UpdateAuthUser Put /platform/1/auth/users/{AuthUserId}
AuthApi UpdateMappingImport Put /platform/3/auth/mapping/import
AuthApi UpdateMappingUsersRules Put /platform/1/auth/mapping/users/rules
AuthApi UpdateProvidersAdsById Put /platform/3/auth/providers/ads/{ProvidersAdsId}
AuthApi UpdateProvidersFileById Put /platform/1/auth/providers/file/{ProvidersFileId}
AuthApi UpdateProvidersKrb5ById Put /platform/3/auth/providers/krb5/{ProvidersKrb5Id}
AuthApi UpdateProvidersLdapById Put /platform/4/auth/providers/ldap/{ProvidersLdapId}
AuthApi UpdateProvidersLocalById Put /platform/1/auth/providers/local/{ProvidersLocalId}
AuthApi UpdateProvidersNisById Put /platform/3/auth/providers/nis/{ProvidersNisId}
AuthApi UpdateSettingsAcls Put /platform/3/auth/settings/acls
AuthApi UpdateSettingsGlobal Put /platform/1/auth/settings/global
AuthApi UpdateSettingsKrb5Defaults Put /platform/1/auth/settings/krb5/defaults
AuthApi UpdateSettingsKrb5Domain Put /platform/1/auth/settings/krb5/domains/{SettingsKrb5DomainId}
AuthApi UpdateSettingsKrb5Realm Put /platform/1/auth/settings/krb5/realms/{SettingsKrb5RealmId}
AuthApi UpdateSettingsMapping Put /platform/1/auth/settings/mapping
AuthGroupsApi CreateGroupMember Post /platform/1/auth/groups/{Group}/members
AuthGroupsApi DeleteGroupMember Delete /platform/1/auth/groups/{Group}/members/{GroupMemberId}
AuthGroupsApi ListGroupMembers Get /platform/1/auth/groups/{Group}/members
AuthProvidersApi GetAdsProviderControllers Get /platform/3/auth/providers/ads/{Id}/controllers
AuthProvidersApi GetAdsProviderDomain Get /platform/3/auth/providers/ads/{Id}/domains/{AdsProviderDomainId}
AuthProvidersApi GetAdsProviderDomains Get /platform/3/auth/providers/ads/{Id}/domains
AuthProvidersApi GetAdsProviderSearch Get /platform/1/auth/providers/ads/{Id}/search
AuthRolesApi CreateRoleMember Post /platform/1/auth/roles/{Role}/members
AuthRolesApi CreateRolePrivilege Post /platform/1/auth/roles/{Role}/privileges
AuthRolesApi DeleteRoleMember Delete /platform/1/auth/roles/{Role}/members/{RoleMemberId}
AuthRolesApi DeleteRolePrivilege Delete /platform/1/auth/roles/{Role}/privileges/{RolePrivilegeId}
AuthRolesApi ListRoleMembers Get /platform/1/auth/roles/{Role}/members
AuthRolesApi ListRolePrivileges Get /platform/1/auth/roles/{Role}/privileges
AuthUsersApi CreateUserMemberOfItem Post /platform/3/auth/users/{User}/member-of
AuthUsersApi DeleteUserMemberOfMemberOf Delete /platform/3/auth/users/{User}/member-of/{UserMemberOfMemberOf}
AuthUsersApi ListUserMemberOf Get /platform/3/auth/users/{User}/member-of
AuthUsersApi UpdateUserChangePassword Put /platform/3/auth/users/{User}/change-password
CertificateApi CreateCertificateServerItem Post /platform/4/certificate/server
CertificateApi DeleteCertificateServerById Delete /platform/4/certificate/server/{CertificateServerId}
CertificateApi GetCertificateServerById Get /platform/4/certificate/server/{CertificateServerId}
CertificateApi ListCertificateServer Get /platform/4/certificate/server
CertificateApi UpdateCertificateServerById Put /platform/4/certificate/server/{CertificateServerId}
CloudApi CreateCloudAccessItem Post /platform/3/cloud/access
CloudApi CreateCloudAccount Post /platform/4/cloud/accounts
CloudApi CreateCloudJob Post /platform/3/cloud/jobs
CloudApi CreateCloudPool Post /platform/3/cloud/pools
CloudApi CreateCloudProxy Post /platform/4/cloud/proxies
CloudApi CreateSettingsEncryptionKeyItem Post /platform/3/cloud/settings/encryption-key
CloudApi CreateSettingsReportingEulaItem Post /platform/3/cloud/settings/reporting-eula
CloudApi DeleteCloudAccessGuid Delete /platform/3/cloud/access/{CloudAccessGuid}
CloudApi DeleteCloudAccount Delete /platform/4/cloud/accounts/{CloudAccountId}
CloudApi DeleteCloudPool Delete /platform/3/cloud/pools/{CloudPoolId}
CloudApi DeleteCloudProxy Delete /platform/4/cloud/proxies/{CloudProxyId}
CloudApi DeleteSettingsReportingEula Delete /platform/3/cloud/settings/reporting-eula
CloudApi GetCloudAccessGuid Get /platform/3/cloud/access/{CloudAccessGuid}
CloudApi GetCloudAccount Get /platform/4/cloud/accounts/{CloudAccountId}
CloudApi GetCloudJob Get /platform/3/cloud/jobs/{CloudJobId}
CloudApi GetCloudJobsFile Get /platform/3/cloud/jobs-files/{CloudJobsFileId}
CloudApi GetCloudPool Get /platform/3/cloud/pools/{CloudPoolId}
CloudApi GetCloudProxy Get /platform/4/cloud/proxies/{CloudProxyId}
CloudApi GetCloudSettings Get /platform/3/cloud/settings
CloudApi ListCloudAccess Get /platform/3/cloud/access
CloudApi ListCloudAccounts Get /platform/4/cloud/accounts
CloudApi ListCloudJobs Get /platform/3/cloud/jobs
CloudApi ListCloudPools Get /platform/3/cloud/pools
CloudApi ListCloudProxies Get /platform/4/cloud/proxies
CloudApi ListSettingsReportingEula Get /platform/3/cloud/settings/reporting-eula
CloudApi UpdateCloudAccount Put /platform/4/cloud/accounts/{CloudAccountId}
CloudApi UpdateCloudJob Put /platform/3/cloud/jobs/{CloudJobId}
CloudApi UpdateCloudPool Put /platform/3/cloud/pools/{CloudPoolId}
CloudApi UpdateCloudProxy Put /platform/4/cloud/proxies/{CloudProxyId}
CloudApi UpdateCloudSettings Put /platform/3/cloud/settings
ClusterApi CreateClusterAddNodeItem Post /platform/3/cluster/add-node
ClusterApi CreateDiagnosticsGatherStartItem Post /platform/3/cluster/diagnostics/gather/start
ClusterApi CreateDiagnosticsGatherStopItem Post /platform/3/cluster/diagnostics/gather/stop
ClusterApi CreateDiagnosticsNetloggerStartItem Post /platform/3/cluster/diagnostics/netlogger/start
ClusterApi CreateDiagnosticsNetloggerStopItem Post /platform/3/cluster/diagnostics/netlogger/stop
ClusterApi GetClusterConfig Get /platform/3/cluster/config
ClusterApi GetClusterEmail Get /platform/1/cluster/email
ClusterApi GetClusterExternalIps Get /platform/2/cluster/external-ips
ClusterApi GetClusterIdentity Get /platform/5/cluster/identity
ClusterApi GetClusterNode Get /platform/5/cluster/nodes/{ClusterNodeId}
ClusterApi GetClusterNodes Get /platform/5/cluster/nodes
ClusterApi GetClusterNodesAvailable Get /platform/3/cluster/nodes-available
ClusterApi GetClusterOwner Get /platform/1/cluster/owner
ClusterApi GetClusterStatfs Get /platform/1/cluster/statfs
ClusterApi GetClusterTime Get /platform/3/cluster/time
ClusterApi GetClusterTimezone Get /platform/3/cluster/timezone
ClusterApi GetClusterVersion Get /platform/3/cluster/version
ClusterApi GetDiagnosticsGather Get /platform/3/cluster/diagnostics/gather
ClusterApi GetDiagnosticsGatherSettings Get /platform/3/cluster/diagnostics/gather/settings
ClusterApi GetDiagnosticsGatherStatus Get /platform/3/cluster/diagnostics/gather/status
ClusterApi GetDiagnosticsNetlogger Get /platform/3/cluster/diagnostics/netlogger
ClusterApi GetDiagnosticsNetloggerSettings Get /platform/3/cluster/diagnostics/netlogger/settings
ClusterApi GetDiagnosticsNetloggerStatus Get /platform/3/cluster/diagnostics/netlogger/status
ClusterApi GetTimezoneRegion Get /platform/3/cluster/timezone/regions/{TimezoneRegionId}
ClusterApi GetTimezoneSettings Get /platform/3/cluster/timezone/settings
ClusterApi UpdateClusterEmail Put /platform/1/cluster/email
ClusterApi UpdateClusterNode Put /platform/5/cluster/nodes/{ClusterNodeId}
ClusterApi UpdateClusterOwner Put /platform/1/cluster/owner
ClusterApi UpdateClusterTime Put /platform/3/cluster/time
ClusterApi UpdateClusterTimezone Put /platform/3/cluster/timezone
ClusterApi UpdateDiagnosticsGatherSettings Put /platform/3/cluster/diagnostics/gather/settings
ClusterApi UpdateDiagnosticsNetloggerSettings Put /platform/3/cluster/diagnostics/netlogger/settings
ClusterApi UpdateTimezoneSettings Put /platform/3/cluster/timezone/settings
ClusterNodesApi CreateDrivesDriveAddItem Post /platform/3/cluster/nodes/{Lnn}/drives/{Driveid}/add
ClusterNodesApi CreateDrivesDriveFirmwareUpdateItem Post /platform/3/cluster/nodes/{Lnn}/drives/{Driveid}/firmware/update
ClusterNodesApi CreateDrivesDriveFormatItem Post /platform/3/cluster/nodes/{Lnn}/drives/{Driveid}/format
ClusterNodesApi CreateDrivesDrivePurposeItem Post /platform/3/cluster/nodes/{Lnn}/drives/{Driveid}/purpose
ClusterNodesApi CreateDrivesDriveSmartfailItem Post /platform/3/cluster/nodes/{Lnn}/drives/{Driveid}/smartfail
ClusterNodesApi CreateDrivesDriveStopfailItem Post /platform/3/cluster/nodes/{Lnn}/drives/{Driveid}/stopfail
ClusterNodesApi CreateDrivesDriveSuspendItem Post /platform/3/cluster/nodes/{Lnn}/drives/{Driveid}/suspend
ClusterNodesApi CreateNodeRebootItem Post /platform/5/cluster/nodes/{Lnn}/reboot
ClusterNodesApi CreateNodeShutdownItem Post /platform/5/cluster/nodes/{Lnn}/shutdown
ClusterNodesApi GetDrivesDriveFirmware Get /platform/3/cluster/nodes/{Lnn}/drives/{Driveid}/firmware
ClusterNodesApi GetNodeDrive Get /platform/5/cluster/nodes/{Lnn}/drives/{NodeDriveId}
ClusterNodesApi GetNodeDriveconfig Get /platform/5/cluster/nodes/{Lnn}/driveconfig
ClusterNodesApi GetNodeDrives Get /platform/5/cluster/nodes/{Lnn}/drives
ClusterNodesApi GetNodeDrivesPurposelist Get /platform/3/cluster/nodes/{Lnn}/drives-purposelist
ClusterNodesApi GetNodeHardware Get /platform/5/cluster/nodes/{Lnn}/hardware
ClusterNodesApi GetNodeHardwareFast Get /platform/3/cluster/nodes/{Lnn}/hardware-fast
ClusterNodesApi GetNodePartitions Get /platform/3/cluster/nodes/{Lnn}/partitions
ClusterNodesApi GetNodeSensors Get /platform/3/cluster/nodes/{Lnn}/sensors
ClusterNodesApi GetNodeSled Get /platform/5/cluster/nodes/{Lnn}/sleds/{NodeSledId}
ClusterNodesApi GetNodeSleds Get /platform/5/cluster/nodes/{Lnn}/sleds
ClusterNodesApi GetNodeState Get /platform/3/cluster/nodes/{Lnn}/state
ClusterNodesApi GetNodeStateReadonly Get /platform/3/cluster/nodes/{Lnn}/state/readonly
ClusterNodesApi GetNodeStateServicelight Get /platform/3/cluster/nodes/{Lnn}/state/servicelight
ClusterNodesApi GetNodeStateSmartfail Get /platform/3/cluster/nodes/{Lnn}/state/smartfail
ClusterNodesApi GetNodeStatus Get /platform/3/cluster/nodes/{Lnn}/status
ClusterNodesApi GetNodeStatusBatterystatus Get /platform/3/cluster/nodes/{Lnn}/status/batterystatus
ClusterNodesApi ListDrivesDriveFirmwareUpdate Get /platform/3/cluster/nodes/{Lnn}/drives/{Driveid}/firmware/update
ClusterNodesApi UpdateNodeDriveconfig Put /platform/5/cluster/nodes/{Lnn}/driveconfig
ClusterNodesApi UpdateNodeStateReadonly Put /platform/3/cluster/nodes/{Lnn}/state/readonly
ClusterNodesApi UpdateNodeStateServicelight Put /platform/3/cluster/nodes/{Lnn}/state/servicelight
ClusterNodesApi UpdateNodeStateSmartfail Put /platform/3/cluster/nodes/{Lnn}/state/smartfail
DebugApi DeleteDebugStats Delete /platform/1/debug/stats
DebugApi GetDebugStats Get /platform/1/debug/stats
DedupeApi GetDedupeDedupeSummary Get /platform/1/dedupe/dedupe-summary
DedupeApi GetDedupeReport Get /platform/1/dedupe/reports/{DedupeReportId}
DedupeApi GetDedupeReports Get /platform/1/dedupe/reports
DedupeApi GetDedupeSettings Get /platform/1/dedupe/settings
DedupeApi UpdateDedupeSettings Put /platform/1/dedupe/settings
EventApi CreateEventAlertCondition Post /platform/4/event/alert-conditions
EventApi CreateEventChannel Post /platform/3/event/channels
EventApi CreateEventEvent Post /platform/3/event/events
EventApi DeleteEventAlertCondition Delete /platform/4/event/alert-conditions/{EventAlertConditionId}
EventApi DeleteEventAlertConditions Delete /platform/4/event/alert-conditions
EventApi DeleteEventChannel Delete /platform/3/event/channels/{EventChannelId}
EventApi GetEventAlertCondition Get /platform/4/event/alert-conditions/{EventAlertConditionId}
EventApi GetEventCategories Get /platform/3/event/categories
EventApi GetEventCategory Get /platform/3/event/categories/{EventCategoryId}
EventApi GetEventChannel Get /platform/3/event/channels/{EventChannelId}
EventApi GetEventEventgroupDefinition Get /platform/4/event/eventgroup-definitions/{EventEventgroupDefinitionId}
EventApi GetEventEventgroupDefinitions Get /platform/4/event/eventgroup-definitions
EventApi GetEventEventgroupOccurrence Get /platform/3/event/eventgroup-occurrences/{EventEventgroupOccurrenceId}
EventApi GetEventEventgroupOccurrences Get /platform/3/event/eventgroup-occurrences
EventApi GetEventEventlist Get /platform/3/event/eventlists/{EventEventlistId}
EventApi GetEventEventlists Get /platform/3/event/eventlists
EventApi GetEventSettings Get /platform/3/event/settings
EventApi ListEventAlertConditions Get /platform/4/event/alert-conditions
EventApi ListEventChannels Get /platform/3/event/channels
EventApi UpdateEventAlertCondition Put /platform/4/event/alert-conditions/{EventAlertConditionId}
EventApi UpdateEventChannel Put /platform/3/event/channels/{EventChannelId}
EventApi UpdateEventEventgroupOccurrence Put /platform/3/event/eventgroup-occurrences/{EventEventgroupOccurrenceId}
EventApi UpdateEventEventgroupOccurrences Put /platform/3/event/eventgroup-occurrences
EventApi UpdateEventSettings Put /platform/3/event/settings
FileFilterApi GetFileFilterSettings Get /platform/3/file-filter/settings
FileFilterApi UpdateFileFilterSettings Put /platform/3/file-filter/settings
FilepoolApi CreateFilepoolPolicy Post /platform/4/filepool/policies
FilepoolApi DeleteFilepoolPolicy Delete /platform/4/filepool/policies/{FilepoolPolicyId}
FilepoolApi GetFilepoolDefaultPolicy Get /platform/4/filepool/default-policy
FilepoolApi GetFilepoolPolicy Get /platform/4/filepool/policies/{FilepoolPolicyId}
FilepoolApi GetFilepoolTemplate Get /platform/4/filepool/templates/{FilepoolTemplateId}
FilepoolApi GetFilepoolTemplates Get /platform/4/filepool/templates
FilepoolApi ListFilepoolPolicies Get /platform/4/filepool/policies
FilepoolApi UpdateFilepoolDefaultPolicy Put /platform/4/filepool/default-policy
FilepoolApi UpdateFilepoolPolicy Put /platform/4/filepool/policies/{FilepoolPolicyId}
FilesystemApi GetSettingsAccessTime Get /platform/1/filesystem/settings/access-time
FilesystemApi GetSettingsCharacterEncodings Get /platform/1/filesystem/settings/character-encodings
FilesystemApi UpdateSettingsAccessTime Put /platform/1/filesystem/settings/access-time
FilesystemApi UpdateSettingsCharacterEncodings Put /platform/1/filesystem/settings/character-encodings
FsaApi DeleteFsaResult Delete /platform/3/fsa/results/{FsaResultId}
FsaApi DeleteFsaSettings Delete /platform/1/fsa/settings
FsaApi GetFsaResult Get /platform/3/fsa/results/{FsaResultId}
FsaApi GetFsaResults Get /platform/3/fsa/results
FsaApi GetFsaSettings Get /platform/1/fsa/settings
FsaApi UpdateFsaResult Put /platform/3/fsa/results/{FsaResultId}
FsaApi UpdateFsaSettings Put /platform/1/fsa/settings
FsaResultsApi GetHistogramStatBy Get /platform/3/fsa/results/{Id}/histogram/{Stat}/by
FsaResultsApi GetHistogramStatByBreakout Get /platform/3/fsa/results/{Id}/histogram/{Stat}/by/{HistogramStatByBreakout}
FsaResultsApi GetResultDirectories Get /platform/3/fsa/results/{Id}/directories
FsaResultsApi GetResultDirectory Get /platform/3/fsa/results/{Id}/directories/{ResultDirectoryId}
FsaResultsApi GetResultHistogram Get /platform/3/fsa/results/{Id}/histogram
FsaResultsApi GetResultHistogramStat Get /platform/3/fsa/results/{Id}/histogram/{ResultHistogramStat}
FsaResultsApi GetResultTopDir Get /platform/3/fsa/results/{Id}/top-dirs/{ResultTopDirId}
FsaResultsApi GetResultTopDirs Get /platform/3/fsa/results/{Id}/top-dirs
FsaResultsApi GetResultTopFile Get /platform/3/fsa/results/{Id}/top-files/{ResultTopFileId}
FsaResultsApi GetResultTopFiles Get /platform/3/fsa/results/{Id}/top-files
HardeningApi CreateHardeningApplyItem Post /platform/3/hardening/apply
HardeningApi CreateHardeningResolveItem Post /platform/3/hardening/resolve
HardeningApi CreateHardeningRevertItem Post /platform/3/hardening/revert
HardeningApi GetHardeningState Get /platform/3/hardening/state
HardeningApi GetHardeningStatus Get /platform/3/hardening/status
HardwareApi CreateHardwareTapeName Post /platform/3/hardware/tape/{HardwareTapeName}
HardwareApi DeleteHardwareTapeName Delete /platform/3/hardware/tape/{HardwareTapeName}
HardwareApi GetHardwareFcport Get /platform/3/hardware/fcports/{HardwareFcportId}
HardwareApi GetHardwareFcports Get /platform/3/hardware/fcports
HardwareApi GetHardwareTapes Get /platform/3/hardware/tapes
HardwareApi UpdateHardwareFcport Put /platform/3/hardware/fcports/{HardwareFcportId}
HardwareApi UpdateHardwareTapeName Put /platform/3/hardware/tape/{HardwareTapeName}
IdResolutionApi GetIdResolutionPath Get /platform/4/id-resolution/paths/{IdResolutionPathId}
IdResolutionApi GetIdResolutionPaths Get /platform/4/id-resolution/paths
JobApi CreateJobJob Post /platform/3/job/jobs
JobApi CreateJobPolicy Post /platform/1/job/policies
JobApi DeleteJobPolicy Delete /platform/1/job/policies/{JobPolicyId}
JobApi GetJobEvents Get /platform/3/job/events
JobApi GetJobJob Get /platform/3/job/jobs/{JobJobId}
JobApi GetJobJobSummary Get /platform/1/job/job-summary
JobApi GetJobPolicy Get /platform/1/job/policies/{JobPolicyId}
JobApi GetJobRecent Get /platform/3/job/recent
JobApi GetJobReports Get /platform/3/job/reports
JobApi GetJobStatistics Get /platform/1/job/statistics
JobApi GetJobType Get /platform/1/job/types/{JobTypeId}
JobApi GetJobTypes Get /platform/1/job/types
JobApi ListJobJobs Get /platform/3/job/jobs
JobApi ListJobPolicies Get /platform/1/job/policies
JobApi UpdateJobJob Put /platform/3/job/jobs/{JobJobId}
JobApi UpdateJobPolicy Put /platform/1/job/policies/{JobPolicyId}
JobApi UpdateJobType Put /platform/1/job/types/{JobTypeId}
LicenseApi CreateLicenseLicense Post /platform/5/license/licenses
LicenseApi GetLicenseGenerate Get /platform/5/license/generate
LicenseApi GetLicenseLicense Get /platform/5/license/licenses/{LicenseLicenseId}
LicenseApi ListLicenseLicenses Get /platform/5/license/licenses
LocalApi GetClusterTime Get /platform/3/local/cluster/time
NetworkApi CreateDnscacheFlushItem Post /platform/3/network/dnscache/flush
NetworkApi CreateNetworkGroupnet Post /platform/3/network/groupnets
NetworkApi CreateNetworkScRebalanceAllItem Post /platform/3/network/sc-rebalance-all
NetworkApi DeleteNetworkGroupnet Delete /platform/3/network/groupnets/{NetworkGroupnetId}
NetworkApi GetNetworkDnscache Get /platform/3/network/dnscache
NetworkApi GetNetworkExternal Get /platform/3/network/external
NetworkApi GetNetworkGroupnet Get /platform/3/network/groupnets/{NetworkGroupnetId}
NetworkApi GetNetworkInterfaces Get /platform/4/network/interfaces
NetworkApi GetNetworkPools Get /platform/3/network/pools
NetworkApi GetNetworkRules Get /platform/3/network/rules
NetworkApi GetNetworkSubnets Get /platform/4/network/subnets
NetworkApi ListNetworkGroupnets Get /platform/3/network/groupnets
NetworkApi UpdateNetworkDnscache Put /platform/3/network/dnscache
NetworkApi UpdateNetworkExternal Put /platform/3/network/external
NetworkApi UpdateNetworkGroupnet Put /platform/3/network/groupnets/{NetworkGroupnetId}
NetworkGroupnetsApi CreateGroupnetSubnet Post /platform/4/network/groupnets/{Groupnet}/subnets
NetworkGroupnetsApi CreateSubnetsSubnetPool Post /platform/3/network/groupnets/{Groupnet}/subnets/{Subnet}/pools
NetworkGroupnetsApi DeleteGroupnetSubnet Delete /platform/4/network/groupnets/{Groupnet}/subnets/{GroupnetSubnetId}
NetworkGroupnetsApi DeleteSubnetsSubnetPool Delete /platform/3/network/groupnets/{Groupnet}/subnets/{Subnet}/pools/{SubnetsSubnetPoolId}
NetworkGroupnetsApi GetGroupnetSubnet Get /platform/4/network/groupnets/{Groupnet}/subnets/{GroupnetSubnetId}
NetworkGroupnetsApi GetSubnetsSubnetPool Get /platform/3/network/groupnets/{Groupnet}/subnets/{Subnet}/pools/{SubnetsSubnetPoolId}
NetworkGroupnetsApi ListGroupnetSubnets Get /platform/4/network/groupnets/{Groupnet}/subnets
NetworkGroupnetsApi ListSubnetsSubnetPools Get /platform/3/network/groupnets/{Groupnet}/subnets/{Subnet}/pools
NetworkGroupnetsApi UpdateGroupnetSubnet Put /platform/4/network/groupnets/{Groupnet}/subnets/{GroupnetSubnetId}
NetworkGroupnetsApi UpdateSubnetsSubnetPool Put /platform/3/network/groupnets/{Groupnet}/subnets/{Subnet}/pools/{SubnetsSubnetPoolId}
NetworkGroupnetsSubnetsApi CreatePoolsPoolRebalanceIp Post /platform/3/network/groupnets/{Groupnet}/subnets/{Subnet}/pools/{Pool}/rebalance-ips
NetworkGroupnetsSubnetsApi CreatePoolsPoolRule Post /platform/3/network/groupnets/{Groupnet}/subnets/{Subnet}/pools/{Pool}/rules
NetworkGroupnetsSubnetsApi CreatePoolsPoolScResumeNode Post /platform/3/network/groupnets/{Groupnet}/subnets/{Subnet}/pools/{Pool}/sc-resume-nodes
NetworkGroupnetsSubnetsApi CreatePoolsPoolScSuspendNode Post /platform/3/network/groupnets/{Groupnet}/subnets/{Subnet}/pools/{Pool}/sc-suspend-nodes
NetworkGroupnetsSubnetsApi DeletePoolsPoolRule Delete /platform/3/network/groupnets/{Groupnet}/subnets/{Subnet}/pools/{Pool}/rules/{PoolsPoolRuleId}
NetworkGroupnetsSubnetsApi GetPoolsPoolInterfaces Get /platform/4/network/groupnets/{Groupnet}/subnets/{Subnet}/pools/{Pool}/interfaces
NetworkGroupnetsSubnetsApi GetPoolsPoolRule Get /platform/3/network/groupnets/{Groupnet}/subnets/{Subnet}/pools/{Pool}/rules/{PoolsPoolRuleId}
NetworkGroupnetsSubnetsApi ListPoolsPoolRules Get /platform/3/network/groupnets/{Groupnet}/subnets/{Subnet}/pools/{Pool}/rules
NetworkGroupnetsSubnetsApi UpdatePoolsPoolRule Put /platform/3/network/groupnets/{Groupnet}/subnets/{Subnet}/pools/{Pool}/rules/{PoolsPoolRuleId}
ProtocolsApi CreateHdfsProxyuser Post /platform/1/protocols/hdfs/proxyusers
ProtocolsApi CreateHdfsRack Post /platform/1/protocols/hdfs/racks
ProtocolsApi CreateNdmpSettingsPreferredIp Post /platform/4/protocols/ndmp/settings/preferred-ips
ProtocolsApi CreateNdmpSettingsVariable Post /platform/3/protocols/ndmp/settings/variables/{NdmpSettingsVariableId}
ProtocolsApi CreateNdmpUser Post /platform/3/protocols/ndmp/users
ProtocolsApi CreateNfsAlias Post /platform/2/protocols/nfs/aliases
ProtocolsApi CreateNfsExport Post /platform/4/protocols/nfs/exports
ProtocolsApi CreateNfsNetgroupCheckItem Post /platform/3/protocols/nfs/netgroup/check
ProtocolsApi CreateNfsNetgroupFlushItem Post /platform/3/protocols/nfs/netgroup/flush
ProtocolsApi CreateNfsNlmSessionsCheckItem Post /platform/3/protocols/nfs/nlm/sessions-check
ProtocolsApi CreateNfsReloadItem Post /platform/3/protocols/nfs/reload
ProtocolsApi CreateNtpServer Post /platform/3/protocols/ntp/servers
ProtocolsApi CreateSmbLogLevelFilter Post /platform/3/protocols/smb/log-level/filters
ProtocolsApi CreateSmbShare Post /platform/4/protocols/smb/shares
ProtocolsApi CreateSwiftAccount Post /platform/3/protocols/swift/accounts
ProtocolsApi DeleteHdfsProxyuser Delete /platform/1/protocols/hdfs/proxyusers/{HdfsProxyuserId}
ProtocolsApi DeleteHdfsRack Delete /platform/1/protocols/hdfs/racks/{HdfsRackId}
ProtocolsApi DeleteNdmpContextsBackupById Delete /platform/3/protocols/ndmp/contexts/backup/{NdmpContextsBackupId}
ProtocolsApi DeleteNdmpContextsBreById Delete /platform/3/protocols/ndmp/contexts/bre/{NdmpContextsBreId}
ProtocolsApi DeleteNdmpContextsRestoreById Delete /platform/3/protocols/ndmp/contexts/restore/{NdmpContextsRestoreId}
ProtocolsApi DeleteNdmpDumpdate Delete /platform/3/protocols/ndmp/dumpdates/{NdmpDumpdateId}
ProtocolsApi DeleteNdmpSession Delete /platform/3/protocols/ndmp/sessions/{NdmpSessionId}
ProtocolsApi DeleteNdmpSettingsPreferredIp Delete /platform/4/protocols/ndmp/settings/preferred-ips/{NdmpSettingsPreferredIpId}
ProtocolsApi DeleteNdmpSettingsVariable Delete /platform/3/protocols/ndmp/settings/variables/{NdmpSettingsVariableId}
ProtocolsApi DeleteNdmpUser Delete /platform/3/protocols/ndmp/users/{NdmpUserId}
ProtocolsApi DeleteNfsAlias Delete /platform/2/protocols/nfs/aliases/{NfsAliasId}
ProtocolsApi DeleteNfsExport Delete /platform/4/protocols/nfs/exports/{NfsExportId}
ProtocolsApi DeleteNfsNlmSession Delete /platform/3/protocols/nfs/nlm/sessions/{NfsNlmSessionId}
ProtocolsApi DeleteNtpServer Delete /platform/3/protocols/ntp/servers/{NtpServerId}
ProtocolsApi DeleteNtpServers Delete /platform/3/protocols/ntp/servers
ProtocolsApi DeleteSmbLogLevelFilter Delete /platform/3/protocols/smb/log-level/filters/{SmbLogLevelFilterId}
ProtocolsApi DeleteSmbLogLevelFilters Delete /platform/3/protocols/smb/log-level/filters
ProtocolsApi DeleteSmbOpenfile Delete /platform/1/protocols/smb/openfiles/{SmbOpenfileId}
ProtocolsApi DeleteSmbSession Delete /platform/1/protocols/smb/sessions/{SmbSessionId}
ProtocolsApi DeleteSmbSessionsComputerUser Delete /platform/1/protocols/smb/sessions/{Computer}/{SmbSessionsComputerUser}
ProtocolsApi DeleteSmbShare Delete /platform/4/protocols/smb/shares/{SmbShareId}
ProtocolsApi DeleteSmbShares Delete /platform/4/protocols/smb/shares
ProtocolsApi DeleteSwiftAccount Delete /platform/3/protocols/swift/accounts/{SwiftAccountId}
ProtocolsApi GetFtpSettings Get /platform/3/protocols/ftp/settings
ProtocolsApi GetHdfsLogLevel Get /platform/3/protocols/hdfs/log-level
ProtocolsApi GetHdfsProxyuser Get /platform/1/protocols/hdfs/proxyusers/{HdfsProxyuserId}
ProtocolsApi GetHdfsRack Get /platform/1/protocols/hdfs/racks/{HdfsRackId}
ProtocolsApi GetHdfsRangerPluginSettings Get /platform/4/protocols/hdfs/ranger-plugin/settings
ProtocolsApi GetHdfsSettings Get /platform/4/protocols/hdfs/settings
ProtocolsApi GetHttpSettings Get /platform/3/protocols/http/settings
ProtocolsApi GetNdmpContextsBackup Get /platform/3/protocols/ndmp/contexts/backup
ProtocolsApi GetNdmpContextsBackupById Get /platform/3/protocols/ndmp/contexts/backup/{NdmpContextsBackupId}
ProtocolsApi GetNdmpContextsBre Get /platform/3/protocols/ndmp/contexts/bre
ProtocolsApi GetNdmpContextsBreById Get /platform/3/protocols/ndmp/contexts/bre/{NdmpContextsBreId}
ProtocolsApi GetNdmpContextsRestore Get /platform/3/protocols/ndmp/contexts/restore
ProtocolsApi GetNdmpContextsRestoreById Get /platform/3/protocols/ndmp/contexts/restore/{NdmpContextsRestoreId}
ProtocolsApi GetNdmpDiagnostics Get /platform/3/protocols/ndmp/diagnostics
ProtocolsApi GetNdmpDumpdate Get /platform/3/protocols/ndmp/dumpdates/{NdmpDumpdateId}
ProtocolsApi GetNdmpLogs Get /platform/3/protocols/ndmp/logs
ProtocolsApi GetNdmpSession Get /platform/3/protocols/ndmp/sessions/{NdmpSessionId}
ProtocolsApi GetNdmpSessions Get /platform/3/protocols/ndmp/sessions
ProtocolsApi GetNdmpSettingsDmas Get /platform/3/protocols/ndmp/settings/dmas
ProtocolsApi GetNdmpSettingsGlobal Get /platform/3/protocols/ndmp/settings/global
ProtocolsApi GetNdmpSettingsPreferredIp Get /platform/4/protocols/ndmp/settings/preferred-ips/{NdmpSettingsPreferredIpId}
ProtocolsApi GetNdmpSettingsVariable Get /platform/3/protocols/ndmp/settings/variables/{NdmpSettingsVariableId}
ProtocolsApi GetNdmpUser Get /platform/3/protocols/ndmp/users/{NdmpUserId}
ProtocolsApi GetNfsAlias Get /platform/2/protocols/nfs/aliases/{NfsAliasId}
ProtocolsApi GetNfsCheck Get /platform/2/protocols/nfs/check
ProtocolsApi GetNfsExport Get /platform/4/protocols/nfs/exports/{NfsExportId}
ProtocolsApi GetNfsExportsSummary Get /platform/2/protocols/nfs/exports-summary
ProtocolsApi GetNfsLogLevel Get /platform/3/protocols/nfs/log-level
ProtocolsApi GetNfsNetgroup Get /platform/3/protocols/nfs/netgroup
ProtocolsApi GetNfsNlmLocks Get /platform/2/protocols/nfs/nlm/locks
ProtocolsApi GetNfsNlmSession Get /platform/3/protocols/nfs/nlm/sessions/{NfsNlmSessionId}
ProtocolsApi GetNfsNlmSessions Get /platform/3/protocols/nfs/nlm/sessions
ProtocolsApi GetNfsNlmWaiters Get /platform/2/protocols/nfs/nlm/waiters
ProtocolsApi GetNfsSettingsExport Get /platform/2/protocols/nfs/settings/export
ProtocolsApi GetNfsSettingsGlobal Get /platform/3/protocols/nfs/settings/global
ProtocolsApi GetNfsSettingsZone Get /platform/2/protocols/nfs/settings/zone
ProtocolsApi GetNtpServer Get /platform/3/protocols/ntp/servers/{NtpServerId}
ProtocolsApi GetNtpSettings Get /platform/3/protocols/ntp/settings
ProtocolsApi GetSmbLogLevel Get /platform/3/protocols/smb/log-level
ProtocolsApi GetSmbLogLevelFilter Get /platform/3/protocols/smb/log-level/filters/{SmbLogLevelFilterId}
ProtocolsApi GetSmbOpenfiles Get /platform/1/protocols/smb/openfiles
ProtocolsApi GetSmbSessions Get /platform/1/protocols/smb/sessions
ProtocolsApi GetSmbSettingsGlobal Get /platform/3/protocols/smb/settings/global
ProtocolsApi GetSmbSettingsShare Get /platform/3/protocols/smb/settings/share
ProtocolsApi GetSmbShare Get /platform/4/protocols/smb/shares/{SmbShareId}
ProtocolsApi GetSmbSharesSummary Get /platform/1/protocols/smb/shares-summary
ProtocolsApi GetSnmpSettings Get /platform/5/protocols/snmp/settings
ProtocolsApi GetSwiftAccount Get /platform/3/protocols/swift/accounts/{SwiftAccountId}
ProtocolsApi ListHdfsProxyusers Get /platform/1/protocols/hdfs/proxyusers
ProtocolsApi ListHdfsRacks Get /platform/1/protocols/hdfs/racks
ProtocolsApi ListNdmpSettingsPreferredIps Get /platform/4/protocols/ndmp/settings/preferred-ips
ProtocolsApi ListNdmpUsers Get /platform/3/protocols/ndmp/users
ProtocolsApi ListNfsAliases Get /platform/2/protocols/nfs/aliases
ProtocolsApi ListNfsExports Get /platform/4/protocols/nfs/exports
ProtocolsApi ListNtpServers Get /platform/3/protocols/ntp/servers
ProtocolsApi ListSmbLogLevelFilters Get /platform/3/protocols/smb/log-level/filters
ProtocolsApi ListSmbShares Get /platform/4/protocols/smb/shares
ProtocolsApi ListSwiftAccounts Get /platform/3/protocols/swift/accounts
ProtocolsApi UpdateFtpSettings Put /platform/3/protocols/ftp/settings
ProtocolsApi UpdateHdfsLogLevel Put /platform/3/protocols/hdfs/log-level
ProtocolsApi UpdateHdfsProxyuser Put /platform/1/protocols/hdfs/proxyusers/{HdfsProxyuserId}
ProtocolsApi UpdateHdfsRack Put /platform/1/protocols/hdfs/racks/{HdfsRackId}
ProtocolsApi UpdateHdfsRangerPluginSettings Put /platform/4/protocols/hdfs/ranger-plugin/settings
ProtocolsApi UpdateHdfsSettings Put /platform/4/protocols/hdfs/settings
ProtocolsApi UpdateHttpSettings Put /platform/3/protocols/http/settings
ProtocolsApi UpdateNdmpDiagnostics Put /platform/3/protocols/ndmp/diagnostics
ProtocolsApi UpdateNdmpSettingsGlobal Put /platform/3/protocols/ndmp/settings/global
ProtocolsApi UpdateNdmpSettingsPreferredIp Put /platform/4/protocols/ndmp/settings/preferred-ips/{NdmpSettingsPreferredIpId}
ProtocolsApi UpdateNdmpSettingsVariable Put /platform/3/protocols/ndmp/settings/variables/{NdmpSettingsVariableId}
ProtocolsApi UpdateNdmpUser Put /platform/3/protocols/ndmp/users/{NdmpUserId}
ProtocolsApi UpdateNfsAlias Put /platform/2/protocols/nfs/aliases/{NfsAliasId}
ProtocolsApi UpdateNfsExport Put /platform/4/protocols/nfs/exports/{NfsExportId}
ProtocolsApi UpdateNfsLogLevel Put /platform/3/protocols/nfs/log-level
ProtocolsApi UpdateNfsNetgroup Put /platform/3/protocols/nfs/netgroup
ProtocolsApi UpdateNfsSettingsExport Put /platform/2/protocols/nfs/settings/export
ProtocolsApi UpdateNfsSettingsGlobal Put /platform/3/protocols/nfs/settings/global
ProtocolsApi UpdateNfsSettingsZone Put /platform/2/protocols/nfs/settings/zone
ProtocolsApi UpdateNtpServer Put /platform/3/protocols/ntp/servers/{NtpServerId}
ProtocolsApi UpdateNtpSettings Put /platform/3/protocols/ntp/settings
ProtocolsApi UpdateSmbLogLevel Put /platform/3/protocols/smb/log-level
ProtocolsApi UpdateSmbSettingsGlobal Put /platform/3/protocols/smb/settings/global
ProtocolsApi UpdateSmbSettingsShare Put /platform/3/protocols/smb/settings/share
ProtocolsApi UpdateSmbShare Put /platform/4/protocols/smb/shares/{SmbShareId}
ProtocolsApi UpdateSnmpSettings Put /platform/5/protocols/snmp/settings
ProtocolsApi UpdateSwiftAccount Put /platform/3/protocols/swift/accounts/{SwiftAccountId}
ProtocolsHdfsApi CreateProxyusersNameMember Post /platform/1/protocols/hdfs/proxyusers/{Name}/members
ProtocolsHdfsApi DeleteProxyusersNameMember Delete /platform/1/protocols/hdfs/proxyusers/{Name}/members/{ProxyusersNameMemberId}
ProtocolsHdfsApi ListProxyusersNameMembers Get /platform/1/protocols/hdfs/proxyusers/{Name}/members
ProtocolsHdfsApi UpdateProxyusersNameMember Put /platform/1/protocols/hdfs/proxyusers/{Name}/members/{ProxyusersNameMemberId}
QuotaApi CreateQuotaQuota Post /platform/1/quota/quotas
QuotaApi CreateQuotaReport Post /platform/1/quota/reports
QuotaApi CreateSettingsMapping Post /platform/1/quota/settings/mappings
QuotaApi CreateSettingsNotification Post /platform/1/quota/settings/notifications
QuotaApi DeleteQuotaQuota Delete /platform/1/quota/quotas/{QuotaQuotaId}
QuotaApi DeleteQuotaQuotas Delete /platform/1/quota/quotas
QuotaApi DeleteQuotaReport Delete /platform/1/quota/reports/{QuotaReportId}
QuotaApi DeleteSettingsMapping Delete /platform/1/quota/settings/mappings/{SettingsMappingId}
QuotaApi DeleteSettingsMappings Delete /platform/1/quota/settings/mappings
QuotaApi DeleteSettingsNotification Delete /platform/1/quota/settings/notifications/{SettingsNotificationId}
QuotaApi DeleteSettingsNotifications Delete /platform/1/quota/settings/notifications
QuotaApi GetQuotaLicense Get /platform/5/quota/license
QuotaApi GetQuotaQuota Get /platform/1/quota/quotas/{QuotaQuotaId}
QuotaApi GetQuotaQuotasSummary Get /platform/1/quota/quotas-summary
QuotaApi GetQuotaReport Get /platform/1/quota/reports/{QuotaReportId}
QuotaApi GetSettingsMapping Get /platform/1/quota/settings/mappings/{SettingsMappingId}
QuotaApi GetSettingsNotification Get /platform/1/quota/settings/notifications/{SettingsNotificationId}
QuotaApi GetSettingsReports Get /platform/1/quota/settings/reports
QuotaApi ListQuotaQuotas Get /platform/1/quota/quotas
QuotaApi ListQuotaReports Get /platform/1/quota/reports
QuotaApi ListSettingsMappings Get /platform/1/quota/settings/mappings
QuotaApi ListSettingsNotifications Get /platform/1/quota/settings/notifications
QuotaApi UpdateQuotaQuota Put /platform/1/quota/quotas/{QuotaQuotaId}
QuotaApi UpdateSettingsMapping Put /platform/1/quota/settings/mappings/{SettingsMappingId}
QuotaApi UpdateSettingsNotification Put /platform/1/quota/settings/notifications/{SettingsNotificationId}
QuotaApi UpdateSettingsReports Put /platform/1/quota/settings/reports
QuotaQuotasApi CreateQuotaNotification Post /platform/1/quota/quotas/{Qid}/notifications
QuotaQuotasApi DeleteQuotaNotification Delete /platform/1/quota/quotas/{Qid}/notifications/{QuotaNotificationId}
QuotaQuotasApi DeleteQuotaNotifications Delete /platform/1/quota/quotas/{Qid}/notifications
QuotaQuotasApi GetQuotaNotification Get /platform/1/quota/quotas/{Qid}/notifications/{QuotaNotificationId}
QuotaQuotasApi ListQuotaNotifications Get /platform/1/quota/quotas/{Qid}/notifications
QuotaQuotasApi UpdateQuotaNotification Put /platform/1/quota/quotas/{Qid}/notifications/{QuotaNotificationId}
QuotaQuotasApi UpdateQuotaNotifications Put /platform/1/quota/quotas/{Qid}/notifications
QuotaReportsApi GetReportAbout Get /platform/1/quota/reports/{Rid}/about
RemotesupportApi GetRemotesupportConnectemc Get /platform/1/remotesupport/connectemc
RemotesupportApi UpdateRemotesupportConnectemc Put /platform/1/remotesupport/connectemc
SnapshotApi CreateSnapshotAlias Post /platform/1/snapshot/aliases
SnapshotApi CreateSnapshotChangelist Post /platform/1/snapshot/changelists
SnapshotApi CreateSnapshotRepstate Post /platform/1/snapshot/repstates
SnapshotApi CreateSnapshotSchedule Post /platform/3/snapshot/schedules
SnapshotApi CreateSnapshotSnapshot Post /platform/1/snapshot/snapshots
SnapshotApi DeleteSnapshotAlias Delete /platform/1/snapshot/aliases/{SnapshotAliasId}
SnapshotApi DeleteSnapshotAliases Delete /platform/1/snapshot/aliases
SnapshotApi DeleteSnapshotChangelist Delete /platform/1/snapshot/changelists/{SnapshotChangelistId}
SnapshotApi DeleteSnapshotRepstate Delete /platform/1/snapshot/repstates/{SnapshotRepstateId}
SnapshotApi DeleteSnapshotSchedule Delete /platform/3/snapshot/schedules/{SnapshotScheduleId}
SnapshotApi DeleteSnapshotSchedules Delete /platform/3/snapshot/schedules
SnapshotApi DeleteSnapshotSnapshot Delete /platform/1/snapshot/snapshots/{SnapshotSnapshotId}
SnapshotApi DeleteSnapshotSnapshots Delete /platform/1/snapshot/snapshots
SnapshotApi GetSnapshotAlias Get /platform/1/snapshot/aliases/{SnapshotAliasId}
SnapshotApi GetSnapshotChangelist Get /platform/1/snapshot/changelists/{SnapshotChangelistId}
SnapshotApi GetSnapshotLicense Get /platform/5/snapshot/license
SnapshotApi GetSnapshotPending Get /platform/1/snapshot/pending
SnapshotApi GetSnapshotRepstate Get /platform/1/snapshot/repstates/{SnapshotRepstateId}
SnapshotApi GetSnapshotSchedule Get /platform/3/snapshot/schedules/{SnapshotScheduleId}
SnapshotApi GetSnapshotSettings Get /platform/1/snapshot/settings
SnapshotApi GetSnapshotSnapshot Get /platform/1/snapshot/snapshots/{SnapshotSnapshotId}
SnapshotApi GetSnapshotSnapshotsSummary Get /platform/1/snapshot/snapshots-summary
SnapshotApi ListSnapshotAliases Get /platform/1/snapshot/aliases
SnapshotApi ListSnapshotChangelists Get /platform/1/snapshot/changelists
SnapshotApi ListSnapshotRepstates Get /platform/1/snapshot/repstates
SnapshotApi ListSnapshotSchedules Get /platform/3/snapshot/schedules
SnapshotApi ListSnapshotSnapshots Get /platform/1/snapshot/snapshots
SnapshotApi UpdateSnapshotAlias Put /platform/1/snapshot/aliases/{SnapshotAliasId}
SnapshotApi UpdateSnapshotSchedule Put /platform/3/snapshot/schedules/{SnapshotScheduleId}
SnapshotApi UpdateSnapshotSettings Put /platform/1/snapshot/settings
SnapshotApi UpdateSnapshotSnapshot Put /platform/1/snapshot/snapshots/{SnapshotSnapshotId}
SnapshotChangelistsApi GetChangelistLin Get /platform/1/snapshot/changelists/{Changelist}/lins/{ChangelistLinId}
SnapshotChangelistsApi GetChangelistLins Get /platform/1/snapshot/changelists/{Changelist}/lins
SnapshotSnapshotsApi CreateSnapshotLock Post /platform/1/snapshot/snapshots/{Sid}/locks
SnapshotSnapshotsApi DeleteSnapshotLock Delete /platform/1/snapshot/snapshots/{Sid}/locks/{SnapshotLockId}
SnapshotSnapshotsApi DeleteSnapshotLocks Delete /platform/1/snapshot/snapshots/{Sid}/locks
SnapshotSnapshotsApi GetSnapshotLock Get /platform/1/snapshot/snapshots/{Sid}/locks/{SnapshotLockId}
SnapshotSnapshotsApi ListSnapshotLocks Get /platform/1/snapshot/snapshots/{Sid}/locks
SnapshotSnapshotsApi UpdateSnapshotLock Put /platform/1/snapshot/snapshots/{Sid}/locks/{SnapshotLockId}
StatisticsApi GetStatisticsCurrent Get /platform/1/statistics/current
StatisticsApi GetStatisticsHistory Get /platform/1/statistics/history
StatisticsApi GetStatisticsKey Get /platform/1/statistics/keys/{StatisticsKeyId}
StatisticsApi GetStatisticsKeys Get /platform/1/statistics/keys
StatisticsApi GetStatisticsOperations Get /platform/3/statistics/operations
StatisticsApi GetStatisticsProtocols Get /platform/1/statistics/protocols
StatisticsApi GetSummaryClient Get /platform/3/statistics/summary/client
StatisticsApi GetSummaryDrive Get /platform/3/statistics/summary/drive
StatisticsApi GetSummaryHeat Get /platform/3/statistics/summary/heat
StatisticsApi GetSummaryProtocol Get /platform/3/statistics/summary/protocol
StatisticsApi GetSummaryProtocolStats Get /platform/3/statistics/summary/protocol-stats
StatisticsApi GetSummarySystem Get /platform/3/statistics/summary/system
StatisticsApi GetSummaryWorkload Get /platform/4/statistics/summary/workload
StoragepoolApi CreateCompatibilitiesClassActiveItem Post /platform/1/storagepool/compatibilities/class/active
StoragepoolApi CreateCompatibilitiesSsdActiveItem Post /platform/3/storagepool/compatibilities/ssd/active
StoragepoolApi CreateStoragepoolNodepool Post /platform/3/storagepool/nodepools
StoragepoolApi CreateStoragepoolTier Post /platform/1/storagepool/tiers
StoragepoolApi DeleteCompatibilitiesClassActiveById Delete /platform/1/storagepool/compatibilities/class/active/{CompatibilitiesClassActiveId}
StoragepoolApi DeleteCompatibilitiesSsdActiveById Delete /platform/3/storagepool/compatibilities/ssd/active/{CompatibilitiesSsdActiveId}
StoragepoolApi DeleteStoragepoolNodepool Delete /platform/3/storagepool/nodepools/{StoragepoolNodepoolId}
StoragepoolApi DeleteStoragepoolNodepools Delete /platform/3/storagepool/nodepools
StoragepoolApi DeleteStoragepoolTier Delete /platform/1/storagepool/tiers/{StoragepoolTierId}
StoragepoolApi DeleteStoragepoolTiers Delete /platform/1/storagepool/tiers
StoragepoolApi GetCompatibilitiesClassActiveById Get /platform/1/storagepool/compatibilities/class/active/{CompatibilitiesClassActiveId}
StoragepoolApi GetCompatibilitiesClassAvailable Get /platform/1/storagepool/compatibilities/class/available
StoragepoolApi GetCompatibilitiesSsdActiveById Get /platform/3/storagepool/compatibilities/ssd/active/{CompatibilitiesSsdActiveId}
StoragepoolApi GetCompatibilitiesSsdAvailable Get /platform/1/storagepool/compatibilities/ssd/available
StoragepoolApi GetStoragepoolNodepool Get /platform/3/storagepool/nodepools/{StoragepoolNodepoolId}
StoragepoolApi GetStoragepoolSettings Get /platform/5/storagepool/settings
StoragepoolApi GetStoragepoolStatus Get /platform/1/storagepool/status
StoragepoolApi GetStoragepoolStoragepools Get /platform/3/storagepool/storagepools
StoragepoolApi GetStoragepoolSuggestedProtectionNid Get /platform/3/storagepool/suggested-protection/{StoragepoolSuggestedProtectionNid}
StoragepoolApi GetStoragepoolTier Get /platform/1/storagepool/tiers/{StoragepoolTierId}
StoragepoolApi GetStoragepoolUnprovisioned Get /platform/1/storagepool/unprovisioned
StoragepoolApi ListCompatibilitiesClassActive Get /platform/1/storagepool/compatibilities/class/active
StoragepoolApi ListCompatibilitiesSsdActive Get /platform/3/storagepool/compatibilities/ssd/active
StoragepoolApi ListStoragepoolNodepools Get /platform/3/storagepool/nodepools
StoragepoolApi ListStoragepoolTiers Get /platform/1/storagepool/tiers
StoragepoolApi UpdateCompatibilitiesSsdActiveById Put /platform/3/storagepool/compatibilities/ssd/active/{CompatibilitiesSsdActiveId}
StoragepoolApi UpdateStoragepoolNodepool Put /platform/3/storagepool/nodepools/{StoragepoolNodepoolId}
StoragepoolApi UpdateStoragepoolSettings Put /platform/5/storagepool/settings
StoragepoolApi UpdateStoragepoolTier Put /platform/1/storagepool/tiers/{StoragepoolTierId}
SyncApi CreateSyncJob Post /platform/3/sync/jobs
SyncApi CreateSyncPolicy Post /platform/3/sync/policies
SyncApi CreateSyncReportsRotateItem Post /platform/1/sync/reports-rotate
SyncApi CreateSyncRule Post /platform/3/sync/rules
SyncApi DeleteSyncPolicies Delete /platform/3/sync/policies
SyncApi DeleteSyncPolicy Delete /platform/3/sync/policies/{SyncPolicyId}
SyncApi DeleteSyncRule Delete /platform/3/sync/rules/{SyncRuleId}
SyncApi DeleteSyncRules Delete /platform/3/sync/rules
SyncApi DeleteTargetPolicy Delete /platform/1/sync/target/policies/{TargetPolicyId}
SyncApi GetHistoryCpu Get /platform/3/sync/history/cpu
SyncApi GetHistoryFile Get /platform/1/sync/history/file
SyncApi GetHistoryNetwork Get /platform/1/sync/history/network
SyncApi GetHistoryWorker Get /platform/3/sync/history/worker
SyncApi GetSyncJob Get /platform/3/sync/jobs/{SyncJobId}
SyncApi GetSyncLicense Get /platform/5/sync/license
SyncApi GetSyncPolicy Get /platform/3/sync/policies/{SyncPolicyId}
SyncApi GetSyncReport Get /platform/4/sync/reports/{SyncReportId}
SyncApi GetSyncReports Get /platform/4/sync/reports
SyncApi GetSyncRule Get /platform/3/sync/rules/{SyncRuleId}
SyncApi GetSyncSettings Get /platform/3/sync/settings
SyncApi GetTargetPolicies Get /platform/1/sync/target/policies
SyncApi GetTargetPolicy Get /platform/1/sync/target/policies/{TargetPolicyId}
SyncApi GetTargetReport Get /platform/4/sync/target/reports/{TargetReportId}
SyncApi GetTargetReports Get /platform/4/sync/target/reports
SyncApi ListSyncJobs Get /platform/3/sync/jobs
SyncApi ListSyncPolicies Get /platform/3/sync/policies
SyncApi ListSyncReportsRotate Get /platform/1/sync/reports-rotate
SyncApi ListSyncRules Get /platform/3/sync/rules
SyncApi UpdateSyncJob Put /platform/3/sync/jobs/{SyncJobId}
SyncApi UpdateSyncPolicy Put /platform/3/sync/policies/{SyncPolicyId}
SyncApi UpdateSyncRule Put /platform/3/sync/rules/{SyncRuleId}
SyncApi UpdateSyncSettings Put /platform/3/sync/settings
SyncPoliciesApi CreatePolicyResetItem Post /platform/1/sync/policies/{Policy}/reset
SyncReportsApi GetReportSubreport Get /platform/4/sync/reports/{Rid}/subreports/{ReportSubreportId}
SyncReportsApi GetReportSubreports Get /platform/4/sync/reports/{Rid}/subreports
SyncTargetApi CreatePoliciesPolicyCancelItem Post /platform/1/sync/target/policies/{Policy}/cancel
SyncTargetApi GetReportsReportSubreport Get /platform/4/sync/target/reports/{Rid}/subreports/{ReportsReportSubreportId}
SyncTargetApi GetReportsReportSubreports Get /platform/4/sync/target/reports/{Rid}/subreports
UpgradeApi CreateClusterAddRemainingNode Post /platform/3/upgrade/cluster/add_remaining_nodes
UpgradeApi CreateClusterArchiveItem Post /platform/3/upgrade/cluster/archive
UpgradeApi CreateClusterAssessItem Post /platform/5/upgrade/cluster/assess
UpgradeApi CreateClusterCommitItem Post /platform/3/upgrade/cluster/commit
UpgradeApi CreateClusterFirmwareAssessItem Post /platform/3/upgrade/cluster/firmware/assess
UpgradeApi CreateClusterFirmwareUpgradeItem Post /platform/3/upgrade/cluster/firmware/upgrade
UpgradeApi CreateClusterPatchAbortItem Post /platform/3/upgrade/cluster/patch/abort
UpgradeApi CreateClusterPatchPatch Post /platform/3/upgrade/cluster/patch/patches
UpgradeApi CreateClusterRetryLastActionItem Post /platform/3/upgrade/cluster/retry_last_action
UpgradeApi CreateClusterRollbackItem Post /platform/3/upgrade/cluster/rollback
UpgradeApi CreateClusterUpgradeItem Post /platform/5/upgrade/cluster/upgrade
UpgradeApi CreateHardwareStartItem Post /platform/5/upgrade/hardware/start
UpgradeApi CreateHardwareStopItem Post /platform/5/upgrade/hardware/stop
UpgradeApi DeleteClusterPatchPatch Delete /platform/3/upgrade/cluster/patch/patches/{ClusterPatchPatchId}
UpgradeApi GetClusterFirmwareProgress Get /platform/3/upgrade/cluster/firmware/progress
UpgradeApi GetClusterFirmwareStatus Get /platform/3/upgrade/cluster/firmware/status
UpgradeApi GetClusterNode Get /platform/3/upgrade/cluster/nodes/{ClusterNodeId}
UpgradeApi GetClusterNodes Get /platform/3/upgrade/cluster/nodes
UpgradeApi GetClusterPatchPatch Get /platform/3/upgrade/cluster/patch/patches/{ClusterPatchPatchId}
UpgradeApi GetHardwareStatus Get /platform/5/upgrade/hardware/status
UpgradeApi GetUpgradeCluster Get /platform/4/upgrade/cluster
UpgradeApi ListClusterPatchPatches Get /platform/3/upgrade/cluster/patch/patches
UpgradeApi UpdateClusterUpgrade Put /platform/5/upgrade/cluster/upgrade
UpgradeClusterApi CreateNodesNodePatchSyncItem Post /platform/4/upgrade/cluster/nodes/{Lnn}/patch/sync
UpgradeClusterApi GetNodesNodeFirmwareStatus Get /platform/3/upgrade/cluster/nodes/{Lnn}/firmware/status
WormApi CreateWormDomain Post /platform/1/worm/domains
WormApi GetWormDomain Get /platform/1/worm/domains/{WormDomainId}
WormApi GetWormSettings Get /platform/1/worm/settings
WormApi ListWormDomains Get /platform/1/worm/domains
WormApi UpdateWormDomain Put /platform/1/worm/domains/{WormDomainId}
WormApi UpdateWormSettings Put /platform/1/worm/settings
ZonesApi CreateZone Post /platform/3/zones
ZonesApi DeleteZone Delete /platform/3/zones/{ZoneId}
ZonesApi GetZone Get /platform/3/zones/{ZoneId}
ZonesApi ListZones Get /platform/3/zones
ZonesApi UpdateZone Put /platform/3/zones/{ZoneId}
ZonesSummaryApi GetZonesSummary Get /platform/1/zones-summary
ZonesSummaryApi GetZonesSummaryZone Get /platform/1/zones-summary/{ZonesSummaryZone}

Documentation For Models

Documentation For Authorization

basicAuth

  • Type: HTTP basic authentication

Example

	auth := context.WithValue(context.Background(), sw.ContextBasicAuth, sw.BasicAuth{
		UserName: "username",
		Password: "password",
	})
    r, err := client.Service.Operation(auth, args)

Author

sdk@isilon.com

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

View Source
var (
	// ContextOAuth2 takes a oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextAPIKey takes an APIKey as authentication for the request
	ContextAPIKey = contextKey("apikey")
)

Functions ¶

func CacheExpires ¶

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

Types ¶

type APIClient ¶

type APIClient struct {

	// API Services
	AntivirusApi               *AntivirusApiService
	AuditApi                   *AuditApiService
	AuthApi                    *AuthApiService
	AuthGroupsApi              *AuthGroupsApiService
	AuthProvidersApi           *AuthProvidersApiService
	AuthRolesApi               *AuthRolesApiService
	AuthUsersApi               *AuthUsersApiService
	CertificateApi             *CertificateApiService
	CloudApi                   *CloudApiService
	ClusterApi                 *ClusterApiService
	ClusterNodesApi            *ClusterNodesApiService
	DebugApi                   *DebugApiService
	DedupeApi                  *DedupeApiService
	EventApi                   *EventApiService
	FileFilterApi              *FileFilterApiService
	FilepoolApi                *FilepoolApiService
	FilesystemApi              *FilesystemApiService
	FsaApi                     *FsaApiService
	FsaResultsApi              *FsaResultsApiService
	HardeningApi               *HardeningApiService
	HardwareApi                *HardwareApiService
	IdResolutionApi            *IdResolutionApiService
	JobApi                     *JobApiService
	LicenseApi                 *LicenseApiService
	LocalApi                   *LocalApiService
	NetworkApi                 *NetworkApiService
	NetworkGroupnetsApi        *NetworkGroupnetsApiService
	NetworkGroupnetsSubnetsApi *NetworkGroupnetsSubnetsApiService
	ProtocolsApi               *ProtocolsApiService
	ProtocolsHdfsApi           *ProtocolsHdfsApiService
	QuotaApi                   *QuotaApiService
	QuotaQuotasApi             *QuotaQuotasApiService
	QuotaReportsApi            *QuotaReportsApiService
	RemotesupportApi           *RemotesupportApiService
	SnapshotApi                *SnapshotApiService
	SnapshotChangelistsApi     *SnapshotChangelistsApiService
	SnapshotSnapshotsApi       *SnapshotSnapshotsApiService
	StatisticsApi              *StatisticsApiService
	StoragepoolApi             *StoragepoolApiService
	SyncApi                    *SyncApiService
	SyncPoliciesApi            *SyncPoliciesApiService
	SyncReportsApi             *SyncReportsApiService
	SyncTargetApi              *SyncTargetApiService
	UpgradeApi                 *UpgradeApiService
	UpgradeClusterApi          *UpgradeClusterApiService
	WormApi                    *WormApiService
	ZonesApi                   *ZonesApiService
	ZonesSummaryApi            *ZonesSummaryApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Isilon SDK API v5 In most cases there should be only one, shared, APIClient.

func NewAPIClient ¶

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) ChangeBasePath ¶

func (c *APIClient) ChangeBasePath(path string)

Change base path to allow switching to mocks

type APIKey ¶

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse ¶

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the swagger operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

func NewAPIResponse ¶

func NewAPIResponse(r *http.Response) *APIResponse

func NewAPIResponseWithError ¶

func NewAPIResponseWithError(errorMessage string) *APIResponse

type AdsProviderControllers ¶

type AdsProviderControllers struct {
	Controllers []AdsProviderControllersController `json:"controllers,omitempty"`
}

type AdsProviderControllersController ¶

type AdsProviderControllersController struct {

	// Specifies the address for the domain controller.
	DcAddress string `json:"dc_address,omitempty"`

	// Specifies the name of the domain controller.
	DcName string `json:"dc_name,omitempty"`

	// Specifies the address for the domain controller. This value is the same as the 'dc_address' value.
	Id string `json:"id,omitempty"`
}

type AdsProviderDomains ¶

type AdsProviderDomains struct {
	Domains []AdsProviderDomainsDomain `json:"domains,omitempty"`
}

type AdsProviderDomainsDomain ¶

type AdsProviderDomainsDomain struct {
	ClientSite string `json:"client_site,omitempty"`

	DcAddress string `json:"dc_address,omitempty"`

	DcName string `json:"dc_name,omitempty"`

	DcSite string `json:"dc_site,omitempty"`

	Domain string `json:"domain,omitempty"`

	Guid string `json:"guid,omitempty"`

	// Specifies a unique identifier for every domain returned.
	Id string `json:"id,omitempty"`

	NetbiosName string `json:"netbios_name,omitempty"`

	Sid string `json:"sid,omitempty"`

	// Specifies the status of the domain.
	Status string `json:"status,omitempty"`

	// Specifies the type of trust for this domain. Options include 'primary', 'unknown', 'external', and 'forest'.
	TrustType string `json:"trust_type,omitempty"`
}

type AdsProviderSearch ¶

type AdsProviderSearch struct {
	Objects []AdsProviderSearchObject `json:"objects,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`
}

type AdsProviderSearchObject ¶

type AdsProviderSearchObject struct {
	Description string `json:"description,omitempty"`

	DisplayName string `json:"display_name,omitempty"`

	// Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.
	Id *AuthAccessAccessItemFileGroup `json:"id,omitempty"`
}

type AntivirusApiService ¶

type AntivirusApiService service

func (*AntivirusApiService) CreateAntivirusPolicy ¶

func (a *AntivirusApiService) CreateAntivirusPolicy(ctx context.Context, antivirusPolicy AntivirusPolicyCreateParams) (CreateResponse, *http.Response, error)

AntivirusApiService Create new antivirus scan policies. * @param ctx context.Context for authentication, logging, tracing, etc. @param antivirusPolicy @return CreateResponse

func (*AntivirusApiService) CreateAntivirusScanItem ¶

func (a *AntivirusApiService) CreateAntivirusScanItem(ctx context.Context, antivirusScanItem AntivirusScanItem) (CreateAntivirusScanItemResponse, *http.Response, error)

AntivirusApiService Manually scan a file. * @param ctx context.Context for authentication, logging, tracing, etc. @param antivirusScanItem @return CreateAntivirusScanItemResponse

func (*AntivirusApiService) CreateAntivirusServer ¶

func (a *AntivirusApiService) CreateAntivirusServer(ctx context.Context, antivirusServer AntivirusServerCreateParams) (CreateResponse, *http.Response, error)

AntivirusApiService Create new antivirus servers. * @param ctx context.Context for authentication, logging, tracing, etc. @param antivirusServer @return CreateResponse

func (*AntivirusApiService) DeleteAntivirusPolicies ¶

func (a *AntivirusApiService) DeleteAntivirusPolicies(ctx context.Context) (*http.Response, error)

AntivirusApiService Delete all antivirus scan policies. * @param ctx context.Context for authentication, logging, tracing, etc. @return

func (*AntivirusApiService) DeleteAntivirusPolicy ¶

func (a *AntivirusApiService) DeleteAntivirusPolicy(ctx context.Context, antivirusPolicyId string) (*http.Response, error)

AntivirusApiService Delete an antivirus scan policy. * @param ctx context.Context for authentication, logging, tracing, etc. @param antivirusPolicyId Delete an antivirus scan policy. @return

func (*AntivirusApiService) DeleteAntivirusServer ¶

func (a *AntivirusApiService) DeleteAntivirusServer(ctx context.Context, antivirusServerId string) (*http.Response, error)

AntivirusApiService Delete an antivirus server entry. * @param ctx context.Context for authentication, logging, tracing, etc. @param antivirusServerId Delete an antivirus server entry. @return

func (*AntivirusApiService) DeleteAntivirusServers ¶

func (a *AntivirusApiService) DeleteAntivirusServers(ctx context.Context) (*http.Response, error)

AntivirusApiService Delete all antivirus servers. * @param ctx context.Context for authentication, logging, tracing, etc. @return

func (*AntivirusApiService) DeleteReportsScan ¶

func (a *AntivirusApiService) DeleteReportsScan(ctx context.Context, reportsScanId string) (*http.Response, error)

AntivirusApiService Delete one antivirus scan report, and all of its associated threat reports. * @param ctx context.Context for authentication, logging, tracing, etc. @param reportsScanId Delete one antivirus scan report, and all of its associated threat reports. @return

func (*AntivirusApiService) DeleteReportsScans ¶

func (a *AntivirusApiService) DeleteReportsScans(ctx context.Context, localVarOptionals map[string]interface{}) (*http.Response, error)

AntivirusApiService Delete antivirus scan reports, and any threat reports associated with those scans. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "age" (int32) An amount of time in seconds. If present, only reports older than this age are deleted.

@return

func (*AntivirusApiService) GetAntivirusPolicy ¶

func (a *AntivirusApiService) GetAntivirusPolicy(ctx context.Context, antivirusPolicyId string) (AntivirusPolicies, *http.Response, error)

AntivirusApiService Retrieve one antivirus scan policy. * @param ctx context.Context for authentication, logging, tracing, etc. @param antivirusPolicyId Retrieve one antivirus scan policy. @return AntivirusPolicies

func (*AntivirusApiService) GetAntivirusQuarantinePath ¶

func (a *AntivirusApiService) GetAntivirusQuarantinePath(ctx context.Context, antivirusQuarantinePath string) (AntivirusQuarantine, *http.Response, error)

AntivirusApiService Retrieve the quarantine status of the file at the specified path. * @param ctx context.Context for authentication, logging, tracing, etc. @param antivirusQuarantinePath Retrieve the quarantine status of the file at the specified path. @return AntivirusQuarantine

func (*AntivirusApiService) GetAntivirusServer ¶

func (a *AntivirusApiService) GetAntivirusServer(ctx context.Context, antivirusServerId string) (AntivirusServers, *http.Response, error)

AntivirusApiService Retrieve one antivirus server entry. * @param ctx context.Context for authentication, logging, tracing, etc. @param antivirusServerId Retrieve one antivirus server entry. @return AntivirusServers

func (*AntivirusApiService) GetAntivirusSettings ¶

func (a *AntivirusApiService) GetAntivirusSettings(ctx context.Context) (AntivirusSettings, *http.Response, error)

AntivirusApiService Retrieve the Antivirus settings. * @param ctx context.Context for authentication, logging, tracing, etc. @return AntivirusSettings

func (*AntivirusApiService) GetReportsScan ¶

func (a *AntivirusApiService) GetReportsScan(ctx context.Context, reportsScanId string) (ReportsScans, *http.Response, error)

AntivirusApiService Retrieve one antivirus scan report. * @param ctx context.Context for authentication, logging, tracing, etc. @param reportsScanId Retrieve one antivirus scan report. @return ReportsScans

func (*AntivirusApiService) GetReportsScans ¶

func (a *AntivirusApiService) GetReportsScans(ctx context.Context, localVarOptionals map[string]interface{}) (ReportsScansExtended, *http.Response, error)

AntivirusApiService List antivirus scan reports. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "status" (string) If present, only scan reports with this status will be returned.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "dir" (string) The direction of the sort.
@param "policyId" (string) If present, only reports for scans associated with this policy will be returned.

@return ReportsScansExtended

func (*AntivirusApiService) GetReportsThreat ¶

func (a *AntivirusApiService) GetReportsThreat(ctx context.Context, reportsThreatId string) (ReportsThreats, *http.Response, error)

AntivirusApiService Retrieve one antivirus threat report. * @param ctx context.Context for authentication, logging, tracing, etc. @param reportsThreatId Retrieve one antivirus threat report. @return ReportsThreats

func (*AntivirusApiService) GetReportsThreats ¶

func (a *AntivirusApiService) GetReportsThreats(ctx context.Context, localVarOptionals map[string]interface{}) (ReportsThreatsExtended, *http.Response, error)

AntivirusApiService List antivirus threat reports. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "scanId" (string) If present, only returns threat reports associated with the given scan report.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "file" (string) If present, only returns threat reports for the given file.
@param "remediation" (string) If present, only returns threat reports with the given remediation.
@param "dir" (string) The direction of the sort.

@return ReportsThreatsExtended

func (*AntivirusApiService) ListAntivirusPolicies ¶

func (a *AntivirusApiService) ListAntivirusPolicies(ctx context.Context, localVarOptionals map[string]interface{}) (AntivirusPoliciesExtended, *http.Response, error)

AntivirusApiService List antivirus scan policies. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "dir" (string) The direction of the sort.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).

@return AntivirusPoliciesExtended

func (*AntivirusApiService) ListAntivirusServers ¶

func (a *AntivirusApiService) ListAntivirusServers(ctx context.Context, localVarOptionals map[string]interface{}) (AntivirusServersExtended, *http.Response, error)

AntivirusApiService List antivirus servers. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "dir" (string) The direction of the sort.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).

@return AntivirusServersExtended

func (*AntivirusApiService) UpdateAntivirusPolicy ¶

func (a *AntivirusApiService) UpdateAntivirusPolicy(ctx context.Context, antivirusPolicy AntivirusPolicy, antivirusPolicyId string) (*http.Response, error)

AntivirusApiService Modify an antivirus scan policy. * @param ctx context.Context for authentication, logging, tracing, etc. @param antivirusPolicy @param antivirusPolicyId Modify an antivirus scan policy. @return

func (*AntivirusApiService) UpdateAntivirusQuarantinePath ¶

func (a *AntivirusApiService) UpdateAntivirusQuarantinePath(ctx context.Context, antivirusQuarantinePathParams AntivirusQuarantinePathParams, antivirusQuarantinePath string) (*http.Response, error)

AntivirusApiService Set the quarantine status of the file at the specified path. Use either an empty object {} in the request body or {\"quarantined\":true} to quarantine the file, and {\"quarantined\":false} to unquarantine the file. * @param ctx context.Context for authentication, logging, tracing, etc. @param antivirusQuarantinePathParams @param antivirusQuarantinePath Set the quarantine status of the file at the specified path. Use either an empty object {} in the request body or {\"quarantined\":true} to quarantine the file, and {\"quarantined\":false} to unquarantine the file. @return

func (*AntivirusApiService) UpdateAntivirusServer ¶

func (a *AntivirusApiService) UpdateAntivirusServer(ctx context.Context, antivirusServer AntivirusServer, antivirusServerId string) (*http.Response, error)

AntivirusApiService Modify an antivirus server entry. * @param ctx context.Context for authentication, logging, tracing, etc. @param antivirusServer @param antivirusServerId Modify an antivirus server entry. @return

func (*AntivirusApiService) UpdateAntivirusSettings ¶

func (a *AntivirusApiService) UpdateAntivirusSettings(ctx context.Context, antivirusSettings AntivirusSettingsSettings) (*http.Response, error)

AntivirusApiService Modify the Antivirus settings. All input fields are optional, but one or more must be supplied. * @param ctx context.Context for authentication, logging, tracing, etc. @param antivirusSettings @return

type AntivirusPolicies ¶

type AntivirusPolicies struct {
	Policies []AntivirusPolicyExtended `json:"policies,omitempty"`
}

type AntivirusPoliciesExtended ¶

type AntivirusPoliciesExtended struct {
	Policies []AntivirusPolicyExtended `json:"policies,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type AntivirusPolicy ¶

type AntivirusPolicy struct {

	// A description for the policy.
	Description string `json:"description,omitempty"`

	// Whether the policy is enabled.
	Enabled bool `json:"enabled,omitempty"`

	// Forces the scan to run regardless of whether the files were recently scanned.
	ForceRun bool `json:"force_run,omitempty"`

	Impact string `json:"impact,omitempty"`

	// The name of the policy.
	Name string `json:"name,omitempty"`

	// Paths to include in the scan.
	Paths []string `json:"paths,omitempty"`

	// The depth to recurse in directories.  The default of -1 gives unlimited recursion.
	RecursionDepth int32 `json:"recursion_depth,omitempty"`

	Schedule string `json:"schedule,omitempty"`
}

An antivirus scan policy.

type AntivirusPolicyCreateParams ¶

type AntivirusPolicyCreateParams struct {

	// A description for the policy.
	Description string `json:"description,omitempty"`

	// Whether the policy is enabled.
	Enabled bool `json:"enabled,omitempty"`

	// Forces the scan to run regardless of whether the files were recently scanned.
	ForceRun bool `json:"force_run,omitempty"`

	Impact string `json:"impact,omitempty"`

	// The name of the policy.
	Name string `json:"name"`

	// Paths to include in the scan.
	Paths []string `json:"paths,omitempty"`

	// The depth to recurse in directories.  The default of -1 gives unlimited recursion.
	RecursionDepth int32 `json:"recursion_depth,omitempty"`

	Schedule string `json:"schedule,omitempty"`
}

type AntivirusPolicyExtended ¶

type AntivirusPolicyExtended struct {

	// A description for the policy.
	Description string `json:"description,omitempty"`

	// Whether the policy is enabled.
	Enabled bool `json:"enabled,omitempty"`

	// Forces the scan to run regardless of whether the files were recently scanned.
	ForceRun bool `json:"force_run,omitempty"`

	Impact string `json:"impact,omitempty"`

	// The name of the policy.
	Name string `json:"name,omitempty"`

	// Paths to include in the scan.
	Paths []string `json:"paths,omitempty"`

	// The depth to recurse in directories.  The default of -1 gives unlimited recursion.
	RecursionDepth int32 `json:"recursion_depth,omitempty"`

	Schedule string `json:"schedule,omitempty"`

	// A unique identifier for the policy.
	Id string `json:"id,omitempty"`

	// The epoch time of the last run of this policy.
	LastRun int32 `json:"last_run,omitempty"`
}

type AntivirusQuarantine ¶

type AntivirusQuarantine struct {

	// Path of this file, starting with /ifs.
	File string `json:"file"`

	LastIstag string `json:"last_istag,omitempty"`

	LastScan int32 `json:"last_scan,omitempty"`

	// If true, this file is quarantined.  If false, the file is not quarantined.
	Quarantined bool `json:"quarantined"`

	// The result of the last scan on this file.  This string is usually one of: never_scanned, clean, quarantined, repaired, truncated, infected_no_action_taken, skipped_per_settings.  However, a longer string starting with 'unknown_status' and describing the details can also appear in uncommon edge cases.
	ScanResult string `json:"scan_result"`

	// The scanning status of this file.  If 'current', the file was scanned with the most up-to-date virus definitions.  If 'not_current', it has either not been scanned, been modified since the last scan, or the virus definitions are not current.
	ScanStatus string `json:"scan_status"`
}

The quarantine status of a file in /ifs.

type AntivirusQuarantinePathParams ¶

type AntivirusQuarantinePathParams struct {

	// If true, this file is quarantined.  If false, the file is not quarantined.
	Quarantined bool `json:"quarantined,omitempty"`
}

The quarantine status of a file in /ifs.

type AntivirusScanItem ¶

type AntivirusScanItem struct {

	// The full path of the file to scan.
	File string `json:"file"`

	// Forces the scan to run regardless of whether the files were recently scanned. The default value is true.
	ForceRun bool `json:"force_run,omitempty"`

	// The ID of the policy to use for the scan. By default, the scan will use the MANUAL policy.
	Policy string `json:"policy,omitempty"`

	// The ID for the report for this scan. A report ID will be generated if one is not provided.
	ReportId string `json:"report_id,omitempty"`
}

Parameters for a manual antivirus scan.

type AntivirusServer ¶

type AntivirusServer struct {

	// A description for the server.
	Description string `json:"description,omitempty"`

	// Whether the server is enabled.
	Enabled bool `json:"enabled,omitempty"`

	// The icap url for the server.  This should have a format of: icap://host.domain:port/path
	Url string `json:"url,omitempty"`
}

An ICAP server that contains virus definitions.

type AntivirusServerCreateParams ¶

type AntivirusServerCreateParams struct {

	// A description for the server.
	Description string `json:"description,omitempty"`

	// Whether the server is enabled.
	Enabled bool `json:"enabled,omitempty"`

	// The icap url for the server.  This should have a format of: icap://host.domain:port/path
	Url string `json:"url"`
}

type AntivirusServerExtended ¶

type AntivirusServerExtended struct {

	// A description for the server.
	Description string `json:"description,omitempty"`

	// Whether the server is enabled.
	Enabled bool `json:"enabled,omitempty"`

	// The icap url for the server.  This should have a format of: icap://host.domain:port/path
	Url string `json:"url,omitempty"`

	Definitions string `json:"definitions,omitempty"`

	// A unique identifier for the server.
	Id string `json:"id,omitempty"`

	// The status of the server.
	Status string `json:"status,omitempty"`
}

type AntivirusServers ¶

type AntivirusServers struct {
	Servers []AntivirusServerExtended `json:"servers,omitempty"`
}

type AntivirusServersExtended ¶

type AntivirusServersExtended struct {
	Servers []AntivirusServerExtended `json:"servers,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type AntivirusSettings ¶

type AntivirusSettings struct {

	// Antivirus settings.
	Settings *AntivirusSettingsSettings `json:"settings,omitempty"`
}

type AntivirusSettingsSettings ¶

type AntivirusSettingsSettings struct {

	// Allow access when scanning fails.
	FailOpen bool `json:"fail_open,omitempty"`

	// Glob patterns for leaf filenames.
	GlobFilters []string `json:"glob_filters,omitempty"`

	// Enable glob filters.
	GlobFiltersEnabled bool `json:"glob_filters_enabled,omitempty"`

	// If true, only scan files matching a glob filter. If false, only scan files that don't match a glob filter.
	GlobFiltersInclude bool `json:"glob_filters_include,omitempty"`

	// Paths to include in realtime scans.
	PathPrefixes []string `json:"path_prefixes,omitempty"`

	// Try to quarantine files when threats are found.
	Quarantine bool `json:"quarantine,omitempty"`

	// Try to repair files when threats are found.
	Repair bool `json:"repair,omitempty"`

	// Amount of time in seconds until old reporting data is purged.
	ReportExpiry int32 `json:"report_expiry,omitempty"`

	// Scan files when apps close them.
	ScanOnClose bool `json:"scan_on_close,omitempty"`

	// Scan files on access.
	ScanOnOpen bool `json:"scan_on_open,omitempty"`

	// Skip scanning files larger than this.
	ScanSizeMaximum int32 `json:"scan_size_maximum,omitempty"`

	// Whether the antivirus service is enabled.
	Service bool `json:"service,omitempty"`

	// Try to truncate files when threats are found.
	Truncate bool `json:"truncate,omitempty"`
}

type AuditApiService ¶

type AuditApiService service

func (*AuditApiService) CreateAuditTopic ¶

func (a *AuditApiService) CreateAuditTopic(ctx context.Context, auditTopic AuditTopicCreateParams) (CreateResponse, *http.Response, error)

AuditApiService Create a new audit topic. * @param ctx context.Context for authentication, logging, tracing, etc. @param auditTopic @return CreateResponse

func (*AuditApiService) DeleteAuditTopic ¶

func (a *AuditApiService) DeleteAuditTopic(ctx context.Context, auditTopicId string) (*http.Response, error)

AuditApiService Delete the audit topic. * @param ctx context.Context for authentication, logging, tracing, etc. @param auditTopicId Delete the audit topic. @return

func (*AuditApiService) GetAuditProgress ¶

func (a *AuditApiService) GetAuditProgress(ctx context.Context, localVarOptionals map[string]interface{}) (AuditProgress, *http.Response, error)

AuditApiService View current audit log time. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "lnn" (int32) lnn of the node.

@return AuditProgress

func (*AuditApiService) GetAuditSettings ¶

func (a *AuditApiService) GetAuditSettings(ctx context.Context, localVarOptionals map[string]interface{}) (AuditSettings, *http.Response, error)

AuditApiService View per-Access Zone Audit settings. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Access zone which contains audit settings.

@return AuditSettings

func (*AuditApiService) GetAuditTopic ¶

func (a *AuditApiService) GetAuditTopic(ctx context.Context, auditTopicId string) (AuditTopics, *http.Response, error)

AuditApiService Retrieve the audit topic information. * @param ctx context.Context for authentication, logging, tracing, etc. @param auditTopicId Retrieve the audit topic information. @return AuditTopics

func (*AuditApiService) GetProgressGlobal ¶

func (a *AuditApiService) GetProgressGlobal(ctx context.Context) (ProgressGlobal, *http.Response, error)

AuditApiService View the global audit log time. * @param ctx context.Context for authentication, logging, tracing, etc. @return ProgressGlobal

func (*AuditApiService) GetSettingsGlobal ¶

func (a *AuditApiService) GetSettingsGlobal(ctx context.Context) (SettingsGlobalExtended, *http.Response, error)

AuditApiService View Global Audit settings. * @param ctx context.Context for authentication, logging, tracing, etc. @return SettingsGlobalExtended

func (*AuditApiService) ListAuditTopics ¶

func (a *AuditApiService) ListAuditTopics(ctx context.Context) (AuditTopicsExtended, *http.Response, error)

AuditApiService Retrieve a list of audit topics. * @param ctx context.Context for authentication, logging, tracing, etc. @return AuditTopicsExtended

func (*AuditApiService) UpdateAuditSettings ¶

func (a *AuditApiService) UpdateAuditSettings(ctx context.Context, auditSettings AuditSettingsSettings, localVarOptionals map[string]interface{}) (*http.Response, error)

AuditApiService Modify per-Access Zone Audit settings. * @param ctx context.Context for authentication, logging, tracing, etc. @param auditSettings @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Access zone which contains audit settings.

@return

func (*AuditApiService) UpdateAuditTopic ¶

func (a *AuditApiService) UpdateAuditTopic(ctx context.Context, auditTopic AuditTopic, auditTopicId string) (*http.Response, error)

AuditApiService Modify the audit topic. * @param ctx context.Context for authentication, logging, tracing, etc. @param auditTopic @param auditTopicId Modify the audit topic. @return

func (*AuditApiService) UpdateSettingsGlobal ¶

func (a *AuditApiService) UpdateSettingsGlobal(ctx context.Context, settingsGlobal SettingsGlobalSettings) (*http.Response, error)

AuditApiService Modify Global Audit settings. * @param ctx context.Context for authentication, logging, tracing, etc. @param settingsGlobal @return

type AuditProgress ¶

type AuditProgress struct {

	// Lists the current audit log times.
	Progress *AuditProgressProgress `json:"progress,omitempty"`
}

type AuditProgressProgress ¶

type AuditProgressProgress struct {

	// Specifies the last protocol audit event time consumed by the CEE forwarder.
	ProtocolAuditCeeTime int32 `json:"protocol_audit_cee_time,omitempty"`

	// Specifies the last logged audit protocol event time.
	ProtocolAuditLogTime int32 `json:"protocol_audit_log_time,omitempty"`

	// Specifies the last protocol audit event time consumed by the Syslog forwarder.
	ProtocolAuditSyslogTime int32 `json:"protocol_audit_syslog_time,omitempty"`
}

type AuditSettings ¶

type AuditSettings struct {

	// Per-Access Zone Audit settings
	Settings *AuditSettingsSettings `json:"settings,omitempty"`
}

type AuditSettingsSettings ¶

type AuditSettingsSettings struct {

	// Filter of protocol operations to Audit when they fail.
	AuditFailure []string `json:"audit_failure,omitempty"`

	// Filter of protocol operations to Audit when they succeed.
	AuditSuccess []string `json:"audit_success,omitempty"`

	// Filter of Audit operations to forward to syslog.
	SyslogAuditEvents []string `json:"syslog_audit_events,omitempty"`

	// Enables forwarding of events to syslog.
	SyslogForwardingEnabled bool `json:"syslog_forwarding_enabled,omitempty"`
}

type AuditTopic ¶

type AuditTopic struct {

	// Specifies the system-provided ID for the audit topic.
	Id string `json:"id,omitempty"`

	// Specifies the maximum number of messages that can be sent and received at the same time. Messages that are sent and received at the same time can be lost if a system crash occurs. You can prevent message loss by setting this property to 0, which sets audit logs to synchronous.
	MaxCachedMessages int32 `json:"max_cached_messages,omitempty"`
}

Specifies the configuration settings for an audit topic.

type AuditTopicCreateParams ¶

type AuditTopicCreateParams struct {

	// Specifies the maximum number of messages that can be sent and received at the same time. Messages that are sent and received at the same time can be lost if a system crash occurs. You can prevent message loss by setting this property to 0, which sets audit logs to synchronous.
	MaxCachedMessages int32 `json:"max_cached_messages,omitempty"`

	// Specifies the name of the audit topic.
	Name string `json:"name"`
}

Specifies the configuration settings for an audit topic.

type AuditTopicExtended ¶

type AuditTopicExtended struct {

	// Specifies the system-provided ID for the audit topic.
	Id string `json:"id,omitempty"`

	// Specifies the maximum number of messages that can be sent and received at the same time. Messages that are sent and received at the same time can be lost if a system crash occurs. You can prevent message loss by setting this property to 0, which sets audit logs to synchronous.
	MaxCachedMessages int32 `json:"max_cached_messages,omitempty"`

	// Specifies the name of the audit topic.
	Name string `json:"name,omitempty"`
}

type AuditTopics ¶

type AuditTopics struct {
	Topics []AuditTopicExtended `json:"topics,omitempty"`
}

type AuditTopicsExtended ¶

type AuditTopicsExtended struct {
	Topics []AuditTopicExtended `json:"topics,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`
}

type AuthAccess ¶

type AuthAccess struct {
	Access []AuthAccessAccessItem `json:"access,omitempty"`
}

type AuthAccessAccessItem ¶

type AuthAccessAccessItem struct {

	// Specifies properties for access rights.
	File *AuthAccessAccessItemFile `json:"file,omitempty"`

	// Specifies the ID of the user.
	Id string `json:"id,omitempty"`

	// Specifies the permissions that the user has on the share.
	Share *AuthAccessAccessItemShare `json:"share,omitempty"`

	// Specifies the persona for the user.
	User *AuthAccessAccessItemShareEffectiveUser `json:"user,omitempty"`
}

type AuthAccessAccessItemFile ¶

type AuthAccessAccessItemFile struct {

	// Specifies absolute path in filesystem.
	EffectivePath string `json:"effective_path,omitempty"`

	// Specifies the permissions that the user has on the file.
	FilePermissions *AuthAccessAccessItemFileFilePermissions `json:"file_permissions,omitempty"`

	// Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.
	Group *AuthAccessAccessItemFileGroup `json:"group,omitempty"`

	// Specifies whether path is inside snapshot.
	IsSnapshot bool `json:"is_snapshot,omitempty"`

	// Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.
	Owner *AuthAccessAccessItemFileGroup `json:"owner,omitempty"`
}

type AuthAccessAccessItemFileFilePermissions ¶

type AuthAccessAccessItemFileFilePermissions struct {

	// Returns a status message if the Null ACL is set.
	Dacl string `json:"dacl,omitempty"`

	// Returns a status message if the parent directoryhas the delete_child property set for the user.If the delete_child property is set for a user,that user is able to delete the file.the delete_child for the user.
	DeleteChild string `json:"delete_child,omitempty"`

	// Specifies the Access Control Entry (ACE) for the user.
	Expected string `json:"expected,omitempty"`

	// Specifies the mode bits on the file.
	Mode string `json:"mode,omitempty"`

	// Returns a status message if the user owns the file.
	Ownership string `json:"ownership,omitempty"`

	// Specifies a list of the relevant Access Control Entrieswith respect to the user in the share.
	RelevantAces []AuthAccessAccessItemShareSharePermissionsShareRelevantAce `json:"relevant_aces,omitempty"`

	// Specifies the mode bits that are related to the user.
	RelevantMode string `json:"relevant_mode,omitempty"`

	// Returns a status message if the user owns the file.
	Sticky string `json:"sticky,omitempty"`
}

type AuthAccessAccessItemFileGroup ¶

type AuthAccessAccessItemFileGroup 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"`
}

type AuthAccessAccessItemShare ¶

type AuthAccessAccessItemShare struct {

	// Specifies the persona for the user.
	EffectiveUser *AuthAccessAccessItemShareEffectiveUser `json:"effective_user,omitempty"`

	// Specifies the permissions that the user has on the SHARE.
	SharePermissions *AuthAccessAccessItemShareSharePermissions `json:"share_permissions,omitempty"`
}

type AuthAccessAccessItemShareEffectiveUser ¶

type AuthAccessAccessItemShareEffectiveUser struct {

	// Specifies the serialized form of the 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, which must be combined with a name.
	Type_ string `json:"type,omitempty"`

	// Specifies the uid of the user.
	Uid int32 `json:"uid,omitempty"`
}

type AuthAccessAccessItemShareSharePermissions ¶

type AuthAccessAccessItemShareSharePermissions struct {

	// Returns Share level permissions for the user.{ 'read' , 'write' , 'full' or 'none' will be the values}
	ExpectedPermissions string `json:"expected_permissions,omitempty"`

	// Returns whether impersonate guest setting is enabled for the user on the share.
	ImpersonateGuest bool `json:"impersonate_guest,omitempty"`

	// Returns whether impersonate user setting is enabled on the share
	ImpersonateUser bool `json:"impersonate_user,omitempty"`

	// Returns whether run as root is enabled for the user on the share
	RunAsRoot bool `json:"run_as_root,omitempty"`

	// Specifies a list of the relevant Access Control Entries withrespect to the user in the share.
	ShareRelevantAces []AuthAccessAccessItemShareSharePermissionsShareRelevantAce `json:"share_relevant_aces,omitempty"`
}

type AuthAccessAccessItemShareSharePermissionsShareRelevantAce ¶

type AuthAccessAccessItemShareSharePermissionsShareRelevantAce struct {

	// Specifies properties for an Access Control Entry
	Ace string `json:"ace,omitempty"`
}

type AuthApiService ¶

type AuthApiService service

func (*AuthApiService) CreateAuthCacheItem ¶

func (a *AuthApiService) CreateAuthCacheItem(ctx context.Context, authCacheItem AuthCacheItem, localVarOptionals map[string]interface{}) (CreateResponse, *http.Response, error)

AuthApiService Flush the Security Objects Cache. * @param ctx context.Context for authentication, logging, tracing, etc. @param authCacheItem @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Specifies access zone from which to flush objects.

@return CreateResponse

func (*AuthApiService) CreateAuthGroup ¶

func (a *AuthApiService) CreateAuthGroup(ctx context.Context, authGroup AuthGroupCreateParams, localVarOptionals map[string]interface{}) (CreateResponse, *http.Response, error)

AuthApiService Create a new group. * @param ctx context.Context for authentication, logging, tracing, etc. @param authGroup @param optional (nil or map[string]interface{}) with one or more of:

@param "force" (bool) Skip validation checks when creating a group.
@param "zone" (string) Optional zone.
@param "provider" (string) Optional provider type.

@return CreateResponse

func (*AuthApiService) CreateAuthRefreshItem ¶

func (a *AuthApiService) CreateAuthRefreshItem(ctx context.Context, authRefreshItem Empty) (CreateAuthRefreshItemResponse, *http.Response, error)

AuthApiService Refresh the authentication service configuration. * @param ctx context.Context for authentication, logging, tracing, etc. @param authRefreshItem @return CreateAuthRefreshItemResponse

func (*AuthApiService) CreateAuthRole ¶

func (a *AuthApiService) CreateAuthRole(ctx context.Context, authRole AuthRoleCreateParams) (CreateResponse, *http.Response, error)

AuthApiService Create a new role. * @param ctx context.Context for authentication, logging, tracing, etc. @param authRole @return CreateResponse

func (*AuthApiService) CreateAuthUser ¶

func (a *AuthApiService) CreateAuthUser(ctx context.Context, authUser AuthUserCreateParams, localVarOptionals map[string]interface{}) (CreateResponse, *http.Response, error)

AuthApiService Create a new user. * @param ctx context.Context for authentication, logging, tracing, etc. @param authUser @param optional (nil or map[string]interface{}) with one or more of:

@param "force" (bool) Skip validation checks when creating user.
@param "zone" (string) Optional zone.
@param "provider" (string) Optional provider type.

@return CreateResponse

func (*AuthApiService) CreateMappingIdentity ¶

func (a *AuthApiService) CreateMappingIdentity(ctx context.Context, mappingIdentity MappingIdentityCreateParams, localVarOptionals map[string]interface{}) (Empty, *http.Response, error)

AuthApiService Manually set or modify a mapping between two personae. * @param ctx context.Context for authentication, logging, tracing, etc. @param mappingIdentity @param optional (nil or map[string]interface{}) with one or more of:

@param "var2way" (bool) Create a bi-directional mapping from source to target and target to source.
@param "zone" (string) Optional zone.
@param "replace" (bool) Replace existing mappings.

@return Empty

func (*AuthApiService) CreateMappingIdentity_1 ¶

func (a *AuthApiService) CreateMappingIdentity_1(ctx context.Context, mappingIdentity Empty, mappingIdentityId string, localVarOptionals map[string]interface{}) (MappingIdentities, *http.Response, error)

AuthApiService Manually set or modify a mapping between two personae. * @param ctx context.Context for authentication, logging, tracing, etc. @param mappingIdentity @param mappingIdentityId Manually set or modify a mapping between two personae. @param optional (nil or map[string]interface{}) with one or more of:

@param "type_" (string) Desired mapping target to fetch/generate.
@param "zone" (string) Optional zone.

@return MappingIdentities

func (*AuthApiService) CreateProvidersAdsItem ¶

func (a *AuthApiService) CreateProvidersAdsItem(ctx context.Context, providersAdsItem ProvidersAdsItem) (CreateResponse, *http.Response, error)

AuthApiService Create a new ADS provider. * @param ctx context.Context for authentication, logging, tracing, etc. @param providersAdsItem @return CreateResponse

func (*AuthApiService) CreateProvidersFileItem ¶

func (a *AuthApiService) CreateProvidersFileItem(ctx context.Context, providersFileItem ProvidersFileItem) (CreateResponse, *http.Response, error)

AuthApiService Create a new file provider. * @param ctx context.Context for authentication, logging, tracing, etc. @param providersFileItem @return CreateResponse

func (*AuthApiService) CreateProvidersKrb5Item ¶

func (a *AuthApiService) CreateProvidersKrb5Item(ctx context.Context, providersKrb5Item ProvidersKrb5Item) (CreateResponse, *http.Response, error)

AuthApiService Create a new KRB5 provider. * @param ctx context.Context for authentication, logging, tracing, etc. @param providersKrb5Item @return CreateResponse

func (*AuthApiService) CreateProvidersLdapItem ¶

func (a *AuthApiService) CreateProvidersLdapItem(ctx context.Context, providersLdapItem ProvidersLdapItem, localVarOptionals map[string]interface{}) (CreateResponse, *http.Response, error)

AuthApiService Create a new LDAP provider. * @param ctx context.Context for authentication, logging, tracing, etc. @param providersLdapItem @param optional (nil or map[string]interface{}) with one or more of:

@param "force" (bool) Ignore unresolvable server URIs.

@return CreateResponse

func (*AuthApiService) CreateProvidersNisItem ¶

func (a *AuthApiService) CreateProvidersNisItem(ctx context.Context, providersNisItem ProvidersNisItem) (CreateResponse, *http.Response, error)

AuthApiService Create a new NIS provider. * @param ctx context.Context for authentication, logging, tracing, etc. @param providersNisItem @return CreateResponse

func (*AuthApiService) CreateSettingsKrb5Domain ¶

func (a *AuthApiService) CreateSettingsKrb5Domain(ctx context.Context, settingsKrb5Domain SettingsKrb5DomainCreateParams) (CreateResponse, *http.Response, error)

AuthApiService Create a new krb5 domain. * @param ctx context.Context for authentication, logging, tracing, etc. @param settingsKrb5Domain @return CreateResponse

func (*AuthApiService) CreateSettingsKrb5Realm ¶

func (a *AuthApiService) CreateSettingsKrb5Realm(ctx context.Context, settingsKrb5Realm SettingsKrb5RealmCreateParams) (CreateResponse, *http.Response, error)

AuthApiService Create a new krb5 realm. * @param ctx context.Context for authentication, logging, tracing, etc. @param settingsKrb5Realm @return CreateResponse

func (*AuthApiService) DeleteAuthGroup ¶

func (a *AuthApiService) DeleteAuthGroup(ctx context.Context, authGroupId string, localVarOptionals map[string]interface{}) (*http.Response, error)

AuthApiService Delete the group. * @param ctx context.Context for authentication, logging, tracing, etc. @param authGroupId Delete the group. @param optional (nil or map[string]interface{}) with one or more of:

@param "cached" (bool) If true, flush the group from the cache.
@param "zone" (string) Filter groups by zone.
@param "provider" (string) Filter groups by provider.

@return

func (*AuthApiService) DeleteAuthGroups ¶

func (a *AuthApiService) DeleteAuthGroups(ctx context.Context, localVarOptionals map[string]interface{}) (*http.Response, error)

AuthApiService Flush the groups cache. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "cached" (bool) If true, only flush cached objects.
@param "zone" (string) Filter groups by zone.
@param "provider" (string) Filter groups by provider.

@return

func (*AuthApiService) DeleteAuthRole ¶

func (a *AuthApiService) DeleteAuthRole(ctx context.Context, authRoleId string) (*http.Response, error)

AuthApiService Delete the role. * @param ctx context.Context for authentication, logging, tracing, etc. @param authRoleId Delete the role. @return

func (*AuthApiService) DeleteAuthUser ¶

func (a *AuthApiService) DeleteAuthUser(ctx context.Context, authUserId string, localVarOptionals map[string]interface{}) (*http.Response, error)

AuthApiService Delete the user. * @param ctx context.Context for authentication, logging, tracing, etc. @param authUserId Delete the user. @param optional (nil or map[string]interface{}) with one or more of:

@param "cached" (bool) If true, flush the user from the cache.
@param "zone" (string) Filter users by zone.
@param "provider" (string) Filter users by provider.

@return

func (*AuthApiService) DeleteAuthUsers ¶

func (a *AuthApiService) DeleteAuthUsers(ctx context.Context, localVarOptionals map[string]interface{}) (*http.Response, error)

AuthApiService Flush the users cache. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "cached" (bool) If true, only flush cached objects.
@param "zone" (string) Filter users by zone.
@param "provider" (string) Filter users by provider.

@return

func (*AuthApiService) DeleteMappingIdentities ¶

func (a *AuthApiService) DeleteMappingIdentities(ctx context.Context, localVarOptionals map[string]interface{}) (*http.Response, error)

AuthApiService Flush the entire idmap cache. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "filter" (string) Filter to apply when deleting identity mappings.
@param "zone" (string) Optional zone.
@param "remove" (bool) Delete mapping instead of flush mapping cache.

@return

func (*AuthApiService) DeleteMappingIdentity ¶

func (a *AuthApiService) DeleteMappingIdentity(ctx context.Context, mappingIdentityId string, localVarOptionals map[string]interface{}) (*http.Response, error)

AuthApiService Flush the entire idmap cache. * @param ctx context.Context for authentication, logging, tracing, etc. @param mappingIdentityId Flush the entire idmap cache. @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Optional zone.
@param "var2way" (bool) Delete the bi-directional mapping from source to target and target to source.
@param "target" (string) Target identity persona.
@param "remove" (bool) Delete mapping instead of flush mapping from cache.

@return

func (*AuthApiService) DeleteProvidersAdsById ¶

func (a *AuthApiService) DeleteProvidersAdsById(ctx context.Context, providersAdsId string) (*http.Response, error)

AuthApiService Delete the ADS provider. * @param ctx context.Context for authentication, logging, tracing, etc. @param providersAdsId Delete the ADS provider. @return

func (*AuthApiService) DeleteProvidersFileById ¶

func (a *AuthApiService) DeleteProvidersFileById(ctx context.Context, providersFileId string) (*http.Response, error)

AuthApiService Delete the file provider. * @param ctx context.Context for authentication, logging, tracing, etc. @param providersFileId Delete the file provider. @return

func (*AuthApiService) DeleteProvidersKrb5ById ¶

func (a *AuthApiService) DeleteProvidersKrb5ById(ctx context.Context, providersKrb5Id string) (*http.Response, error)

AuthApiService Delete the KRB5 provider. * @param ctx context.Context for authentication, logging, tracing, etc. @param providersKrb5Id Delete the KRB5 provider. @return

func (*AuthApiService) DeleteProvidersLdapById ¶

func (a *AuthApiService) DeleteProvidersLdapById(ctx context.Context, providersLdapId string) (*http.Response, error)

AuthApiService Delete the LDAP provider. * @param ctx context.Context for authentication, logging, tracing, etc. @param providersLdapId Delete the LDAP provider. @return

func (*AuthApiService) DeleteProvidersLocalById ¶

func (a *AuthApiService) DeleteProvidersLocalById(ctx context.Context, providersLocalId string) (*http.Response, error)

AuthApiService Delete the local provider. * @param ctx context.Context for authentication, logging, tracing, etc. @param providersLocalId Delete the local provider. @return

func (*AuthApiService) DeleteProvidersNisById ¶

func (a *AuthApiService) DeleteProvidersNisById(ctx context.Context, providersNisId string) (*http.Response, error)

AuthApiService Delete the NIS provider. * @param ctx context.Context for authentication, logging, tracing, etc. @param providersNisId Delete the NIS provider. @return

func (*AuthApiService) DeleteSettingsKrb5Domain ¶

func (a *AuthApiService) DeleteSettingsKrb5Domain(ctx context.Context, settingsKrb5DomainId string) (*http.Response, error)

AuthApiService Remove a krb5 domain. * @param ctx context.Context for authentication, logging, tracing, etc. @param settingsKrb5DomainId Remove a krb5 domain. @return

func (*AuthApiService) DeleteSettingsKrb5Realm ¶

func (a *AuthApiService) DeleteSettingsKrb5Realm(ctx context.Context, settingsKrb5RealmId string) (*http.Response, error)

AuthApiService Remove a realm. * @param ctx context.Context for authentication, logging, tracing, etc. @param settingsKrb5RealmId Remove a realm. @return

func (*AuthApiService) GetAuthAccessUser ¶

func (a *AuthApiService) GetAuthAccessUser(ctx context.Context, authAccessUser string, localVarOptionals map[string]interface{}) (AuthAccess, *http.Response, error)

AuthApiService Determine user's access rights to a file * @param ctx context.Context for authentication, logging, tracing, etc. @param authAccessUser Determine user's access rights to a file @param optional (nil or map[string]interface{}) with one or more of:

@param "path" (string) Path to the file. Must be within /ifs.
@param "share" (string) SMB share name
@param "zone" (string) Access zone the user is in.
@param "numeric" (bool) Show the user's numeric identifier.

@return AuthAccess

func (*AuthApiService) GetAuthGroup ¶

func (a *AuthApiService) GetAuthGroup(ctx context.Context, authGroupId string, localVarOptionals map[string]interface{}) (AuthGroups, *http.Response, error)

AuthApiService Retrieve the group information. * @param ctx context.Context for authentication, logging, tracing, etc. @param authGroupId Retrieve the group information. @param optional (nil or map[string]interface{}) with one or more of:

@param "cached" (bool) If true, only return cached objects.
@param "resolveNames" (bool) Resolve names of personas.
@param "queryMemberOf" (bool) Enumerate all groups that a group is a member of.
@param "zone" (string) Filter groups by zone.
@param "provider" (string) Filter groups by provider.

@return AuthGroups

func (*AuthApiService) GetAuthId ¶

func (a *AuthApiService) GetAuthId(ctx context.Context) (AuthId, *http.Response, error)

AuthApiService Retrieve the current security token. * @param ctx context.Context for authentication, logging, tracing, etc. @return AuthId

func (*AuthApiService) GetAuthLdapTemplate ¶

func (a *AuthApiService) GetAuthLdapTemplate(ctx context.Context, authLdapTemplateId string) (AuthLdapTemplates, *http.Response, error)

AuthApiService Retrieve the LDAP provider template. * @param ctx context.Context for authentication, logging, tracing, etc. @param authLdapTemplateId Retrieve the LDAP provider template. @return AuthLdapTemplates

func (*AuthApiService) GetAuthLdapTemplates ¶

func (a *AuthApiService) GetAuthLdapTemplates(ctx context.Context) (AuthLdapTemplatesExtended, *http.Response, error)

AuthApiService List all LDAP provider templates. * @param ctx context.Context for authentication, logging, tracing, etc. @return AuthLdapTemplatesExtended

func (*AuthApiService) GetAuthLogLevel ¶

func (a *AuthApiService) GetAuthLogLevel(ctx context.Context) (AuthLogLevel, *http.Response, error)

AuthApiService Get the current authentications service and netlogon logging level. * @param ctx context.Context for authentication, logging, tracing, etc. @return AuthLogLevel

func (*AuthApiService) GetAuthNetgroup ¶

func (a *AuthApiService) GetAuthNetgroup(ctx context.Context, authNetgroupId string, localVarOptionals map[string]interface{}) (AuthNetgroups, *http.Response, error)

AuthApiService Retrieve the user information. * @param ctx context.Context for authentication, logging, tracing, etc. @param authNetgroupId Retrieve the user information. @param optional (nil or map[string]interface{}) with one or more of:

@param "ignoreErrors" (bool) Ignore netgroup errors.
@param "recursive" (bool) Perform recursive search.
@param "zone" (string) Filter users by zone.
@param "provider" (string) Filter users by provider.

@return AuthNetgroups

func (*AuthApiService) GetAuthPrivileges ¶

func (a *AuthApiService) GetAuthPrivileges(ctx context.Context) (AuthPrivileges, *http.Response, error)

AuthApiService List all privileges. * @param ctx context.Context for authentication, logging, tracing, etc. @return AuthPrivileges

func (*AuthApiService) GetAuthRole ¶

func (a *AuthApiService) GetAuthRole(ctx context.Context, authRoleId string, localVarOptionals map[string]interface{}) (AuthRoles, *http.Response, error)

AuthApiService Retrieve the role information. * @param ctx context.Context for authentication, logging, tracing, etc. @param authRoleId Retrieve the role information. @param optional (nil or map[string]interface{}) with one or more of:

@param "resolveNames" (bool) Resolve names of personas.

@return AuthRoles

func (*AuthApiService) GetAuthShells ¶

func (a *AuthApiService) GetAuthShells(ctx context.Context) (AuthShells, *http.Response, error)

AuthApiService List all shells. * @param ctx context.Context for authentication, logging, tracing, etc. @return AuthShells

func (*AuthApiService) GetAuthUser ¶

func (a *AuthApiService) GetAuthUser(ctx context.Context, authUserId string, localVarOptionals map[string]interface{}) (AuthUsers, *http.Response, error)

AuthApiService Retrieve the user information. * @param ctx context.Context for authentication, logging, tracing, etc. @param authUserId Retrieve the user information. @param optional (nil or map[string]interface{}) with one or more of:

@param "cached" (bool) If true, only return cached objects.
@param "resolveNames" (bool) Resolve names of personas.
@param "queryMemberOf" (bool) Enumerate all users that a group is a member of.
@param "zone" (string) Filter users by zone.
@param "provider" (string) Filter users by provider.

@return AuthUsers

func (*AuthApiService) GetAuthWellknown ¶

func (a *AuthApiService) GetAuthWellknown(ctx context.Context, authWellknownId string, localVarOptionals map[string]interface{}) (AuthWellknowns, *http.Response, error)

AuthApiService Retrieve the wellknown persona. * @param ctx context.Context for authentication, logging, tracing, etc. @param authWellknownId Retrieve the wellknown persona. @param optional (nil or map[string]interface{}) with one or more of:

@param "scope" (string) If specified as \"effective\" or not specified, all fields are returned.  If specified as \"user\", only fields with non-default values are shown.  If specified as \"default\", the original values are returned.

@return AuthWellknowns

func (*AuthApiService) GetAuthWellknowns ¶

func (a *AuthApiService) GetAuthWellknowns(ctx context.Context) (AuthWellknowns, *http.Response, error)

AuthApiService List all wellknown personas. * @param ctx context.Context for authentication, logging, tracing, etc. @return AuthWellknowns

func (*AuthApiService) GetMappingDump ¶

func (a *AuthApiService) GetMappingDump(ctx context.Context, localVarOptionals map[string]interface{}) (MappingDump, *http.Response, error)

AuthApiService Retrieve all identity mappings (uid, gid, sid, and on-disk) for the supplied source persona. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "nocreate" (bool) Idmap should attempt to create missing identity mappings.
@param "zone" (string) Optional zone.

@return MappingDump

func (*AuthApiService) GetMappingIdentity ¶

func (a *AuthApiService) GetMappingIdentity(ctx context.Context, mappingIdentityId string, localVarOptionals map[string]interface{}) (MappingIdentities, *http.Response, error)

AuthApiService Retrieve all identity mappings (uid, gid, sid, and on-disk) for the supplied source persona. * @param ctx context.Context for authentication, logging, tracing, etc. @param mappingIdentityId Retrieve all identity mappings (uid, gid, sid, and on-disk) for the supplied source persona. @param optional (nil or map[string]interface{}) with one or more of:

@param "nocreate" (bool) Idmap should attempt to create missing identity mappings.
@param "zone" (string) Optional zone.

@return MappingIdentities

func (*AuthApiService) GetMappingUsersLookup ¶

func (a *AuthApiService) GetMappingUsersLookup(ctx context.Context, localVarOptionals map[string]interface{}) (MappingUsersLookup, *http.Response, error)

AuthApiService Retrieve the user information. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "primaryGid" (int32) The user's primary group ID.
@param "uid" (int32) The user ID.
@param "zone" (string) The zone the user belongs to.
@param "gid" ([]int32) The IDs of the groups that the user belongs to.
@param "user" (string) The user name.
@param "kerberosPrincipal" (string) The Kerberos principal name, of the form user@realm.

@return MappingUsersLookup

func (*AuthApiService) GetMappingUsersRules ¶

func (a *AuthApiService) GetMappingUsersRules(ctx context.Context, localVarOptionals map[string]interface{}) (MappingUsersRules, *http.Response, error)

AuthApiService Retrieve the user mapping rules. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) The zone to which the user mapping applies.

@return MappingUsersRules

func (*AuthApiService) GetProvidersAdsById ¶

func (a *AuthApiService) GetProvidersAdsById(ctx context.Context, providersAdsId string, localVarOptionals map[string]interface{}) (ProvidersAds, *http.Response, error)

AuthApiService Retrieve the ADS provider. * @param ctx context.Context for authentication, logging, tracing, etc. @param providersAdsId Retrieve the ADS provider. @param optional (nil or map[string]interface{}) with one or more of:

@param "scope" (string) If specified as \"effective\" or not specified, all fields are returned.  If specified as \"user\", only fields with non-default values are shown.  If specified as \"default\", the original values are returned.

@return ProvidersAds

func (*AuthApiService) GetProvidersFileById ¶

func (a *AuthApiService) GetProvidersFileById(ctx context.Context, providersFileId string, localVarOptionals map[string]interface{}) (ProvidersFile, *http.Response, error)

AuthApiService Retrieve the file provider. * @param ctx context.Context for authentication, logging, tracing, etc. @param providersFileId Retrieve the file provider. @param optional (nil or map[string]interface{}) with one or more of:

@param "scope" (string) If specified as \"effective\" or not specified, all fields are returned.  If specified as \"user\", only fields with non-default values are shown.  If specified as \"default\", the original values are returned.

@return ProvidersFile

func (*AuthApiService) GetProvidersKrb5ById ¶

func (a *AuthApiService) GetProvidersKrb5ById(ctx context.Context, providersKrb5Id string, localVarOptionals map[string]interface{}) (ProvidersKrb5, *http.Response, error)

AuthApiService Retrieve the KRB5 provider. * @param ctx context.Context for authentication, logging, tracing, etc. @param providersKrb5Id Retrieve the KRB5 provider. @param optional (nil or map[string]interface{}) with one or more of:

@param "scope" (string) If specified as \"effective\" or not specified, all fields are returned.  If specified as \"user\", only fields with non-default values are shown.  If specified as \"default\", the original values are returned.

@return ProvidersKrb5

func (*AuthApiService) GetProvidersLdapById ¶

func (a *AuthApiService) GetProvidersLdapById(ctx context.Context, providersLdapId string, localVarOptionals map[string]interface{}) (ProvidersLdap, *http.Response, error)

AuthApiService Retrieve the LDAP provider. * @param ctx context.Context for authentication, logging, tracing, etc. @param providersLdapId Retrieve the LDAP provider. @param optional (nil or map[string]interface{}) with one or more of:

@param "scope" (string) If specified as \"effective\" or not specified, all fields are returned.  If specified as \"user\", only fields with non-default values are shown.  If specified as \"default\", the original values are returned.

@return ProvidersLdap

func (*AuthApiService) GetProvidersLocal ¶

func (a *AuthApiService) GetProvidersLocal(ctx context.Context, localVarOptionals map[string]interface{}) (ProvidersLocal, *http.Response, error)

AuthApiService List all local providers. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "scope" (string) If specified as \"effective\" or not specified, all fields are returned.  If specified as \"user\", only fields with non-default values are shown.  If specified as \"default\", the original values are returned.

@return ProvidersLocal

func (*AuthApiService) GetProvidersLocalById ¶

func (a *AuthApiService) GetProvidersLocalById(ctx context.Context, providersLocalId string, localVarOptionals map[string]interface{}) (ProvidersLocal, *http.Response, error)

AuthApiService Retrieve the local provider. * @param ctx context.Context for authentication, logging, tracing, etc. @param providersLocalId Retrieve the local provider. @param optional (nil or map[string]interface{}) with one or more of:

@param "scope" (string) If specified as \"effective\" or not specified, all fields are returned.  If specified as \"user\", only fields with non-default values are shown.  If specified as \"default\", the original values are returned.

@return ProvidersLocal

func (*AuthApiService) GetProvidersNisById ¶

func (a *AuthApiService) GetProvidersNisById(ctx context.Context, providersNisId string, localVarOptionals map[string]interface{}) (ProvidersNis, *http.Response, error)

AuthApiService Retrieve the NIS provider. * @param ctx context.Context for authentication, logging, tracing, etc. @param providersNisId Retrieve the NIS provider. @param optional (nil or map[string]interface{}) with one or more of:

@param "scope" (string) If specified as \"effective\" or not specified, all fields are returned.  If specified as \"user\", only fields with non-default values are shown.  If specified as \"default\", the original values are returned.

@return ProvidersNis

func (*AuthApiService) GetProvidersSummary ¶

func (a *AuthApiService) GetProvidersSummary(ctx context.Context, localVarOptionals map[string]interface{}) (ProvidersSummary, *http.Response, error)

AuthApiService Retrieve the summary information. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "groupnet" (string) Filter providers by groupnet.
@param "zone" (string) Filter providers by zone.

@return ProvidersSummary

func (*AuthApiService) GetSettingsAcls ¶

func (a *AuthApiService) GetSettingsAcls(ctx context.Context, localVarOptionals map[string]interface{}) (SettingsAcls, *http.Response, error)

AuthApiService Retrieve the ACL policy settings and preset configurations. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "preset" (string) If specified the preset configuration values for all applicable ACL policies are returned.

@return SettingsAcls

func (*AuthApiService) GetSettingsGlobal ¶

func (a *AuthApiService) GetSettingsGlobal(ctx context.Context, localVarOptionals map[string]interface{}) (SettingsGlobal, *http.Response, error)

AuthApiService Retrieve the global settings. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "scope" (string) If specified as \"effective\" or not specified, all fields are returned.  If specified as \"user\", only fields with non-default values are shown.  If specified as \"default\", the original values are returned.
@param "zone" (string) Zone which contains any per-zone settings.

@return SettingsGlobal

func (*AuthApiService) GetSettingsKrb5Defaults ¶

func (a *AuthApiService) GetSettingsKrb5Defaults(ctx context.Context) (SettingsKrb5Defaults, *http.Response, error)

AuthApiService Retrieve the krb5 settings. * @param ctx context.Context for authentication, logging, tracing, etc. @return SettingsKrb5Defaults

func (*AuthApiService) GetSettingsKrb5Domain ¶

func (a *AuthApiService) GetSettingsKrb5Domain(ctx context.Context, settingsKrb5DomainId string) (SettingsKrb5Domains, *http.Response, error)

AuthApiService View the krb5 domain settings. * @param ctx context.Context for authentication, logging, tracing, etc. @param settingsKrb5DomainId View the krb5 domain settings. @return SettingsKrb5Domains

func (*AuthApiService) GetSettingsKrb5Realm ¶

func (a *AuthApiService) GetSettingsKrb5Realm(ctx context.Context, settingsKrb5RealmId string) (SettingsKrb5Realms, *http.Response, error)

AuthApiService Retrieve the krb5 settings for realms. * @param ctx context.Context for authentication, logging, tracing, etc. @param settingsKrb5RealmId Retrieve the krb5 settings for realms. @return SettingsKrb5Realms

func (*AuthApiService) GetSettingsMapping ¶

func (a *AuthApiService) GetSettingsMapping(ctx context.Context, localVarOptionals map[string]interface{}) (SettingsMapping, *http.Response, error)

AuthApiService Retrieve the mapping settings. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "scope" (string) If specified as \"effective\" or not specified, all fields are returned.  If specified as \"user\", only fields with non-default values are shown.  If specified as \"default\", the original values are returned.
@param "zone" (string) Access zone which contains mapping settings.

@return SettingsMapping

func (*AuthApiService) ListAuthGroups ¶

func (a *AuthApiService) ListAuthGroups(ctx context.Context, localVarOptionals map[string]interface{}) (AuthGroupsExtended, *http.Response, error)

AuthApiService List all groups. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "domain" (string) Filter groups by domain.
@param "zone" (string) Filter groups by zone.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
@param "cached" (bool) If true, only return cached objects.
@param "resolveNames" (bool) Resolve names of personas.
@param "filter" (string) Filter groups by name prefix.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "provider" (string) Filter groups by provider.
@param "queryMemberOf" (bool) Enumerate all groups that a group is a member of.

@return AuthGroupsExtended

func (*AuthApiService) ListAuthRoles ¶

func (a *AuthApiService) ListAuthRoles(ctx context.Context, localVarOptionals map[string]interface{}) (AuthRolesExtended, *http.Response, error)

AuthApiService List all roles. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "resolveNames" (bool) Filter users by zone.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "dir" (string) The direction of the sort.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).

@return AuthRolesExtended

func (*AuthApiService) ListAuthUsers ¶

func (a *AuthApiService) ListAuthUsers(ctx context.Context, localVarOptionals map[string]interface{}) (AuthUsersExtended, *http.Response, error)

AuthApiService List all users. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "domain" (string) Filter users by domain.
@param "zone" (string) Filter users by zone.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
@param "cached" (bool) If true, only return cached objects.
@param "resolveNames" (bool) Resolve names of personas.
@param "filter" (string) Filter users by name prefix.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "provider" (string) Filter users by provider.
@param "queryMemberOf" (bool) Enumerate all users that a group is a member of.

@return AuthUsersExtended

func (*AuthApiService) ListProvidersAds ¶

func (a *AuthApiService) ListProvidersAds(ctx context.Context, localVarOptionals map[string]interface{}) (ProvidersAdsExtended, *http.Response, error)

AuthApiService List all ADS providers. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "scope" (string) If specified as \"effective\" or not specified, all fields are returned.  If specified as \"user\", only fields with non-default values are shown.  If specified as \"default\", the original values are returned.

@return ProvidersAdsExtended

func (*AuthApiService) ListProvidersFile ¶

func (a *AuthApiService) ListProvidersFile(ctx context.Context, localVarOptionals map[string]interface{}) (ProvidersFile, *http.Response, error)

AuthApiService List all file providers. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "scope" (string) If specified as \"effective\" or not specified, all fields are returned.  If specified as \"user\", only fields with non-default values are shown.  If specified as \"default\", the original values are returned.

@return ProvidersFile

func (*AuthApiService) ListProvidersKrb5 ¶

func (a *AuthApiService) ListProvidersKrb5(ctx context.Context, localVarOptionals map[string]interface{}) (ProvidersKrb5Extended, *http.Response, error)

AuthApiService List all KRB5 providers. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "scope" (string) If specified as \"effective\" or not specified, all fields are returned.  If specified as \"user\", only fields with non-default values are shown.  If specified as \"default\", the original values are returned.

@return ProvidersKrb5Extended

func (*AuthApiService) ListProvidersLdap ¶

func (a *AuthApiService) ListProvidersLdap(ctx context.Context, localVarOptionals map[string]interface{}) (ProvidersLdap, *http.Response, error)

AuthApiService List all LDAP providers. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "scope" (string) If specified as \"effective\" or not specified, all fields are returned.  If specified as \"user\", only fields with non-default values are shown.  If specified as \"default\", the original values are returned.

@return ProvidersLdap

func (*AuthApiService) ListProvidersNis ¶

func (a *AuthApiService) ListProvidersNis(ctx context.Context, localVarOptionals map[string]interface{}) (ProvidersNisExtended, *http.Response, error)

AuthApiService List all NIS providers. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "scope" (string) If specified as \"effective\" or not specified, all fields are returned.  If specified as \"user\", only fields with non-default values are shown.  If specified as \"default\", the original values are returned.

@return ProvidersNisExtended

func (*AuthApiService) ListSettingsKrb5Domains ¶

func (a *AuthApiService) ListSettingsKrb5Domains(ctx context.Context) (SettingsKrb5Domains, *http.Response, error)

AuthApiService Retrieve the krb5 settings for domains. * @param ctx context.Context for authentication, logging, tracing, etc. @return SettingsKrb5Domains

func (*AuthApiService) ListSettingsKrb5Realms ¶

func (a *AuthApiService) ListSettingsKrb5Realms(ctx context.Context) (SettingsKrb5Realms, *http.Response, error)

AuthApiService Retrieve the krb5 settings for realms. * @param ctx context.Context for authentication, logging, tracing, etc. @return SettingsKrb5Realms

func (*AuthApiService) UpdateAuthGroup ¶

func (a *AuthApiService) UpdateAuthGroup(ctx context.Context, authGroup AuthGroup, authGroupId string, localVarOptionals map[string]interface{}) (*http.Response, error)

AuthApiService Modify the group. * @param ctx context.Context for authentication, logging, tracing, etc. @param authGroup @param authGroupId Modify the group. @param optional (nil or map[string]interface{}) with one or more of:

@param "force" (bool) Changes to the group ID can result in loss of access to the file system. To mitigate this risk of lost access, the force option is required for group ID changes.
@param "zone" (string) Optional zone.
@param "provider" (string) Optional provider type.

@return

func (*AuthApiService) UpdateAuthLogLevel ¶

func (a *AuthApiService) UpdateAuthLogLevel(ctx context.Context, authLogLevel AuthLogLevelExtended) (*http.Response, error)

AuthApiService Set the current authentication service and netlogon logging level. * @param ctx context.Context for authentication, logging, tracing, etc. @param authLogLevel @return

func (*AuthApiService) UpdateAuthRole ¶

func (a *AuthApiService) UpdateAuthRole(ctx context.Context, authRole AuthRole, authRoleId string) (*http.Response, error)

AuthApiService Modify the role. * @param ctx context.Context for authentication, logging, tracing, etc. @param authRole @param authRoleId Modify the role. @return

func (*AuthApiService) UpdateAuthUser ¶

func (a *AuthApiService) UpdateAuthUser(ctx context.Context, authUser AuthUser, authUserId string, localVarOptionals map[string]interface{}) (*http.Response, error)

AuthApiService Modify the user. * @param ctx context.Context for authentication, logging, tracing, etc. @param authUser @param authUserId Modify the user. @param optional (nil or map[string]interface{}) with one or more of:

@param "force" (bool) Changes to the user ID can result in loss of access to the file system. To mitigate this risk of lost access, the force option is required for user ID changes.
@param "zone" (string) Optional zone.
@param "provider" (string) Optional provider type.

@return

func (*AuthApiService) UpdateMappingImport ¶

func (a *AuthApiService) UpdateMappingImport(ctx context.Context, mappingImport MappingImport, localVarOptionals map[string]interface{}) (*http.Response, error)

AuthApiService Set or update a list of mappings between two personae. * @param ctx context.Context for authentication, logging, tracing, etc. @param mappingImport @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Optional zone.
@param "replace" (bool) Specify whether existing mappings should be replaced. The default behavior is to leave existing mappings intact and return an error.

@return

func (*AuthApiService) UpdateMappingUsersRules ¶

func (a *AuthApiService) UpdateMappingUsersRules(ctx context.Context, mappingUsersRules MappingUsersRulesExtended, localVarOptionals map[string]interface{}) (*http.Response, error)

AuthApiService Modify the user mapping rules. * @param ctx context.Context for authentication, logging, tracing, etc. @param mappingUsersRules @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) The zone to which the user mapping applies.

@return

func (*AuthApiService) UpdateProvidersAdsById ¶

func (a *AuthApiService) UpdateProvidersAdsById(ctx context.Context, providersAdsIdParams ProvidersAdsIdParams, providersAdsId string) (*http.Response, error)

AuthApiService Modify the ADS provider. * @param ctx context.Context for authentication, logging, tracing, etc. @param providersAdsIdParams @param providersAdsId Modify the ADS provider. @return

func (*AuthApiService) UpdateProvidersFileById ¶

func (a *AuthApiService) UpdateProvidersFileById(ctx context.Context, providersFileIdParams ProvidersFileIdParams, providersFileId string) (*http.Response, error)

AuthApiService Modify the file provider. * @param ctx context.Context for authentication, logging, tracing, etc. @param providersFileIdParams @param providersFileId Modify the file provider. @return

func (*AuthApiService) UpdateProvidersKrb5ById ¶

func (a *AuthApiService) UpdateProvidersKrb5ById(ctx context.Context, providersKrb5IdParams ProvidersKrb5IdParams, providersKrb5Id string) (*http.Response, error)

AuthApiService Modify the KRB5 provider. * @param ctx context.Context for authentication, logging, tracing, etc. @param providersKrb5IdParams @param providersKrb5Id Modify the KRB5 provider. @return

func (*AuthApiService) UpdateProvidersLdapById ¶

func (a *AuthApiService) UpdateProvidersLdapById(ctx context.Context, providersLdapIdParams ProvidersLdapIdParams, providersLdapId string, localVarOptionals map[string]interface{}) (*http.Response, error)

AuthApiService Modify the LDAP provider. * @param ctx context.Context for authentication, logging, tracing, etc. @param providersLdapIdParams @param providersLdapId Modify the LDAP provider. @param optional (nil or map[string]interface{}) with one or more of:

@param "force" (bool) Ignore unresolvable server URIs.

@return

func (*AuthApiService) UpdateProvidersLocalById ¶

func (a *AuthApiService) UpdateProvidersLocalById(ctx context.Context, providersLocalIdParams ProvidersLocalIdParams, providersLocalId string) (*http.Response, error)

AuthApiService Modify the local provider. * @param ctx context.Context for authentication, logging, tracing, etc. @param providersLocalIdParams @param providersLocalId Modify the local provider. @return

func (*AuthApiService) UpdateProvidersNisById ¶

func (a *AuthApiService) UpdateProvidersNisById(ctx context.Context, providersNisIdParams ProvidersNisIdParams, providersNisId string) (*http.Response, error)

AuthApiService Modify the NIS provider. * @param ctx context.Context for authentication, logging, tracing, etc. @param providersNisIdParams @param providersNisId Modify the NIS provider. @return

func (*AuthApiService) UpdateSettingsAcls ¶

func (a *AuthApiService) UpdateSettingsAcls(ctx context.Context, settingsAcls SettingsAclsExtended) (*http.Response, error)

AuthApiService Modify cluster ACL policy settings. * @param ctx context.Context for authentication, logging, tracing, etc. @param settingsAcls @return

func (*AuthApiService) UpdateSettingsGlobal ¶

func (a *AuthApiService) UpdateSettingsGlobal(ctx context.Context, settingsGlobal SettingsGlobalGlobalSettings, localVarOptionals map[string]interface{}) (*http.Response, error)

AuthApiService Modify the global settings. * @param ctx context.Context for authentication, logging, tracing, etc. @param settingsGlobal @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Zone which contains any per-zone settings.

@return

func (*AuthApiService) UpdateSettingsKrb5Defaults ¶

func (a *AuthApiService) UpdateSettingsKrb5Defaults(ctx context.Context, settingsKrb5Defaults SettingsKrb5DefaultsKrb5Settings) (*http.Response, error)

AuthApiService Modify the krb5 settings. * @param ctx context.Context for authentication, logging, tracing, etc. @param settingsKrb5Defaults @return

func (*AuthApiService) UpdateSettingsKrb5Domain ¶

func (a *AuthApiService) UpdateSettingsKrb5Domain(ctx context.Context, settingsKrb5Domain SettingsKrb5Domain, settingsKrb5DomainId string) (*http.Response, error)

AuthApiService Modify the krb5 domain settings. * @param ctx context.Context for authentication, logging, tracing, etc. @param settingsKrb5Domain @param settingsKrb5DomainId Modify the krb5 domain settings. @return

func (*AuthApiService) UpdateSettingsKrb5Realm ¶

func (a *AuthApiService) UpdateSettingsKrb5Realm(ctx context.Context, settingsKrb5Realm SettingsKrb5Realm, settingsKrb5RealmId string) (*http.Response, error)

AuthApiService Modify the krb5 realm settings. * @param ctx context.Context for authentication, logging, tracing, etc. @param settingsKrb5Realm @param settingsKrb5RealmId Modify the krb5 realm settings. @return

func (*AuthApiService) UpdateSettingsMapping ¶

func (a *AuthApiService) UpdateSettingsMapping(ctx context.Context, settingsMapping SettingsMappingMappingSettings, localVarOptionals map[string]interface{}) (*http.Response, error)

AuthApiService Modify the mapping settings. * @param ctx context.Context for authentication, logging, tracing, etc. @param settingsMapping @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Access zone which contains mapping settings.

@return

type AuthCacheItem ¶

type AuthCacheItem struct {

	// Flush all objects in cache for access zone.
	All string `json:"all,omitempty"`

	// Flush objects in cache for access zone specified by GID.
	Gid int32 `json:"gid,omitempty"`

	// Flush objects in cache for access zone specified by group name.
	GroupName string `json:"group_name,omitempty"`

	// Flush objects in cache for access zone specified by authentication provider.
	Provider string `json:"provider,omitempty"`

	// Flush objects in cache for access zone specified by SID.
	Sid string `json:"sid,omitempty"`

	// Flush objects in cache for access zone specified by UID.
	Uid int32 `json:"uid,omitempty"`

	// Flush objects in cache for access zone specified by user name.
	UserName string `json:"user_name,omitempty"`
}

Flush security objects cache.

type AuthGroup ¶

type AuthGroup struct {

	// Specifies the numeric group identifier.
	Gid int32 `json:"gid,omitempty"`
}

Specifies the configuration properties for a group.

type AuthGroupCreateParams ¶

type AuthGroupCreateParams struct {

	// Specifies the numeric group identifier.
	Gid int32 `json:"gid,omitempty"`

	// Specifies the members of the group.
	Members []AuthAccessAccessItemFileGroup `json:"members,omitempty"`

	// Specifies the group name.
	Name string `json:"name"`

	// Specifies the security identifier.
	Sid string `json:"sid,omitempty"`
}

type AuthGroupExtended ¶

type AuthGroupExtended struct {
	Dn string `json:"dn,omitempty"`

	DnsDomain string `json:"dns_domain,omitempty"`

	Domain string `json:"domain,omitempty"`

	// If true, the GID was generated.
	GeneratedGid bool `json:"generated_gid,omitempty"`

	// Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.
	Gid *AuthAccessAccessItemFileGroup `json:"gid,omitempty"`

	// Specifies the user or group ID.
	Id string `json:"id"`

	MemberOf []AuthAccessAccessItemFileGroup `json:"member_of,omitempty"`

	// Specifies a user or group name.
	Name string `json:"name"`

	ObjectHistory []AuthGroupObjectHistoryItem `json:"object_history,omitempty"`

	Provider string `json:"provider,omitempty"`

	SamAccountName string `json:"sam_account_name,omitempty"`

	// Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.
	Sid *AuthAccessAccessItemFileGroup `json:"sid,omitempty"`

	// Specifies the object type.
	Type_ string `json:"type"`
}

type AuthGroupObjectHistoryItem ¶

type AuthGroupObjectHistoryItem struct {

	// Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.
	Gid *AuthAccessAccessItemFileGroup `json:"gid,omitempty"`

	// Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.
	Sid *AuthAccessAccessItemFileGroup `json:"sid,omitempty"`

	// Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.
	Uid *AuthAccessAccessItemFileGroup `json:"uid,omitempty"`
}

type AuthGroups ¶

type AuthGroups struct {
	Groups []AuthGroupExtended `json:"groups,omitempty"`
}

type AuthGroupsApiService ¶

type AuthGroupsApiService service

func (*AuthGroupsApiService) CreateGroupMember ¶

func (a *AuthGroupsApiService) CreateGroupMember(ctx context.Context, groupMember AuthAccessAccessItemFileGroup, group string, localVarOptionals map[string]interface{}) (CreateResponse, *http.Response, error)

AuthGroupsApiService Add a member to the group. * @param ctx context.Context for authentication, logging, tracing, etc. @param groupMember @param group @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Filter group members by zone.
@param "provider" (string) Filter group members by provider.

@return CreateResponse

func (*AuthGroupsApiService) DeleteGroupMember ¶

func (a *AuthGroupsApiService) DeleteGroupMember(ctx context.Context, groupMemberId string, group string, localVarOptionals map[string]interface{}) (*http.Response, error)

AuthGroupsApiService Remove the member from the group. * @param ctx context.Context for authentication, logging, tracing, etc. @param groupMemberId Remove the member from the group. @param group @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Filter group members by zone.
@param "provider" (string) Filter group members by provider.

@return

func (*AuthGroupsApiService) ListGroupMembers ¶

func (a *AuthGroupsApiService) ListGroupMembers(ctx context.Context, group string, localVarOptionals map[string]interface{}) (GroupMembers, *http.Response, error)

AuthGroupsApiService List all the members of the group. * @param ctx context.Context for authentication, logging, tracing, etc. @param group @param optional (nil or map[string]interface{}) with one or more of:

@param "resolveNames" (bool) Resolve names of personas.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "zone" (string) Filter group members by zone.
@param "provider" (string) Filter group members by provider.

@return GroupMembers

type AuthGroupsExtended ¶

type AuthGroupsExtended struct {
	Groups []AuthGroupExtended `json:"groups,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`
}

type AuthId ¶

type AuthId struct {

	// Specifies properties for a security token for the currently authenticated user.
	Ntoken *AuthIdNtoken `json:"ntoken,omitempty"`
}

type AuthIdNtoken ¶

type AuthIdNtoken struct {

	// Specifies additional UIDs, GIDs, and SIDs.
	AdditionalId []AuthAccessAccessItemFileGroup `json:"additional_id,omitempty"`

	// Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.
	Gid *AuthAccessAccessItemFileGroup `json:"gid,omitempty"`

	// Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.
	GroupSid *AuthAccessAccessItemFileGroup `json:"group_sid,omitempty"`

	// Indicates if this user has restricted access to the /ifs file system.
	IfsRestricted bool `json:"ifs_restricted,omitempty"`

	LocalAddress string `json:"local_address,omitempty"`

	// Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.
	OnDiskGroupId *AuthAccessAccessItemFileGroup `json:"on_disk_group_id,omitempty"`

	// Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.
	OnDiskUserId *AuthAccessAccessItemFileGroup `json:"on_disk_user_id,omitempty"`

	// Specifies the privileges granted to the currently authenticated user.
	Privilege []AuthIdNtokenPrivilegeItem `json:"privilege,omitempty"`

	Protocol int32 `json:"protocol,omitempty"`

	RemoteAddress string `json:"remote_address,omitempty"`

	// Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.
	Uid *AuthAccessAccessItemFileGroup `json:"uid,omitempty"`

	// Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.
	UserSid *AuthAccessAccessItemFileGroup `json:"user_sid,omitempty"`

	Zid int32 `json:"zid,omitempty"`

	ZoneId string `json:"zone_id,omitempty"`
}

type AuthIdNtokenPrivilegeItem ¶

type AuthIdNtokenPrivilegeItem struct {

	// Specifies the ID of the privilege.
	Id string `json:"id"`

	// Specifies the name of the privilege.
	Name string `json:"name,omitempty"`

	// True, if the privilege is read-only.
	ReadOnly bool `json:"read_only,omitempty"`
}

type AuthLdapTemplates ¶

type AuthLdapTemplates struct {
	LdapFieldTemplate []AuthLdapTemplatesLdapFieldTemplateItem `json:"ldap_field_template,omitempty"`
}

type AuthLdapTemplatesExtended ¶

type AuthLdapTemplatesExtended struct {
	LdapConfigurationTemplates []AuthLdapTemplatesLdapConfigurationTemplate `json:"ldap_configuration_templates,omitempty"`
}

type AuthLdapTemplatesLdapConfigurationTemplate ¶

type AuthLdapTemplatesLdapConfigurationTemplate struct {

	// Specifies canonical name.
	CnAttribute string `json:"cn_attribute,omitempty"`

	// Sets hashed password value.
	CryptPasswordAttribute string `json:"crypt_password_attribute,omitempty"`

	// Sets the LDAP Email attribute.
	EmailAttribute string `json:"email_attribute,omitempty"`

	// Sets the LDAP GECOS attribute.
	GecosAttribute string `json:"gecos_attribute,omitempty"`

	// Sets the LDAP GID attribute.
	GidAttribute string `json:"gid_attribute,omitempty"`

	// Sets LDAP filter for group objects.
	GroupFilter string `json:"group_filter,omitempty"`

	// Sets the LDAP Group Members attribute.
	GroupMembersAttribute string `json:"group_members_attribute,omitempty"`

	// Sets the LDAP Homedir attribute.
	HomedirAttribute string `json:"homedir_attribute,omitempty"`

	// Specifies the ID of the LDAP provider field template.
	Id string `json:"id,omitempty"`

	// Sets the LDAP UID attribute, which is used as the login name.
	NameAttribute string `json:"name_attribute,omitempty"`

	// Sets LDAP filter for netgroup objects.
	NetgroupFilter string `json:"netgroup_filter,omitempty"`

	// Sets the LDAP Netgroup Members attribute.
	NetgroupMembersAttribute string `json:"netgroup_members_attribute,omitempty"`

	// Sets the LDAP Netgroup Triple attribute.
	NetgroupTripleAttribute string `json:"netgroup_triple_attribute,omitempty"`

	// Sets the LDAP NT Password attribute.
	NtPasswordAttribute string `json:"nt_password_attribute,omitempty"`

	// Sets the absolute date to expire the account.
	ShadowExpireAttribute string `json:"shadow_expire_attribute,omitempty"`

	// Sets the section of the shadow map that is used to store the flag value.
	ShadowFlagAttribute string `json:"shadow_flag_attribute,omitempty"`

	// Sets the number of days of inactivity that is allowed for the user.
	ShadowInactiveAttribute string `json:"shadow_inactive_attribute,omitempty"`

	// Sets the last change of the shadow information.
	ShadowLastChangeAttribute string `json:"shadow_last_change_attribute,omitempty"`

	// Sets the maximum number of days a password can be valid.
	ShadowMaxAttribute string `json:"shadow_max_attribute,omitempty"`

	// Sets the minimum number of days between shadow changes.
	ShadowMinAttribute string `json:"shadow_min_attribute,omitempty"`

	// Sets LDAP filter for shadow user objects.
	ShadowUserFilter string `json:"shadow_user_filter,omitempty"`

	// Sets the number of days before the password expires to warn the user.
	ShadowWarningAttribute string `json:"shadow_warning_attribute,omitempty"`

	// Sets the LDAP Shell attribute.
	ShellAttribute string `json:"shell_attribute,omitempty"`

	// Sets the LDAP UID Number attribute.
	UidAttribute string `json:"uid_attribute,omitempty"`

	// Sets the LDAP Unique Group Members attribute.
	UniqueGroupMembersAttribute string `json:"unique_group_members_attribute,omitempty"`

	// Sets LDAP filter for user objects.
	UserFilter string `json:"user_filter,omitempty"`
}

type AuthLdapTemplatesLdapFieldTemplateItem ¶

type AuthLdapTemplatesLdapFieldTemplateItem struct {

	// Specifies canonical name.
	CnAttribute string `json:"cn_attribute,omitempty"`

	// Sets hashed password value.
	CryptPasswordAttribute string `json:"crypt_password_attribute,omitempty"`

	// Sets the LDAP Email attribute.
	EmailAttribute string `json:"email_attribute,omitempty"`

	// Sets the LDAP GECOS attribute.
	GecosAttribute string `json:"gecos_attribute,omitempty"`

	// Sets the LDAP GID attribute.
	GidAttribute string `json:"gid_attribute,omitempty"`

	// Sets LDAP filter for group objects.
	GroupFilter string `json:"group_filter,omitempty"`

	// Sets the LDAP Group Members attribute.
	GroupMembersAttribute string `json:"group_members_attribute,omitempty"`

	// Sets the LDAP Homedir attribute.
	HomedirAttribute string `json:"homedir_attribute,omitempty"`

	// Specifies the ID of the LDAP provider field template.
	Id string `json:"id,omitempty"`

	// Sets the LDAP UID attribute, which is used as the login name.
	NameAttribute string `json:"name_attribute,omitempty"`

	// Sets LDAP filter for netgroup objects.
	NetgroupFilter string `json:"netgroup_filter,omitempty"`

	// Sets the LDAP Netgroup Members attribute.
	NetgroupMembersAttribute string `json:"netgroup_members_attribute,omitempty"`

	// Sets the LDAP Netgroup Triple attribute.
	NetgroupTripleAttribute string `json:"netgroup_triple_attribute,omitempty"`

	// Sets the LDAP NT Password attribute.
	NtPasswordAttribute string `json:"nt_password_attribute,omitempty"`

	// Sets the absolute date to expire the account.
	ShadowExpireAttribute string `json:"shadow_expire_attribute,omitempty"`

	// Sets the section of the shadow map that is used to store the flag value.
	ShadowFlagAttribute string `json:"shadow_flag_attribute,omitempty"`

	// Sets the number of days of inactivity that is allowed for the user.
	ShadowInactiveAttribute string `json:"shadow_inactive_attribute,omitempty"`

	// Sets the last change of the shadow information.
	ShadowLastChangeAttribute string `json:"shadow_last_change_attribute,omitempty"`

	// Sets the maximum number of days a password can be valid.
	ShadowMaxAttribute string `json:"shadow_max_attribute,omitempty"`

	// Sets the minimum number of days between shadow changes.
	ShadowMinAttribute string `json:"shadow_min_attribute,omitempty"`

	// Sets LDAP filter for shadow user objects.
	ShadowUserFilter string `json:"shadow_user_filter,omitempty"`

	// Sets the number of days before the password expires to warn the user.
	ShadowWarningAttribute string `json:"shadow_warning_attribute,omitempty"`

	// Sets the LDAP Shell attribute.
	ShellAttribute string `json:"shell_attribute,omitempty"`

	// Sets the LDAP UID Number attribute.
	UidAttribute string `json:"uid_attribute,omitempty"`

	// Sets the LDAP Unique Group Members attribute.
	UniqueGroupMembersAttribute string `json:"unique_group_members_attribute,omitempty"`

	// Sets LDAP filter for user objects.
	UserFilter string `json:"user_filter,omitempty"`
}

type AuthLogLevel ¶

type AuthLogLevel struct {

	//
	Level *AuthLogLevelLevel `json:"level,omitempty"`
}

type AuthLogLevelExtended ¶

type AuthLogLevelExtended struct {

	// Valid auth logging levels
	Level string `json:"level,omitempty"`
}

type AuthLogLevelLevel ¶

type AuthLogLevelLevel struct {

	// Valid auth logging levels
	LsassLevel string `json:"lsass-level,omitempty"`

	// Valid auth logging levels
	NetlogonLevel string `json:"netlogon-level,omitempty"`
}

type AuthNetgroup ¶

type AuthNetgroup struct {
	Domainname string `json:"domainname,omitempty"`

	Hostname string `json:"hostname,omitempty"`

	Id int32 `json:"id,omitempty"`

	Netgroup string `json:"netgroup,omitempty"`

	Username string `json:"username,omitempty"`
}

type AuthNetgroups ¶

type AuthNetgroups struct {
	Netgroups []AuthNetgroup `json:"netgroups,omitempty"`
}

type AuthPrivilege ¶

type AuthPrivilege struct {

	// Specifies the general categorization of the privilege.
	Category string `json:"category"`

	// Specifies a short description of the privilege.
	Description string `json:"description"`

	// Specifies the ID of the privilege.
	Id string `json:"id"`

	// Specifies the name of the privilege.
	Name string `json:"name,omitempty"`

	// True, if the privilege is read-write.
	ReadWrite bool `json:"read_write,omitempty"`
}

type AuthPrivileges ¶

type AuthPrivileges struct {
	Privileges []AuthPrivilege `json:"privileges,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`
}

type AuthProvidersApiService ¶

type AuthProvidersApiService service

func (*AuthProvidersApiService) GetAdsProviderControllers ¶

func (a *AuthProvidersApiService) GetAdsProviderControllers(ctx context.Context, id string, localVarOptionals map[string]interface{}) (AdsProviderControllers, *http.Response, error)

AuthProvidersApiService List all ADS controllers. * @param ctx context.Context for authentication, logging, tracing, etc. @param id @param optional (nil or map[string]interface{}) with one or more of:

@param "groupnet" (string) Groupnet identifier

@return AdsProviderControllers

func (*AuthProvidersApiService) GetAdsProviderDomain ¶

func (a *AuthProvidersApiService) GetAdsProviderDomain(ctx context.Context, adsProviderDomainId string, id string) (AdsProviderDomains, *http.Response, error)

AuthProvidersApiService Retrieve the ADS domain information. * @param ctx context.Context for authentication, logging, tracing, etc. @param adsProviderDomainId Retrieve the ADS domain information. @param id @return AdsProviderDomains

func (*AuthProvidersApiService) GetAdsProviderDomains ¶

func (a *AuthProvidersApiService) GetAdsProviderDomains(ctx context.Context, id string, localVarOptionals map[string]interface{}) (AdsProviderDomains, *http.Response, error)

AuthProvidersApiService List all ADS domains. * @param ctx context.Context for authentication, logging, tracing, etc. @param id @param optional (nil or map[string]interface{}) with one or more of:

@param "scope" (string) If specified as \"effective\" or not specified, all fields are returned.  If specified as \"user\", only fields with non-default values are shown.  If specified as \"default\", the original values are returned.

@return AdsProviderDomains

func (*AuthProvidersApiService) GetAdsProviderSearch ¶

func (a *AuthProvidersApiService) GetAdsProviderSearch(ctx context.Context, id string, localVarOptionals map[string]interface{}) (AdsProviderSearch, *http.Response, error)

AuthProvidersApiService Retrieve search results. * @param ctx context.Context for authentication, logging, tracing, etc. @param id @param optional (nil or map[string]interface{}) with one or more of:

@param "domain" (string) The domain to search in.
@param "description" (string) The user or group description to search for.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
@param "searchUsers" (bool) If true, search for users.
@param "filter" (string) The LDAP filter to apply to the search.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "user" (string) The user name for the domain if untrusted.
@param "password" (string) The password for the domain if untrusted.
@param "searchGroups" (bool) If true, search for groups.

@return AdsProviderSearch

type AuthRole ¶

type AuthRole struct {

	// Specifies the description of the role.
	Description string `json:"description,omitempty"`

	// Specifies the users or groups that have this role.
	Members []AuthAccessAccessItemFileGroup `json:"members,omitempty"`

	// Specifies the name of the role.
	Name string `json:"name,omitempty"`

	// Specifies the privileges granted by this role.
	Privileges []AuthIdNtokenPrivilegeItem `json:"privileges,omitempty"`
}

Specifies the role maps privileges to users and groups.

type AuthRoleCreateParams ¶

type AuthRoleCreateParams struct {

	// Specifies the description of the role.
	Description string `json:"description,omitempty"`

	// Specifies the users or groups that have this role.
	Members []AuthAccessAccessItemFileGroup `json:"members,omitempty"`

	// Specifies the name of the role.
	Name string `json:"name"`

	// Specifies the privileges granted by this role.
	Privileges []AuthIdNtokenPrivilegeItem `json:"privileges,omitempty"`
}

type AuthRoleExtended ¶

type AuthRoleExtended struct {

	// Specifies the description of the role.
	Description string `json:"description,omitempty"`

	// Specifies the users or groups that have this role.
	Members []AuthAccessAccessItemFileGroup `json:"members"`

	// Specifies the name of the role.
	Name string `json:"name"`

	// Specifies the privileges granted by this role.
	Privileges []AuthIdNtokenPrivilegeItem `json:"privileges"`

	// Specifies the ID of the role.
	Id string `json:"id"`
}

type AuthRoles ¶

type AuthRoles struct {
	Roles []AuthRoleExtended `json:"roles,omitempty"`
}

type AuthRolesApiService ¶

type AuthRolesApiService service

func (*AuthRolesApiService) CreateRoleMember ¶

AuthRolesApiService Add a member to the role. * @param ctx context.Context for authentication, logging, tracing, etc. @param roleMember @param role @return CreateResponse

func (*AuthRolesApiService) CreateRolePrivilege ¶

func (a *AuthRolesApiService) CreateRolePrivilege(ctx context.Context, rolePrivilege AuthIdNtokenPrivilegeItem, role string) (CreateResponse, *http.Response, error)

AuthRolesApiService Add a privilege to the role. * @param ctx context.Context for authentication, logging, tracing, etc. @param rolePrivilege @param role @return CreateResponse

func (*AuthRolesApiService) DeleteRoleMember ¶

func (a *AuthRolesApiService) DeleteRoleMember(ctx context.Context, roleMemberId string, role string) (*http.Response, error)

AuthRolesApiService Remove a member from the role. * @param ctx context.Context for authentication, logging, tracing, etc. @param roleMemberId Remove a member from the role. @param role @return

func (*AuthRolesApiService) DeleteRolePrivilege ¶

func (a *AuthRolesApiService) DeleteRolePrivilege(ctx context.Context, rolePrivilegeId string, role string) (*http.Response, error)

AuthRolesApiService Remove a privilege from a role. * @param ctx context.Context for authentication, logging, tracing, etc. @param rolePrivilegeId Remove a privilege from a role. @param role @return

func (*AuthRolesApiService) ListRoleMembers ¶

func (a *AuthRolesApiService) ListRoleMembers(ctx context.Context, role string, localVarOptionals map[string]interface{}) (GroupMembers, *http.Response, error)

AuthRolesApiService List all the members of the role. * @param ctx context.Context for authentication, logging, tracing, etc. @param role @param optional (nil or map[string]interface{}) with one or more of:

@param "resolveNames" (bool) Resolve names of personas.

@return GroupMembers

func (*AuthRolesApiService) ListRolePrivileges ¶

func (a *AuthRolesApiService) ListRolePrivileges(ctx context.Context, role string) (RolePrivileges, *http.Response, error)

AuthRolesApiService List all privileges in the role. * @param ctx context.Context for authentication, logging, tracing, etc. @param role @return RolePrivileges

type AuthRolesExtended ¶

type AuthRolesExtended struct {
	Roles []AuthRoleExtended `json:"roles,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type AuthShells ¶

type AuthShells struct {
	Shells []string `json:"shells,omitempty"`
}

The list of supported shells.

type AuthUser ¶

type AuthUser struct {

	// Specifies an email address for the user.
	Email string `json:"email,omitempty"`

	// If true, the authenticated user is enabled.
	Enabled bool `json:"enabled,omitempty"`

	// Specifies the Unix Epoch time when the auth user will expire.
	Expiry int32 `json:"expiry,omitempty"`

	// Specifies the GECOS value, which is usually the full name.
	Gecos string `json:"gecos,omitempty"`

	// Specifies a home directory for the user.
	HomeDirectory string `json:"home_directory,omitempty"`

	// Changes the password for the user.
	Password string `json:"password,omitempty"`

	// If true, the password should expire.
	PasswordExpires bool `json:"password_expires,omitempty"`

	// Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.
	PrimaryGroup *AuthAccessAccessItemFileGroup `json:"primary_group,omitempty"`

	// If true, prompts the user to change their password at the next login.
	PromptPasswordChange bool `json:"prompt_password_change,omitempty"`

	// Specifies the shell for the user.
	Shell string `json:"shell,omitempty"`

	// Specifies a security identifier.
	Sid string `json:"sid,omitempty"`

	// Specifies a numeric user identifier.
	Uid int32 `json:"uid,omitempty"`

	// If true, the user account should be unlocked.
	Unlock bool `json:"unlock,omitempty"`
}

Specifies the configuration properties for a user.

type AuthUserCreateParams ¶

type AuthUserCreateParams struct {

	// Specifies an email address for the user.
	Email string `json:"email,omitempty"`

	// If true, the authenticated user is enabled.
	Enabled bool `json:"enabled,omitempty"`

	// Specifies the Unix Epoch time when the auth user will expire.
	Expiry int32 `json:"expiry,omitempty"`

	// Specifies the GECOS value, which is usually the full name.
	Gecos string `json:"gecos,omitempty"`

	// Specifies a home directory for the user.
	HomeDirectory string `json:"home_directory,omitempty"`

	// Changes the password for the user.
	Password string `json:"password,omitempty"`

	// If true, the password should expire.
	PasswordExpires bool `json:"password_expires,omitempty"`

	// Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.
	PrimaryGroup *AuthAccessAccessItemFileGroup `json:"primary_group,omitempty"`

	// If true, prompts the user to change their password at the next login.
	PromptPasswordChange bool `json:"prompt_password_change,omitempty"`

	// Specifies the shell for the user.
	Shell string `json:"shell,omitempty"`

	// Specifies a security identifier.
	Sid string `json:"sid,omitempty"`

	// Specifies a numeric user identifier.
	Uid int32 `json:"uid,omitempty"`

	// If true, the user account should be unlocked.
	Unlock bool `json:"unlock,omitempty"`

	// Specifies a user name.
	Name string `json:"name"`
}

type AuthUsers ¶

type AuthUsers struct {
	Users []MappingUsersLookupMappingItemUser `json:"users,omitempty"`
}

type AuthUsersApiService ¶

type AuthUsersApiService service

func (*AuthUsersApiService) CreateUserMemberOfItem ¶

func (a *AuthUsersApiService) CreateUserMemberOfItem(ctx context.Context, userMemberOfItem AuthAccessAccessItemFileGroup, user string, localVarOptionals map[string]interface{}) (CreateResponse, *http.Response, error)

AuthUsersApiService Add the user to a group. * @param ctx context.Context for authentication, logging, tracing, etc. @param userMemberOfItem @param user @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Filter groups by zone.
@param "provider" (string) Filter groups by provider.

@return CreateResponse

func (*AuthUsersApiService) DeleteUserMemberOfMemberOf ¶

func (a *AuthUsersApiService) DeleteUserMemberOfMemberOf(ctx context.Context, userMemberOfMemberOf string, user string, localVarOptionals map[string]interface{}) (*http.Response, error)

AuthUsersApiService Remove the user from the group. * @param ctx context.Context for authentication, logging, tracing, etc. @param userMemberOfMemberOf Remove the user from the group. @param user @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Filter groups by zone.
@param "provider" (string) Filter groups by provider.

@return

func (*AuthUsersApiService) ListUserMemberOf ¶

func (a *AuthUsersApiService) ListUserMemberOf(ctx context.Context, user string, localVarOptionals map[string]interface{}) (UserMemberOf, *http.Response, error)

AuthUsersApiService List all groups the user is a member of. * @param ctx context.Context for authentication, logging, tracing, etc. @param user @param optional (nil or map[string]interface{}) with one or more of:

@param "resolveNames" (bool) Resolve names of personas.
@param "zone" (string) Filter groups by zone.
@param "provider" (string) Filter groups by provider.

@return UserMemberOf

func (*AuthUsersApiService) UpdateUserChangePassword ¶

func (a *AuthUsersApiService) UpdateUserChangePassword(ctx context.Context, userChangePassword UserChangePassword, user string, localVarOptionals map[string]interface{}) (*http.Response, error)

AuthUsersApiService Change the user's password. * @param ctx context.Context for authentication, logging, tracing, etc. @param userChangePassword @param user @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Specifies access zone containing user.

@return

type AuthUsersExtended ¶

type AuthUsersExtended struct {
	Users []MappingUsersLookupMappingItemUser `json:"users,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`
}

type AuthWellknowns ¶

type AuthWellknowns struct {
	Wellknowns []AuthAccessAccessItemFileGroup `json:"wellknowns,omitempty"`
}

type BasicAuth ¶

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type CertificateApiService ¶

type CertificateApiService service

func (*CertificateApiService) CreateCertificateServerItem ¶

func (a *CertificateApiService) CreateCertificateServerItem(ctx context.Context, certificateServerItem CertificateServerItem) (CreateResponse, *http.Response, error)

CertificateApiService Import a TLS server certificate. * @param ctx context.Context for authentication, logging, tracing, etc. @param certificateServerItem @return CreateResponse

func (*CertificateApiService) DeleteCertificateServerById ¶

func (a *CertificateApiService) DeleteCertificateServerById(ctx context.Context, certificateServerId string) (*http.Response, error)

CertificateApiService Delete a TLS server certificate. * @param ctx context.Context for authentication, logging, tracing, etc. @param certificateServerId Delete a TLS server certificate. @return

func (*CertificateApiService) GetCertificateServerById ¶

func (a *CertificateApiService) GetCertificateServerById(ctx context.Context, certificateServerId string) (CertificateServer, *http.Response, error)

CertificateApiService Retrieve a single TLS server certificate. * @param ctx context.Context for authentication, logging, tracing, etc. @param certificateServerId Retrieve a single TLS server certificate. @return CertificateServer

func (*CertificateApiService) ListCertificateServer ¶

func (a *CertificateApiService) ListCertificateServer(ctx context.Context, localVarOptionals map[string]interface{}) (CertificateServerExtended, *http.Response, error)

CertificateApiService Retrieve a list of all configured TLS server certificates. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "dir" (string) The direction of the sort.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).

@return CertificateServerExtended

func (*CertificateApiService) UpdateCertificateServerById ¶

func (a *CertificateApiService) UpdateCertificateServerById(ctx context.Context, certificateServerIdParams CertificateServerIdParams, certificateServerId string) (*http.Response, error)

CertificateApiService Modify a TLS server certificate. * @param ctx context.Context for authentication, logging, tracing, etc. @param certificateServerIdParams @param certificateServerId Modify a TLS server certificate. @return

type CertificateServer ¶

type CertificateServer struct {
	Certificates []CertificateServerCertificate `json:"certificates,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`
}

type CertificateServerCertificate ¶

type CertificateServerCertificate struct {

	// Boolean identifying if a certificate is the default certificate.The default certificate is used as the fallback when no other certificates match a TLS enabled service's particular criteria. There must always be a configured default certificate.
	Default_ bool `json:"default"`

	// Description field associated with a certificate provided for administrative convenience.
	Description string `json:"description"`

	// A list of DNS names/patterns for which this certificate is valid. This list is extracted from the certificates CN (Common Name) and subjectAtlName extension fields.
	Dnsnames []string `json:"dnsnames"`

	// True if the certificate has expired and is no longer valid.
	Expired bool `json:"expired"`

	// A list of zero or more certificate fingerprints which can be used for certificate identification.
	Fingerprints []CertificateServerCertificateFingerprint `json:"fingerprints"`

	// Unique server certificate identifier.
	Id string `json:"id"`

	// Certificate issuer field extracted from the certificate.
	Issuer string `json:"issuer"`

	// Subject common name extracted from the certificate.
	Name string `json:"name"`

	// Certificate notAfter field extracted from the certificate encoded as a UNIX epoch timestamp.  The certificate is not valid after this timestamp.
	NotAfter int32 `json:"not_after"`

	// Certificate notBefore field extracted from the certificate encoded as a UNIX epoch timestamp.  The certificate is not valid before this timestamp.
	NotBefore int32 `json:"not_before"`

	// Certificate subject field extracted from the certificate.
	Subject string `json:"subject"`

	// True if the certificate is valid (ie: not_before <= now <= not_after).
	Valid bool `json:"valid"`
}

type CertificateServerCertificateFingerprint ¶

type CertificateServerCertificateFingerprint struct {

	// Fingerprint hash algorithm
	Type_ string `json:"type,omitempty"`

	// Fingerprint value
	Value string `json:"value,omitempty"`
}

type CertificateServerExtended ¶

type CertificateServerExtended struct {
	Certificates []CertificateServerCertificate `json:"certificates,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type CertificateServerIdParams ¶

type CertificateServerIdParams struct {

	// Boolean identifying if a certificate is the default certificate.The default certificate is used as the fallback when no other certificates match a TLS enabled service's particular criteria. There must always be a configured default certificate.
	Default_ bool `json:"default,omitempty"`

	// Description field associated with a certificate provided for administrative convenience.
	Description string `json:"description,omitempty"`
}

type CertificateServerItem ¶

type CertificateServerItem struct {

	// Local path to the certificate key that is to be imported.
	CertificateKeyPath string `json:"certificate_key_path"`

	// Local path to the certificate that is to be imported.
	CertificatePath string `json:"certificate_path"`

	// Boolean identifying if a certificate is the default certificate.The default certificate is used as the fallback when no other certificates match a TLS enabled service's particular criteria. There must always be a configured default certificate.
	Default_ bool `json:"default,omitempty"`

	// Description field associated with a certificate provided for administrative convenience.
	Description string `json:"description,omitempty"`
}

type ChangelistLins ¶

type ChangelistLins struct {

	//
	Atime *ChangelistLinsCtime `json:"atime,omitempty"`

	//
	Ctime *ChangelistLinsCtime `json:"ctime,omitempty"`

	// The LIN number of the file associated with the entry.
	Id string `json:"id"`

	//
	Mtime *ChangelistLinsCtime `json:"mtime,omitempty"`

	// The path to the file associated with the entry.
	Path string `json:"path"`

	// The size of the file associated with the entry.
	Size int32 `json:"size"`

	// Type of file.
	Type_ string `json:"type"`
}

type ChangelistLinsCtime ¶

type ChangelistLinsCtime struct {

	// Nanoseconds component of timespec.
	Nsec int32 `json:"nsec,omitempty"`

	// Seconds component of timespec.
	Sec int32 `json:"sec"`
}

type ChangelistLinsExtended ¶

type ChangelistLinsExtended struct {
	Lins []ChangelistLins `json:"lins,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type CloudAccess ¶

type CloudAccess struct {
	Clusters []CloudAccessCluster `json:"clusters,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`
}

type CloudAccessCluster ¶

type CloudAccessCluster struct {

	// A list of accounts created on the cluster with this guid
	Accounts []string `json:"accounts,omitempty"`

	// Whether the guid is that of the current (local) cluster
	Current bool `json:"current,omitempty"`

	// A cluster guid indicating the birth place of one or more accounts or policies on this cluster
	Guid string `json:"guid,omitempty"`

	// A cluster guid indicating the birth place of one or more accounts or policies on this cluster
	Id string `json:"id,omitempty"`

	// The name of the cluster from which the above guid originated
	Name string `json:"name,omitempty"`

	// A list of policies created on the cluster with this guid
	Policies []string `json:"policies,omitempty"`

	// Whether the guid has access to the cloud
	State string `json:"state,omitempty"`

	// The name of the cluster from which the above guid was synced
	SyncedFrom string `json:"synced_from,omitempty"`
}

type CloudAccessExtended ¶

type CloudAccessExtended struct {
	Clusters []CloudAccessCluster `json:"clusters,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type CloudAccessItem ¶

type CloudAccessItem struct {

	// A cluster guid indicating the birth place of one or more accounts or policies on this cluster
	Guid string `json:"guid"`
}

Accessible cloud storage information

type CloudAccount ¶

type CloudAccount struct {

	// (S3 only) The user id of the S3 account
	AccountId string `json:"account_id,omitempty"`

	// The username required to authenticate against the cloud service
	AccountUsername string `json:"account_username,omitempty"`

	// The guid of the cluster where this account was created
	BirthClusterId string `json:"birth_cluster_id,omitempty"`

	// Whether this account is explicitly enabled or disabled by a user
	Enabled bool `json:"enabled,omitempty"`

	// A valid authentication key for connecting to the cloud
	Key string `json:"key,omitempty"`

	// A unique name for this account
	Name string `json:"name,omitempty"`

	// The id or name of a proxy to be used by this account
	Proxy string `json:"proxy,omitempty"`

	// (Not recommended) Indicates whether to skip validation that the cloud account is still accessible
	SkipAccountCheck bool `json:"skip_account_check,omitempty"`

	// Indicates whether to skip SSL certificate validation when connecting to the cloud
	SkipSslValidation bool `json:"skip_ssl_validation,omitempty"`

	// (S3 only) An appropriate region for the S3 account.  For example, faster access times may be gained by referencing a nearby region
	StorageRegion string `json:"storage_region,omitempty"`

	// (S3 only) The name of the bucket into which generated metrics reports are placed by the cloud service provider
	TelemetryBucket string `json:"telemetry_bucket,omitempty"`

	// A valid URI pointing to the location of the cloud storage
	Uri string `json:"uri,omitempty"`
}

A cloud account object

type CloudAccountCreateParams ¶

type CloudAccountCreateParams struct {

	// (S3 only) The user id of the S3 account
	AccountId string `json:"account_id,omitempty"`

	// The username required to authenticate against the cloud service
	AccountUsername string `json:"account_username"`

	// The guid of the cluster where this account was created
	BirthClusterId string `json:"birth_cluster_id,omitempty"`

	// Whether this account is explicitly enabled or disabled by a user
	Enabled bool `json:"enabled,omitempty"`

	// A valid authentication key for connecting to the cloud
	Key string `json:"key"`

	// A unique name for this account
	Name string `json:"name"`

	// The id or name of a proxy to be used by this account
	Proxy string `json:"proxy,omitempty"`

	// Indicates whether to skip SSL certificate validation when connecting to the cloud
	SkipSslValidation bool `json:"skip_ssl_validation,omitempty"`

	// (S3 only) An appropriate region for the S3 account.  For example, faster access times may be gained by referencing a nearby region
	StorageRegion string `json:"storage_region,omitempty"`

	// (S3 only) The name of the bucket into which generated metrics reports are placed by the cloud service provider
	TelemetryBucket string `json:"telemetry_bucket,omitempty"`

	// The type of cloud protocol required.  E.g., \"isilon\" for EMC Isilon, \"ecs\" for EMC ECS Appliance, \"virtustream\" for Virtustream Storage Cloud, \"azure\" for Microsoft Azure and \"s3\" for Amazon S3
	Type_ string `json:"type"`

	// A valid URI pointing to the location of the cloud storage
	Uri string `json:"uri"`
}

A cloud account object

type CloudAccountExtended ¶

type CloudAccountExtended struct {

	// (S3 only) The user id of the S3 account
	AccountId string `json:"account_id,omitempty"`

	// The username required to authenticate against the cloud service
	AccountUsername string `json:"account_username,omitempty"`

	// The guid of the cluster where this account was created
	BirthClusterId string `json:"birth_cluster_id,omitempty"`

	// Whether this account is explicitly enabled or disabled by a user
	Enabled bool `json:"enabled,omitempty"`

	// A valid authentication key for connecting to the cloud
	Key string `json:"key,omitempty"`

	// A unique name for this account
	Name string `json:"name,omitempty"`

	// The id or name of a proxy to be used by this account
	Proxy string `json:"proxy,omitempty"`

	// (Not recommended) Indicates whether to skip validation that the cloud account is still accessible
	SkipAccountCheck bool `json:"skip_account_check,omitempty"`

	// Indicates whether to skip SSL certificate validation when connecting to the cloud
	SkipSslValidation bool `json:"skip_ssl_validation,omitempty"`

	// (S3 only) An appropriate region for the S3 account.  For example, faster access times may be gained by referencing a nearby region
	StorageRegion string `json:"storage_region,omitempty"`

	// (S3 only) The name of the bucket into which generated metrics reports are placed by the cloud service provider
	TelemetryBucket string `json:"telemetry_bucket,omitempty"`

	// A valid URI pointing to the location of the cloud storage
	Uri string `json:"uri,omitempty"`

	// The machine generated name of the account bucket to store data
	Bucket string `json:"bucket,omitempty"`

	// A globally unique name for this account
	Id string `json:"id,omitempty"`

	// The machine generated name of the account bucket to store metadata
	MetadataBucket string `json:"metadata_bucket,omitempty"`

	// Name of the pool referencing this account.  Empty if none.
	Pool string `json:"pool,omitempty"`

	// Indicates whether this account is in a good state (\"OK\"), disabled (\"disabled\") or inaccessible via the network (\"unreachable\")
	State string `json:"state,omitempty"`

	// Gives further information to describe the state of this account
	StateDetails string `json:"state_details,omitempty"`

	// The type of cloud protocol required.  E.g., \"isilon\" for EMC Isilon, \"ecs\" for EMC ECS Appliance, \"virtustream\" for Virtustream Storage Cloud, \"azure\" for Microsoft Azure and \"s3\" for Amazon S3
	Type_ string `json:"type,omitempty"`
}

type CloudAccounts ¶

type CloudAccounts struct {
	Accounts []CloudAccountExtended `json:"accounts,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`
}

type CloudAccountsExtended ¶

type CloudAccountsExtended struct {
	Accounts []CloudAccountExtended `json:"accounts,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type CloudApiService ¶

type CloudApiService service

func (*CloudApiService) CreateCloudAccessItem ¶

func (a *CloudApiService) CreateCloudAccessItem(ctx context.Context, cloudAccessItem CloudAccessItem) (Empty, *http.Response, error)

CloudApiService Add a cluster identifier to access list. * @param ctx context.Context for authentication, logging, tracing, etc. @param cloudAccessItem @return Empty

func (*CloudApiService) CreateCloudAccount ¶

CloudApiService Create a new account. * @param ctx context.Context for authentication, logging, tracing, etc. @param cloudAccount @return CreateCloudAccountResponse

func (*CloudApiService) CreateCloudJob ¶

CloudApiService Create a new job. * @param ctx context.Context for authentication, logging, tracing, etc. @param cloudJob @return CreateCloudJobResponse

func (*CloudApiService) CreateCloudPool ¶

CloudApiService Create a new pool. * @param ctx context.Context for authentication, logging, tracing, etc. @param cloudPool @return CreateCloudPoolResponse

func (*CloudApiService) CreateCloudProxy ¶

CloudApiService Create a new proxy. * @param ctx context.Context for authentication, logging, tracing, etc. @param cloudProxy @return CreateCloudProxyResponse

func (*CloudApiService) CreateSettingsEncryptionKeyItem ¶

func (a *CloudApiService) CreateSettingsEncryptionKeyItem(ctx context.Context, settingsEncryptionKeyItem Empty) (Empty, *http.Response, error)

CloudApiService Regenerate master encryption key. * @param ctx context.Context for authentication, logging, tracing, etc. @param settingsEncryptionKeyItem @return Empty

func (*CloudApiService) CreateSettingsReportingEulaItem ¶

func (a *CloudApiService) CreateSettingsReportingEulaItem(ctx context.Context, settingsReportingEulaItem SettingsReportingEulaItem) (SettingsReportingEulaItem, *http.Response, error)

CloudApiService Accept telemetry collection EULA. * @param ctx context.Context for authentication, logging, tracing, etc. @param settingsReportingEulaItem @return SettingsReportingEulaItem

func (*CloudApiService) DeleteCloudAccessGuid ¶

func (a *CloudApiService) DeleteCloudAccessGuid(ctx context.Context, cloudAccessGuid string) (*http.Response, error)

CloudApiService Delete cloud access. * @param ctx context.Context for authentication, logging, tracing, etc. @param cloudAccessGuid Delete cloud access. @return

func (*CloudApiService) DeleteCloudAccount ¶

func (a *CloudApiService) DeleteCloudAccount(ctx context.Context, cloudAccountId string, localVarOptionals map[string]interface{}) (*http.Response, error)

CloudApiService Delete cloud account. * @param ctx context.Context for authentication, logging, tracing, etc. @param cloudAccountId Delete cloud account. @param optional (nil or map[string]interface{}) with one or more of:

@param "acknowledgeForceDelete" (string) A value of 1 acknowledges that the user is deleting data.

@return

func (*CloudApiService) DeleteCloudPool ¶

func (a *CloudApiService) DeleteCloudPool(ctx context.Context, cloudPoolId string, localVarOptionals map[string]interface{}) (*http.Response, error)

CloudApiService Delete a cloud pool. * @param ctx context.Context for authentication, logging, tracing, etc. @param cloudPoolId Delete a cloud pool. @param optional (nil or map[string]interface{}) with one or more of:

@param "acknowledgeForceDelete" (string) A value of 1 acknowledges that the user is deleting data.

@return

func (*CloudApiService) DeleteCloudProxy ¶

func (a *CloudApiService) DeleteCloudProxy(ctx context.Context, cloudProxyId string) (*http.Response, error)

CloudApiService Delete cloud account. * @param ctx context.Context for authentication, logging, tracing, etc. @param cloudProxyId Delete cloud account. @return

func (*CloudApiService) DeleteSettingsReportingEula ¶

func (a *CloudApiService) DeleteSettingsReportingEula(ctx context.Context) (*http.Response, error)

CloudApiService Revoke acceptance of telemetry collection EULA. * @param ctx context.Context for authentication, logging, tracing, etc. @return

func (*CloudApiService) GetCloudAccessGuid ¶

func (a *CloudApiService) GetCloudAccessGuid(ctx context.Context, cloudAccessGuid string) (CloudAccess, *http.Response, error)

CloudApiService Retrieve cloud access information. * @param ctx context.Context for authentication, logging, tracing, etc. @param cloudAccessGuid Retrieve cloud access information. @return CloudAccess

func (*CloudApiService) GetCloudAccount ¶

func (a *CloudApiService) GetCloudAccount(ctx context.Context, cloudAccountId string) (CloudAccounts, *http.Response, error)

CloudApiService Retrieve cloud account information. * @param ctx context.Context for authentication, logging, tracing, etc. @param cloudAccountId Retrieve cloud account information. @return CloudAccounts

func (*CloudApiService) GetCloudJob ¶

func (a *CloudApiService) GetCloudJob(ctx context.Context, cloudJobId string) (CloudJobs, *http.Response, error)

CloudApiService Retrieve cloudpool job information. * @param ctx context.Context for authentication, logging, tracing, etc. @param cloudJobId Retrieve cloudpool job information. @return CloudJobs

func (*CloudApiService) GetCloudJobsFile ¶

func (a *CloudApiService) GetCloudJobsFile(ctx context.Context, cloudJobsFileId string, localVarOptionals map[string]interface{}) (CloudJobsFiles, *http.Response, error)

CloudApiService Retrieve files associated with a cloudpool job. * @param ctx context.Context for authentication, logging, tracing, etc. @param cloudJobsFileId Retrieve files associated with a cloudpool job. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
@param "batch" (bool) If true, only \&quot;limit\&quot; and \&quot;page\&quot; arguments are honored.  Query will return all results, unsorted, as quickly as possible.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "page" (int32) Works only when \&quot;batch\&quot; parameter and \&quot;limit\&quot; parameters are specified.  Indicates which the page index of results to be returned
@param "dir" (string) The direction of the sort.

@return CloudJobsFiles

func (*CloudApiService) GetCloudPool ¶

func (a *CloudApiService) GetCloudPool(ctx context.Context, cloudPoolId string) (CloudPools, *http.Response, error)

CloudApiService Retrieve cloud pool information * @param ctx context.Context for authentication, logging, tracing, etc. @param cloudPoolId Retrieve cloud pool information @return CloudPools

func (*CloudApiService) GetCloudProxy ¶

func (a *CloudApiService) GetCloudProxy(ctx context.Context, cloudProxyId string) (CloudProxies, *http.Response, error)

CloudApiService Retrieve cloud account information. * @param ctx context.Context for authentication, logging, tracing, etc. @param cloudProxyId Retrieve cloud account information. @return CloudProxies

func (*CloudApiService) GetCloudSettings ¶

func (a *CloudApiService) GetCloudSettings(ctx context.Context) (CloudSettings, *http.Response, error)

CloudApiService List all cloud settings. * @param ctx context.Context for authentication, logging, tracing, etc. @return CloudSettings

func (*CloudApiService) ListCloudAccess ¶

func (a *CloudApiService) ListCloudAccess(ctx context.Context, localVarOptionals map[string]interface{}) (CloudAccessExtended, *http.Response, error)

CloudApiService List all accessible cluster identifiers. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "dir" (string) The direction of the sort.

@return CloudAccessExtended

func (*CloudApiService) ListCloudAccounts ¶

func (a *CloudApiService) ListCloudAccounts(ctx context.Context, localVarOptionals map[string]interface{}) (CloudAccountsExtended, *http.Response, error)

CloudApiService List all accounts. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "dir" (string) The direction of the sort.

@return CloudAccountsExtended

func (*CloudApiService) ListCloudJobs ¶

func (a *CloudApiService) ListCloudJobs(ctx context.Context, localVarOptionals map[string]interface{}) (CloudJobsExtended, *http.Response, error)

CloudApiService List all cloudpools jobs. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "dir" (string) The direction of the sort.

@return CloudJobsExtended

func (*CloudApiService) ListCloudPools ¶

func (a *CloudApiService) ListCloudPools(ctx context.Context, localVarOptionals map[string]interface{}) (CloudPoolsExtended, *http.Response, error)

CloudApiService List all pools. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "dir" (string) The direction of the sort.

@return CloudPoolsExtended

func (*CloudApiService) ListCloudProxies ¶

func (a *CloudApiService) ListCloudProxies(ctx context.Context, localVarOptionals map[string]interface{}) (CloudProxiesExtended, *http.Response, error)

CloudApiService List all proxies. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "dir" (string) The direction of the sort.

@return CloudProxiesExtended

func (*CloudApiService) ListSettingsReportingEula ¶

func (a *CloudApiService) ListSettingsReportingEula(ctx context.Context) (SettingsReportingEulaItem, *http.Response, error)

CloudApiService View telemetry collection EULA acceptance and content URI. * @param ctx context.Context for authentication, logging, tracing, etc. @return SettingsReportingEulaItem

func (*CloudApiService) UpdateCloudAccount ¶

func (a *CloudApiService) UpdateCloudAccount(ctx context.Context, cloudAccount CloudAccount, cloudAccountId string) (*http.Response, error)

CloudApiService Modify cloud account. All fields are optional, but one or more must be supplied. * @param ctx context.Context for authentication, logging, tracing, etc. @param cloudAccount @param cloudAccountId Modify cloud account. All fields are optional, but one or more must be supplied. @return

func (*CloudApiService) UpdateCloudJob ¶

func (a *CloudApiService) UpdateCloudJob(ctx context.Context, cloudJob CloudJob, cloudJobId string) (*http.Response, error)

CloudApiService Modify a cloud job or operation. * @param ctx context.Context for authentication, logging, tracing, etc. @param cloudJob @param cloudJobId Modify a cloud job or operation. @return

func (*CloudApiService) UpdateCloudPool ¶

func (a *CloudApiService) UpdateCloudPool(ctx context.Context, cloudPool CloudPool, cloudPoolId string) (*http.Response, error)

CloudApiService Modify a cloud pool. All fields are optional, but one or more must be supplied. * @param ctx context.Context for authentication, logging, tracing, etc. @param cloudPool @param cloudPoolId Modify a cloud pool. All fields are optional, but one or more must be supplied. @return

func (*CloudApiService) UpdateCloudProxy ¶

func (a *CloudApiService) UpdateCloudProxy(ctx context.Context, cloudProxy CloudProxy, cloudProxyId string) (*http.Response, error)

CloudApiService Modify cloud account. All fields are optional, but one or more must be supplied. * @param ctx context.Context for authentication, logging, tracing, etc. @param cloudProxy @param cloudProxyId Modify cloud account. All fields are optional, but one or more must be supplied. @return

func (*CloudApiService) UpdateCloudSettings ¶

func (a *CloudApiService) UpdateCloudSettings(ctx context.Context, cloudSettings CloudSettingsSettings) (*http.Response, error)

CloudApiService Modify one or more settings. * @param ctx context.Context for authentication, logging, tracing, etc. @param cloudSettings @return

type CloudJob ¶

type CloudJob struct {

	// Whether to apply to the given operation type or to all jobs of the given operation type
	All bool `json:"all,omitempty"`

	// The desired state of the job or operation
	State string `json:"state,omitempty"`
}

A cloud job for archiving or recalling files

type CloudJobCreateParams ¶

type CloudJobCreateParams struct {

	// The names of accounts for COI restore
	Accounts []string `json:"accounts,omitempty"`

	// Directories addressed by this job
	Directories []string `json:"directories,omitempty"`

	// The new expiration date in seconds
	ExpirationDate int32 `json:"expiration_date,omitempty"`

	// The file filtering logic to find files for this job. (Only applicable for 'recall' jobs)
	FileMatchingPattern *Empty `json:"file_matching_pattern,omitempty"`

	// Filenames addressed by this job
	Files []string `json:"files,omitempty"`

	// The name of an existing cloudpool policy to apply to this job. (Only applicable for 'archive' jobs)
	Policy string `json:"policy,omitempty"`

	// The type of cloud action to be performed by this job.
	Type_ string `json:"type"`
}

A cloud job for archiving or recalling files or restoring COI

type CloudJobExtended ¶

type CloudJobExtended struct {

	// The time at which the job was completed (if applicable)
	CompletionTime int32 `json:"completion_time,omitempty"`

	// The time at which the job was created
	CreateTime int32 `json:"create_time,omitempty"`

	// A brief description of the job contents
	Description string `json:"description,omitempty"`

	// The effective state of the job (e.g,. the combination of operation_state and job_state)
	EffectiveState string `json:"effective_state,omitempty"`

	// The files and filters addressed by this job
	Files *CloudJobFiles `json:"files,omitempty"`

	// The job's ID
	Id int32 `json:"id,omitempty"`

	// Information about the related job engine job if there is one
	JobEngineJob *CloudJobJobEngineJob `json:"job_engine_job,omitempty"`

	// The current state of the job
	JobState string `json:"job_state,omitempty"`

	// The current state of the operation associated with the job
	OperationState string `json:"operation_state,omitempty"`

	// The last time at which the job state changed
	StateChangeTime int32 `json:"state_change_time,omitempty"`

	// The type of cloud action to be performed by this job.
	Type_ string `json:"type,omitempty"`
}

type CloudJobFiles ¶

type CloudJobFiles struct {

	// The file filtering logic to find files for this job
	FileMatchingPattern *Empty `json:"file_matching_pattern,omitempty"`

	// A list of files to be addressed by this job.  (Note* these are only reported when audit_level is 'high'
	Names []CloudJobFilesName `json:"names,omitempty"`

	// The total number of files addressed by this job
	Total int32 `json:"total,omitempty"`

	// The number of canceled files
	TotalCanceled int32 `json:"total_canceled,omitempty"`

	// The number of files which failed
	TotalFailed int32 `json:"total_failed,omitempty"`

	// The number of files pending action
	TotalPending int32 `json:"total_pending,omitempty"`

	// The number of files currently being processed
	TotalProcessing int32 `json:"total_processing,omitempty"`

	// The total number of files successfully completed
	TotalSucceeded int32 `json:"total_succeeded,omitempty"`
}

type CloudJobFilesName ¶

type CloudJobFilesName struct {

	// The full path name of a file to be acted on by this job
	Name string `json:"name,omitempty"`

	// The current state of this file
	State string `json:"state,omitempty"`
}

type CloudJobJobEngineJob ¶

type CloudJobJobEngineJob struct {

	// ID of the related job engine job
	Id int32 `json:"id,omitempty"`

	// The state of the related job engine job
	State string `json:"state,omitempty"`
}

type CloudJobs ¶

type CloudJobs struct {
	Jobs []CloudJobExtended `json:"jobs,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`
}

type CloudJobsExtended ¶

type CloudJobsExtended struct {
	Jobs []CloudJobExtended `json:"jobs,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type CloudJobsFiles ¶

type CloudJobsFiles struct {
	Files []string `json:"files,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`
}

type CloudPool ¶

type CloudPool struct {

	// A list of valid names for the accounts in this pool.  There is currently only one account allowed per pool.
	Accounts []string `json:"accounts,omitempty"`

	// The guid of the cluster where this pool was created
	BirthClusterId string `json:"birth_cluster_id,omitempty"`

	// A brief description of this pool
	Description string `json:"description,omitempty"`

	// A unique name for this pool
	Name string `json:"name,omitempty"`

	// A string identifier of the cloud services vendor
	Vendor string `json:"vendor,omitempty"`
}

A group of cloud accounts which will be the destination for file stubbing

type CloudPoolCreateParams ¶

type CloudPoolCreateParams struct {

	// A list of valid names for the accounts in this pool.  There is currently only one account allowed per pool.
	Accounts []string `json:"accounts"`

	// The guid of the cluster where this pool was created
	BirthClusterId string `json:"birth_cluster_id,omitempty"`

	// A brief description of this pool
	Description string `json:"description,omitempty"`

	// A unique name for this pool
	Name string `json:"name"`

	// A string identifier of the cloud services vendor
	Vendor string `json:"vendor,omitempty"`

	// The type of cloud protocol required.  E.g., \"isilon\" for EMC Isilon, \"ecs\" for EMC ECS Appliance, \"virtustream\" for Virtustream Storage Cloud, \"azure\" for Microsoft Azure and \"s3\" for Amazon S3
	Type_ string `json:"type"`
}

type CloudPoolExtended ¶

type CloudPoolExtended struct {

	// A list of valid names for the accounts in this pool.  There is currently only one account allowed per pool.
	Accounts []string `json:"accounts,omitempty"`

	// The guid of the cluster where this pool was created
	BirthClusterId string `json:"birth_cluster_id,omitempty"`

	// A brief description of this pool
	Description string `json:"description,omitempty"`

	// A unique name for this pool
	Name string `json:"name,omitempty"`

	// A string identifier of the cloud services vendor
	Vendor string `json:"vendor,omitempty"`

	// A unique name for this pool
	Id string `json:"id,omitempty"`

	// Indicates whether this pool is in a good state (\"OK\") or disabled (\"disabled\")
	State string `json:"state,omitempty"`

	// Gives further information to describe the state of this pool
	StateDetails string `json:"state_details,omitempty"`

	// The type of cloud protocol required.  E.g., \"isilon\" for EMC Isilon, \"ecs\" for EMC ECS Appliance, \"virtustream\" for Virtustream Storage Cloud, \"azure\" for Microsoft Azure and \"s3\" for Amazon S3
	Type_ string `json:"type,omitempty"`
}

type CloudPools ¶

type CloudPools struct {
	Pools []CloudPoolExtended `json:"pools,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`
}

type CloudPoolsExtended ¶

type CloudPoolsExtended struct {
	Pools []CloudPoolExtended `json:"pools,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type CloudProxies ¶

type CloudProxies struct {
	Proxies []CloudProxyExtended `json:"proxies,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`
}

type CloudProxiesExtended ¶

type CloudProxiesExtended struct {
	Proxies []CloudProxyExtended `json:"proxies,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type CloudProxy ¶

type CloudProxy struct {

	// A host name or network address for connecting to this proxy
	Host string `json:"host,omitempty"`

	// A unique friendly name for this proxy configuration
	Name string `json:"name,omitempty"`

	// The password to connect to this proxy if required (write-only)
	Password string `json:"password,omitempty"`

	// The port used to connect to this proxy
	Port int32 `json:"port,omitempty"`

	// The type of connection used to connect to this proxy
	Type_ string `json:"type,omitempty"`

	// The username to connect to this proxy if required
	Username string `json:"username,omitempty"`
}

The configuration settings for a network proxy

type CloudProxyCreateParams ¶

type CloudProxyCreateParams struct {

	// A host name or network address for connecting to this proxy
	Host string `json:"host"`

	// A unique friendly name for this proxy configuration
	Name string `json:"name"`

	// The password to connect to this proxy if required (write-only)
	Password string `json:"password,omitempty"`

	// The port used to connect to this proxy
	Port int32 `json:"port"`

	// The type of connection used to connect to this proxy
	Type_ string `json:"type"`

	// The username to connect to this proxy if required
	Username string `json:"username,omitempty"`
}

type CloudProxyExtended ¶

type CloudProxyExtended struct {

	// A host name or network address for connecting to this proxy
	Host string `json:"host,omitempty"`

	// A unique friendly name for this proxy configuration
	Name string `json:"name,omitempty"`

	// The password to connect to this proxy if required (write-only)
	Password string `json:"password,omitempty"`

	// The port used to connect to this proxy
	Port int32 `json:"port,omitempty"`

	// The type of connection used to connect to this proxy
	Type_ string `json:"type,omitempty"`

	// The username to connect to this proxy if required
	Username string `json:"username,omitempty"`

	// A globally unique ID (guid) or the name of this proxy (read-only)
	Id string `json:"id,omitempty"`

	// Indicates whether a password has been set for this proxy
	PasswordIsSet bool `json:"password_is_set,omitempty"`
}

type CloudSettings ¶

type CloudSettings struct {

	//
	Settings *CloudSettingsSettings `json:"settings,omitempty"`
}

type CloudSettingsSettings ¶

type CloudSettingsSettings struct {

	// The default filepool policy values for cloudpools.
	CloudPolicyDefaults *CloudSettingsSettingsCloudPolicyDefaults `json:"cloud_policy_defaults,omitempty"`

	// Coefficients in the quadratic function for determining the rest period between successive archive attempts.
	RetryCoefficientArchive string `json:"retry_coefficient_archive,omitempty"`

	// Coefficients in the quadratic function for determining the rest period between successive cache invalidation attempts.
	RetryCoefficientCacheInvalidation string `json:"retry_coefficient_cache_invalidation,omitempty"`

	// Coefficients in the quadratic function for determining the rest period between successive cloud garbage collection attempts.
	RetryCoefficientCloudGarbageCollection string `json:"retry_coefficient_cloud_garbage_collection,omitempty"`

	// Coefficients in the quadratic function for determining the rest period between successive local garbage collection attempts.
	RetryCoefficientLocalGarbageCollection string `json:"retry_coefficient_local_garbage_collection,omitempty"`

	// Coefficients in the quadratic function for determining the rest period between successive read ahead attempts.
	RetryCoefficientReadAhead string `json:"retry_coefficient_read_ahead,omitempty"`

	// Coefficients in the quadratic function for determining the rest period between successive recall attempts.
	RetryCoefficientRecall string `json:"retry_coefficient_recall,omitempty"`

	// Coefficients in the quadratic function for determining the rest period between successive writeback attempts.
	RetryCoefficientWriteback string `json:"retry_coefficient_writeback,omitempty"`

	// Amount of time to wait between successive file archive operations.
	SleepTimeoutArchive *CloudSettingsSettingsSleepTimeoutCloudGarbageCollection `json:"sleep_timeout_archive,omitempty"`

	// Amount of time to wait between successive file cache_invalidation operations.
	SleepTimeoutCacheInvalidation *CloudSettingsSettingsSleepTimeoutCloudGarbageCollection `json:"sleep_timeout_cache_invalidation,omitempty"`

	// Amount of time to wait between successive file cloud garbage collection operations.
	SleepTimeoutCloudGarbageCollection *CloudSettingsSettingsSleepTimeoutCloudGarbageCollection `json:"sleep_timeout_cloud_garbage_collection,omitempty"`

	// Amount of time to wait between successive file local garbage collection operations.
	SleepTimeoutLocalGarbageCollection *CloudSettingsSettingsSleepTimeoutCloudGarbageCollection `json:"sleep_timeout_local_garbage_collection,omitempty"`

	// Amount of time to wait between successive file read ahead operations.
	SleepTimeoutReadAhead *CloudSettingsSettingsSleepTimeoutCloudGarbageCollection `json:"sleep_timeout_read_ahead,omitempty"`

	// Amount of time to wait between successive file recall operations.
	SleepTimeoutRecall *CloudSettingsSettingsSleepTimeoutCloudGarbageCollection `json:"sleep_timeout_recall,omitempty"`

	// Amount of time to wait between successive file writeback operations.
	SleepTimeoutWriteback *CloudSettingsSettingsSleepTimeoutCloudGarbageCollection `json:"sleep_timeout_writeback,omitempty"`
}

type CloudSettingsSettingsCloudPolicyDefaults ¶

type CloudSettingsSettingsCloudPolicyDefaults struct {

	// Specifies if files with snapshots should be archived.
	ArchiveSnapshotFiles bool `json:"archive_snapshot_files,omitempty"`

	// Specifies default cloudpool cache settings for new filepool policies.
	Cache *CloudSettingsSettingsCloudPolicyDefaultsCache `json:"cache,omitempty"`

	// Specifies if files should be compressed.
	Compression bool `json:"compression,omitempty"`

	// Specifies the minimum amount of time archived data will be retained in the cloud after deletion.
	DataRetention int32 `json:"data_retention,omitempty"`

	// Specifies if files should be encrypted.
	Encryption bool `json:"encryption,omitempty"`

	// (Used with NDMP backups only.  Not applicable to SyncIQ.)  The minimum amount of time cloud files will be retained after the creation of a full NDMP backup.
	FullBackupRetention int32 `json:"full_backup_retention,omitempty"`

	// (Used with SyncIQ and NDMP backups.)  The minimum amount of time cloud files will be retained after the creation of a SyncIQ backup or an incremental NDMP backup.
	IncrementalBackupRetention int32 `json:"incremental_backup_retention,omitempty"`

	// The minimum amount of time to wait before updating cloud data with local changes.
	WritebackFrequency int32 `json:"writeback_frequency,omitempty"`
}

type CloudSettingsSettingsCloudPolicyDefaultsCache ¶

type CloudSettingsSettingsCloudPolicyDefaultsCache struct {

	// Specifies cache expiration.
	Expiration int32 `json:"expiration,omitempty"`

	// Specifies cache read ahead type.
	ReadAhead string `json:"read_ahead,omitempty"`

	// Specifies cache type.
	Type_ string `json:"type,omitempty"`
}

type CloudSettingsSettingsSleepTimeoutCloudGarbageCollection ¶

type CloudSettingsSettingsSleepTimeoutCloudGarbageCollection struct {

	// Sleep timeout for a recovery thread with pending tasks
	RecoveryWithTasks float32 `json:"recovery_with_tasks,omitempty"`

	// Sleep timeout for a recovery thread without pending tasks
	RecoveryWithoutTasks float32 `json:"recovery_without_tasks,omitempty"`

	// Sleep timeout for a non-recovery thread with pending tasks
	WithTasks float32 `json:"with_tasks,omitempty"`

	// Sleep timeout for a non-recovery thread without pending tasks
	WithoutTasks float32 `json:"without_tasks,omitempty"`
}

type ClusterAddNodeItem ¶

type ClusterAddNodeItem struct {

	// Allow down nodes (Default false).
	AllowDown bool `json:"allow_down,omitempty"`

	// Serial number of this node.
	SerialNumber string `json:"serial_number"`

	// Bypass hardware version checks (Default false).
	SkipHardwareVersionCheck bool `json:"skip_hardware_version_check,omitempty"`
}

Add Node information.

type ClusterApiService ¶

type ClusterApiService service

func (*ClusterApiService) CreateClusterAddNodeItem ¶

func (a *ClusterApiService) CreateClusterAddNodeItem(ctx context.Context, clusterAddNodeItem ClusterAddNodeItem) (Empty, *http.Response, error)

ClusterApiService Serial number and arguments of node to add. * @param ctx context.Context for authentication, logging, tracing, etc. @param clusterAddNodeItem @return Empty

func (*ClusterApiService) CreateDiagnosticsGatherStartItem ¶

func (a *ClusterApiService) CreateDiagnosticsGatherStartItem(ctx context.Context, diagnosticsGatherStartItem DiagnosticsGatherSettingsExtended) (Empty, *http.Response, error)

ClusterApiService Start a new gather * @param ctx context.Context for authentication, logging, tracing, etc. @param diagnosticsGatherStartItem @return Empty

func (*ClusterApiService) CreateDiagnosticsGatherStopItem ¶

func (a *ClusterApiService) CreateDiagnosticsGatherStopItem(ctx context.Context, diagnosticsGatherStopItem Empty) (Empty, *http.Response, error)

ClusterApiService Stop a running gather * @param ctx context.Context for authentication, logging, tracing, etc. @param diagnosticsGatherStopItem @return Empty

func (*ClusterApiService) CreateDiagnosticsNetloggerStartItem ¶

func (a *ClusterApiService) CreateDiagnosticsNetloggerStartItem(ctx context.Context, diagnosticsNetloggerStartItem DiagnosticsNetloggerSettings) (Empty, *http.Response, error)

ClusterApiService Start a new packet caputre * @param ctx context.Context for authentication, logging, tracing, etc. @param diagnosticsNetloggerStartItem @return Empty

func (*ClusterApiService) CreateDiagnosticsNetloggerStopItem ¶

func (a *ClusterApiService) CreateDiagnosticsNetloggerStopItem(ctx context.Context, diagnosticsNetloggerStopItem Empty) (Empty, *http.Response, error)

ClusterApiService Stop a running packet capture * @param ctx context.Context for authentication, logging, tracing, etc. @param diagnosticsNetloggerStopItem @return Empty

func (*ClusterApiService) GetClusterConfig ¶

func (a *ClusterApiService) GetClusterConfig(ctx context.Context) (ClusterConfig, *http.Response, error)

ClusterApiService Retrieve the cluster information. * @param ctx context.Context for authentication, logging, tracing, etc. @return ClusterConfig

func (*ClusterApiService) GetClusterEmail ¶

func (a *ClusterApiService) GetClusterEmail(ctx context.Context) (ClusterEmail, *http.Response, error)

ClusterApiService Get the cluster email notification settings. * @param ctx context.Context for authentication, logging, tracing, etc. @return ClusterEmail

func (*ClusterApiService) GetClusterExternalIps ¶

func (a *ClusterApiService) GetClusterExternalIps(ctx context.Context) ([]string, *http.Response, error)

ClusterApiService Retrieve the cluster IP addresses including IPV4 and IPV6. * @param ctx context.Context for authentication, logging, tracing, etc. @return []string

func (*ClusterApiService) GetClusterIdentity ¶

func (a *ClusterApiService) GetClusterIdentity(ctx context.Context) (ClusterIdentity, *http.Response, error)

ClusterApiService Retrieve the login information. * @param ctx context.Context for authentication, logging, tracing, etc. @return ClusterIdentity

func (*ClusterApiService) GetClusterNode ¶

func (a *ClusterApiService) GetClusterNode(ctx context.Context, clusterNodeId int32, localVarOptionals map[string]interface{}) (ClusterNodesExtendedExtended, *http.Response, error)

ClusterApiService Retrieve node information. * @param ctx context.Context for authentication, logging, tracing, etc. @param clusterNodeId Retrieve node information. @param optional (nil or map[string]interface{}) with one or more of:

@param "timeout" (float32) Request timeout

@return ClusterNodesExtendedExtended

func (*ClusterApiService) GetClusterNodes ¶

func (a *ClusterApiService) GetClusterNodes(ctx context.Context, localVarOptionals map[string]interface{}) (ClusterNodesExtendedExtendedExtended, *http.Response, error)

ClusterApiService List the nodes on this cluster. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "timeout" (float32) Request timeout

@return ClusterNodesExtendedExtendedExtended

func (*ClusterApiService) GetClusterNodesAvailable ¶

func (a *ClusterApiService) GetClusterNodesAvailable(ctx context.Context) (ClusterNodesAvailable, *http.Response, error)

ClusterApiService List all nodes that are available to add to this cluster. * @param ctx context.Context for authentication, logging, tracing, etc. @return ClusterNodesAvailable

func (*ClusterApiService) GetClusterOwner ¶

func (a *ClusterApiService) GetClusterOwner(ctx context.Context) (ClusterOwner, *http.Response, error)

ClusterApiService Get the cluster contact info settings * @param ctx context.Context for authentication, logging, tracing, etc. @return ClusterOwner

func (*ClusterApiService) GetClusterStatfs ¶

func (a *ClusterApiService) GetClusterStatfs(ctx context.Context) (ClusterStatfs, *http.Response, error)

ClusterApiService Retrieve the filesystem statistics. * @param ctx context.Context for authentication, logging, tracing, etc. @return ClusterStatfs

func (*ClusterApiService) GetClusterTime ¶

func (a *ClusterApiService) GetClusterTime(ctx context.Context) (ClusterTime, *http.Response, error)

ClusterApiService Retrieve the current time as reported by each node. * @param ctx context.Context for authentication, logging, tracing, etc. @return ClusterTime

func (*ClusterApiService) GetClusterTimezone ¶

func (a *ClusterApiService) GetClusterTimezone(ctx context.Context) (ClusterTimezone, *http.Response, error)

ClusterApiService Get the cluster timezone. * @param ctx context.Context for authentication, logging, tracing, etc. @return ClusterTimezone

func (*ClusterApiService) GetClusterVersion ¶

func (a *ClusterApiService) GetClusterVersion(ctx context.Context) (ClusterVersion, *http.Response, error)

ClusterApiService Retrieve the OneFS version as reported by each node. * @param ctx context.Context for authentication, logging, tracing, etc. @return ClusterVersion

func (*ClusterApiService) GetDiagnosticsGather ¶

func (a *ClusterApiService) GetDiagnosticsGather(ctx context.Context) (DiagnosticsGatherStatus, *http.Response, error)

ClusterApiService Get the status of isi_gather_info. * @param ctx context.Context for authentication, logging, tracing, etc. @return DiagnosticsGatherStatus

func (*ClusterApiService) GetDiagnosticsGatherSettings ¶

func (a *ClusterApiService) GetDiagnosticsGatherSettings(ctx context.Context) (DiagnosticsGatherSettings, *http.Response, error)

ClusterApiService Get the default options for isi_gather_info. * @param ctx context.Context for authentication, logging, tracing, etc. @return DiagnosticsGatherSettings

func (*ClusterApiService) GetDiagnosticsGatherStatus ¶

func (a *ClusterApiService) GetDiagnosticsGatherStatus(ctx context.Context) (DiagnosticsGatherStatus, *http.Response, error)

ClusterApiService Get the status of isi_gather_info. * @param ctx context.Context for authentication, logging, tracing, etc. @return DiagnosticsGatherStatus

func (*ClusterApiService) GetDiagnosticsNetlogger ¶

func (a *ClusterApiService) GetDiagnosticsNetlogger(ctx context.Context) (DiagnosticsNetloggerStatus, *http.Response, error)

ClusterApiService Get the status of isi_netlogger. * @param ctx context.Context for authentication, logging, tracing, etc. @return DiagnosticsNetloggerStatus

func (*ClusterApiService) GetDiagnosticsNetloggerSettings ¶

func (a *ClusterApiService) GetDiagnosticsNetloggerSettings(ctx context.Context) (DiagnosticsNetloggerSettings, *http.Response, error)

ClusterApiService Get the default options for isi_netlogger. * @param ctx context.Context for authentication, logging, tracing, etc. @return DiagnosticsNetloggerSettings

func (*ClusterApiService) GetDiagnosticsNetloggerStatus ¶

func (a *ClusterApiService) GetDiagnosticsNetloggerStatus(ctx context.Context) (DiagnosticsNetloggerStatus, *http.Response, error)

ClusterApiService Get the status of isi_netlogger. * @param ctx context.Context for authentication, logging, tracing, etc. @return DiagnosticsNetloggerStatus

func (*ClusterApiService) GetTimezoneRegion ¶

func (a *ClusterApiService) GetTimezoneRegion(ctx context.Context, timezoneRegionId string, localVarOptionals map[string]interface{}) (TimezoneRegions, *http.Response, error)

ClusterApiService List timezone regions. * @param ctx context.Context for authentication, logging, tracing, etc. @param timezoneRegionId List timezone regions. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
@param "showAll" (bool) Show all timezones within the region specified in the URI.
@param "dstReset" (bool) This query arg is not needed in normal use cases.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "dir" (string) The direction of the sort.

@return TimezoneRegions

func (*ClusterApiService) GetTimezoneSettings ¶

func (a *ClusterApiService) GetTimezoneSettings(ctx context.Context) (TimezoneSettings, *http.Response, error)

ClusterApiService Retrieve the cluster timezone. * @param ctx context.Context for authentication, logging, tracing, etc. @return TimezoneSettings

func (*ClusterApiService) UpdateClusterEmail ¶

func (a *ClusterApiService) UpdateClusterEmail(ctx context.Context, clusterEmail ClusterEmailExtended) (*http.Response, error)

ClusterApiService Modify the cluster email notification settings. All input fields are optional, but one or more must be supplied. * @param ctx context.Context for authentication, logging, tracing, etc. @param clusterEmail @return

func (*ClusterApiService) UpdateClusterNode ¶

func (a *ClusterApiService) UpdateClusterNode(ctx context.Context, clusterNode ClusterNode, clusterNodeId int32) (*http.Response, error)

ClusterApiService Modify one or more node settings. * @param ctx context.Context for authentication, logging, tracing, etc. @param clusterNode @param clusterNodeId Modify one or more node settings. @return

func (*ClusterApiService) UpdateClusterOwner ¶

func (a *ClusterApiService) UpdateClusterOwner(ctx context.Context, clusterOwner ClusterOwner) (*http.Response, error)

ClusterApiService Modify the cluster contact info settings. All input fields are optional, but one or more must be supplied. * @param ctx context.Context for authentication, logging, tracing, etc. @param clusterOwner @return

func (*ClusterApiService) UpdateClusterTime ¶

func (a *ClusterApiService) UpdateClusterTime(ctx context.Context, clusterTime ClusterTimeExtended) (*http.Response, error)

ClusterApiService Set cluster time. Time will mostly be synchronized across nodes, but there may be slight drift. * @param ctx context.Context for authentication, logging, tracing, etc. @param clusterTime @return

func (*ClusterApiService) UpdateClusterTimezone ¶

func (a *ClusterApiService) UpdateClusterTimezone(ctx context.Context, clusterTimezone ClusterTimezoneExtended) (*http.Response, error)

ClusterApiService Set a new timezone for the cluster. * @param ctx context.Context for authentication, logging, tracing, etc. @param clusterTimezone @return

func (*ClusterApiService) UpdateDiagnosticsGatherSettings ¶

func (a *ClusterApiService) UpdateDiagnosticsGatherSettings(ctx context.Context, diagnosticsGatherSettings DiagnosticsGatherSettingsExtended) (*http.Response, error)

ClusterApiService Set the default options for isi_gather_info. * @param ctx context.Context for authentication, logging, tracing, etc. @param diagnosticsGatherSettings @return

func (*ClusterApiService) UpdateDiagnosticsNetloggerSettings ¶

func (a *ClusterApiService) UpdateDiagnosticsNetloggerSettings(ctx context.Context, diagnosticsNetloggerSettings DiagnosticsNetloggerSettings) (*http.Response, error)

ClusterApiService Set the default options for isi_netlogger. * @param ctx context.Context for authentication, logging, tracing, etc. @param diagnosticsNetloggerSettings @return

func (*ClusterApiService) UpdateTimezoneSettings ¶

func (a *ClusterApiService) UpdateTimezoneSettings(ctx context.Context, timezoneSettings TimezoneRegionTimezone) (*http.Response, error)

ClusterApiService Modify the cluster timezone. * @param ctx context.Context for authentication, logging, tracing, etc. @param timezoneSettings @return

type ClusterArchiveItem ¶

type ClusterArchiveItem struct {

	// If set to true the currently running upgrade will be cleared
	Clear bool `json:"clear,omitempty"`
}

Start an archive of an upgrade.

type ClusterAssessItem ¶

type ClusterAssessItem struct {

	// The location (path) of the upgrade image which must be within /ifs.
	InstallImagePath string `json:"install_image_path,omitempty"`
}

The settings necessary to start a pre-upgrade assessment.

type ClusterConfig ¶

type ClusterConfig struct {

	// Customer configurable description.
	Description string `json:"description"`

	Devices []ClusterConfigDevice `json:"devices"`

	// Default encoding.
	Encoding string `json:"encoding"`

	// Cluster GUID.
	Guid string `json:"guid"`

	// If true, the local node is in a group with quorum: It is communicating, storing, and protecting data normally with other nodes in its group.  Under normal circumstances, every node in the cluster is part of one group.
	HasQuorum bool `json:"has_quorum"`

	// If true, the cluster is in compliance mode.  Compliance mode clusters do not allow root access and have stricter WORM (Write Once Read Many) features for retaining data in compliance with U.S. Securities and Exchange Commission rule 17a-4.
	IsCompliance bool `json:"is_compliance"`

	// true if the cluster is deployed on a desktop VMWorkstation
	IsVirtual bool `json:"is_virtual"`

	// true if this is a vOneFS cluster on an ESXi
	IsVonefs bool `json:"is_vonefs"`

	// Node join mode: 'manual' or 'secure'.
	JoinMode string `json:"join_mode"`

	// Device ID of the queried node.
	LocalDevid int32 `json:"local_devid"`

	// Device logical node number of the queried node.
	LocalLnn int32 `json:"local_lnn"`

	// Device serial number of the queried node.
	LocalSerial string `json:"local_serial"`

	// Cluster name.
	Name string `json:"name"`

	//
	OnefsVersion *ClusterConfigOnefsVersion `json:"onefs_version,omitempty"`

	// The cluster timezone settings.
	Timezone *ClusterConfigTimezone `json:"timezone,omitempty"`

	UpgradeType string `json:"upgrade_type,omitempty"`
}

General cluster information.

type ClusterConfigDevice ¶

type ClusterConfigDevice struct {

	// Device ID.
	Devid int32 `json:"devid"`

	// Device GUID.
	Guid string `json:"guid"`

	// If true, this node is online and communicating with the local node and every other node with the is_up property normally.  If false, this node is not currently communicating with the local node or other nodes with the is_up property.  It may be shut down, rebooting, disconnected from the backend network, or connected only to other nodes.
	IsUp bool `json:"is_up"`

	// Device logical node number.
	Lnn int32 `json:"lnn"`
}

type ClusterConfigOnefsVersion ¶

type ClusterConfigOnefsVersion struct {

	// OneFS build string.
	Build string `json:"build"`

	// Cluster copyright information.
	Copyright string `json:"copyright"`

	// Timestamp of release date.
	Reldate int32 `json:"reldate"`

	// Kernel release number.
	Release string `json:"release"`

	// OneFS build number.
	Revision string `json:"revision"`

	// Kernel release type.
	Type_ string `json:"type"`

	// Kernel full version information.
	Version string `json:"version"`
}

type ClusterConfigTimezone ¶

type ClusterConfigTimezone struct {

	// Timezone abbreviation.
	Abbreviation string `json:"abbreviation,omitempty"`

	// Customer timezone information.
	Custom string `json:"custom,omitempty"`

	// Timezone full name.
	Name string `json:"name,omitempty"`

	// Timezone hierarchical name.
	Path string `json:"path,omitempty"`
}

type ClusterEmail ¶

type ClusterEmail struct {

	// Cluster email notification settings.
	Settings *ClusterEmailSettings `json:"settings,omitempty"`
}

type ClusterEmailExtended ¶

type ClusterEmailExtended struct {

	// This setting determines how notifications will be batched together to be sent by email.  'none' means each notification will be sent separately.  'severity' means notifications of the same severity will be sent together.  'category' means notifications of the same category will be sent together.  'all' means all notifications will be batched together and sent in a single email.
	BatchMode string `json:"batch_mode,omitempty"`

	// The address of the SMTP server to be used for relaying the notification messages.  An SMTP server is required in order to send notifications.  If this string is empty, no emails will be sent.
	MailRelay string `json:"mail_relay,omitempty"`

	// The full email address that will appear as the sender of notification messages.
	MailSender string `json:"mail_sender,omitempty"`

	// The subject line for notification messages from this cluster.
	MailSubject string `json:"mail_subject,omitempty"`

	// Password to authenticate with if SMTP authentication is being used.
	SmtpAuthPasswd string `json:"smtp_auth_passwd,omitempty"`

	// The type of secure communication protocol to use if SMTP is being used.  If 'none', plain text will be used, if 'starttls', the encrypted STARTTLS protocol will be used.
	SmtpAuthSecurity string `json:"smtp_auth_security,omitempty"`

	// Username to authenticate with if SMTP authentication is being used.
	SmtpAuthUsername string `json:"smtp_auth_username,omitempty"`

	// The port on the SMTP server to be used for relaying the notification messages.
	SmtpPort int32 `json:"smtp_port,omitempty"`

	// If true, this cluster will send SMTP authentication credentials to the SMTP relay server in order to send its notification emails.  If false, the cluster will attempt to send its notification emails without authentication.
	UseSmtpAuth bool `json:"use_smtp_auth,omitempty"`

	// Location of a custom template file that can be used to specify the layout of the notification emails.
	UserTemplate string `json:"user_template,omitempty"`
}

Cluster email notification settings.

type ClusterEmailSettings ¶

type ClusterEmailSettings struct {

	// This setting determines how notifications will be batched together to be sent by email.  'none' means each notification will be sent separately.  'severity' means notifications of the same severity will be sent together.  'category' means notifications of the same category will be sent together.  'all' means all notifications will be batched together and sent in a single email.
	BatchMode string `json:"batch_mode"`

	// The address of the SMTP server to be used for relaying the notification messages.  An SMTP server is required in order to send notifications.  If this string is empty, no emails will be sent.
	MailRelay string `json:"mail_relay"`

	// The full email address that will appear as the sender of notification messages.
	MailSender string `json:"mail_sender"`

	// The subject line for notification messages from this cluster.
	MailSubject string `json:"mail_subject"`

	// Indicates if an SMTP authentication password is set.
	SmtpAuthPasswdSet bool `json:"smtp_auth_passwd_set"`

	// The type of secure communication protocol to use if SMTP is being used.  If 'none', plain text will be used, if 'starttls', the encrypted STARTTLS protocol will be used.
	SmtpAuthSecurity string `json:"smtp_auth_security"`

	// Username to authenticate with if SMTP authentication is being used.
	SmtpAuthUsername string `json:"smtp_auth_username"`

	// The port on the SMTP server to be used for relaying the notification messages.
	SmtpPort int32 `json:"smtp_port"`

	// If true, this cluster will send SMTP authentication credentials to the SMTP relay server in order to send its notification emails.  If false, the cluster will attempt to send its notification emails without authentication.
	UseSmtpAuth bool `json:"use_smtp_auth"`

	// Location of a custom template file that can be used to specify the layout of the notification emails.
	UserTemplate string `json:"user_template,omitempty"`
}

type ClusterFirmwareProgress ¶

type ClusterFirmwareProgress struct {

	// The different states of a  firmware upgrade. One of the following values: 'committed', 'upgrading', 'error'
	ClusterState string `json:"cluster_state,omitempty"`
}

Cluster wide firmware upgrade progress info.

type ClusterFirmwareStatus ¶

type ClusterFirmwareStatus struct {

	// List of the firmware status information for all the nodes in the cluster.
	Nodes []ClusterFirmwareStatusNode `json:"nodes,omitempty"`
}

The firmware status for the cluster.

type ClusterFirmwareStatusNode ¶

type ClusterFirmwareStatusNode struct {

	// List of the firmware status for hardware components on the node.
	Devices []ClusterFirmwareStatusNodeDevice `json:"devices,omitempty"`

	// The lnn of the node.
	Lnn int32 `json:"lnn,omitempty"`

	// Node is unavailable.
	NodeUnavailable bool `json:"node_unavailable,omitempty"`

	// List of the firmware binary information for the installed firmware package.
	Package_ []ClusterFirmwareStatusNodePackageItem `json:"package,omitempty"`
}

type ClusterFirmwareStatusNodeDevice ¶

type ClusterFirmwareStatusNodeDevice struct {

	// The name of the device.
	Device string `json:"device,omitempty"`

	// Is the firmware up-to-date for this component.
	Mismatch bool `json:"mismatch,omitempty"`

	// The target firmware version.
	TargetVersion string `json:"target_version,omitempty"`

	// The device type.
	Type_ string `json:"type,omitempty"`

	// The current state of the firmware upgrade for this component. One of the following values: 'queued', 'upgrading', 'upgraded', 'error'. or 'null'.'null' indicates that the upgrade status is unknown.
	UpgradeStatus string `json:"upgrade_status,omitempty"`

	// The current firmware version.
	Version string `json:"version,omitempty"`
}

type ClusterFirmwareStatusNodePackageItem ¶

type ClusterFirmwareStatusNodePackageItem struct {

	// Valid checksum string for binary. One of the following: 'ok', 'bad', 'file_missing', or 'na'
	Checksum string `json:"checksum,omitempty"`

	// The name of the firmware binary.
	Firmware string `json:"firmware,omitempty"`

	// The version string for the binary.
	Version string `json:"version,omitempty"`
}

type ClusterFirmwareUpgradeItem ¶

type ClusterFirmwareUpgradeItem struct {

	// Exclude the specified devices in the firmware upgrade.
	ExcludeDevice string `json:"exclude_device,omitempty"`

	// Exclude the specified device type in the firmware upgrade.
	ExcludeType string `json:"exclude_type,omitempty"`

	// Include the specified devices in the firmware upgrade.
	IncludeDevice string `json:"include_device,omitempty"`

	// Include the specified device type in the firmware upgrade.
	IncludeType string `json:"include_type,omitempty"`

	// Do not burn the firmware.
	NoBurn bool `json:"no_burn,omitempty"`

	// Do not reboot the node after an upgrade
	NoReboot bool `json:"no_reboot,omitempty"`

	// Do not verify the firmware upgrade after an upgrade.
	NoVerify bool `json:"no_verify,omitempty"`

	// The nodes scheduled for upgrade. Order in array determines queue position number. 'All' and null option will upgrade all nodes in <lnn> order.
	NodesToUpgrade []int32 `json:"nodes_to_upgrade,omitempty"`
}

The settings necessary to start a firmware upgrade.

type ClusterIdentity ¶

type ClusterIdentity struct {

	// A description of the cluster.
	Description string `json:"description"`

	// The information displayed when a user logs in to the cluster.
	Logon *ClusterIdentityLogon `json:"logon"`

	// Enum to control the display message about the MTTDL of the cluster. This does NOT change the MTTDL of a cluster in anyway, and is purely a value for displaying messages.
	MttdlLevelMsg string `json:"mttdl_level_msg"`

	// The name of the cluster.
	Name string `json:"name"`
}

Unprivileged cluster information for display when logging in.

type ClusterIdentityLogon ¶

type ClusterIdentityLogon struct {

	// The message of the day.
	Motd string `json:"motd"`

	// The header to the message of the day.
	MotdHeader string `json:"motd_header"`
}

type ClusterNode ¶

type ClusterNode struct {

	// List of the drives in this node.
	Drives []ClusterNodeDrive `json:"drives,omitempty"`

	// Node state information (reported and modifiable).
	State *ClusterNodeState `json:"state,omitempty"`
}

Node information.

type ClusterNodeDrive ¶

type ClusterNodeDrive struct {

	// Numerical representation of this drive's bay.
	Baynum int32 `json:"baynum,omitempty"`

	// Number of blocks on this drive.
	Blocks int32 `json:"blocks,omitempty"`

	// The chassis number which contains this drive.
	Chassis int32 `json:"chassis,omitempty"`

	// This drive's device name.
	Devname string `json:"devname,omitempty"`

	// Drive firmware information.
	Firmware *NodeDrivesNodeDriveFirmware `json:"firmware,omitempty"`

	// Drive_d's handle representation for this drive
	Handle int32 `json:"handle,omitempty"`

	// String representtation of this drive's interface type.
	InterfaceType string `json:"interface_type,omitempty"`

	// This drive's logical drive number in IFS.
	Lnum int32 `json:"lnum,omitempty"`

	// String representation of this drive's physical location.
	Locnstr string `json:"locnstr,omitempty"`

	// Size of a logical block on this drive.
	LogicalBlockLength int32 `json:"logical_block_length,omitempty"`

	// String representation of this drive's media type.
	MediaType string `json:"media_type,omitempty"`

	// This drive's manufacturer and model.
	Model string `json:"model,omitempty"`

	// Size of a physical block on this drive.
	PhysicalBlockLength int32 `json:"physical_block_length,omitempty"`

	// Indicates whether this drive is physically present in the node.
	Present bool `json:"present,omitempty"`

	// This drive's purpose in the DRV state machine.
	Purpose string `json:"purpose,omitempty"`

	// Description of this drive's purpose.
	PurposeDescription string `json:"purpose_description,omitempty"`

	// Serial number for this drive.
	Serial string `json:"serial,omitempty"`

	// This drive's state as presented to the UI.
	UiState string `json:"ui_state,omitempty"`

	// The drive's 'worldwide name' from its NAA identifiers.
	Wwn string `json:"wwn,omitempty"`

	// This drive's x-axis grid location.
	XLoc int32 `json:"x_loc,omitempty"`

	// This drive's y-axis grid location.
	YLoc int32 `json:"y_loc,omitempty"`
}

type ClusterNodeDriveDConfig ¶

type ClusterNodeDriveDConfig struct {

	// Configuration setting for drive alerts.
	Alert *NodeDriveconfigNodeAlert `json:"alert,omitempty"`

	// Configuration settings for drive formatting.
	Allow *NodeDriveconfigNodeAllow `json:"allow,omitempty"`

	// Configuration settings for automatic replacement recognition (ARR).
	AutomaticReplacementRecognition *NodeDriveconfigNodeAutomaticReplacementRecognition `json:"automatic_replacement_recognition,omitempty"`

	// Configuration settings for drive statistics logs.
	Log *NodeDriveconfigNodeLog `json:"log,omitempty"`

	// Configuration settings for a node reboot due to a drive error.
	Reboot *NodeDriveconfigNodeReboot `json:"reboot,omitempty"`

	// Configuration settings for sleeping the drive daemon before node is rescanned.
	SpinWait *NodeDriveconfigNodeSpinWait `json:"spin_wait,omitempty"`

	// Configuration settings to evaluate a drive stall.
	Stall *NodeDriveconfigNodeStall `json:"stall,omitempty"`
}

type ClusterNodeExtended ¶

type ClusterNodeExtended struct {

	// An object containing a node's drive subsystem XML configuration file.
	DriveDConfig *ClusterNodeDriveDConfig `json:"drive_d_config,omitempty"`

	// List of the drives in this node.
	Drives []NodeDrivesNodeDrive `json:"drives,omitempty"`

	// Node hardware identifying information (static).
	Hardware *ClusterNodeHardware `json:"hardware,omitempty"`

	// Node ID (Device Number) of this node.
	Id int32 `json:"id,omitempty"`

	// Logical Node Number (LNN) of this node.
	Lnn int32 `json:"lnn,omitempty"`

	// Node partition information.
	Partitions *ClusterNodePartitions `json:"partitions,omitempty"`

	// Node sensor information (hardware reported).
	Sensors *ClusterNodeSensors `json:"sensors,omitempty"`

	// List of the sleds in this node.
	Sleds []NodeSledsNodeSled `json:"sleds,omitempty"`

	// Node state information (reported and modifiable).
	State *ClusterNodeStateExtended `json:"state,omitempty"`

	// Node status information (hardware reported).
	Status *ClusterNodeStatus `json:"status,omitempty"`
}

type ClusterNodeExtendedExtended ¶

type ClusterNodeExtendedExtended struct {

	// An object containing a node's drive subsystem XML configuration file.
	DriveDConfig *ClusterNodeDriveDConfig `json:"drive_d_config,omitempty"`

	// List of the drives in this node.
	Drives []NodeDrivesNodeDrive `json:"drives,omitempty"`

	// Node hardware identifying information (static).
	Hardware *ClusterNodeHardware `json:"hardware,omitempty"`

	// Node ID (Device Number) of this node.
	Id int32 `json:"id,omitempty"`

	// Logical Node Number (LNN) of this node.
	Lnn int32 `json:"lnn,omitempty"`

	// Node partition information.
	Partitions *ClusterNodePartitions `json:"partitions,omitempty"`

	// Node sensor information (hardware reported).
	Sensors *ClusterNodeSensors `json:"sensors,omitempty"`

	// List of the sleds in this node.
	Sleds []NodeSledsNodeSled `json:"sleds,omitempty"`

	// Node state information (reported and modifiable).
	State *ClusterNodeStateExtendedExtended `json:"state,omitempty"`

	// Node status information (hardware reported).
	Status *ClusterNodeStatus `json:"status,omitempty"`
}

type ClusterNodeHardware ¶

type ClusterNodeHardware struct {

	// Name of this node's chassis.
	Chassis string `json:"chassis,omitempty"`

	// Chassis code of this node (1U, 2U, etc.).
	ChassisCode string `json:"chassis_code,omitempty"`

	// Number of chassis making up this node.
	ChassisCount string `json:"chassis_count,omitempty"`

	// Chassis depth for this node if applicable (Normal, Deep, Unknown). If not supported: Unknown. If Logic to determine chassis depth fails: Unknown. If PSI_Get fails: Unknown. PSI_Get can fail if PSI not initialized, or key does not exist.
	ChassisDepth string `json:"chassis_depth,omitempty"`

	// Class of this node (storage, accelerator, etc.).
	Class string `json:"class,omitempty"`

	// Code name of this node if applicable (Minnetonka, MiniHuron, Huron, Union, Tahoe, Superior, Unknown). If not supported: Unknown. If Logic to determine code name fails: Unknown. If PSI_Get fails: Unknown. PSI_Get can fail if PSI not initialized, or key does not exist.
	CodeName string `json:"code_name,omitempty"`

	// Type of compute node if applicable (Low, Medium, High, Turbo, Ultra, Unknown). If not supported: Unknown. If Logic to determine compute type fails: Unknown. If PSI_Get fails: Unknown. PSI_Get can fail if PSI not initialized, or key does not exist.
	ComputeType string `json:"compute_type,omitempty"`

	// Node configuration ID.
	ConfigurationId string `json:"configuration_id,omitempty"`

	// Manufacturer and model of this node's CPU.
	Cpu string `json:"cpu,omitempty"`

	// Manufacturer and model of this node's disk controller.
	DiskController string `json:"disk_controller,omitempty"`

	// Manufacturer and model of this node's disk expander.
	DiskExpander string `json:"disk_expander,omitempty"`

	// Family code of this node (X, S, NL, etc.).
	FamilyCode string `json:"family_code,omitempty"`

	// Manufacturer, model, and device id of this node's flash drive.
	FlashDrive string `json:"flash_drive,omitempty"`

	// Generation code of this node.
	GenerationCode string `json:"generation_code,omitempty"`

	// Isilon hardware generation name.
	Hwgen string `json:"hwgen,omitempty"`

	// Version of this node's Isilon Management Board.
	ImbVersion string `json:"imb_version,omitempty"`

	// Infiniband card type.
	Infiniband string `json:"infiniband,omitempty"`

	// Version of the LCD panel.
	LcdVersion string `json:"lcd_version,omitempty"`

	// Isilon node model identifier string (S200, X410, Infinity-H500, etc.).
	Model string `json:"model,omitempty"`

	// Isilon node model code string (S200, X410, H500, etc.).
	ModelCode string `json:"model_code,omitempty"`

	// Manufacturer and model of this node's motherboard.
	Motherboard string `json:"motherboard,omitempty"`

	// Description of all this node's network interfaces.
	NetInterfaces string `json:"net_interfaces,omitempty"`

	// Position of node within chassis (e.g., 1-4 for Infinity chassis). -1 for error or not supported.
	NodeSlotId int32 `json:"node_slot_id,omitempty"`

	// Manufacturer and model of this node's NVRAM board.
	Nvram string `json:"nvram,omitempty"`

	// Serial number of this node's peer/buddy node.(Infinity Only)
	PeerSerialNumber string `json:"peer_serial_number,omitempty"`

	// Performance code of this node, if applicable (2, 4, 5, etc.).
	PerformanceCode string `json:"performance_code,omitempty"`

	// Description strings for each power supply on this node.
	Powersupplies []string `json:"powersupplies,omitempty"`

	// Number of processors and cores on this node.
	Processor string `json:"processor,omitempty"`

	// Isilon product name.
	Product string `json:"product,omitempty"`

	// Size of RAM in bytes.
	Ram int32 `json:"ram,omitempty"`

	// Serial number of this node.
	SerialNumber string `json:"serial_number,omitempty"`

	// Series of this node (X, I, NL, etc.).
	Series string `json:"series,omitempty"`

	// Size of drive sleds in node, if applicable. Expected values: 3, 4, 6. 0 if unable to determine sled size. -1 for error or not supported. If PSI_Get fails: -1. PSI_Get can fail if PSI not initialized, or key does not exist.
	SledDriveCount int32 `json:"sled_drive_count,omitempty"`

	// Storage class of this node (storage or diskless).
	StorageClass string `json:"storage_class,omitempty"`

	// Platform tier level of this node if applicable (1-4 are defined, 0 for unknown or not supported, -1 for error). If not supported: 0. If Logic to determine tier fails: 0 for unknown. If PSI_Get fails: -1 for error. PSI_Get can fail if PSI not initialized, or key does not exist.
	Tier int32 `json:"tier,omitempty"`

	// Serial number of the top level assembly of this node.(Infinity Only)
	TopLevelAssemblySerialNumber string `json:"top_level_assembly_serial_number"`
}

type ClusterNodePartitions ¶

type ClusterNodePartitions struct {

	// Count of how many partitions are included.
	Count int32 `json:"count,omitempty"`

	// Partition information.
	Partitions []NodePartitionsNodePartition `json:"partitions,omitempty"`
}

type ClusterNodeSensors ¶

type ClusterNodeSensors struct {

	// This node's sensor information.
	Sensors []NodeSensorsNodeSensor `json:"sensors,omitempty"`
}

type ClusterNodeState ¶

type ClusterNodeState struct {

	// Node readonly state.
	Readonly *Empty `json:"readonly,omitempty"`

	// Node service light state.
	Servicelight *ClusterNodeStateServicelight `json:"servicelight,omitempty"`

	// Node smartfail state.
	Smartfail *ClusterNodeStateSmartfail `json:"smartfail,omitempty"`
}

type ClusterNodeStateExtended ¶

type ClusterNodeStateExtended struct {

	// Node readonly state.
	Readonly *NodeStateReadonlyExtended `json:"readonly,omitempty"`

	// Node service light state.
	Servicelight *ClusterNodeStateServicelightExtended `json:"servicelight,omitempty"`

	// Node smartfail state.
	Smartfail *NodeStateSmartfailExtended `json:"smartfail,omitempty"`
}

type ClusterNodeStateExtendedExtended ¶

type ClusterNodeStateExtendedExtended struct {

	// Node readonly state.
	Readonly *NodeStateReadonlyExtended `json:"readonly,omitempty"`

	// Node service light state.
	Servicelight *ClusterNodeStateServicelightExtendedExtended `json:"servicelight,omitempty"`

	// Node smartfail state.
	Smartfail *NodeStateSmartfailExtended `json:"smartfail,omitempty"`
}

type ClusterNodeStateServicelight ¶

type ClusterNodeStateServicelight struct {

	// The node service light state (True = on).
	Enabled bool `json:"enabled"`
}

type ClusterNodeStateServicelightExtended ¶

type ClusterNodeStateServicelightExtended struct {

	// The node service light state (True = on).
	Enabled bool `json:"enabled"`

	// This node has a service light.
	Present bool `json:"present,omitempty"`

	// This node supports a service light.
	Supported bool `json:"supported,omitempty"`

	// The node service light state is valid (False = Error).
	Valid bool `json:"valid,omitempty"`
}

type ClusterNodeStateServicelightExtendedExtended ¶

type ClusterNodeStateServicelightExtendedExtended struct {

	// The node service light state (True = on).
	Enabled bool `json:"enabled"`

	// This node has a service light.
	Present bool `json:"present,omitempty"`

	// This node supports a service light.
	Supported bool `json:"supported,omitempty"`

	// The node service light state is valid (False = Error).
	Valid bool `json:"valid,omitempty"`
}

type ClusterNodeStateSmartfail ¶

type ClusterNodeStateSmartfail struct {

	// This node is smartfailed (soft_devs).
	Smartfailed bool `json:"smartfailed,omitempty"`
}

type ClusterNodeStatus ¶

type ClusterNodeStatus struct {

	// Battery status information.
	Batterystatus *NodeStatusNodeBatterystatus `json:"batterystatus,omitempty"`

	// Storage capacity of this node.
	Capacity []NodeStatusNodeCapacityItem `json:"capacity,omitempty"`

	// CPU status information for this node.
	Cpu *NodeStatusNodeCpu `json:"cpu,omitempty"`

	// Node NVRAM information.
	Nvram *NodeStatusNodeNvram `json:"nvram,omitempty"`

	// Information about this node's power supplies.
	Powersupplies *NodeStatusNodePowersupplies `json:"powersupplies,omitempty"`

	// OneFS release.
	Release string `json:"release,omitempty"`

	// Seconds this node has been online.
	Uptime int32 `json:"uptime,omitempty"`

	// OneFS version.
	Version string `json:"version,omitempty"`
}

type ClusterNodes ¶

type ClusterNodes struct {

	// The current OneFS version before upgrade.
	Error_ *ClusterNodesError `json:"error,omitempty"`

	// The last action performed to completion/failure on this node.  Null if the node_state is 'committed' or 'assessing.' One of the following values: 'upgrade', 'rollback'.
	LastAction string `json:"last_action,omitempty"`

	// Did the node pass upgrade or rollback without failing? Null if the node_state is 'committed.' One of the following values: 'pass', 'fail', null
	LastActionResult string `json:"last_action_result,omitempty"`

	// The lnn of the node.
	Lnn int32 `json:"lnn,omitempty"`

	// \\e The state of the node during the upgrade, rollback, or assessment. One of the following values: 'committed', 'upgraded', 'upgrading', 'rolling back', 'assessing', 'error'
	NodeState string `json:"node_state,omitempty"`

	// The current OneFS version before upgrade.
	OnefsVersion *ClusterNodesOnefsVersion `json:"onefs_version,omitempty"`

	// What step is the upgrade, assessment, or rollback in? To show via progress indicator. NOTE: the value is an integer between 0 and 100 (percent)
	Progress int32 `json:"progress,omitempty"`
}

The node details useful during an upgrade or assessment.

type ClusterNodesApiService ¶

type ClusterNodesApiService service

func (*ClusterNodesApiService) CreateDrivesDriveAddItem ¶

func (a *ClusterNodesApiService) CreateDrivesDriveAddItem(ctx context.Context, drivesDriveAddItem Empty, lnn int32, driveid string) (Empty, *http.Response, error)

ClusterNodesApiService Add a drive to a node. * @param ctx context.Context for authentication, logging, tracing, etc. @param drivesDriveAddItem @param lnn @param driveid @return Empty

func (*ClusterNodesApiService) CreateDrivesDriveFirmwareUpdateItem ¶

func (a *ClusterNodesApiService) CreateDrivesDriveFirmwareUpdateItem(ctx context.Context, drivesDriveFirmwareUpdateItem DrivesDriveFirmwareUpdateItem, lnn int32, driveid string) (Empty, *http.Response, error)

ClusterNodesApiService Start a drive firmware update. * @param ctx context.Context for authentication, logging, tracing, etc. @param drivesDriveFirmwareUpdateItem @param lnn @param driveid @return Empty

func (*ClusterNodesApiService) CreateDrivesDriveFormatItem ¶

func (a *ClusterNodesApiService) CreateDrivesDriveFormatItem(ctx context.Context, drivesDriveFormatItem DrivesDriveFormatItem, lnn int32, driveid string) (Empty, *http.Response, error)

ClusterNodesApiService Format a drive for use by OneFS. * @param ctx context.Context for authentication, logging, tracing, etc. @param drivesDriveFormatItem @param lnn @param driveid @return Empty

func (*ClusterNodesApiService) CreateDrivesDrivePurposeItem ¶

func (a *ClusterNodesApiService) CreateDrivesDrivePurposeItem(ctx context.Context, drivesDrivePurposeItem DrivesDrivePurposeItem, lnn int32, driveid string) (Empty, *http.Response, error)

ClusterNodesApiService Assign a drive to a specific use case. * @param ctx context.Context for authentication, logging, tracing, etc. @param drivesDrivePurposeItem @param lnn @param driveid @return Empty

func (*ClusterNodesApiService) CreateDrivesDriveSmartfailItem ¶

func (a *ClusterNodesApiService) CreateDrivesDriveSmartfailItem(ctx context.Context, drivesDriveSmartfailItem Empty, lnn int32, driveid string) (Empty, *http.Response, error)

ClusterNodesApiService Remove a drive from use by OneFS. * @param ctx context.Context for authentication, logging, tracing, etc. @param drivesDriveSmartfailItem @param lnn @param driveid @return Empty

func (*ClusterNodesApiService) CreateDrivesDriveStopfailItem ¶

func (a *ClusterNodesApiService) CreateDrivesDriveStopfailItem(ctx context.Context, drivesDriveStopfailItem Empty, lnn int32, driveid string) (Empty, *http.Response, error)

ClusterNodesApiService Stop restriping from a smartfailing drive. * @param ctx context.Context for authentication, logging, tracing, etc. @param drivesDriveStopfailItem @param lnn @param driveid @return Empty

func (*ClusterNodesApiService) CreateDrivesDriveSuspendItem ¶

func (a *ClusterNodesApiService) CreateDrivesDriveSuspendItem(ctx context.Context, drivesDriveSuspendItem Empty, lnn int32, driveid string) (Empty, *http.Response, error)

ClusterNodesApiService Temporarily remove a drive from use by OneFS. * @param ctx context.Context for authentication, logging, tracing, etc. @param drivesDriveSuspendItem @param lnn @param driveid @return Empty

func (*ClusterNodesApiService) CreateNodeRebootItem ¶

func (a *ClusterNodesApiService) CreateNodeRebootItem(ctx context.Context, nodeRebootItem Empty, lnn int32, localVarOptionals map[string]interface{}) (Empty, *http.Response, error)

ClusterNodesApiService Reboot the node specified by &lt;LNN&gt;. * @param ctx context.Context for authentication, logging, tracing, etc. @param nodeRebootItem @param lnn @param optional (nil or map[string]interface{}) with one or more of:

@param "force" (bool) Force reboot on Infinity platform even if a drive sled is not present.

@return Empty

func (*ClusterNodesApiService) CreateNodeShutdownItem ¶

func (a *ClusterNodesApiService) CreateNodeShutdownItem(ctx context.Context, nodeShutdownItem Empty, lnn int32, localVarOptionals map[string]interface{}) (Empty, *http.Response, error)

ClusterNodesApiService Shutdown the node specified by &lt;LNN&gt;. * @param ctx context.Context for authentication, logging, tracing, etc. @param nodeShutdownItem @param lnn @param optional (nil or map[string]interface{}) with one or more of:

@param "force" (bool) Force shutdown on Infinity platform even if a drive sled is not present.

@return Empty

func (*ClusterNodesApiService) GetDrivesDriveFirmware ¶

func (a *ClusterNodesApiService) GetDrivesDriveFirmware(ctx context.Context, lnn int32, driveid string) (DrivesDriveFirmware, *http.Response, error)

ClusterNodesApiService Retrieve drive firmware information. * @param ctx context.Context for authentication, logging, tracing, etc. @param lnn @param driveid @return DrivesDriveFirmware

func (*ClusterNodesApiService) GetNodeDrive ¶

func (a *ClusterNodesApiService) GetNodeDrive(ctx context.Context, nodeDriveId string, lnn int32, localVarOptionals map[string]interface{}) (NodeDrives, *http.Response, error)

ClusterNodesApiService Retrieve drive information. * @param ctx context.Context for authentication, logging, tracing, etc. @param nodeDriveId Retrieve drive information. @param lnn @param optional (nil or map[string]interface{}) with one or more of:

@param "timeout" (float32) Request timeout

@return NodeDrives

func (*ClusterNodesApiService) GetNodeDriveconfig ¶

func (a *ClusterNodesApiService) GetNodeDriveconfig(ctx context.Context, lnn int32, localVarOptionals map[string]interface{}) (NodeDriveconfig, *http.Response, error)

ClusterNodesApiService View a node&#39;s drive subsystem XML configuration file. * @param ctx context.Context for authentication, logging, tracing, etc. @param lnn @param optional (nil or map[string]interface{}) with one or more of:

@param "timeout" (float32) Request timeout

@return NodeDriveconfig

func (*ClusterNodesApiService) GetNodeDrives ¶

func (a *ClusterNodesApiService) GetNodeDrives(ctx context.Context, lnn int32, localVarOptionals map[string]interface{}) (NodeDrives, *http.Response, error)

ClusterNodesApiService List the drives on this node. * @param ctx context.Context for authentication, logging, tracing, etc. @param lnn @param optional (nil or map[string]interface{}) with one or more of:

@param "timeout" (float32) Request timeout

@return NodeDrives

func (*ClusterNodesApiService) GetNodeDrivesPurposelist ¶

func (a *ClusterNodesApiService) GetNodeDrivesPurposelist(ctx context.Context, lnn int32) (NodeDrivesPurposelist, *http.Response, error)

ClusterNodesApiService Lists the available purposes for drives in this node. * @param ctx context.Context for authentication, logging, tracing, etc. @param lnn @return NodeDrivesPurposelist

func (*ClusterNodesApiService) GetNodeHardware ¶

func (a *ClusterNodesApiService) GetNodeHardware(ctx context.Context, lnn int32, localVarOptionals map[string]interface{}) (NodeHardware, *http.Response, error)

ClusterNodesApiService Retrieve node hardware identity information. * @param ctx context.Context for authentication, logging, tracing, etc. @param lnn @param optional (nil or map[string]interface{}) with one or more of:

@param "timeout" (float32) Request timeout

@return NodeHardware

func (*ClusterNodesApiService) GetNodeHardwareFast ¶

func (a *ClusterNodesApiService) GetNodeHardwareFast(ctx context.Context, lnn int32) (NodeHardwareFast, *http.Response, error)

ClusterNodesApiService Quickly retrieve a subset of node hardware identity information. * @param ctx context.Context for authentication, logging, tracing, etc. @param lnn @return NodeHardwareFast

func (*ClusterNodesApiService) GetNodePartitions ¶

func (a *ClusterNodesApiService) GetNodePartitions(ctx context.Context, lnn int32) (NodePartitions, *http.Response, error)

ClusterNodesApiService Retrieve node partition information. * @param ctx context.Context for authentication, logging, tracing, etc. @param lnn @return NodePartitions

func (*ClusterNodesApiService) GetNodeSensors ¶

func (a *ClusterNodesApiService) GetNodeSensors(ctx context.Context, lnn int32) (NodeSensors, *http.Response, error)

ClusterNodesApiService Retrieve node sensor information. * @param ctx context.Context for authentication, logging, tracing, etc. @param lnn @return NodeSensors

func (*ClusterNodesApiService) GetNodeSled ¶

func (a *ClusterNodesApiService) GetNodeSled(ctx context.Context, nodeSledId string, lnn int32, localVarOptionals map[string]interface{}) (NodeSleds, *http.Response, error)

ClusterNodesApiService Get detailed information for the sled specified by &lt;SLEDID&gt;, or all sleds in the case where &lt;SLEDID&gt; is &#39;all&#39;, in the node specified by &lt;LNN&gt;. Accepts &lt;sledid&gt; in either &#39;sled&#39; or &#39;all&#39; formats. * @param ctx context.Context for authentication, logging, tracing, etc. @param nodeSledId Get detailed information for the sled specified by &lt;SLEDID&gt;, or all sleds in the case where &lt;SLEDID&gt; is &#39;all&#39;, in the node specified by &lt;LNN&gt;. Accepts &lt;sledid&gt; in either &#39;sled&#39; or &#39;all&#39; formats. @param lnn @param optional (nil or map[string]interface{}) with one or more of:

@param "timeout" (float32) Request timeout

@return NodeSleds

func (*ClusterNodesApiService) GetNodeSleds ¶

func (a *ClusterNodesApiService) GetNodeSleds(ctx context.Context, lnn int32, localVarOptionals map[string]interface{}) (NodeSleds, *http.Response, error)

ClusterNodesApiService Get detailed information for all sleds in this node. Equivalent to /5/cluster/nodes/&lt;lnn&gt;/sleds/all. * @param ctx context.Context for authentication, logging, tracing, etc. @param lnn @param optional (nil or map[string]interface{}) with one or more of:

@param "timeout" (float32) Request timeout

@return NodeSleds

func (*ClusterNodesApiService) GetNodeState ¶

func (a *ClusterNodesApiService) GetNodeState(ctx context.Context, lnn int32) (NodeState, *http.Response, error)

ClusterNodesApiService Retrieve node state information. * @param ctx context.Context for authentication, logging, tracing, etc. @param lnn @return NodeState

func (*ClusterNodesApiService) GetNodeStateReadonly ¶

func (a *ClusterNodesApiService) GetNodeStateReadonly(ctx context.Context, lnn int32) (NodeStateReadonly, *http.Response, error)

ClusterNodesApiService Retrieve node readonly state information. * @param ctx context.Context for authentication, logging, tracing, etc. @param lnn @return NodeStateReadonly

func (*ClusterNodesApiService) GetNodeStateServicelight ¶

func (a *ClusterNodesApiService) GetNodeStateServicelight(ctx context.Context, lnn int32) (NodeStateServicelight, *http.Response, error)

ClusterNodesApiService Retrieve node service light state information. * @param ctx context.Context for authentication, logging, tracing, etc. @param lnn @return NodeStateServicelight

func (*ClusterNodesApiService) GetNodeStateSmartfail ¶

func (a *ClusterNodesApiService) GetNodeStateSmartfail(ctx context.Context, lnn int32) (NodeStateSmartfail, *http.Response, error)

ClusterNodesApiService Retrieve node smartfail state information. * @param ctx context.Context for authentication, logging, tracing, etc. @param lnn @return NodeStateSmartfail

func (*ClusterNodesApiService) GetNodeStatus ¶

func (a *ClusterNodesApiService) GetNodeStatus(ctx context.Context, lnn int32) (NodeStatus, *http.Response, error)

ClusterNodesApiService Retrieve node status information. * @param ctx context.Context for authentication, logging, tracing, etc. @param lnn @return NodeStatus

func (*ClusterNodesApiService) GetNodeStatusBatterystatus ¶

func (a *ClusterNodesApiService) GetNodeStatusBatterystatus(ctx context.Context, lnn int32) (NodeStatusBatterystatus, *http.Response, error)

ClusterNodesApiService Retrieve node battery status information. * @param ctx context.Context for authentication, logging, tracing, etc. @param lnn @return NodeStatusBatterystatus

func (*ClusterNodesApiService) ListDrivesDriveFirmwareUpdate ¶

func (a *ClusterNodesApiService) ListDrivesDriveFirmwareUpdate(ctx context.Context, lnn int32, driveid string) (DrivesDriveFirmwareUpdate, *http.Response, error)

ClusterNodesApiService Retrieve firmware update information. * @param ctx context.Context for authentication, logging, tracing, etc. @param lnn @param driveid @return DrivesDriveFirmwareUpdate

func (*ClusterNodesApiService) UpdateNodeDriveconfig ¶

func (a *ClusterNodesApiService) UpdateNodeDriveconfig(ctx context.Context, nodeDriveconfig NodeDriveconfigExtended, lnn int32) (*http.Response, error)

ClusterNodesApiService Modify a node&#39;s drive subsystem XML configuration file. * @param ctx context.Context for authentication, logging, tracing, etc. @param nodeDriveconfig @param lnn @return

func (*ClusterNodesApiService) UpdateNodeStateReadonly ¶

func (a *ClusterNodesApiService) UpdateNodeStateReadonly(ctx context.Context, nodeStateReadonly NodeStateReadonlyExtended, lnn int32) (*http.Response, error)

ClusterNodesApiService Modify one or more node readonly state settings. * @param ctx context.Context for authentication, logging, tracing, etc. @param nodeStateReadonly @param lnn @return

func (*ClusterNodesApiService) UpdateNodeStateServicelight ¶

func (a *ClusterNodesApiService) UpdateNodeStateServicelight(ctx context.Context, nodeStateServicelight NodeStateServicelightExtended, lnn int32) (*http.Response, error)

ClusterNodesApiService Modify one or more node service light state settings. * @param ctx context.Context for authentication, logging, tracing, etc. @param nodeStateServicelight @param lnn @return

func (*ClusterNodesApiService) UpdateNodeStateSmartfail ¶

func (a *ClusterNodesApiService) UpdateNodeStateSmartfail(ctx context.Context, nodeStateSmartfail NodeStateSmartfailExtended, lnn int32) (*http.Response, error)

ClusterNodesApiService Modify smartfail state of the node. Only the &#39;smartfailed&#39; body member has any effect on node smartfail state. * @param ctx context.Context for authentication, logging, tracing, etc. @param nodeStateSmartfail @param lnn @return

type ClusterNodesAvailable ¶

type ClusterNodesAvailable struct {
	Nodes []ClusterNodesAvailableNode `json:"nodes,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type ClusterNodesAvailableNode ¶

type ClusterNodesAvailableNode struct {

	// Node configuration ID.
	ConfigurationId string `json:"configuration_id,omitempty"`

	// Human-readable description giving further detail on status (may be empty)
	Description string `json:"description,omitempty"`

	// Isilon product name.
	Product string `json:"product,omitempty"`

	// Serial number of this node.
	SerialNumber string `json:"serial_number,omitempty"`

	// Availability of the node.
	Status string `json:"status,omitempty"`

	// OneFS build version running on the node.
	Version string `json:"version,omitempty"`
}

type ClusterNodesError ¶

type ClusterNodesError struct {

	// Last upgrade step which failed on node.
	FailedUpgradeAction string `json:"failed_upgrade_action,omitempty"`

	// Upgrade error log.
	Log string `json:"log,omitempty"`
}

type ClusterNodesExtended ¶

type ClusterNodesExtended struct {

	// List of detailed info of nodes which are part of the current upgrade
	Nodes []ClusterNodes `json:"nodes,omitempty"`

	// Total number of nodes the upgrade framework is aware of and was able to collect info for at this point.
	Total int32 `json:"total,omitempty"`
}

View information about nodes during an upgrade, rollback, or pre-upgrade assessment.

type ClusterNodesExtendedExtended ¶

type ClusterNodesExtendedExtended struct {
	Nodes []ClusterNodeExtended `json:"nodes,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type ClusterNodesExtendedExtendedExtended ¶

type ClusterNodesExtendedExtendedExtended struct {
	Nodes []ClusterNodeExtendedExtended `json:"nodes,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type ClusterNodesOnefsVersion ¶

type ClusterNodesOnefsVersion struct {
	Bugfix int32 `json:"bugfix,omitempty"`

	Maintenance int32 `json:"maintenance,omitempty"`

	Major int32 `json:"major,omitempty"`

	Minor int32 `json:"minor,omitempty"`

	// hex representation of the OneFS version integer.
	Version string `json:"version,omitempty"`
}

type ClusterOwner ¶

type ClusterOwner struct {

	// Cluster owner company name.
	Company string `json:"company,omitempty"`

	// Cluster owner location.
	Location string `json:"location,omitempty"`

	// Cluster owner primary email address.
	PrimaryEmail string `json:"primary_email,omitempty"`

	// Cluster owner primary contact name.
	PrimaryName string `json:"primary_name,omitempty"`

	// Cluster owner primary contact phone number 1.
	PrimaryPhone1 string `json:"primary_phone1,omitempty"`

	// Cluster owner primary contact phone number 2.
	PrimaryPhone2 string `json:"primary_phone2,omitempty"`

	// Cluster owner secondary email address.
	SecondaryEmail string `json:"secondary_email,omitempty"`

	// Cluster owner secondary contact name.
	SecondaryName string `json:"secondary_name,omitempty"`

	// Cluster owner secondary contact phone number 1.
	SecondaryPhone1 string `json:"secondary_phone1,omitempty"`

	// Cluster owner secondary contact phone number 2.
	SecondaryPhone2 string `json:"secondary_phone2,omitempty"`
}

Cluster contact info settings.

type ClusterPatchPatch ¶

type ClusterPatchPatch struct {

	// The path location of the patch file.
	Location string `json:"location,omitempty"`

	// The id or filename of the patch to install.
	Patch string `json:"patch"`
}

A software patch that can be applied to OneFS.

type ClusterPatchPatches ¶

type ClusterPatchPatches struct {
	Patches []ClusterPatchPatchesPatch `json:"patches,omitempty"`
}

type ClusterPatchPatchesExtended ¶

type ClusterPatchPatchesExtended struct {
	Patches []ClusterPatchPatchesPatch `json:"patches,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type ClusterPatchPatchesPatch ¶

type ClusterPatchPatchesPatch struct {

	// A long comment about the patch.
	Comment string `json:"comment,omitempty"`

	// Other patches that this patch conflicts with.
	Conflicts []string `json:"conflicts,omitempty"`

	// Other patches that this patch depends on.
	Dependencies []string `json:"dependencies,omitempty"`

	// A short description of the patch.
	Description string `json:"description,omitempty"`

	// The files contained in this patch.
	Files []ClusterPatchPatchesPatchFile `json:"files,omitempty"`

	// A unique identifier for the patch.
	Id string `json:"id,omitempty"`

	// The name of the patch.
	Name string `json:"name,omitempty"`

	// The nodes that this patch is installed on.
	Nodes []int32 `json:"nodes,omitempty"`

	// Describes the reboot requirements
	Reboot string `json:"reboot,omitempty"`

	// The services affected during the patch deployment
	Services []ClusterPatchPatchesPatchService `json:"services,omitempty"`

	// The intallation status of this patch on the cluster.
	Status string `json:"status,omitempty"`
}

type ClusterPatchPatchesPatchFile ¶

type ClusterPatchPatchesPatchFile struct {

	// The md5 checksum of the file.
	Md5 string `json:"md5,omitempty"`

	// The path of the file.
	Path string `json:"path,omitempty"`
}

type ClusterPatchPatchesPatchService ¶

type ClusterPatchPatchesPatchService struct {

	// Description of the affected service
	Description string `json:"description,omitempty"`

	// Name of the affected service
	Name string `json:"name,omitempty"`
}

type ClusterRetryLastActionItem ¶

type ClusterRetryLastActionItem struct {

	// List of the nodes or \"all\" where the last upgrade action can be retried.
	Nodes []int32 `json:"nodes,omitempty"`
}

Retry the last upgrade action, in-case the previous attempt failed.

type ClusterStatfs ¶

type ClusterStatfs struct {

	// The number of free blocks available to non-superuser.
	FBavail int32 `json:"f_bavail"`

	// The number of free blocks in the filesystem.
	FBfree int32 `json:"f_bfree"`

	// The total number of data blocks in the filesystem.
	FBlocks int32 `json:"f_blocks"`

	// The filesystem fragment size.
	FBsize int32 `json:"f_bsize"`

	// The number of free nodes available to non-superuser.
	FFfree int32 `json:"f_ffree"`

	// The total number of file nodes in the filesystem.
	FFiles int32 `json:"f_files"`

	// A copy of the mount exported flags.
	FFlags int32 `json:"f_flags"`

	// The filesystem type name.
	FFstypename string `json:"f_fstypename"`

	// The optimal transfer block size.
	FIosize int32 `json:"f_iosize"`

	// The name of the mounted filesystem.
	FMntfromname string `json:"f_mntfromname"`

	// The directory that the filesystem is mounted on.
	FMntonname string `json:"f_mntonname"`

	// The maximum length of a file name.
	FNamemax int32 `json:"f_namemax"`

	// The ID of the user that mounted the filesystem.
	FOwner int32 `json:"f_owner"`

	// The type of the filesystem.
	FType int32 `json:"f_type"`

	// The structure version number.
	FVersion int32 `json:"f_version"`
}

Filesystem statistics

type ClusterTime ¶

type ClusterTime struct {

	// A list of errors encountered by the individual nodes involved in this request, or an empty list if there were no errors.
	Errors []NodeDrivesPurposelistError `json:"errors,omitempty"`

	// The responses from the individual nodes involved in this request.
	Nodes []ClusterTimeNode `json:"nodes,omitempty"`

	// The total number of nodes responding.
	Total int32 `json:"total,omitempty"`
}

type ClusterTimeExtended ¶

type ClusterTimeExtended struct {

	// The current time on the cluster as a UNIX epoch (seconds since 1/1/1970), as reported by this node.
	Time int32 `json:"time"`
}

type ClusterTimeExtendedExtended ¶

type ClusterTimeExtendedExtended struct {

	// The current time on the cluster as a UNIX epoch (seconds since 1/1/1970), as reported by this node.
	Time int32 `json:"time,omitempty"`
}

type ClusterTimeNode ¶

type ClusterTimeNode struct {

	// Error message, if the HTTP status returned from this node was not 200.
	Error_ string `json:"error,omitempty"`

	// Node ID of the node reporting this information.
	Id int32 `json:"id,omitempty"`

	// Logical node number of the node reporting this information.
	Lnn int32 `json:"lnn,omitempty"`

	// Status of the HTTP response from this node if not 200.  If 200, this field does not appear.
	Status int32 `json:"status,omitempty"`

	// The current time on the cluster as a UNIX epoch (seconds since 1/1/1970), as reported by this node.
	Time int32 `json:"time,omitempty"`
}

type ClusterTimezone ¶

type ClusterTimezone struct {

	//
	Settings *ClusterTimezoneSettings `json:"settings,omitempty"`
}

The cluster timezone settings.

type ClusterTimezoneExtended ¶

type ClusterTimezoneExtended struct {

	//
	Settings *ClusterTimezoneSettingsExtended `json:"settings,omitempty"`
}

The cluster timezone settings.

type ClusterTimezoneSettings ¶

type ClusterTimezoneSettings struct {

	// Timezone abbreviation.
	Abbreviation string `json:"abbreviation,omitempty"`

	// Timezone hierarchical name.
	Path string `json:"path,omitempty"`
}

type ClusterTimezoneSettingsExtended ¶

type ClusterTimezoneSettingsExtended struct {

	// Timezone hierarchical name.
	Path string `json:"path,omitempty"`
}

type ClusterUpgrade ¶

type ClusterUpgrade struct {

	// The nodes (to be) scheduled for an existing upgrade ordered by queue position number. [<lnn-1>, <lnn-2>, ... ], 'All', null
	NodesToRollingUpgrade []int32 `json:"nodes_to_rolling_upgrade,omitempty"`
}

Add nodes to a running upgrade.

type ClusterUpgradeItem ¶

type ClusterUpgradeItem struct {

	// The location (path) of the upgrade image which must be within /ifs.
	InstallImagePath string `json:"install_image_path,omitempty"`

	// The nodes (to be) scheduled for upgrade ordered by queue position number. Null if the cluster_state is 'partially upgraded' or upgrade_type is 'simultaneous'. One of the following values: [<lnn-1>, <lnn-2>, ... ], 'All', null
	NodesToRollingUpgrade []int32 `json:"nodes_to_rolling_upgrade,omitempty"`

	// Used to indicate that the pre-upgrade check should be skipped
	SkipOptional bool `json:"skip_optional,omitempty"`

	// The type of upgrade to perform. One of the following values: 'rolling', 'simultaneous'
	UpgradeType string `json:"upgrade_type,omitempty"`
}

The settings necessary to start an upgrade.

type ClusterVersion ¶

type ClusterVersion struct {

	// A list of errors encountered by the individual nodes involved in this request, or an empty list if there were no errors.
	Errors []NodeDrivesPurposelistError `json:"errors,omitempty"`

	// The responses from the individual nodes involved in this request.
	Nodes []ClusterVersionNode `json:"nodes,omitempty"`

	// The total number of nodes responding.
	Total int32 `json:"total,omitempty"`
}

type ClusterVersionNode ¶

type ClusterVersionNode struct {

	// OneFS build string.
	Build string `json:"build"`

	// Error message, if the HTTP status returned from this node was not 200.
	Error_ string `json:"error,omitempty"`

	// Node ID of the node reporting this information.
	Id int32 `json:"id,omitempty"`

	// Logical node number of the node reporting this information.
	Lnn int32 `json:"lnn,omitempty"`

	// Kernel release number.
	Release string `json:"release"`

	// OneFS build number.
	Revision string `json:"revision"`

	// Status of the HTTP response from this node if not 200.  If 200, this field does not appear.
	Status int32 `json:"status,omitempty"`

	// Kernel release type.
	Type_ string `json:"type"`

	// Kernel full version information.
	Version string `json:"version"`
}

type CompatibilitiesClassActive ¶

type CompatibilitiesClassActive struct {
	Active []CompatibilitiesClassActiveActiveItem `json:"active,omitempty"`
}

type CompatibilitiesClassActiveActiveItem ¶

type CompatibilitiesClassActiveActiveItem struct {

	// The first class in an active compatibility
	Class1 string `json:"class_1"`

	// The second class in an active compatibility
	Class2 string `json:"class_2"`

	// The id of this active compatibility
	Id int32 `json:"id"`
}

type CompatibilitiesClassActiveExtended ¶

type CompatibilitiesClassActiveExtended struct {
	Active []CompatibilitiesClassActiveActiveItem `json:"active,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type CompatibilitiesClassActiveItem ¶

type CompatibilitiesClassActiveItem struct {

	// Do not create compatibility, only assess if creation is possible.
	Assess bool `json:"assess,omitempty"`

	// The first class in the desired compatibility
	Class1 string `json:"class_1"`

	// The second class in the desired compatibility
	Class2 string `json:"class_2"`
}

type CompatibilitiesClassAvailable ¶

type CompatibilitiesClassAvailable struct {
	Available []CompatibilitiesClassAvailableAvailableItem `json:"available,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type CompatibilitiesClassAvailableAvailableItem ¶

type CompatibilitiesClassAvailableAvailableItem struct {

	// The first class in an available compatibility
	Class1 string `json:"class_1"`

	// The second class in an available compatibility
	Class2 string `json:"class_2"`
}

type CompatibilitiesSsdActive ¶

type CompatibilitiesSsdActive struct {
	Active []CompatibilitiesSsdActiveActiveItem `json:"active,omitempty"`
}

type CompatibilitiesSsdActiveActiveItem ¶

type CompatibilitiesSsdActiveActiveItem struct {

	// The node class of an ssd compatibility
	Class1 string `json:"class_1"`

	// Is this SSD Compatibility Count Compatible.
	Count bool `json:"count"`

	// The id of this ssd compatibility
	Id int32 `json:"id"`
}

type CompatibilitiesSsdActiveExtended ¶

type CompatibilitiesSsdActiveExtended struct {
	Active []CompatibilitiesSsdActiveActiveItem `json:"active,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type CompatibilitiesSsdActiveIdParams ¶

type CompatibilitiesSsdActiveIdParams struct {

	// Do not delete ssd compatibility, only assess if deletion is possible.
	Assess bool `json:"assess,omitempty"`

	// Are we enabling or disabling count
	Count bool `json:"count"`

	// The optional id of the second ssd compatibility.
	Id2 int32 `json:"id_2,omitempty"`
}

type CompatibilitiesSsdActiveItem ¶

type CompatibilitiesSsdActiveItem struct {

	// Do not create ssd compatibility, only assess if creation is possible.
	Assess bool `json:"assess,omitempty"`

	// The node class of the desired ssd compatibility
	Class1 string `json:"class_1"`

	// The optional second node class to turn on ssd compatibility
	Class2 string `json:"class_2,omitempty"`

	// Is this SSD Compatibility Count Compatible.
	Count bool `json:"count,omitempty"`
}

type CompatibilitiesSsdAvailable ¶

type CompatibilitiesSsdAvailable struct {
	Available []CompatibilitiesSsdAvailableAvailableItem `json:"available,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type CompatibilitiesSsdAvailableAvailableItem ¶

type CompatibilitiesSsdAvailableAvailableItem struct {

	// The node class of an ssd compatibility
	Class1 string `json:"class_1"`

	// The id of this ssd compatibility
	Id int32 `json:"id"`
}

type Configuration ¶

type Configuration struct {
	BasePath      string            `json:"basePath,omitempty"`
	Host          string            `json:"host,omitempty"`
	Scheme        string            `json:"scheme,omitempty"`
	DefaultHeader map[string]string `json:"defaultHeader,omitempty"`
	UserAgent     string            `json:"userAgent,omitempty"`
	HTTPClient    *http.Client
}

func NewConfiguration ¶

func NewConfiguration() *Configuration

func (*Configuration) AddDefaultHeader ¶

func (c *Configuration) AddDefaultHeader(key string, value string)

type CreateAntivirusScanItemResponse ¶

type CreateAntivirusScanItemResponse struct {

	// The ID for the report for this scan. A report ID will be generated if one is not provided.
	ReportId string `json:"report_id,omitempty"`

	// The result of the scan.
	Result string `json:"result,omitempty"`
}

The result of a manual antivirus scan.

type CreateAuthRefreshItemResponse ¶

type CreateAuthRefreshItemResponse struct {

	// Unique ID of the log filter.
	Id int32 `json:"id,omitempty"`
}

type CreateCloudAccountResponse ¶

type CreateCloudAccountResponse struct {

	// The name of the new account
	Id string `json:"id,omitempty"`
}

type CreateCloudJobResponse ¶

type CreateCloudJobResponse struct {

	// The id of the new job
	Id int32 `json:"id,omitempty"`
}

type CreateCloudPoolResponse ¶

type CreateCloudPoolResponse struct {

	// The name of the new pool
	Id string `json:"id,omitempty"`
}

type CreateCloudProxyResponse ¶

type CreateCloudProxyResponse struct {

	// The globally unique ID (guid) of the new proxy
	Id string `json:"id,omitempty"`
}

type CreateCompatibilitiesClassActiveItemResponse ¶

type CreateCompatibilitiesClassActiveItemResponse struct {

	// A list of all merges that will occur given this compatibility operation
	Merges []CreateCompatibilitiesClassActiveItemResponseMerge `json:"merges,omitempty"`

	// A string describing the effects of the compatibility operation.
	Message string `json:"message"`

	// A list of all splits that will occur given this compatibility operation
	Splits []CreateCompatibilitiesClassActiveItemResponseSplit `json:"splits,omitempty"`
}

type CreateCompatibilitiesClassActiveItemResponseMerge ¶

type CreateCompatibilitiesClassActiveItemResponseMerge struct {

	// The nodepool ids that will be merged
	Ids []int32 `json:"ids"`

	// The nodepool names that will be merged, in the sameorder as the ids
	Names []string `json:"names"`

	// The name of the nodepool all others will merge into
	ResultName string `json:"result_name"`
}

type CreateCompatibilitiesClassActiveItemResponseSplit ¶

type CreateCompatibilitiesClassActiveItemResponseSplit struct {

	// The nodepool id that will be split
	Id int32 `json:"id"`

	// The nodepool name that will be split
	Name string `json:"name"`

	// A message explaining how the nodepools tier membership will change.
	TierName string `json:"tier_name"`
}

type CreateFilepoolPolicyResponse ¶

type CreateFilepoolPolicyResponse struct {

	// The name of the new policy
	Id string `json:"id"`
}

type CreateHardeningApplyItemResponse ¶

type CreateHardeningApplyItemResponse struct {

	// Message text indicating if hardening apply operation started successfully or failed to start.
	Message string `json:"message,omitempty"`
}

type CreateHardeningResolveItemResponse ¶

type CreateHardeningResolveItemResponse struct {

	// Message text indicating if operation to resolve issues started successfully or failed to start.
	Message string `json:"message,omitempty"`
}

type CreateHardeningRevertItemResponse ¶

type CreateHardeningRevertItemResponse struct {

	// Message text indicating if hardening revert operation started successfully or failed or start.
	Message string `json:"message,omitempty"`
}

type CreateHardwareTapeNameResponse ¶

type CreateHardwareTapeNameResponse struct {

	// A list of errors encountered by the individual nodes involved in this request, or an empty list if there were no errors.
	Errors []NodeDrivesPurposelistError `json:"errors,omitempty"`

	// The responses from the individual nodes involved in this request.
	Nodes []CreateHardwareTapeNameResponseNode `json:"nodes,omitempty"`

	// The total number of nodes responding.
	Total int32 `json:"total,omitempty"`
}

type CreateHardwareTapeNameResponseNode ¶

type CreateHardwareTapeNameResponseNode struct {

	// Error message, if the HTTP status returned from this node was not 200.
	Error_ string `json:"error,omitempty"`

	// Node ID of the node reporting this information.
	Id int32 `json:"id,omitempty"`

	// Logical node number of the node reporting this information.
	Lnn int32 `json:"lnn,omitempty"`

	// A list of device rescan status
	RescanReport []CreateHardwareTapeNameResponseNodeRescanReportItem `json:"rescan_report,omitempty"`

	// Status of the HTTP response from this node if not 200.  If 200, this field does not appear.
	Status int32 `json:"status,omitempty"`
}

type CreateHardwareTapeNameResponseNodeRescanReportItem ¶

type CreateHardwareTapeNameResponseNodeRescanReportItem struct {

	// device name
	Devicename string `json:"devicename,omitempty"`

	// device driver path
	Path string `json:"path,omitempty"`

	// device product name
	Product string `json:"product,omitempty"`

	// device serial:L number
	Serial string `json:"serial,omitempty"`

	// device change status
	StatusReport string `json:"status_report,omitempty"`

	// device node world wide name
	Wwnn string `json:"wwnn,omitempty"`
}

type CreateJobJobResponse ¶

type CreateJobJobResponse struct {

	// The ID of the job.
	Id int32 `json:"id"`
}

type CreateNfsAliasResponse ¶

type CreateNfsAliasResponse struct {

	// Specifies whether the alias is usable.
	Health string `json:"health,omitempty"`

	// Specifies a string which represents the unique location of the alias.
	Id string `json:"id"`
}

Specifies the return value when an alias is successfully created or modified.

type CreateNfsNlmSessionsCheckItemResponse ¶

type CreateNfsNlmSessionsCheckItemResponse struct {

	// Number of lock-loss events detected
	Count int32 `json:"count"`
}

type CreateQuotaReportResponse ¶

type CreateQuotaReportResponse struct {

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

type CreateResponse ¶

type CreateResponse struct {

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

type CreateSnapshotAliasResponse ¶

type CreateSnapshotAliasResponse struct {

	// The ID of the newly created snapshot alias.
	Id int32 `json:"id"`
}

type CreateSnapshotChangelistResponse ¶

type CreateSnapshotChangelistResponse struct {

	// The ID of the job which created the changelist.
	JobId int32 `json:"job_id"`

	// Number of LIN entries in changelist.
	NumEntries int32 `json:"num_entries,omitempty"`

	// Root path of all LINs in changelist.
	RootPath string `json:"root_path"`

	// The lower snapid used to compute the changelist.
	Snap1 int32 `json:"snap1"`

	// The higher snapid used to compute the changelist.
	Snap2 int32 `json:"snap2"`

	// Status of changelist.
	Status string `json:"status"`
}

type CreateSnapshotLockResponse ¶

type CreateSnapshotLockResponse struct {

	// The ID of the newly created snapshot lock.
	Id int32 `json:"id"`
}

type CreateSnapshotRepstateResponse ¶

type CreateSnapshotRepstateResponse struct {

	// The lower snapid used to compute the repstate.
	Snap1 int32 `json:"snap1"`

	// The higher snapid used to compute the repstate.
	Snap2 int32 `json:"snap2"`
}

type CreateSnapshotScheduleResponse ¶

type CreateSnapshotScheduleResponse struct {

	// The ID of the newly created snapshot schedule.
	Id int32 `json:"id"`
}

type CreateStoragepoolTierResponse ¶

type CreateStoragepoolTierResponse struct {

	// The system ID of the new object.
	Id int32 `json:"id"`
}

type CreateSyncReportsRotateItemResponse ¶

type CreateSyncReportsRotateItemResponse struct {

	// A message about the status of the task.
	Message string `json:"message"`
}

Force rotation of reports.

type DebugApiService ¶

type DebugApiService service

func (*DebugApiService) DeleteDebugStats ¶

func (a *DebugApiService) DeleteDebugStats(ctx context.Context) (*http.Response, error)

DebugApiService Clear per-resource statistics counters. * @param ctx context.Context for authentication, logging, tracing, etc. @return

func (*DebugApiService) GetDebugStats ¶

func (a *DebugApiService) GetDebugStats(ctx context.Context) (DebugStats, *http.Response, error)

DebugApiService List cumulative call statistics for each resource. * @param ctx context.Context for authentication, logging, tracing, etc. @return DebugStats

type DebugStats ¶

type DebugStats struct {

	// Per-method statistics.
	DESCRIBE *DebugStatsUnknown `json:"DESCRIBE,omitempty"`

	// Per-method statistics.
	UNKNOWN *DebugStatsUnknown `json:"UNKNOWN,omitempty"`

	Handlers []DebugStatsHandler `json:"handlers,omitempty"`
}

Statistics for all the methods of all URIs in the Platform API.

type DebugStatsHandler ¶

type DebugStatsHandler struct {

	// Per-method statistics.
	DELETE *DebugStatsUnknown `json:"DELETE,omitempty"`

	// Per-method statistics.
	GET *DebugStatsUnknown `json:"GET,omitempty"`

	// Per-method statistics.
	HEAD *DebugStatsUnknown `json:"HEAD,omitempty"`

	// Per-method statistics.
	POST *DebugStatsUnknown `json:"POST,omitempty"`

	// Per-method statistics.
	PUT *DebugStatsUnknown `json:"PUT,omitempty"`

	// Per-method statistics.
	UNSUPPORTED *DebugStatsUnknown `json:"UNSUPPORTED,omitempty"`

	// The URI.
	Name string `json:"name,omitempty"`
}

type DebugStatsUnknown ¶

type DebugStatsUnknown struct {

	// The number of calls.
	Calls int32 `json:"calls,omitempty"`

	// The number of errors.
	Errors int32 `json:"errors,omitempty"`

	// The total amount of time spent in this method.
	Time float32 `json:"time,omitempty"`
}

type DedupeApiService ¶

type DedupeApiService service

func (*DedupeApiService) GetDedupeDedupeSummary ¶

func (a *DedupeApiService) GetDedupeDedupeSummary(ctx context.Context) (DedupeDedupeSummary, *http.Response, error)

DedupeApiService Return summary information about dedupe. * @param ctx context.Context for authentication, logging, tracing, etc. @return DedupeDedupeSummary

func (*DedupeApiService) GetDedupeReport ¶

func (a *DedupeApiService) GetDedupeReport(ctx context.Context, dedupeReportId string, localVarOptionals map[string]interface{}) (DedupeReports, *http.Response, error)

DedupeApiService Retrieve a report for a single dedupe job. * @param ctx context.Context for authentication, logging, tracing, etc. @param dedupeReportId Retrieve a report for a single dedupe job. @param optional (nil or map[string]interface{}) with one or more of:

@param "scope" (string) If specified as \&quot;effective\&quot; or not specified, all fields are returned.  If specified as \&quot;user\&quot;, only fields with non-default values are shown.  If specified as \&quot;default\&quot;, the original values are returned.

@return DedupeReports

func (*DedupeApiService) GetDedupeReports ¶

func (a *DedupeApiService) GetDedupeReports(ctx context.Context, localVarOptionals map[string]interface{}) (DedupeReportsExtended, *http.Response, error)

DedupeApiService List dedupe reports. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "begin" (int32) Restrict the query to reports at or after the given time, in seconds since the Epoch.
@param "end" (int32) Restrict the query to reports at or before the given time, in seconds since the Epoch.
@param "jobId" (int32) Restrict the query to the given job ID.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
@param "jobType" (string) Restrict the query to the given job type.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "dir" (string) The direction of the sort.

@return DedupeReportsExtended

func (*DedupeApiService) GetDedupeSettings ¶

func (a *DedupeApiService) GetDedupeSettings(ctx context.Context) (DedupeSettings, *http.Response, error)

DedupeApiService Retrieve the dedupe settings. * @param ctx context.Context for authentication, logging, tracing, etc. @return DedupeSettings

func (*DedupeApiService) UpdateDedupeSettings ¶

func (a *DedupeApiService) UpdateDedupeSettings(ctx context.Context, dedupeSettings DedupeSettingsExtended) (*http.Response, error)

DedupeApiService Modify the dedupe settings. All input fields are optional, but one or more must be supplied. * @param ctx context.Context for authentication, logging, tracing, etc. @param dedupeSettings @return

type DedupeDedupeSummary ¶

type DedupeDedupeSummary struct {

	//
	Summary *DedupeDedupeSummarySummary `json:"summary,omitempty"`
}

type DedupeDedupeSummarySummary ¶

type DedupeDedupeSummarySummary struct {

	// Size in bytes of a filesystem block.
	BlockSize float32 `json:"block_size"`

	// Estimated number of physical blocks deduped.
	EstimatedPhysicalBlocks float32 `json:"estimated_physical_blocks"`

	// Estimated number of physical blocks saved by dedupe.
	EstimatedSavedBlocks float32 `json:"estimated_saved_blocks"`

	// Number of logical blocks deduped.
	LogicalBlocks float32 `json:"logical_blocks"`

	// Number of logical blocks saved by dedupe.
	SavedLogicalBlocks float32 `json:"saved_logical_blocks"`

	// Total physical blocks in the cluster.
	TotalBlocks float32 `json:"total_blocks"`

	// Total physical blocks used in the cluster.
	UsedBlocks float32 `json:"used_blocks"`
}

type DedupeReport ¶

type DedupeReport struct {

	// The phase of the job this report was generated for.
	Phase int32 `json:"phase,omitempty"`

	// The report results.
	Results string `json:"results,omitempty"`

	// The time this report was generated in Unix epoch seconds.
	Time int32 `json:"time,omitempty"`
}

type DedupeReportExtended ¶

type DedupeReportExtended struct {

	// The amount of space the directory trees under this job's paths now take up, compared to what they would take up if not deduplicated (0 ~ 100).
	DedupePercent string `json:"dedupe_percent,omitempty"`

	// The amount of time in seconds it took to run this job.
	ElapsedTime int32 `json:"elapsed_time,omitempty"`

	// An unique identifier for this report.
	Id int32 `json:"id,omitempty"`

	// The job id this report refers to.
	JobId int32 `json:"job_id,omitempty"`

	// The type of dedupe job this report refers to.
	JobType string `json:"job_type,omitempty"`

	// A list of report entries for this dedupe job.
	Reports []DedupeReport `json:"reports,omitempty"`
}

type DedupeReports ¶

type DedupeReports struct {
	Reports []DedupeReportExtended `json:"reports,omitempty"`
}

type DedupeReportsExtended ¶

type DedupeReportsExtended struct {
	Reports []DedupeReportExtended `json:"reports,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`
}

type DedupeSettings ¶

type DedupeSettings struct {

	// Dedupe settings.
	Settings *DedupeSettingsSettings `json:"settings,omitempty"`
}

type DedupeSettingsExtended ¶

type DedupeSettingsExtended struct {

	// The paths that will be assessed.
	AssessPaths []string `json:"assess_paths,omitempty"`

	// The paths that will be deduped.
	Paths []string `json:"paths,omitempty"`
}

Dedupe settings.

type DedupeSettingsSettings ¶

type DedupeSettingsSettings struct {

	// The paths that will be assessed.
	AssessPaths []string `json:"assess_paths,omitempty"`

	// The schedule for the dedupe job.
	DedupeSchedule string `json:"dedupe_schedule,omitempty"`

	// The paths that will be deduped.
	Paths []string `json:"paths,omitempty"`
}

type DiagnosticsGatherSettings ¶

type DiagnosticsGatherSettings struct {

	// Use ESRS for upload of gather.
	Esrs bool `json:"esrs,omitempty"`

	FtpUpload bool `json:"ftp_upload,omitempty"`

	// Alternate FTP host to upload to.
	FtpUploadHost string `json:"ftp_upload_host,omitempty"`

	// FTP upload mode.
	FtpUploadMode string `json:"ftp_upload_mode,omitempty"`

	// Alternate FTP path to upload to.
	FtpUploadPath string `json:"ftp_upload_path,omitempty"`

	// FTP proxy to use for upload.
	FtpUploadProxy string `json:"ftp_upload_proxy,omitempty"`

	// FTP proxy port to use for upload.
	FtpUploadProxyPort int32 `json:"ftp_upload_proxy_port,omitempty"`

	// FTP user for upload.
	FtpUploadUser string `json:"ftp_upload_user,omitempty"`

	// Set gather to full or incremental.
	GatherMode string `json:"gather_mode,omitempty"`

	// Whether or not to use HTTP upload on completed gather.
	HttpUpload bool `json:"http_upload,omitempty"`

	// Alternate HTTP Host to upload to.
	HttpUploadHost string `json:"http_upload_host,omitempty"`

	// Alternate path to write gather to.
	HttpUploadPath string `json:"http_upload_path,omitempty"`

	// Proxy to use for HTTP upload.
	HttpUploadProxy string `json:"http_upload_proxy,omitempty"`

	// Alternate port for proxy server
	HttpUploadProxyPort int32 `json:"http_upload_proxy_port,omitempty"`

	// Upload gather to EMC.
	Upload bool `json:"upload,omitempty"`
}

type DiagnosticsGatherSettingsExtended ¶

type DiagnosticsGatherSettingsExtended struct {

	// Use ESRS for upload of gather.
	Esrs bool `json:"esrs,omitempty"`

	FtpUpload bool `json:"ftp_upload,omitempty"`

	// Alternate FTP host to upload to.
	FtpUploadHost string `json:"ftp_upload_host,omitempty"`

	// FTP upload mode.
	FtpUploadMode string `json:"ftp_upload_mode,omitempty"`

	// Alternate FTP path to upload to.
	FtpUploadPath string `json:"ftp_upload_path,omitempty"`

	// FTP proxy to use for upload.
	FtpUploadProxy string `json:"ftp_upload_proxy,omitempty"`

	// FTP proxy port to use for upload.
	FtpUploadProxyPort int32 `json:"ftp_upload_proxy_port,omitempty"`

	// FTP user for upload.
	FtpUploadUser string `json:"ftp_upload_user,omitempty"`

	// Set gather to full or incremental.
	GatherMode string `json:"gather_mode,omitempty"`

	// Whether or not to use HTTP upload on completed gather.
	HttpUpload bool `json:"http_upload,omitempty"`

	// Alternate HTTP Host to upload to.
	HttpUploadHost string `json:"http_upload_host,omitempty"`

	// Alternate path to write gather to.
	HttpUploadPath string `json:"http_upload_path,omitempty"`

	// Proxy to use for HTTP upload.
	HttpUploadProxy string `json:"http_upload_proxy,omitempty"`

	// Alternate port for proxy server
	HttpUploadProxyPort int32 `json:"http_upload_proxy_port,omitempty"`

	// Upload gather to EMC.
	Upload bool `json:"upload,omitempty"`

	// FTP password for upload.
	FtpUploadPass string `json:"ftp_upload_pass,omitempty"`
}

type DiagnosticsGatherStatus ¶

type DiagnosticsGatherStatus struct {

	//
	Gather *DiagnosticsGatherStatusGather `json:"gather,omitempty"`
}

type DiagnosticsGatherStatusGather ¶

type DiagnosticsGatherStatusGather struct {
	Path string `json:"path,omitempty"`

	//
	Status *DiagnosticsGatherStatusGatherStatus `json:"status,omitempty"`
}

type DiagnosticsGatherStatusGatherStatus ¶

type DiagnosticsGatherStatusGatherStatus struct {

	// The current status of the process
	ActiveStatus string `json:"Active_Status"`

	// The previous status of the process
	LastStatus string `json:"Last_Status"`
}

type DiagnosticsNetloggerSettings ¶

type DiagnosticsNetloggerSettings struct {

	// IP Addresses or host names of clients
	Clients string `json:"clients,omitempty"`

	// Count of capture files to keep, 0 is infinite.
	Count int32 `json:"count,omitempty"`

	// Duration in minutes of each capture file
	Duration int32 `json:"duration,omitempty"`

	// Network interfaces to capture on.
	Interfaces string `json:"interfaces,omitempty"`

	// List of nodes, or empty for all
	Nodelist string `json:"nodelist,omitempty"`

	// List of Integers of TCP or UDP ports
	Ports string `json:"ports,omitempty"`

	// which protocol(s) to gather on
	Protocols string `json:"protocols,omitempty"`

	// Amount of bytes per packet to capture
	Snaplength int32 `json:"snaplength,omitempty"`
}

type DiagnosticsNetloggerStatus ¶

type DiagnosticsNetloggerStatus struct {

	//
	Netlogger *DiagnosticsGatherStatusGather `json:"netlogger,omitempty"`
}

type DrivesDriveFirmware ¶

type DrivesDriveFirmware struct {

	// A list of errors encountered by the individual nodes involved in this request, or an empty list if there were no errors.
	Errors []NodeDrivesPurposelistError `json:"errors,omitempty"`

	// The responses from the individual nodes involved in this request.
	Nodes []DrivesDriveFirmwareNode `json:"nodes,omitempty"`

	// The total number of nodes responding.
	Total int32 `json:"total,omitempty"`
}

type DrivesDriveFirmwareNode ¶

type DrivesDriveFirmwareNode struct {

	// List of the firmware revisions on the drives in this node.
	Drives []DrivesDriveFirmwareNodeDrive `json:"drives,omitempty"`

	// Error message, if the HTTP status returned from this node was not 200.
	Error_ string `json:"error,omitempty"`

	// Node ID of the node reporting this information.
	Id int32 `json:"id,omitempty"`

	// Logical node number of the node reporting this information.
	Lnn int32 `json:"lnn,omitempty"`

	// Status of the HTTP response from this node if not 200.  If 200, this field does not appear.
	Status int32 `json:"status,omitempty"`
}

type DrivesDriveFirmwareNodeDrive ¶

type DrivesDriveFirmwareNodeDrive struct {

	// Numerical representation of this drive's bay.
	Baynum int32 `json:"baynum,omitempty"`

	// This drive's current firmware revision
	CurrentFirmware string `json:"current_firmware,omitempty"`

	// This drive's desired firmware revision.
	DesiredFirmware string `json:"desired_firmware,omitempty"`

	// This drive's device name.
	Devname string `json:"devname,omitempty"`

	// This drive's logical drive number in IFS.
	Lnum int32 `json:"lnum,omitempty"`

	// String representation of this drive's physical location.
	Locnstr string `json:"locnstr,omitempty"`

	// This drive's manufacturer and model.
	Model string `json:"model,omitempty"`
}

type DrivesDriveFirmwareUpdate ¶

type DrivesDriveFirmwareUpdate struct {

	// A list of errors encountered by the individual nodes involved in this request, or an empty list if there were no errors.
	Errors []NodeDrivesPurposelistError `json:"errors,omitempty"`

	// The responses from the individual nodes involved in this request.
	Nodes []DrivesDriveFirmwareUpdateNode `json:"nodes,omitempty"`

	// The total number of nodes responding.
	Total int32 `json:"total,omitempty"`
}

type DrivesDriveFirmwareUpdateItem ¶

type DrivesDriveFirmwareUpdateItem struct {

	// Indicates whether this is a cluster wide drive firwmare update or not
	ClusterWide bool `json:"cluster_wide"`
}

Drive firmware update information.

type DrivesDriveFirmwareUpdateNode ¶

type DrivesDriveFirmwareUpdateNode struct {

	// Error message, if the HTTP status returned from this node was not 200.
	Error_ string `json:"error,omitempty"`

	// Node ID of the node reporting this information.
	Id int32 `json:"id,omitempty"`

	// Logical node number of the node reporting this information.
	Lnn int32 `json:"lnn,omitempty"`

	// Drive firmware update status information.
	Status *DrivesDriveFirmwareUpdateNodeStatus `json:"status,omitempty"`
}

type DrivesDriveFirmwareUpdateNodeStatus ¶

type DrivesDriveFirmwareUpdateNodeStatus struct {

	// The number of drives that did not successfully complete firmware updates update on the node.
	Failed int32 `json:"failed,omitempty"`

	// Time when drive firmware update finished on node.
	FinishTime string `json:"finish_time,omitempty"`

	// Number of drives remaining to be updated on node.
	Remaining int32 `json:"remaining,omitempty"`

	// Time when drive firmware update started on node.
	StartTime string `json:"start_time,omitempty"`

	// Overall status of this nodes firmware updates.
	Status string `json:"status,omitempty"`

	// The number of drives that completed firmware updates on the node.
	Updated int32 `json:"updated,omitempty"`
}

type DrivesDriveFormatItem ¶

type DrivesDriveFormatItem struct {

	// The purpose to which this drive should be formatted. If not specified, defaults to 'None', which will be automatically purposed based on node configuration and drive type.
	Purpose string `json:"purpose,omitempty"`
}

Drive purpose information.

type DrivesDrivePurposeItem ¶

type DrivesDrivePurposeItem struct {

	// The purpose to which this drive should be assigned. This field is required for the 'purpose' action.
	Purpose string `json:"purpose"`
}

Drive purpose information.

type Empty ¶

type Empty struct {
}

type EventAlertCondition ¶

type EventAlertCondition struct {

	// Event Group categories to be alerted: all, 100000000 (SYS_DISK_EVENTS), 200000000 (NODE_STATUS_EVENTS), 300000000 (REBOOT_EVENTS), 400000000 (SW_EVENTS), 500000000 (QUOTA_EVENTS), 600000000 (SNAP_EVENTS), 700000000 (WINNET_EVENTS), 800000000 (FILESYS_EVENTS), 900000000 (HW_EVENTS), 1100000000 (CPOOL_EVENTS)
	Categories []string `json:"categories,omitempty"`

	// Channels for alert
	Channels []string `json:"channels,omitempty"`

	// Trigger condition for alert
	Condition string `json:"condition,omitempty"`

	// Event Group IDs to be alerted
	EventgroupIds []string `json:"eventgroup_ids,omitempty"`

	// Required with ONGOING condition only, period in seconds between alerts of ongoing conditions
	Interval int32 `json:"interval,omitempty"`

	// Required with NEW EVENTS condition only, limits the number of alerts sent as events are added
	Limit int32 `json:"limit,omitempty"`

	// Severities to be alerted
	Severities []string `json:"severities,omitempty"`

	// Any eventgroup lasting less than this many seconds is deemed transient and will not generate alerts under this condition.
	Transient int32 `json:"transient,omitempty"`
}

Specifies under what conditions and over which channel an alert should be sent

type EventAlertConditionCreateParams ¶

type EventAlertConditionCreateParams struct {

	// Event Group categories to be alerted: all, 100000000 (SYS_DISK_EVENTS), 200000000 (NODE_STATUS_EVENTS), 300000000 (REBOOT_EVENTS), 400000000 (SW_EVENTS), 500000000 (QUOTA_EVENTS), 600000000 (SNAP_EVENTS), 700000000 (WINNET_EVENTS), 800000000 (FILESYS_EVENTS), 900000000 (HW_EVENTS), 1100000000 (CPOOL_EVENTS)
	Categories []string `json:"categories,omitempty"`

	// Channels for alert
	Channels []string `json:"channels"`

	// Trigger condition for alert
	Condition string `json:"condition"`

	// Event Group IDs to be alerted
	EventgroupIds []string `json:"eventgroup_ids,omitempty"`

	// Unique identifier.
	Id string `json:"id,omitempty"`

	// Required with ONGOING condition only, period in seconds between alerts of ongoing conditions
	Interval int32 `json:"interval,omitempty"`

	// Required with NEW EVENTS condition only, limits the number of alerts sent as events are added
	Limit int32 `json:"limit,omitempty"`

	// Unique identifier.
	Name string `json:"name"`

	// Severities to be alerted
	Severities []string `json:"severities,omitempty"`

	// Any eventgroup lasting less than this many seconds is deemed transient and will not generate alerts under this condition.
	Transient int32 `json:"transient,omitempty"`
}

type EventAlertConditions ¶

type EventAlertConditions struct {
	AlertConditions []EventAlertConditionsAlertCondition `json:"alert-conditions,omitempty"`
}

type EventAlertConditionsAlertCondition ¶

type EventAlertConditionsAlertCondition struct {

	// Event Group categories to be alerted: all, 100000000 (SYS_DISK_EVENTS), 200000000 (NODE_STATUS_EVENTS), 300000000 (REBOOT_EVENTS), 400000000 (SW_EVENTS), 500000000 (QUOTA_EVENTS), 600000000 (SNAP_EVENTS), 700000000 (WINNET_EVENTS), 800000000 (FILESYS_EVENTS), 900000000 (HW_EVENTS), 1100000000 (CPOOL_EVENTS)
	Categories []string `json:"categories,omitempty"`

	// Channels for alert
	Channels []string `json:"channels,omitempty"`

	// Trigger condition for alert
	Condition string `json:"condition,omitempty"`

	// Event Group IDs to be alerted
	EventgroupIds []string `json:"eventgroup_ids,omitempty"`

	// Unique identifier.
	Id string `json:"id,omitempty"`

	// Required with ONGOING condition only, period in seconds between alerts of ongoing conditions
	Interval int32 `json:"interval,omitempty"`

	// Required with NEW EVENTS condition only, limits the number of alerts sent as events are added
	Limit int32 `json:"limit,omitempty"`

	// Unique identifier.
	Name string `json:"name,omitempty"`

	// Severities to be alerted
	Severities []string `json:"severities,omitempty"`

	// Any eventgroup lasting less than this many seconds is deemed transient and will not generate alerts under this condition.
	Transient int32 `json:"transient,omitempty"`
}

type EventAlertConditionsExtended ¶

type EventAlertConditionsExtended struct {
	AlertConditions []EventAlertConditionsAlertCondition `json:"alert-conditions,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type EventApiService ¶

type EventApiService service

func (*EventApiService) CreateEventAlertCondition ¶

func (a *EventApiService) CreateEventAlertCondition(ctx context.Context, eventAlertCondition EventAlertConditionCreateParams) (CreateResponse, *http.Response, error)

EventApiService Create a new alert condition. * @param ctx context.Context for authentication, logging, tracing, etc. @param eventAlertCondition @return CreateResponse

func (*EventApiService) CreateEventChannel ¶

func (a *EventApiService) CreateEventChannel(ctx context.Context, eventChannel EventChannelCreateParams) (CreateResponse, *http.Response, error)

EventApiService Create a new channel. * @param ctx context.Context for authentication, logging, tracing, etc. @param eventChannel @return CreateResponse

func (*EventApiService) CreateEventEvent ¶

func (a *EventApiService) CreateEventEvent(ctx context.Context, eventEvent EventEvent) (CreateQuotaReportResponse, *http.Response, error)

EventApiService Create a test event. * @param ctx context.Context for authentication, logging, tracing, etc. @param eventEvent @return CreateQuotaReportResponse

func (*EventApiService) DeleteEventAlertCondition ¶

func (a *EventApiService) DeleteEventAlertCondition(ctx context.Context, eventAlertConditionId string) (*http.Response, error)

EventApiService Delete the alert-condition. * @param ctx context.Context for authentication, logging, tracing, etc. @param eventAlertConditionId Delete the alert-condition. @return

func (*EventApiService) DeleteEventAlertConditions ¶

func (a *EventApiService) DeleteEventAlertConditions(ctx context.Context, localVarOptionals map[string]interface{}) (*http.Response, error)

EventApiService Bulk delete of alert conditions. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "channel" (string) Delete only conditions for this channel

@return

func (*EventApiService) DeleteEventChannel ¶

func (a *EventApiService) DeleteEventChannel(ctx context.Context, eventChannelId string) (*http.Response, error)

EventApiService Delete the channel. * @param ctx context.Context for authentication, logging, tracing, etc. @param eventChannelId Delete the channel. @return

func (*EventApiService) GetEventAlertCondition ¶

func (a *EventApiService) GetEventAlertCondition(ctx context.Context, eventAlertConditionId string) (EventAlertConditions, *http.Response, error)

EventApiService Retrieve the alert-condition. * @param ctx context.Context for authentication, logging, tracing, etc. @param eventAlertConditionId Retrieve the alert-condition. @return EventAlertConditions

func (*EventApiService) GetEventCategories ¶

func (a *EventApiService) GetEventCategories(ctx context.Context, localVarOptionals map[string]interface{}) (EventCategoriesExtended, *http.Response, error)

EventApiService List all eventgroup categories. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "limit" (int32) Return no more than this many results at once (see resume).
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).

@return EventCategoriesExtended

func (*EventApiService) GetEventCategory ¶

func (a *EventApiService) GetEventCategory(ctx context.Context, eventCategoryId string) (EventCategories, *http.Response, error)

EventApiService Retrieve the eventgroup category. * @param ctx context.Context for authentication, logging, tracing, etc. @param eventCategoryId Retrieve the eventgroup category. @return EventCategories

func (*EventApiService) GetEventChannel ¶

func (a *EventApiService) GetEventChannel(ctx context.Context, eventChannelId string) (EventChannels, *http.Response, error)

EventApiService Retrieve the channel. * @param ctx context.Context for authentication, logging, tracing, etc. @param eventChannelId Retrieve the channel. @return EventChannels

func (*EventApiService) GetEventEventgroupDefinition ¶

func (a *EventApiService) GetEventEventgroupDefinition(ctx context.Context, eventEventgroupDefinitionId string) (EventEventgroupDefinitions, *http.Response, error)

EventApiService Retrieve the eventgroup definition. * @param ctx context.Context for authentication, logging, tracing, etc. @param eventEventgroupDefinitionId Retrieve the eventgroup definition. @return EventEventgroupDefinitions

func (*EventApiService) GetEventEventgroupDefinitions ¶

func (a *EventApiService) GetEventEventgroupDefinitions(ctx context.Context, localVarOptionals map[string]interface{}) (EventEventgroupDefinitionsExtended, *http.Response, error)

EventApiService List all eventgroup definitions. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "category" (int32) Return eventgroups in the specified category
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).

@return EventEventgroupDefinitionsExtended

func (*EventApiService) GetEventEventgroupOccurrence ¶

func (a *EventApiService) GetEventEventgroupOccurrence(ctx context.Context, eventEventgroupOccurrenceId string) (EventEventgroupOccurrences, *http.Response, error)

EventApiService Retrieve individual eventgroup occurrence. * @param ctx context.Context for authentication, logging, tracing, etc. @param eventEventgroupOccurrenceId Retrieve individual eventgroup occurrence. @return EventEventgroupOccurrences

func (*EventApiService) GetEventEventgroupOccurrences ¶

func (a *EventApiService) GetEventEventgroupOccurrences(ctx context.Context, localVarOptionals map[string]interface{}) (EventEventgroupOccurrencesExtended, *http.Response, error)

EventApiService List all eventgroup occurrences. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "resolved" (bool) Filter for resolved eventgroups
@param "sort" (string) The field that will be used for sorting.
@param "begin" (int32) events that are in progress after this time
@param "end" (int32) events that were in progress before this time
@param "eventCount" (int32) events for which event_count &gt; this
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
@param "ignore" (bool) Filter for ignored eventgroups
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "resolver" (string) Filter for eventgroup resolver
@param "cause" (string) Filter for cause
@param "dir" (string) The direction of the sort.

@return EventEventgroupOccurrencesExtended

func (*EventApiService) GetEventEventlist ¶

func (a *EventApiService) GetEventEventlist(ctx context.Context, eventEventlistId string) (EventEventlists, *http.Response, error)

EventApiService Retrieve the list of events for a eventgroup occureence. * @param ctx context.Context for authentication, logging, tracing, etc. @param eventEventlistId Retrieve the list of events for a eventgroup occureence. @return EventEventlists

func (*EventApiService) GetEventEventlists ¶

func (a *EventApiService) GetEventEventlists(ctx context.Context, localVarOptionals map[string]interface{}) (EventEventlistsExtended, *http.Response, error)

EventApiService List all event occurrences grouped by eventgroup occurrence. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "eventInstance" (string) Return only this event occurrence
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).

@return EventEventlistsExtended

func (*EventApiService) GetEventSettings ¶

func (a *EventApiService) GetEventSettings(ctx context.Context) (EventSettings, *http.Response, error)

EventApiService Retrieve the settings. * @param ctx context.Context for authentication, logging, tracing, etc. @return EventSettings

func (*EventApiService) ListEventAlertConditions ¶

func (a *EventApiService) ListEventAlertConditions(ctx context.Context, localVarOptionals map[string]interface{}) (EventAlertConditionsExtended, *http.Response, error)

EventApiService List all alert conditions. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "channels" (string) Return only conditions for the specified channel:
@param "sort" (string) The field that will be used for sorting.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "dir" (string) The direction of the sort.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).

@return EventAlertConditionsExtended

func (*EventApiService) ListEventChannels ¶

func (a *EventApiService) ListEventChannels(ctx context.Context, localVarOptionals map[string]interface{}) (EventChannelsExtended, *http.Response, error)

EventApiService List all channels. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "dir" (string) The direction of the sort.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).

@return EventChannelsExtended

func (*EventApiService) UpdateEventAlertCondition ¶

func (a *EventApiService) UpdateEventAlertCondition(ctx context.Context, eventAlertCondition EventAlertCondition, eventAlertConditionId string) (*http.Response, error)

EventApiService Modify the alert-condition * @param ctx context.Context for authentication, logging, tracing, etc. @param eventAlertCondition @param eventAlertConditionId Modify the alert-condition @return

func (*EventApiService) UpdateEventChannel ¶

func (a *EventApiService) UpdateEventChannel(ctx context.Context, eventChannel EventChannel, eventChannelId string) (*http.Response, error)

EventApiService Modify the channel. * @param ctx context.Context for authentication, logging, tracing, etc. @param eventChannel @param eventChannelId Modify the channel. @return

func (*EventApiService) UpdateEventEventgroupOccurrence ¶

func (a *EventApiService) UpdateEventEventgroupOccurrence(ctx context.Context, eventEventgroupOccurrence EventEventgroupOccurrence, eventEventgroupOccurrenceId string) (*http.Response, error)

EventApiService modify eventgroup occurrence. * @param ctx context.Context for authentication, logging, tracing, etc. @param eventEventgroupOccurrence @param eventEventgroupOccurrenceId modify eventgroup occurrence. @return

func (*EventApiService) UpdateEventEventgroupOccurrences ¶

func (a *EventApiService) UpdateEventEventgroupOccurrences(ctx context.Context, eventEventgroupOccurrences EventEventgroupOccurrence) (*http.Response, error)

EventApiService Modify all eventgroup occurrences, resolve or ignore all * @param ctx context.Context for authentication, logging, tracing, etc. @param eventEventgroupOccurrences @return

func (*EventApiService) UpdateEventSettings ¶

func (a *EventApiService) UpdateEventSettings(ctx context.Context, eventSettings EventSettings) (*http.Response, error)

EventApiService Update settings * @param ctx context.Context for authentication, logging, tracing, etc. @param eventSettings @return

type EventCategories ¶

type EventCategories struct {
	Categories []EventCategory `json:"categories,omitempty"`
}

type EventCategoriesExtended ¶

type EventCategoriesExtended struct {
	Categories []EventCategory `json:"categories,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type EventCategory ¶

type EventCategory struct {

	// Numeric identifier of eventgroup category.
	Id string `json:"id,omitempty"`

	// Name of category.
	IdName string `json:"id_name,omitempty"`

	// Description of category.
	Name string `json:"name,omitempty"`
}

type EventChannel ¶

type EventChannel struct {

	// Nodes (LNNs) that can be masters for this channel
	AllowedNodes []int32 `json:"allowed_nodes,omitempty"`

	// Channel is to be used or not
	Enabled bool `json:"enabled,omitempty"`

	// Nodes (LNNs) that can NOT be the masters for this channel
	ExcludedNodes []int32 `json:"excluded_nodes,omitempty"`

	// Parameters to be used for an smtp channel
	Parameters *EventChannelParameters `json:"parameters,omitempty"`

	// Channel is a pre-defined system channel
	System bool `json:"system,omitempty"`

	// The mechanism used by the channel
	Type_ string `json:"type,omitempty"`
}

Named channel through which alerts can be delivered.

type EventChannelCreateParams ¶

type EventChannelCreateParams struct {

	// Nodes (LNNs) that can be masters for this channel
	AllowedNodes []int32 `json:"allowed_nodes,omitempty"`

	// Channel is to be used or not
	Enabled bool `json:"enabled,omitempty"`

	// Nodes (LNNs) that can NOT be the masters for this channel
	ExcludedNodes []int32 `json:"excluded_nodes,omitempty"`

	// Parameters to be used for an smtp channel
	Parameters *EventChannelParameters `json:"parameters,omitempty"`

	// Channel is a pre-defined system channel
	System bool `json:"system,omitempty"`

	// The mechanism used by the channel
	Type_ string `json:"type"`

	// Unique identifier.
	Id int32 `json:"id,omitempty"`

	// Channel name,  may not contain /, max length 254.
	Name string `json:"name"`
}

type EventChannelExtended ¶

type EventChannelExtended struct {

	// Nodes (LNNs) that can be masters for this channel
	AllowedNodes []int32 `json:"allowed_nodes,omitempty"`

	// Channel is to be used or not
	Enabled bool `json:"enabled,omitempty"`

	// Nodes (LNNs) that can NOT be the masters for this channel
	ExcludedNodes []int32 `json:"excluded_nodes,omitempty"`

	// Parameters to be used for an smtp channel
	Parameters *EventChannelParameters `json:"parameters,omitempty"`

	// Channel is a pre-defined system channel
	System bool `json:"system,omitempty"`

	// The mechanism used by the channel
	Type_ string `json:"type,omitempty"`

	// Unique identifier.
	Id int32 `json:"id,omitempty"`

	// Channel name,  may not contain /, max length 254.
	Name string `json:"name,omitempty"`
}

type EventChannelParameters ¶

type EventChannelParameters struct {

	// Email addresses to send to.
	Address []string `json:"address,omitempty"`

	// Batching criterion.
	Batch string `json:"batch,omitempty"`

	// Period over which batching is to be performed.
	BatchPeriod int32 `json:"batch_period,omitempty"`

	// Path to custom notification template.
	CustomTemplate string `json:"custom_template,omitempty"`

	// Email address to use as from.
	SendAs string `json:"send_as,omitempty"`

	// SMTP relay host.
	SmtpHost string `json:"smtp_host,omitempty"`

	// Password for SMTP authentication - only if smtp_use_auth true.
	SmtpPassword string `json:"smtp_password,omitempty"`

	// SMTP relay port - optional defaults to 25.
	SmtpPort int32 `json:"smtp_port,omitempty"`

	// Encryption protocol to use for SMTP.
	SmtpSecurity string `json:"smtp_security,omitempty"`

	// Use SMTP authentication - optional defaulst to false.
	SmtpUseAuth bool `json:"smtp_use_auth,omitempty"`

	// Username for SMTP authentication - only if smtp_use_auth true.
	SmtpUsername string `json:"smtp_username,omitempty"`

	// Subject for emails.
	Subject string `json:"subject,omitempty"`
}

type EventChannels ¶

type EventChannels struct {
	Channels []EventChannelExtended `json:"channels,omitempty"`
}

type EventChannelsExtended ¶

type EventChannelsExtended struct {
	Channels []EventChannelExtended `json:"channels,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type EventEvent ¶

type EventEvent struct {

	// Message for test event
	Message string `json:"message,omitempty"`
}

Test Event Specifier

type EventEventgroupDefinitions ¶

type EventEventgroupDefinitions struct {
	EventgroupDefinitions []EventEventgroupDefinitionsEventgroupDefinition `json:"eventgroup-definitions,omitempty"`
}

type EventEventgroupDefinitionsEventgroupDefinition ¶

type EventEventgroupDefinitionsEventgroupDefinition struct {

	// ID of eventgroup category: all, 100000000 (SYS_DISK_EVENTS), 200000000 (NODE_STATUS_EVENTS), 300000000 (REBOOT_EVENTS), 400000000 (SW_EVENTS), 500000000 (QUOTA_EVENTS), 600000000 (SNAP_EVENTS), 700000000 (WINNET_EVENTS), 800000000 (FILESYS_EVENTS), 900000000 (HW_EVENTS), 1100000000 (CPOOL_EVENTS)
	Category string `json:"category,omitempty"`

	// Human readable description - may contain value placeholders.
	Description string `json:"description,omitempty"`

	// Unique Identifier.
	Id string `json:"id,omitempty"`

	// Name for eventgroup.
	Name string `json:"name,omitempty"`
}

type EventEventgroupDefinitionsExtended ¶

type EventEventgroupDefinitionsExtended struct {
	EventgroupDefinitions []EventEventgroupDefinitionsEventgroupDefinition `json:"eventgroup-definitions,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type EventEventgroupOccurrence ¶

type EventEventgroupOccurrence struct {

	// True if eventgroup is to be ignored
	Ignore bool `json:"ignore,omitempty"`

	// True if eventgroup is to be resolved
	Resolved bool `json:"resolved,omitempty"`
}

Ignore flag for eventgroup.

type EventEventgroupOccurrences ¶

type EventEventgroupOccurrences struct {
	Eventgroups []EventEventgroupOccurrencesEventgroup `json:"eventgroups,omitempty"`
}

type EventEventgroupOccurrencesEventgroup ¶

type EventEventgroupOccurrencesEventgroup struct {

	// List of eventgroup IDs that may be causes of this occurrence.
	Causes [][]string `json:"causes,omitempty"`

	// List of channels to which alerts are configured for this eventgroup
	Channels []string `json:"channels,omitempty"`

	// Number of events linked to this eventgroup.
	EventCount int32 `json:"event_count,omitempty"`

	// Unique identifier of eventgroup instance.
	EventgroupInstance string `json:"eventgroup_instance,omitempty"`

	// Same as eventgroup_instance.
	Id string `json:"id,omitempty"`

	// True if eventgroup is marked as 'ignore'.
	Ignore bool `json:"ignore,omitempty"`

	// Time eventgroup was marked as 'ignore'.
	IgnoreTime int32 `json:"ignore_time,omitempty"`

	// Time the most recent event was added to this eventgroup.
	LastEvent int32 `json:"last_event,omitempty"`

	// When the eventgroup became resolved.
	ResolveTime int32 `json:"resolve_time,omitempty"`

	// True if eventgroup is resolved.
	Resolved bool `json:"resolved,omitempty"`

	// 'USER' if the eventgroup was marked resolved via PAPI <event_instance> if eventgroup was marked resolved as a result of an event.
	Resolver string `json:"resolver,omitempty"`

	// XXX description needed.
	Sequence int32 `json:"sequence,omitempty"`

	// Event Group severity.
	Severity string `json:"severity,omitempty"`

	// A collection of parameters defined per eventgroup_id.
	Specifier *Empty `json:"specifier,omitempty"`

	// Time of first event linked to this eventgroup.
	TimeNoticed int32 `json:"time_noticed,omitempty"`
}

type EventEventgroupOccurrencesExtended ¶

type EventEventgroupOccurrencesExtended struct {
	Eventgroups []EventEventgroupOccurrencesEventgroup `json:"eventgroups,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type EventEventlist ¶

type EventEventlist struct {

	// Number of events linked to this eventgroup.
	EventCount int32 `json:"event_count,omitempty"`

	// Unique identifier of eventgroup instance.
	EventgroupInstance string `json:"eventgroup_instance,omitempty"`

	// list of all events linked to this eventgroup in chronological order.
	Events []EventEventlistEvent `json:"events,omitempty"`

	// Same as eventgroup_instance.
	Id string `json:"id,omitempty"`
}

type EventEventlistEvent ¶

type EventEventlistEvent struct {

	// The device id of the node if it is still part of the cluster otherwise None.
	Devid int32 `json:"devid,omitempty"`

	// Time event was ended (eventgroup resolved)
	Ended float32 `json:"ended,omitempty"`

	// Integer identifier of the event type
	Event int32 `json:"event,omitempty"`

	// Unique identifier of event occurrence.
	Id string `json:"id,omitempty"`

	// The lnn of the node if it is still part of the cluster, otherwise None.
	Lnn int32 `json:"lnn,omitempty"`

	// Human readable description
	Message string `json:"message,omitempty"`

	// Time the event was resolved.
	ResolveTime int32 `json:"resolve_time,omitempty"`

	// Severity of event occurrence.
	Severity string `json:"severity,omitempty"`

	// A collection of parameters defined per event.
	Specifier *Empty `json:"specifier,omitempty"`

	// Time event was detected as UNIX timestamp.
	Time int32 `json:"time,omitempty"`

	// Value of measurement associated with this event.
	Value float32 `json:"value,omitempty"`
}

type EventEventlists ¶

type EventEventlists struct {
	Eventlists []EventEventlist `json:"eventlists,omitempty"`
}

type EventEventlistsExtended ¶

type EventEventlistsExtended struct {
	Eventlists []EventEventlist `json:"eventlists,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type EventSettings ¶

type EventSettings struct {

	// Settings for CELOG system
	Settings *EventSettingsSettings `json:"settings,omitempty"`
}

type EventSettingsSettings ¶

type EventSettingsSettings struct {

	// Interval between heartbeat events. \"daily\", \"weekly\", or \"monthly\".
	HeartbeatInterval string `json:"heartbeat_interval,omitempty"`

	// Specifies start and duration of maintenance period during which no alerts will be sent for new eventgroups.
	Maintenance *EventSettingsSettingsMaintenance `json:"maintenance,omitempty"`

	// Retention period in days
	RetentionDays int32 `json:"retention_days,omitempty"`

	// Storage limit in megabytes per terabyte of available storage
	StorageLimit int32 `json:"storage_limit,omitempty"`
}

type EventSettingsSettingsMaintenance ¶

type EventSettingsSettingsMaintenance struct {

	// Duration of maintenance period in seconds.
	Duration int32 `json:"duration,omitempty"`

	// Start of maintenance period.
	Start int32 `json:"start,omitempty"`
}

type FileFilterApiService ¶

type FileFilterApiService service

func (*FileFilterApiService) GetFileFilterSettings ¶

func (a *FileFilterApiService) GetFileFilterSettings(ctx context.Context, localVarOptionals map[string]interface{}) (FileFilterSettings, *http.Response, error)

FileFilterApiService View File Filtering settings of an access zone * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Specifies the access zones in which these settings apply.

@return FileFilterSettings

func (*FileFilterApiService) UpdateFileFilterSettings ¶

func (a *FileFilterApiService) UpdateFileFilterSettings(ctx context.Context, fileFilterSettings FileFilterSettingsExtended, localVarOptionals map[string]interface{}) (*http.Response, error)

FileFilterApiService Modify one or more File Filtering settings for an access zone * @param ctx context.Context for authentication, logging, tracing, etc. @param fileFilterSettings @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Specifies the access zones in which these settings apply.

@return

type FileFilterSettings ¶

type FileFilterSettings struct {

	//
	Settings *FileFilterSettingsSettings `json:"settings"`
}

type FileFilterSettingsExtended ¶

type FileFilterSettingsExtended struct {

	// List of file extensions to be filtered.
	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"`

	// Indicates whether file filtering is enabled on this zone.
	FileFilteringEnabled bool `json:"file_filtering_enabled,omitempty"`
}

type FileFilterSettingsSettings ¶

type FileFilterSettingsSettings struct {

	// List of file extensions to be filtered.
	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"`

	// Indicates whether file filtering is enabled on this zone.
	FileFilteringEnabled bool `json:"file_filtering_enabled,omitempty"`
}

type FilepoolApiService ¶

type FilepoolApiService service

func (*FilepoolApiService) CreateFilepoolPolicy ¶

FilepoolApiService Create a new policy. * @param ctx context.Context for authentication, logging, tracing, etc. @param filepoolPolicy @return CreateFilepoolPolicyResponse

func (*FilepoolApiService) DeleteFilepoolPolicy ¶

func (a *FilepoolApiService) DeleteFilepoolPolicy(ctx context.Context, filepoolPolicyId string) (*http.Response, error)

FilepoolApiService Delete file pool policy. * @param ctx context.Context for authentication, logging, tracing, etc. @param filepoolPolicyId Delete file pool policy. @return

func (*FilepoolApiService) GetFilepoolDefaultPolicy ¶

func (a *FilepoolApiService) GetFilepoolDefaultPolicy(ctx context.Context) (FilepoolDefaultPolicy, *http.Response, error)

FilepoolApiService List default file pool policy. * @param ctx context.Context for authentication, logging, tracing, etc. @return FilepoolDefaultPolicy

func (*FilepoolApiService) GetFilepoolPolicy ¶

func (a *FilepoolApiService) GetFilepoolPolicy(ctx context.Context, filepoolPolicyId string) (FilepoolPolicies, *http.Response, error)

FilepoolApiService Retrieve file pool policy information. * @param ctx context.Context for authentication, logging, tracing, etc. @param filepoolPolicyId Retrieve file pool policy information. @return FilepoolPolicies

func (*FilepoolApiService) GetFilepoolTemplate ¶

func (a *FilepoolApiService) GetFilepoolTemplate(ctx context.Context, filepoolTemplateId string) (FilepoolTemplates, *http.Response, error)

FilepoolApiService List all templates. * @param ctx context.Context for authentication, logging, tracing, etc. @param filepoolTemplateId List all templates. @return FilepoolTemplates

func (*FilepoolApiService) GetFilepoolTemplates ¶

func (a *FilepoolApiService) GetFilepoolTemplates(ctx context.Context) (FilepoolTemplates, *http.Response, error)

FilepoolApiService List all templates. * @param ctx context.Context for authentication, logging, tracing, etc. @return FilepoolTemplates

func (*FilepoolApiService) ListFilepoolPolicies ¶

func (a *FilepoolApiService) ListFilepoolPolicies(ctx context.Context) (FilepoolPolicies, *http.Response, error)

FilepoolApiService List all policies. * @param ctx context.Context for authentication, logging, tracing, etc. @return FilepoolPolicies

func (*FilepoolApiService) UpdateFilepoolDefaultPolicy ¶

func (a *FilepoolApiService) UpdateFilepoolDefaultPolicy(ctx context.Context, filepoolDefaultPolicy FilepoolDefaultPolicyExtended) (*http.Response, error)

FilepoolApiService Set default file pool policy. * @param ctx context.Context for authentication, logging, tracing, etc. @param filepoolDefaultPolicy @return

func (*FilepoolApiService) UpdateFilepoolPolicy ¶

func (a *FilepoolApiService) UpdateFilepoolPolicy(ctx context.Context, filepoolPolicy FilepoolPolicy, filepoolPolicyId string) (*http.Response, error)

FilepoolApiService Modify file pool policy. All input fields are optional, but one or more must be supplied. * @param ctx context.Context for authentication, logging, tracing, etc. @param filepoolPolicy @param filepoolPolicyId Modify file pool policy. All input fields are optional, but one or more must be supplied. @return

type FilepoolDefaultPolicy ¶

type FilepoolDefaultPolicy struct {

	// A default filepool policy object
	DefaultPolicy *FilepoolDefaultPolicyDefaultPolicy `json:"default-policy,omitempty"`
}

A default filepool policy object

type FilepoolDefaultPolicyAction ¶

type FilepoolDefaultPolicyAction struct {

	// Varies according to action_type
	ActionParam string `json:"action_param"`

	ActionType string `json:"action_type"`
}

type FilepoolDefaultPolicyDefaultPolicy ¶

type FilepoolDefaultPolicyDefaultPolicy struct {

	// A list of actions to be taken for matching files
	Actions []FilepoolDefaultPolicyDefaultPolicyAction `json:"actions,omitempty"`
}

type FilepoolDefaultPolicyDefaultPolicyAction ¶

type FilepoolDefaultPolicyDefaultPolicyAction struct {

	// Varies according to action_type
	ActionParam string `json:"action_param,omitempty"`

	ActionType string `json:"action_type"`
}

type FilepoolDefaultPolicyExtended ¶

type FilepoolDefaultPolicyExtended struct {
	Actions []FilepoolDefaultPolicyAction `json:"actions,omitempty"`
}

type FilepoolPolicies ¶

type FilepoolPolicies struct {
	Policies []FilepoolPolicyExtended `json:"policies,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type FilepoolPolicy ¶

type FilepoolPolicy struct {

	// A list of actions to be taken for matching files
	Actions []FilepoolPolicyAction `json:"actions,omitempty"`

	// The order in which this policy should be applied (relative to other policies)
	ApplyOrder int32 `json:"apply_order,omitempty"`

	// A description for this policy
	Description string `json:"description,omitempty"`

	// The file matching rules for this policy
	FileMatchingPattern *FilepoolPolicyFileMatchingPattern `json:"file_matching_pattern,omitempty"`

	// A unique name for this policy
	Name string `json:"name,omitempty"`
}

A filepool policy object

type FilepoolPolicyAction ¶

type FilepoolPolicyAction struct {

	// Varies according to action_type
	ActionParam string `json:"action_param"`

	ActionType string `json:"action_type"`
}

type FilepoolPolicyActionCreateParams ¶

type FilepoolPolicyActionCreateParams struct {

	// Varies according to action_type
	ActionParam string `json:"action_param"`

	ActionType string `json:"action_type"`
}

type FilepoolPolicyCreateParams ¶

type FilepoolPolicyCreateParams struct {

	// A list of actions to be taken for matching files
	Actions []FilepoolPolicyActionCreateParams `json:"actions,omitempty"`

	// The order in which this policy should be applied (relative to other policies)
	ApplyOrder int32 `json:"apply_order,omitempty"`

	// A description for this policy
	Description string `json:"description,omitempty"`

	// The file matching rules for this policy
	FileMatchingPattern *FilepoolPolicyFileMatchingPattern `json:"file_matching_pattern"`

	// A unique name for this policy
	Name string `json:"name"`
}

A filepool policy object

type FilepoolPolicyExtended ¶

type FilepoolPolicyExtended struct {

	// A list of actions to be taken for matching files
	Actions []FilepoolDefaultPolicyDefaultPolicyAction `json:"actions,omitempty"`

	// The order in which this policy should be applied (relative to other policies)
	ApplyOrder int32 `json:"apply_order,omitempty"`

	// The guid assigned to the cluster on which the account was created
	BirthClusterId string `json:"birth_cluster_id,omitempty"`

	// A description for this policy
	Description string `json:"description,omitempty"`

	// The file matching rules for this policy
	FileMatchingPattern *FilepoolPolicyFileMatchingPattern `json:"file_matching_pattern,omitempty"`

	// A unique identifier for this policy
	Id int32 `json:"id,omitempty"`

	// A unique name for this policy
	Name string `json:"name,omitempty"`

	// Indicates whether this policy is in a good state (\"OK\") or disabled (\"disabled\")
	State string `json:"state,omitempty"`

	// Gives further information to describe the state of this policy
	StateDetails string `json:"state_details,omitempty"`
}

type FilepoolPolicyFileMatchingPattern ¶

type FilepoolPolicyFileMatchingPattern struct {
	OrCriteria []FilepoolPolicyFileMatchingPatternOrCriteriaItem `json:"or_criteria"`
}

type FilepoolPolicyFileMatchingPatternOrCriteriaItem ¶

type FilepoolPolicyFileMatchingPatternOrCriteriaItem struct {
	AndCriteria []FilepoolPolicyFileMatchingPatternOrCriteriaItemAndCriteriaItem `json:"and_criteria"`
}

type FilepoolPolicyFileMatchingPatternOrCriteriaItemAndCriteriaItem ¶

type FilepoolPolicyFileMatchingPatternOrCriteriaItemAndCriteriaItem struct {

	// Indicates whether the existence of an attribute indicates a match (valid only with 'type' = 'custom_attribute')
	AttributeExists bool `json:"attribute_exists,omitempty"`

	// True to match files recursively under the given path. (valid only with 'type' = 'path')
	BeginsWith bool `json:"begins_with,omitempty"`

	// True to indicate case sensitivity when comparing file attributes (valid only with 'type' = 'name' or 'type' = 'path')
	CaseSensitive bool `json:"case_sensitive,omitempty"`

	// File attribute field name to be compared in a custom comparison (valid only with 'type' = 'custom_attribute')
	Field string `json:"field,omitempty"`

	// The comparison operator to use while comparing an attribute with its value
	Operator string `json:"operator,omitempty"`

	// The file attribute to be compared to a given value
	Type_ string `json:"type"`

	// Size unit value. One of 'B','KB','MB','GB','TB','PB','EB' (valid only with 'type' = 'size')
	Units string `json:"units,omitempty"`

	// Whether time units refer to a calendar date and time (e.g., Jun 3, 2009) or a relative duration (e.g., 2 weeks) (valid only with 'type' in {accessed_time, birth_time, changed_time or metadata_changed_time}
	UseRelativeTime bool `json:"use_relative_time,omitempty"`

	// The value to be compared against a file attribute
	Value string `json:"value,omitempty"`
}

type FilepoolTemplates ¶

type FilepoolTemplates struct {

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	Templates []FilepoolPolicyExtended `json:"templates,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type FilesystemApiService ¶

type FilesystemApiService service

func (*FilesystemApiService) GetSettingsAccessTime ¶

func (a *FilesystemApiService) GetSettingsAccessTime(ctx context.Context) (SettingsAccessTime, *http.Response, error)

FilesystemApiService Retrieve settings for access time. * @param ctx context.Context for authentication, logging, tracing, etc. @return SettingsAccessTime

func (*FilesystemApiService) GetSettingsCharacterEncodings ¶

func (a *FilesystemApiService) GetSettingsCharacterEncodings(ctx context.Context) (SettingsCharacterEncodings, *http.Response, error)

FilesystemApiService Retrieve current cluster character encoding settings. * @param ctx context.Context for authentication, logging, tracing, etc. @return SettingsCharacterEncodings

func (*FilesystemApiService) UpdateSettingsAccessTime ¶

func (a *FilesystemApiService) UpdateSettingsAccessTime(ctx context.Context, settingsAccessTime SettingsAccessTimeExtended) (*http.Response, error)

FilesystemApiService Set settings for access time. * @param ctx context.Context for authentication, logging, tracing, etc. @param settingsAccessTime @return

func (*FilesystemApiService) UpdateSettingsCharacterEncodings ¶

func (a *FilesystemApiService) UpdateSettingsCharacterEncodings(ctx context.Context, settingsCharacterEncodings SettingsCharacterEncodingsExtended) (*http.Response, error)

FilesystemApiService Set current character encoding. * @param ctx context.Context for authentication, logging, tracing, etc. @param settingsCharacterEncodings @return

type FsaApiService ¶

type FsaApiService service

func (*FsaApiService) DeleteFsaResult ¶

func (a *FsaApiService) DeleteFsaResult(ctx context.Context, fsaResultId string) (*http.Response, error)

FsaApiService Delete the result set. * @param ctx context.Context for authentication, logging, tracing, etc. @param fsaResultId Delete the result set. @return

func (*FsaApiService) DeleteFsaSettings ¶

func (a *FsaApiService) DeleteFsaSettings(ctx context.Context) (*http.Response, error)

FsaApiService Revert all settings to their defaults. * @param ctx context.Context for authentication, logging, tracing, etc. @return

func (*FsaApiService) GetFsaResult ¶

func (a *FsaApiService) GetFsaResult(ctx context.Context, fsaResultId string) (FsaResults, *http.Response, error)

FsaApiService Retrieve result set information. * @param ctx context.Context for authentication, logging, tracing, etc. @param fsaResultId Retrieve result set information. @return FsaResults

func (*FsaApiService) GetFsaResults ¶

func (a *FsaApiService) GetFsaResults(ctx context.Context) (FsaResultsExtended, *http.Response, error)

FsaApiService List all results. * @param ctx context.Context for authentication, logging, tracing, etc. @return FsaResultsExtended

func (*FsaApiService) GetFsaSettings ¶

func (a *FsaApiService) GetFsaSettings(ctx context.Context, localVarOptionals map[string]interface{}) (FsaSettings, *http.Response, error)

FsaApiService List all settings. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "scope" (string) If specified as effective or not specified, all fields are returned.  If specified as user, only fields with non-default values are shown.  If specified as default, the original values are returned.

@return FsaSettings

func (*FsaApiService) UpdateFsaResult ¶

func (a *FsaApiService) UpdateFsaResult(ctx context.Context, fsaResult FsaResult, fsaResultId string) (*http.Response, error)

FsaApiService Modify result set. Only the pinned property can be changed at this time. * @param ctx context.Context for authentication, logging, tracing, etc. @param fsaResult @param fsaResultId Modify result set. Only the pinned property can be changed at this time. @return

func (*FsaApiService) UpdateFsaSettings ¶

func (a *FsaApiService) UpdateFsaSettings(ctx context.Context, fsaSettings FsaSettingsSettings) (*http.Response, error)

FsaApiService Modify one or more settings. * @param ctx context.Context for authentication, logging, tracing, etc. @param fsaSettings @return

type FsaResult ¶

type FsaResult struct {

	// True if the result is pinned to prevent automatic removal.
	Pinned bool `json:"pinned"`
}

type FsaResultExtended ¶

type FsaResultExtended struct {

	// True if the result is pinned to prevent automatic removal.
	Pinned bool `json:"pinned"`

	// Unix Epoch time of start of results collection job.
	BeginTime int32 `json:"begin_time"`

	// Path to results database.
	ContentPath string `json:"content_path,omitempty"`

	// Resource to call with DELETE to remove results..
	DeleteLink string `json:"delete_link,omitempty"`

	// Unix Epoch time of end of results collection job.
	EndTime int32 `json:"end_time"`

	// State of the result set.
	FsaState string `json:"fsa_state"`

	// The system generated result set ID.
	Id int32 `json:"id"`

	// State information about the FSA Job.
	JobState []string `json:"job_state"`

	// Resource to call to get result properties.
	PropertiesLink string `json:"properties_link"`

	// Size of the result set database in bytes.
	Size int32 `json:"size"`

	// FSA version used to create result set.
	Version int32 `json:"version"`
}

type FsaResults ¶

type FsaResults struct {
	Results []FsaResultExtended `json:"results,omitempty"`
}

type FsaResultsApiService ¶

type FsaResultsApiService service

func (*FsaResultsApiService) GetHistogramStatBy ¶

func (a *FsaResultsApiService) GetHistogramStatBy(ctx context.Context, id string, stat string) (HistogramStatBy, *http.Response, error)

FsaResultsApiService This resource retrieves a histogram breakout for an individual FSA result set. ID in the resource path is the result set ID. * @param ctx context.Context for authentication, logging, tracing, etc. @param id @param stat @return HistogramStatBy

func (*FsaResultsApiService) GetHistogramStatByBreakout ¶

func (a *FsaResultsApiService) GetHistogramStatByBreakout(ctx context.Context, histogramStatByBreakout string, id string, stat string, localVarOptionals map[string]interface{}) (HistogramStatBy, *http.Response, error)

FsaResultsApiService This resource retrieves a histogram breakout for an individual FSA result set. ID in the resource path is the result set ID. * @param ctx context.Context for authentication, logging, tracing, etc. @param histogramStatByBreakout This resource retrieves a histogram breakout for an individual FSA result set. ID in the resource path is the result set ID. @param id @param stat @param optional (nil or map[string]interface{}) with one or more of:

@param "directoryFilter" (string) Filter according to a specific directory, which includes all of its subdirectories.
@param "attributeFilter" (string) Filter according to the name of a file user attribute.
@param "nodePoolFilter" (string) Filter according to the name of a node pool, which is a set of disk pools that belong to nodes of the same equivalence class.
@param "diskPoolFilter" (string) Filter according to the name of a disk pool, which is a set of drives that represent an independent failure domain.
@param "tierFilter" (string) Filter according to the name of a storage tier, which is a user-created set of node pools.
@param "compReport" (int32) Result set identifier for comparison of database results.
@param "logSizeFilter" (int32) Filter according to file logical size, where the filter value specifies the lower bound in bytes to a set of files that have been grouped by logical size. The list of valid log_size filter values may be found by performing a histogram breakout by log_size and viewing the resulting key values.
@param "physSizeFilter" (int32) Filter according to file physical size, where the filter value specifies the lower bound in bytes to a set of files that have been grouped by physical size. The list of valid phys_size filter values may be found by performing a histogram breakout by phys_size and viewing the resulting key values.
@param "limit" (int32) Limit the number of breakout results.
@param "pathExtFilter" (string) Filter according to the name of a single file extension.
@param "ctimeFilter" (int32) Filter according to file modified time, where the filter value specifies a negative number of seconds representing a time before the begin time of the report. The list of valid ctime filter values may be found by performing a histogram breakout by ctime and viewing the resulting key values.
@param "atimeFilter" (int32) Filter according to file accessed time, where the filter value specifies a negative number of seconds representing a time before the begin time of the report. The list of valid atime filter values may be found by performing a histogram breakout by atime and viewing the resulting key values.

@return HistogramStatBy

func (*FsaResultsApiService) GetResultDirectories ¶

func (a *FsaResultsApiService) GetResultDirectories(ctx context.Context, id string, localVarOptionals map[string]interface{}) (ResultDirectories, *http.Response, error)

FsaResultsApiService This resource retrieves directory information. ID in the resource path is the result set ID. * @param ctx context.Context for authentication, logging, tracing, etc. @param id @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "path" (string) Primary directory path to report usage information, which may be specified instead of a LIN.
@param "limit" (int32) Limit the number of reported subdirectories.
@param "compReport" (int32) Result set identifier for comparison of database results.
@param "dir" (string) The direction of the sort.

@return ResultDirectories

func (*FsaResultsApiService) GetResultDirectory ¶

func (a *FsaResultsApiService) GetResultDirectory(ctx context.Context, resultDirectoryId int32, id string, localVarOptionals map[string]interface{}) (ResultDirectories, *http.Response, error)

FsaResultsApiService This resource retrieves directory information. ID in the resource path is the result set ID. * @param ctx context.Context for authentication, logging, tracing, etc. @param resultDirectoryId This resource retrieves directory information. ID in the resource path is the result set ID. @param id @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "limit" (int32) Limit the number of reported subdirectories.
@param "compReport" (int32) Result set identifier for comparison of database results.
@param "dir" (string) The direction of the sort.

@return ResultDirectories

func (*FsaResultsApiService) GetResultHistogram ¶

func (a *FsaResultsApiService) GetResultHistogram(ctx context.Context, id string) (ResultHistogram, *http.Response, error)

FsaResultsApiService This resource retrieves a histogram of file counts for an individual FSA result set. ID in the resource path is the result set ID. * @param ctx context.Context for authentication, logging, tracing, etc. @param id @return ResultHistogram

func (*FsaResultsApiService) GetResultHistogramStat ¶

func (a *FsaResultsApiService) GetResultHistogramStat(ctx context.Context, resultHistogramStat string, id string, localVarOptionals map[string]interface{}) (ResultHistogram, *http.Response, error)

FsaResultsApiService This resource retrieves a histogram of file counts for an individual FSA result set. ID in the resource path is the result set ID. * @param ctx context.Context for authentication, logging, tracing, etc. @param resultHistogramStat This resource retrieves a histogram of file counts for an individual FSA result set. ID in the resource path is the result set ID. @param id @param optional (nil or map[string]interface{}) with one or more of:

@param "directoryFilter" (string) Filter according to a specific directory, which includes all of its subdirectories.
@param "attributeFilter" (string) Filter according to the name of a file user attribute.
@param "nodePoolFilter" (string) Filter according to the name of a node pool, which is a set of disk pools that belong to nodes of the same equivalence class.
@param "diskPoolFilter" (string) Filter according to the name of a disk pool, which is a set of drives that represent an independent failure domain.
@param "tierFilter" (string) Filter according to the name of a storage tier, which is a user-created set of node pools.
@param "compReport" (int32) Result set identifier for comparison of database results.
@param "logSizeFilter" (int32) Filter according to file logical size, where the filter value specifies the lower bound in bytes to a set of files that have been grouped by logical size. The list of valid log_size filter values may be found by performing a histogram breakout by log_size and viewing the resulting key values.
@param "physSizeFilter" (int32) Filter according to file physical size, where the filter value specifies the lower bound in bytes to a set of files that have been grouped by physical size. The list of valid phys_size filter values may be found by performing a histogram breakout by phys_size and viewing the resulting key values.
@param "pathExtFilter" (string) Filter according to the name of a single file extension.
@param "ctimeFilter" (int32) Filter according to file modified time, where the filter value specifies a negative number of seconds representing a time before the begin time of the report. The list of valid ctime filter values may be found by performing a histogram breakout by ctime and viewing the resulting key values.
@param "atimeFilter" (int32) Filter according to file accessed time, where the filter value specifies a negative number of seconds representing a time before the begin time of the report. The list of valid atime filter values may be found by performing a histogram breakout by atime and viewing the resulting key values.

@return ResultHistogram

func (*FsaResultsApiService) GetResultTopDir ¶

func (a *FsaResultsApiService) GetResultTopDir(ctx context.Context, resultTopDirId string, id string, localVarOptionals map[string]interface{}) (ResultTopDirs, *http.Response, error)

FsaResultsApiService This resource retrieves the top directories. ID in the resource path is the result set ID. * @param ctx context.Context for authentication, logging, tracing, etc. @param resultTopDirId This resource retrieves the top directories. ID in the resource path is the result set ID. @param id @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "start" (int32) Starting index for results. Default value of 0.
@param "limit" (int32) Number of results from start index. Default value of 1000.
@param "compReport" (int32) Result set identifier for comparison of database results.
@param "dir" (string) The direction of the sort.

@return ResultTopDirs

func (*FsaResultsApiService) GetResultTopDirs ¶

func (a *FsaResultsApiService) GetResultTopDirs(ctx context.Context, id string) (ResultTopDirs, *http.Response, error)

FsaResultsApiService This resource retrieves the top directories. ID in the resource path is the result set ID. * @param ctx context.Context for authentication, logging, tracing, etc. @param id @return ResultTopDirs

func (*FsaResultsApiService) GetResultTopFile ¶

func (a *FsaResultsApiService) GetResultTopFile(ctx context.Context, resultTopFileId string, id string, localVarOptionals map[string]interface{}) (ResultTopFiles, *http.Response, error)

FsaResultsApiService This resource retrieves the top files. ID in the resource path is the result set ID. * @param ctx context.Context for authentication, logging, tracing, etc. @param resultTopFileId This resource retrieves the top files. ID in the resource path is the result set ID. @param id @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "start" (int32) Starting index for results. Default value of 0.
@param "limit" (int32) Number of results from start index. Default value of 1000.
@param "compReport" (int32) Result set identifier for comparison of database results.
@param "dir" (string) The direction of the sort.

@return ResultTopFiles

func (*FsaResultsApiService) GetResultTopFiles ¶

func (a *FsaResultsApiService) GetResultTopFiles(ctx context.Context, id string) (ResultTopFiles, *http.Response, error)

FsaResultsApiService This resource retrieves the top files. ID in the resource path is the result set ID. * @param ctx context.Context for authentication, logging, tracing, etc. @param id @return ResultTopFiles

type FsaResultsExtended ¶

type FsaResultsExtended struct {
	Results []FsaResultExtended `json:"results,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type FsaSettings ¶

type FsaSettings struct {

	//
	Settings *FsaSettingsSettings `json:"settings,omitempty"`
}

type FsaSettingsSettings ¶

type FsaSettingsSettings struct {

	// Name of question template to use for new FSA jobs.
	DefaultTemplate string `json:"default_template,omitempty"`

	// Maximum directory depth used for disk_usage question if not specified in the question.
	DiskUsageDepth int32 `json:"disk_usage_depth,omitempty"`

	// Maximum age of non-pinned results in seconds.
	MaxAge int32 `json:"max_age,omitempty"`

	// Maximum number of non-pinned result sets to keep.
	MaxCount int32 `json:"max_count,omitempty"`

	// Squash depth to use for squash binning questions if not specified in the question.
	SquashDepth int32 `json:"squash_depth,omitempty"`

	// Maximum number of items in a Top-N question result if not specified in the question.
	TopNMax int32 `json:"top_n_max,omitempty"`

	// If true, use a snapshot for consistency, otherwise analyze head.
	UseSnapshot bool `json:"use_snapshot,omitempty"`
}

type FtpSettings ¶

type FtpSettings struct {

	// FTP settings.
	Settings *FtpSettingsSettings `json:"settings,omitempty"`
}

type FtpSettingsExtended ¶

type FtpSettingsExtended struct {

	// The timeout, in seconds, for a remote client to establish a PASV style data connection.
	AcceptTimeout int32 `json:"accept_timeout,omitempty"`

	// Controls whether anonymous logins are permitted or not.
	AllowAnonAccess bool `json:"allow_anon_access,omitempty"`

	// Controls whether anonymous users will be permitted to upload files.
	AllowAnonUpload bool `json:"allow_anon_upload,omitempty"`

	// If set to false, all directory list commands will return a permission denied error.
	AllowDirlists bool `json:"allow_dirlists,omitempty"`

	// If set to false, all downloads requests will return a permission denied error.
	AllowDownloads bool `json:"allow_downloads,omitempty"`

	// Controls whether local logins are permitted or not.
	AllowLocalAccess bool `json:"allow_local_access,omitempty"`

	// This controls whether any FTP commands which change the filesystem are allowed or not.
	AllowWrites bool `json:"allow_writes,omitempty"`

	// This controls whether FTP will always initially change directories to the home directory of the user, regardless of whether it is chroot-ing.
	AlwaysChdirHomedir bool `json:"always_chdir_homedir,omitempty"`

	// This is the name of the user who is given ownership of anonymously uploaded files.
	AnonChownUsername string `json:"anon_chown_username,omitempty"`

	// A list of passwords for anonymous users.
	AnonPasswordList []string `json:"anon_password_list,omitempty"`

	// This option represents a directory in /ifs which vsftpd will try to change into after an anonymous login.
	AnonRootPath string `json:"anon_root_path,omitempty"`

	// The value that the umask for file creation is set to for anonymous users.
	AnonUmask int32 `json:"anon_umask,omitempty"`

	// Controls whether ascii mode data transfers are honored for various types of requests.
	AsciiMode string `json:"ascii_mode,omitempty"`

	// A list of users that are not chrooted when logging in.
	ChrootExceptionList []string `json:"chroot_exception_list,omitempty"`

	// If set to 'all', all local users will be (by default) placed in a chroot() jail in their home directory after login. If set to 'all-with-exceptions', all local users except those listed in the chroot exception list (isi ftp chroot-exception-list) will be placed in a chroot() jail in their home directory after login. If set to 'none', no local users will be chrooted by default. If set to 'none-with-exceptions', only the local users listed in the chroot exception list (isi ftp chroot-exception-list) will be place in a chroot() jail in their home directory after login.
	ChrootLocalMode string `json:"chroot_local_mode,omitempty"`

	// The timeout, in seconds, for a remote client to respond to our PORT style data connection.
	ConnectTimeout int32 `json:"connect_timeout,omitempty"`

	// The timeout, in seconds, which is roughly the maximum time we permit data transfers to stall for with no progress. If the timeout triggers, the remote client is kicked off.
	DataTimeout int32 `json:"data_timeout,omitempty"`

	// A list of uses that will be denied access.
	DeniedUserList []string `json:"denied_user_list,omitempty"`

	// If enabled, display directory listings with the time in your local time zone. The default is to display GMT. The times returned by the MDTM FTP command are also affected by this option.
	DirlistLocaltime bool `json:"dirlist_localtime,omitempty"`

	// When set to 'hide',  all user and group information in directory listings will be displayed as 'ftp'. When set to 'textual', textual names are shown in the user and group fields of directory listings. When set to 'numeric', numeric IDs are show in the user and group fields of directory listings.
	DirlistNames string `json:"dirlist_names,omitempty"`

	// The permissions with which uploaded files are created. Umasks are applied on top of this value.
	FileCreatePerm int32 `json:"file_create_perm,omitempty"`

	// This field determines whether the anon_password_list is used.
	LimitAnonPasswords bool `json:"limit_anon_passwords,omitempty"`

	// This option represents a directory in /ifs which vsftpd will try to change into after a local login.
	LocalRootPath string `json:"local_root_path,omitempty"`

	// The value that the umask for file creation is set to for local users.
	LocalUmask int32 `json:"local_umask,omitempty"`

	// If enabled, allow server-to-server (FXP) transfers.
	ServerToServer bool `json:"server_to_server,omitempty"`

	// This field controls whether the FTP daemon is running.
	Service bool `json:"service,omitempty"`

	// If enabled, maintain login sessions for each user through Pluggable Authentication Modules (PAM). Disabling this option prevents the ability to do automatic home directory creation if that functionality were otherwise available.
	SessionSupport bool `json:"session_support,omitempty"`

	// The timeout, in seconds, which is roughly the maximum time we permit data transfers to stall for with no progress. If the timeout triggers, the remote client is kicked off.
	SessionTimeout int32 `json:"session_timeout,omitempty"`

	// Specifies the directory where per-user config overrides can be found.
	UserConfigDir string `json:"user_config_dir,omitempty"`
}

FTP settings.

type FtpSettingsSettings ¶

type FtpSettingsSettings struct {

	// The timeout, in seconds, for a remote client to establish a PASV style data connection.
	AcceptTimeout int32 `json:"accept_timeout,omitempty"`

	// Controls whether anonymous logins are permitted or not.
	AllowAnonAccess bool `json:"allow_anon_access,omitempty"`

	// Controls whether anonymous users will be permitted to upload files.
	AllowAnonUpload bool `json:"allow_anon_upload,omitempty"`

	// If set to false, all directory list commands will return a permission denied error.
	AllowDirlists bool `json:"allow_dirlists,omitempty"`

	// If set to false, all downloads requests will return a permission denied error.
	AllowDownloads bool `json:"allow_downloads,omitempty"`

	// Controls whether local logins are permitted or not.
	AllowLocalAccess bool `json:"allow_local_access,omitempty"`

	// This controls whether any FTP commands which change the filesystem are allowed or not.
	AllowWrites bool `json:"allow_writes,omitempty"`

	// This controls whether FTP will always initially change directories to the home directory of the user, regardless of whether it is chroot-ing.
	AlwaysChdirHomedir bool `json:"always_chdir_homedir,omitempty"`

	// This is the name of the user who is given ownership of anonymously uploaded files.
	AnonChownUsername string `json:"anon_chown_username,omitempty"`

	// A list of passwords for anonymous users.
	AnonPasswordList []string `json:"anon_password_list,omitempty"`

	// This option represents a directory in /ifs which vsftpd will try to change into after an anonymous login.
	AnonRootPath string `json:"anon_root_path,omitempty"`

	// The value that the umask for file creation is set to for anonymous users.
	AnonUmask int32 `json:"anon_umask,omitempty"`

	// Controls whether ascii mode data transfers are honored for various types of requests.
	AsciiMode string `json:"ascii_mode,omitempty"`

	// A list of users that are not chrooted when logging in.
	ChrootExceptionList []string `json:"chroot_exception_list,omitempty"`

	// If set to 'all', all local users will be (by default) placed in a chroot() jail in their home directory after login. If set to 'all-with-exceptions', all local users except those listed in the chroot exception list (isi ftp chroot-exception-list) will be placed in a chroot() jail in their home directory after login. If set to 'none', no local users will be chrooted by default. If set to 'none-with-exceptions', only the local users listed in the chroot exception list (isi ftp chroot-exception-list) will be place in a chroot() jail in their home directory after login.
	ChrootLocalMode string `json:"chroot_local_mode,omitempty"`

	// The timeout, in seconds, for a remote client to respond to our PORT style data connection.
	ConnectTimeout int32 `json:"connect_timeout,omitempty"`

	// The timeout, in seconds, which is roughly the maximum time we permit data transfers to stall for with no progress. If the timeout triggers, the remote client is kicked off.
	DataTimeout int32 `json:"data_timeout,omitempty"`

	// A list of uses that will be denied access.
	DeniedUserList []string `json:"denied_user_list,omitempty"`

	// If enabled, display directory listings with the time in your local time zone. The default is to display GMT. The times returned by the MDTM FTP command are also affected by this option.
	DirlistLocaltime bool `json:"dirlist_localtime,omitempty"`

	// When set to 'hide',  all user and group information in directory listings will be displayed as 'ftp'. When set to 'textual', textual names are shown in the user and group fields of directory listings. When set to 'numeric', numeric IDs are show in the user and group fields of directory listings.
	DirlistNames string `json:"dirlist_names,omitempty"`

	// The permissions with which uploaded files are created. Umasks are applied on top of this value.
	FileCreatePerm int32 `json:"file_create_perm,omitempty"`

	// This field determines whether the anon_password_list is used.
	LimitAnonPasswords bool `json:"limit_anon_passwords,omitempty"`

	// This option represents a directory in /ifs which vsftpd will try to change into after a local login.
	LocalRootPath string `json:"local_root_path,omitempty"`

	// The value that the umask for file creation is set to for local users.
	LocalUmask int32 `json:"local_umask,omitempty"`

	// If enabled, allow server-to-server (FXP) transfers.
	ServerToServer bool `json:"server_to_server,omitempty"`

	// This field controls whether the FTP daemon is running.
	Service bool `json:"service,omitempty"`

	// If enabled, maintain login sessions for each user through Pluggable Authentication Modules (PAM). Disabling this option prevents the ability to do automatic home directory creation if that functionality were otherwise available.
	SessionSupport bool `json:"session_support,omitempty"`

	// The timeout, in seconds, which is roughly the maximum time we permit data transfers to stall for with no progress. If the timeout triggers, the remote client is kicked off.
	SessionTimeout int32 `json:"session_timeout,omitempty"`

	// Specifies the directory where per-user config overrides can be found.
	UserConfigDir string `json:"user_config_dir,omitempty"`
}

type GroupMembers ¶

type GroupMembers struct {
	Members []AuthAccessAccessItemFileGroup `json:"members,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`
}

type GroupnetSubnet ¶

type GroupnetSubnet struct {

	// A description of the subnet.
	Description string `json:"description,omitempty"`

	// List of Direct Server Return addresses.
	DsrAddrs []string `json:"dsr_addrs,omitempty"`

	// Gateway IP address.
	Gateway string `json:"gateway,omitempty"`

	// Gateway priority.
	GatewayPriority int32 `json:"gateway_priority,omitempty"`

	// MTU of the subnet.
	Mtu int32 `json:"mtu,omitempty"`

	// The name of the subnet.
	Name string `json:"name,omitempty"`

	// Subnet Prefix Length.
	Prefixlen int32 `json:"prefixlen,omitempty"`

	// The address that SmartConnect listens for DNS requests.
	ScServiceAddr string `json:"sc_service_addr,omitempty"`

	// Domain Name corresponding to the SmartConnect Service Address.
	ScServiceName string `json:"sc_service_name,omitempty"`

	// VLAN tagging enabled or disabled.
	VlanEnabled bool `json:"vlan_enabled,omitempty"`

	// VLAN ID for all interfaces in the subnet.
	VlanId int32 `json:"vlan_id,omitempty"`
}

type GroupnetSubnetCreateParams ¶

type GroupnetSubnetCreateParams struct {

	// A description of the subnet.
	Description string `json:"description,omitempty"`

	// List of Direct Server Return addresses.
	DsrAddrs []string `json:"dsr_addrs,omitempty"`

	// Gateway IP address.
	Gateway string `json:"gateway,omitempty"`

	// Gateway priority.
	GatewayPriority int32 `json:"gateway_priority,omitempty"`

	// MTU of the subnet.
	Mtu int32 `json:"mtu,omitempty"`

	// The name of the subnet.
	Name string `json:"name"`

	// Subnet Prefix Length.
	Prefixlen int32 `json:"prefixlen"`

	// The address that SmartConnect listens for DNS requests.
	ScServiceAddr string `json:"sc_service_addr,omitempty"`

	// Domain Name corresponding to the SmartConnect Service Address.
	ScServiceName string `json:"sc_service_name,omitempty"`

	// VLAN tagging enabled or disabled.
	VlanEnabled bool `json:"vlan_enabled,omitempty"`

	// VLAN ID for all interfaces in the subnet.
	VlanId int32 `json:"vlan_id,omitempty"`

	// IP address format.
	AddrFamily string `json:"addr_family"`
}

type GroupnetSubnetExtended ¶

type GroupnetSubnetExtended struct {

	// A description of the subnet.
	Description string `json:"description,omitempty"`

	// List of Direct Server Return addresses.
	DsrAddrs []string `json:"dsr_addrs,omitempty"`

	// Gateway IP address.
	Gateway string `json:"gateway,omitempty"`

	// Gateway priority.
	GatewayPriority int32 `json:"gateway_priority,omitempty"`

	// MTU of the subnet.
	Mtu int32 `json:"mtu,omitempty"`

	// The name of the subnet.
	Name string `json:"name,omitempty"`

	// Subnet Prefix Length.
	Prefixlen int32 `json:"prefixlen,omitempty"`

	// The address that SmartConnect listens for DNS requests.
	ScServiceAddr string `json:"sc_service_addr,omitempty"`

	// Domain Name corresponding to the SmartConnect Service Address.
	ScServiceName string `json:"sc_service_name,omitempty"`

	// VLAN tagging enabled or disabled.
	VlanEnabled bool `json:"vlan_enabled,omitempty"`

	// VLAN ID for all interfaces in the subnet.
	VlanId int32 `json:"vlan_id,omitempty"`

	// IP address format.
	AddrFamily string `json:"addr_family,omitempty"`

	// The base IP address.
	BaseAddr string `json:"base_addr,omitempty"`

	// Name of the groupnet this subnet belongs to.
	Groupnet string `json:"groupnet,omitempty"`

	// Unique Subnet ID.
	Id string `json:"id,omitempty"`

	// Name of the pools in the subnet.
	Pools []string `json:"pools,omitempty"`
}

type GroupnetSubnets ¶

type GroupnetSubnets struct {
	Subnets []GroupnetSubnetExtended `json:"subnets,omitempty"`
}

type GroupnetSubnetsExtended ¶

type GroupnetSubnetsExtended struct {
	Subnets []GroupnetSubnetExtended `json:"subnets,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type HardeningApiService ¶

type HardeningApiService service

func (*HardeningApiService) CreateHardeningApplyItem ¶

func (a *HardeningApiService) CreateHardeningApplyItem(ctx context.Context, hardeningApplyItem HardeningApplyItem) (CreateHardeningApplyItemResponse, *http.Response, error)

HardeningApiService Apply hardening on the cluster. * @param ctx context.Context for authentication, logging, tracing, etc. @param hardeningApplyItem @return CreateHardeningApplyItemResponse

func (*HardeningApiService) CreateHardeningResolveItem ¶

func (a *HardeningApiService) CreateHardeningResolveItem(ctx context.Context, hardeningResolveItem HardeningResolveItem, localVarOptionals map[string]interface{}) (CreateHardeningResolveItemResponse, *http.Response, error)

HardeningApiService Resolve issues related to hardening, found in current cluster configuration. * @param ctx context.Context for authentication, logging, tracing, etc. @param hardeningResolveItem @param optional (nil or map[string]interface{}) with one or more of:

@param "accept" (bool) If true, execution proceeds to resolve all issues. If false, executrion aborts. This is a required argument.

@return CreateHardeningResolveItemResponse

func (*HardeningApiService) CreateHardeningRevertItem ¶

func (a *HardeningApiService) CreateHardeningRevertItem(ctx context.Context, hardeningRevertItem Empty, localVarOptionals map[string]interface{}) (CreateHardeningRevertItemResponse, *http.Response, error)

HardeningApiService Revert hardening on the cluster. * @param ctx context.Context for authentication, logging, tracing, etc. @param hardeningRevertItem @param optional (nil or map[string]interface{}) with one or more of:

@param "force" (bool) If specified, revert operation continues even in case of a failure. Default is false in which case revert stops at the first failure.

@return CreateHardeningRevertItemResponse

func (*HardeningApiService) GetHardeningState ¶

func (a *HardeningApiService) GetHardeningState(ctx context.Context) (HardeningState, *http.Response, error)

HardeningApiService Get the state of the current hardening operation, if one is happening. Note that this is different from the /status resource, which returns the overall hardening status of the cluster. * @param ctx context.Context for authentication, logging, tracing, etc. @return HardeningState

func (*HardeningApiService) GetHardeningStatus ¶

func (a *HardeningApiService) GetHardeningStatus(ctx context.Context) (HardeningStatus, *http.Response, error)

HardeningApiService Get a message indicating whether or not the cluster is hardened. Note that this is different from the /state resource, which returns the state of a specific hardening operation (apply or revert). * @param ctx context.Context for authentication, logging, tracing, etc. @return HardeningStatus

type HardeningApplyItem ¶

type HardeningApplyItem struct {

	// Hardening profile.
	Profile string `json:"profile,omitempty"`

	// Option to only generate and display a report on current cluster configuration with respect to the expected configuation required to apply hardening. If his option is set to true, hardening is not applied after the report is displayed. By default, this option is false.
	Report bool `json:"report,omitempty"`
}

Apply hardening on the cluster.

type HardeningResolveItem ¶

type HardeningResolveItem struct {

	// Hardening profile.
	Profile string `json:"profile,omitempty"`
}

Resolve Issues found on the cluster.

type HardeningState ¶

type HardeningState struct {

	// The state of hardening operation on the cluster.
	State *HardeningStateState `json:"state,omitempty"`
}

type HardeningStateState ¶

type HardeningStateState struct {

	// Full path name of issues file, or null if no issues file is configured. This file contains all issues found when the cluster configuration is checked against expected configuration.
	IssuesFile string `json:"issues_file,omitempty"`

	// This contains more information and details about the operation state.
	Message string `json:"message,omitempty"`

	// The state of the hardening operation. In case there is no operation currently going on, this will display the last state of operation.
	State string `json:"state,omitempty"`
}

type HardeningStatus ¶

type HardeningStatus struct {

	// Hardening Status of the cluster.
	Status *HardeningStatusStatus `json:"status,omitempty"`
}

type HardeningStatusStatus ¶

type HardeningStatusStatus struct {

	// Status text containing cluster-level and nodewise hardening status. Also includes hardening profile if hardening is enabled on at least one node.
	Message string `json:"message,omitempty"`
}

type HardwareApiService ¶

type HardwareApiService service

func (*HardwareApiService) CreateHardwareTapeName ¶

func (a *HardwareApiService) CreateHardwareTapeName(ctx context.Context, hardwareTapeName Empty, hardwareTapeName2 string, localVarOptionals map[string]interface{}) (CreateHardwareTapeNameResponse, *http.Response, error)

HardwareApiService Tape/Changer devices rescan * @param ctx context.Context for authentication, logging, tracing, etc. @param hardwareTapeName @param hardwareTapeName2 Tape/Changer devices rescan @param optional (nil or map[string]interface{}) with one or more of:

@param "lnn" (string) Logical node number.
@param "port" (int32) Scan only specified port.
@param "timeout" (float32) Timeout for request.
@param "reconcile" (bool) Remove entries for devices or paths that have become inaccessible.

@return CreateHardwareTapeNameResponse

func (*HardwareApiService) DeleteHardwareTapeName ¶

func (a *HardwareApiService) DeleteHardwareTapeName(ctx context.Context, hardwareTapeName string) (*http.Response, error)

HardwareApiService Tape/Changer devices remove * @param ctx context.Context for authentication, logging, tracing, etc. @param hardwareTapeName Tape/Changer devices remove @return

func (*HardwareApiService) GetHardwareFcport ¶

func (a *HardwareApiService) GetHardwareFcport(ctx context.Context, hardwareFcportId int32, localVarOptionals map[string]interface{}) (HardwareFcports, *http.Response, error)

HardwareApiService Get one fibre-channel port * @param ctx context.Context for authentication, logging, tracing, etc. @param hardwareFcportId Get one fibre-channel port @param optional (nil or map[string]interface{}) with one or more of:

@param "lnn" (string) Logical node number.

@return HardwareFcports

func (*HardwareApiService) GetHardwareFcports ¶

func (a *HardwareApiService) GetHardwareFcports(ctx context.Context, localVarOptionals map[string]interface{}) (HardwareFcports, *http.Response, error)

HardwareApiService Get list of fibre-channel ports * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "lnn" (string) Logical node number.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).

@return HardwareFcports

func (*HardwareApiService) GetHardwareTapes ¶

func (a *HardwareApiService) GetHardwareTapes(ctx context.Context, localVarOptionals map[string]interface{}) (HardwareTapes, *http.Response, error)

HardwareApiService Get list Tape and Changer devices * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "node" (string) List only devices on the specified node.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
@param "devname" (string) List only the named device.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "activepath" (string) List devices with only active paths.
@param "type_" (string) Restrict to list on tape or mc device.

@return HardwareTapes

func (*HardwareApiService) UpdateHardwareFcport ¶

func (a *HardwareApiService) UpdateHardwareFcport(ctx context.Context, hardwareFcport HardwareFcport, hardwareFcportId int32, localVarOptionals map[string]interface{}) (*http.Response, error)

HardwareApiService Change wwnn, wwpn, state, topology, or rate of a FC port * @param ctx context.Context for authentication, logging, tracing, etc. @param hardwareFcport @param hardwareFcportId Change wwnn, wwpn, state, topology, or rate of a FC port @param optional (nil or map[string]interface{}) with one or more of:

@param "lnn" (string) Logical node number.

@return

func (*HardwareApiService) UpdateHardwareTapeName ¶

func (a *HardwareApiService) UpdateHardwareTapeName(ctx context.Context, hardwareTapeNameParams HardwareTapeNameParams, hardwareTapeName string) (*http.Response, error)

HardwareApiService Tape/Changer device modify * @param ctx context.Context for authentication, logging, tracing, etc. @param hardwareTapeNameParams @param hardwareTapeName Tape/Changer device modify @return

type HardwareFcport ¶

type HardwareFcport struct {

	// The unique display id
	Id string `json:"id,omitempty"`

	Rate string `json:"rate,omitempty"`

	// State of the port
	State string `json:"state,omitempty"`

	Topology string `json:"topology,omitempty"`

	// World wide node name of the port
	Wwnn string `json:"wwnn,omitempty"`

	// World wide port name of the port
	Wwpn string `json:"wwpn,omitempty"`
}

type HardwareFcports ¶

type HardwareFcports struct {

	// A list of errors encountered by the individual nodes involved in this request, or an empty list if there were no errors.
	Errors []NodeDrivesPurposelistError `json:"errors,omitempty"`

	// The responses from the individual nodes involved in this request.
	Nodes []HardwareFcportsNode `json:"nodes,omitempty"`

	// The total number of nodes responding.
	Total int32 `json:"total,omitempty"`
}

type HardwareFcportsNode ¶

type HardwareFcportsNode struct {

	// Error message, if the HTTP status returned from this node was not 200.
	Error_ string `json:"error,omitempty"`

	// A list of the FC ports on this node.
	Fcports []HardwareFcportsNodeFcport `json:"fcports,omitempty"`

	// Node ID of the node reporting this information.
	Id int32 `json:"id,omitempty"`

	// Logical node number of the node reporting this information.
	Lnn int32 `json:"lnn,omitempty"`

	// Status of the HTTP response from this node if not 200.  If 200, this field does not appear.
	Status int32 `json:"status,omitempty"`
}

type HardwareFcportsNodeFcport ¶

type HardwareFcportsNodeFcport struct {

	// The unique display id
	Id string `json:"id,omitempty"`

	// Port ID
	Port string `json:"port,omitempty"`

	Rate string `json:"rate,omitempty"`

	// State of the port
	State string `json:"state,omitempty"`

	Topology string `json:"topology,omitempty"`

	// World wide node name of the port
	Wwnn string `json:"wwnn,omitempty"`

	// World wide port name of the port
	Wwpn string `json:"wwpn,omitempty"`
}

type HardwareStartItem ¶

type HardwareStartItem struct {

	// The nodepool ID or name on which to start the upgrade.
	NodePool string `json:"node_pool"`

	// The type of upgrade to start.
	UpgradeType string `json:"upgrade_type"`
}

type HardwareStatus ¶

type HardwareStatus struct {
	Status []HardwareStatusStatusItem `json:"status,omitempty"`
}

type HardwareStatusStatusItem ¶

type HardwareStatusStatusItem struct {

	// The ID of this upgrade.
	Id string `json:"id"`

	// Name of the upgrading pool.
	NodepoolName string `json:"nodepool_name,omitempty"`

	// The lnns of the nodes in the pool that haven't been upgraded yet.
	UnupgradedLnns []int32 `json:"unupgraded_lnns"`

	// The type of upgrade this is.
	UpgradeType string `json:"upgrade_type"`

	// The lnns of the nodes in the pool that have been successsfully upgraded.
	UpgradedLnns []int32 `json:"upgraded_lnns"`
}

type HardwareStopItem ¶

type HardwareStopItem struct {

	// The nodepool ID or name on which to stop the upgrade.
	NodePool string `json:"node_pool"`

	// Argument to indicate whether the nodepool should split into upgraded and non-upgraded pools or not. Default is false.
	Split bool `json:"split,omitempty"`
}

type HardwareTapeNameParams ¶

type HardwareTapeNameParams struct {

	// The name of the device
	Name string `json:"name,omitempty"`

	// Set the device state to close
	State string `json:"state,omitempty"`
}

type HardwareTapes ¶

type HardwareTapes struct {

	// Information of Tape/MC device
	Devices *HardwareTapesDevices `json:"devices,omitempty"`

	// Resume string returned by previous query.
	Resume string `json:"resume,omitempty"`

	// The number of devices
	Total int32 `json:"total,omitempty"`
}

Get list Tape and Changer devices

type HardwareTapesDevices ¶

type HardwareTapesDevices struct {
}

type HdfsLogLevel ¶

type HdfsLogLevel struct {

	// Setup the HDFS service log level for this node
	Level string `json:"level,omitempty"`
}

type HdfsProxyuser ¶

type HdfsProxyuser struct {

	// The ID of the role.
	Id string `json:"id"`

	// Users or groups impersonated by proxyuser.
	Members []AuthAccessAccessItemFileGroup `json:"members"`

	// The name of the proxyuser.
	Name string `json:"name"`
}

type HdfsProxyuserCreateParams ¶

type HdfsProxyuserCreateParams struct {

	// The ID of the role.
	Id string `json:"id,omitempty"`

	// Users or groups impersonated by proxyuser.
	Members []AuthAccessAccessItemFileGroup `json:"members,omitempty"`

	// The name of the proxyuser.
	Name string `json:"name"`
}

This is hdfs impersonation information of a proxyuser

type HdfsProxyusers ¶

type HdfsProxyusers struct {
	Proxyusers []HdfsProxyuser `json:"proxyusers,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type HdfsRack ¶

type HdfsRack struct {

	// Array of IP ranges. Clients from one of these IP ranges are served by corresponding nodes from ip_pools array.
	ClientIpRanges []string `json:"client_ip_ranges,omitempty"`

	// Array of IP pool names to use for serving clients from client_ip_ranges.
	IpPools []string `json:"ip_pools,omitempty"`

	// Name of the rack
	Name string `json:"name,omitempty"`
}

This is schema that contains HDFS rack properties.

type HdfsRackCreateParams ¶

type HdfsRackCreateParams struct {

	// Array of IP ranges. Clients from one of these IP ranges are served by corresponding nodes from ip_pools array.
	ClientIpRanges []string `json:"client_ip_ranges,omitempty"`

	// Array of IP pool names to use for serving clients from client_ip_ranges.
	IpPools []string `json:"ip_pools,omitempty"`

	// Name of the rack
	Name string `json:"name"`
}

type HdfsRackExtended ¶

type HdfsRackExtended struct {

	// Array of IP ranges. Clients from one of these IP ranges are served by corresponding nodes from ip_pools array.
	ClientIpRanges []string `json:"client_ip_ranges,omitempty"`

	// Array of IP pool names to use for serving clients from client_ip_ranges.
	IpPools []string `json:"ip_pools,omitempty"`

	// Name of the rack
	Name string `json:"name,omitempty"`

	// The ID of the rack.
	Id string `json:"id,omitempty"`
}

type HdfsRacks ¶

type HdfsRacks struct {
	Racks []HdfsRackExtended `json:"racks,omitempty"`
}

type HdfsRacksExtended ¶

type HdfsRacksExtended struct {
	Racks []HdfsRackExtended `json:"racks,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type HdfsRangerPluginSettings ¶

type HdfsRangerPluginSettings struct {

	// Settings for the HDFS ranger plugin
	Settings *HdfsRangerPluginSettingsSettings `json:"settings,omitempty"`
}

type HdfsRangerPluginSettingsSettings ¶

type HdfsRangerPluginSettingsSettings struct {

	// Enable or disable the HDFS ranger plugin
	Enabled bool `json:"enabled,omitempty"`

	// The scheme, hostname, and port of the Apache Ranger server (e.g. http://ranger.com:6080)
	PolicyManagerUrl string `json:"policy_manager_url,omitempty"`

	// The HDFS repository name that is registered with Apache Ranger server
	RepositoryName string `json:"repository_name,omitempty"`
}

type HdfsSettings ¶

type HdfsSettings struct {

	// This is schema that contains HDFS protocol properties.
	Settings *HdfsSettingsSettings `json:"settings,omitempty"`
}

type HdfsSettingsSettings ¶

type HdfsSettingsSettings struct {

	// Ambari metrics collector
	AmbariMetricsCollector string `json:"ambari_metrics_collector,omitempty"`

	// NameNode of Ambari server
	AmbariNamenode string `json:"ambari_namenode,omitempty"`

	// Ambari server
	AmbariServer string `json:"ambari_server,omitempty"`

	// Type of authentication for HDFS protocol.
	AuthenticationMode string `json:"authentication_mode,omitempty"`

	// Encryption algorithm to use for data transfer (if any)
	DataTransferCipher string `json:"data_transfer_cipher,omitempty"`

	// Block size (size=2**value) reported by HDFS server.
	DefaultBlockSize int32 `json:"default_block_size,omitempty"`

	// Checksum type reported by HDFS server.
	DefaultChecksumType string `json:"default_checksum_type,omitempty"`

	// ODP stack repository version number
	OdpVersion string `json:"odp_version,omitempty"`

	// HDFS root directory
	RootDirectory string `json:"root_directory,omitempty"`

	// Enable or disable the HDFS service.
	Service bool `json:"service,omitempty"`

	// Enable or disable WebHDFS
	WebhdfsEnabled bool `json:"webhdfs_enabled,omitempty"`
}

type HistogramStatBy ¶

type HistogramStatBy struct {

	// Unix Epoch time of start of results collection job.
	BeginTime int32 `json:"begin_time"`

	// Histogram breakout data according to breakout parameter.
	Breakouts []HistogramStatByBreakout `json:"breakouts"`

	// Total length of the result list.
	ResultLength int32 `json:"result_length"`
}

type HistogramStatByBreakout ¶

type HistogramStatByBreakout struct {

	// List of bucket, file count pairs.
	Data [][]int32 `json:"data"`

	// Breakout key by which results are filtered.
	Key string `json:"key"`
}

type HistoryFile ¶

type HistoryFile struct {
	Statistics []HistoryFileStatistic `json:"statistics,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type HistoryFileStatistic ¶

type HistoryFileStatistic struct {

	// Nodes allocated for the sync action.
	Allocated int32 `json:"allocated"`

	// An ID for a single performance report.
	Id int32 `json:"id"`

	// Sync action limit.
	Limit int32 `json:"limit"`

	// Timestamp for the performance report.
	Timestamp int32 `json:"timestamp"`

	// Total usage for the performance report.
	Total int32 `json:"total"`
}

type HttpSettings ¶

type HttpSettings struct {

	// This is schema that contains HTTP protocol properties.
	Settings *HttpSettingsSettings `json:"settings,omitempty"`
}

type HttpSettingsSettings ¶

type HttpSettingsSettings struct {

	// Enable Access Control Authentication
	AccessControl bool `json:"access_control,omitempty"`

	// Enable Basic Authentication
	BasicAuthentication bool `json:"basic_authentication,omitempty"`

	// Enable DAV specification
	Dav bool `json:"dav,omitempty"`

	// Enable HTTP access logging
	EnableAccessLog bool `json:"enable_access_log,omitempty"`

	// Use HTTPS transport
	Https bool `json:"https,omitempty"`

	// Enable Integrated Authentication
	IntegratedAuthentication bool `json:"integrated_authentication,omitempty"`

	// Document root directory. Must be within /ifs.
	ServerRoot string `json:"server_root,omitempty"`

	// Enable/disable the HTTP service or redirect to WebUI.
	Service string `json:"service,omitempty"`
}

type IdResolutionApiService ¶

type IdResolutionApiService service

func (*IdResolutionApiService) GetIdResolutionPath ¶

func (a *IdResolutionApiService) GetIdResolutionPath(ctx context.Context, idResolutionPathId int32) (IdResolutionPaths, *http.Response, error)

IdResolutionApiService List lin to path mappings. * @param ctx context.Context for authentication, logging, tracing, etc. @param idResolutionPathId List lin to path mappings. @return IdResolutionPaths

func (*IdResolutionApiService) GetIdResolutionPaths ¶

func (a *IdResolutionApiService) GetIdResolutionPaths(ctx context.Context, localVarOptionals map[string]interface{}) (IdResolutionPathsExtended, *http.Response, error)

IdResolutionApiService List lin to path mappings. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "lins" (string) A comma separated list specifying the lins that will be mapped with a path. Only the lins specified in this list will be mapped.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "dir" (string) The direction of the sort.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).

@return IdResolutionPathsExtended

type IdResolutionPath ¶

type IdResolutionPath struct {

	// Logical Inode Number (LIN). A 64-bit number which uniquely identifies a file throughout its life.
	Lin string `json:"lin,omitempty"`

	// The full path associated with the lin. null if the lin cannot be resolved to a path.
	Path string `json:"path,omitempty"`
}

type IdResolutionPaths ¶

type IdResolutionPaths struct {
	Paths []IdResolutionPath `json:"paths,omitempty"`
}

type IdResolutionPathsError ¶

type IdResolutionPathsError struct {
	Field string `json:"field,omitempty"`

	FieldValue string `json:"field_value,omitempty"`

	Message string `json:"message,omitempty"`
}

type IdResolutionPathsExtended ¶

type IdResolutionPathsExtended struct {
	Paths []IdResolutionPath `json:"paths,omitempty"`

	Errors []IdResolutionPathsError `json:"errors,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type JobApiService ¶

type JobApiService service

func (*JobApiService) CreateJobJob ¶

JobApiService Queue a new instance of a job type. * @param ctx context.Context for authentication, logging, tracing, etc. @param jobJob @return CreateJobJobResponse

func (*JobApiService) CreateJobPolicy ¶

func (a *JobApiService) CreateJobPolicy(ctx context.Context, jobPolicy JobPolicyCreateParams) (CreateResponse, *http.Response, error)

JobApiService Create a new job impact policy. * @param ctx context.Context for authentication, logging, tracing, etc. @param jobPolicy @return CreateResponse

func (*JobApiService) DeleteJobPolicy ¶

func (a *JobApiService) DeleteJobPolicy(ctx context.Context, jobPolicyId string) (*http.Response, error)

JobApiService Delete a job impact policy. System policies may not be deleted. * @param ctx context.Context for authentication, logging, tracing, etc. @param jobPolicyId Delete a job impact policy. System policies may not be deleted. @return

func (*JobApiService) GetJobEvents ¶

func (a *JobApiService) GetJobEvents(ctx context.Context, localVarOptionals map[string]interface{}) (JobEvents, *http.Response, error)

JobApiService List job events. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "begin" (int32) Restrict the query to events at or after the given time, in seconds since the Epoch.
@param "end" (int32) Restrict the query to events before the given time, in seconds since the Epoch.
@param "jobId" (int32) Restrict the query to the given job ID.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
@param "jobType" (string) Restrict the query to the given job type.
@param "timeoutMs" (int32) Query timeout in milliseconds. The default is 10000 ms.
@param "state" (string) Restrict the query to events containing the given state.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "key" (string) Restrict the query to the given key name.

@return JobEvents

func (*JobApiService) GetJobJob ¶

func (a *JobApiService) GetJobJob(ctx context.Context, jobJobId string) (JobJobs, *http.Response, error)

JobApiService View a single job instance. * @param ctx context.Context for authentication, logging, tracing, etc. @param jobJobId View a single job instance. @return JobJobs

func (*JobApiService) GetJobJobSummary ¶

func (a *JobApiService) GetJobJobSummary(ctx context.Context) (JobJobSummary, *http.Response, error)

JobApiService View job engine status. * @param ctx context.Context for authentication, logging, tracing, etc. @return JobJobSummary

func (*JobApiService) GetJobPolicy ¶

func (a *JobApiService) GetJobPolicy(ctx context.Context, jobPolicyId string) (JobPolicies, *http.Response, error)

JobApiService View a single job impact policy. * @param ctx context.Context for authentication, logging, tracing, etc. @param jobPolicyId View a single job impact policy. @return JobPolicies

func (*JobApiService) GetJobRecent ¶

func (a *JobApiService) GetJobRecent(ctx context.Context, localVarOptionals map[string]interface{}) (JobRecent, *http.Response, error)

JobApiService List recently completed jobs. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "timeoutMs" (int32) Query timeout in milliseconds. The default is 10000 ms.
@param "limit" (int32) Max number of recent jobs to return. The default is 8, the max is 100.

@return JobRecent

func (*JobApiService) GetJobReports ¶

func (a *JobApiService) GetJobReports(ctx context.Context, localVarOptionals map[string]interface{}) (JobReports, *http.Response, error)

JobApiService List job reports. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "begin" (int32) Restrict the query to reports at or after the given time, in seconds since the Epoch.
@param "end" (int32) Restrict the query to reports before the given time, in seconds since the Epoch.
@param "jobId" (int32) Restrict the query to the given job ID.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
@param "jobType" (string) Restrict the query to the given job type.
@param "timeoutMs" (int32) Query timeout in milliseconds. The default is 10000 ms.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "key" (string) Restrict the query to the given report key.
@param "verbose" (bool) Display more detailed information, including job engine framework statistics.

@return JobReports

func (*JobApiService) GetJobStatistics ¶

func (a *JobApiService) GetJobStatistics(ctx context.Context, localVarOptionals map[string]interface{}) (JobStatistics, *http.Response, error)

JobApiService View job engine statistics. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "devid" (int32) Restrict the query to the given node.
@param "jobId" (int32) Restrict the query to the given job ID.

@return JobStatistics

func (*JobApiService) GetJobType ¶

func (a *JobApiService) GetJobType(ctx context.Context, jobTypeId string) (JobTypes, *http.Response, error)

JobApiService Retrieve job type information. * @param ctx context.Context for authentication, logging, tracing, etc. @param jobTypeId Retrieve job type information. @return JobTypes

func (*JobApiService) GetJobTypes ¶

func (a *JobApiService) GetJobTypes(ctx context.Context, localVarOptionals map[string]interface{}) (JobTypesExtended, *http.Response, error)

JobApiService List job types. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "showAll" (bool) Whether to show all job types, including hidden ones.  Defaults to false.
@param "dir" (string) The direction of the sort.

@return JobTypesExtended

func (*JobApiService) ListJobJobs ¶

func (a *JobApiService) ListJobJobs(ctx context.Context, localVarOptionals map[string]interface{}) (JobJobsExtended, *http.Response, error)

JobApiService List running and paused jobs. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
@param "batch" (bool) If true, other arguments are ignored, and the query will return all results, unsorted, as quickly as possible.
@param "state" (string) Limit the results to jobs in the specified state.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "dir" (string) The direction of the sort.

@return JobJobsExtended

func (*JobApiService) ListJobPolicies ¶

func (a *JobApiService) ListJobPolicies(ctx context.Context, localVarOptionals map[string]interface{}) (JobPoliciesExtended, *http.Response, error)

JobApiService List job impact policies. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "dir" (string) The direction of the sort.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).

@return JobPoliciesExtended

func (*JobApiService) UpdateJobJob ¶

func (a *JobApiService) UpdateJobJob(ctx context.Context, jobJob JobJob, jobJobId string) (*http.Response, error)

JobApiService Modify a running or paused job instance. All input fields are optional, but one or more must be supplied. * @param ctx context.Context for authentication, logging, tracing, etc. @param jobJob @param jobJobId Modify a running or paused job instance. All input fields are optional, but one or more must be supplied. @return

func (*JobApiService) UpdateJobPolicy ¶

func (a *JobApiService) UpdateJobPolicy(ctx context.Context, jobPolicy JobPolicy, jobPolicyId string) (*http.Response, error)

JobApiService Modify a job impact policy. * @param ctx context.Context for authentication, logging, tracing, etc. @param jobPolicy @param jobPolicyId Modify a job impact policy. @return

func (*JobApiService) UpdateJobType ¶

func (a *JobApiService) UpdateJobType(ctx context.Context, jobType JobType, jobTypeId string) (*http.Response, error)

JobApiService Modify the job type. All input fields are optional, but one or more must be supplied. * @param ctx context.Context for authentication, logging, tracing, etc. @param jobType @param jobTypeId Modify the job type. All input fields are optional, but one or more must be supplied. @return

type JobEvent ¶

type JobEvent struct {

	// Event flags.
	Flags string `json:"flags"`

	// A string representation of the type of the data value.
	FmtType string `json:"fmt_type"`

	// Job event ID.
	Id int32 `json:"id"`

	// Job ID.
	JobId int32 `json:"job_id"`

	// Job Type.
	JobType string `json:"job_type"`

	// Event key name.
	Key string `json:"key"`

	// Job phase number at time of event.
	Phase int32 `json:"phase"`

	// An integer representation of the type of the data value.
	RawType int32 `json:"raw_type"`

	// Time of event in Unix epoch seconds.
	Time int32 `json:"time"`

	// Event value.
	Value string `json:"value,omitempty"`
}

type JobEvents ¶

type JobEvents struct {
	Events []JobEvent `json:"events,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type JobJob ¶

type JobJob struct {

	// Impact policy of this job instance.
	Policy string `json:"policy,omitempty"`

	// Priority of this job instance; lower numbers preempt higher numbers.
	Priority int32 `json:"priority,omitempty"`

	// Desired new state of this job instance.
	State string `json:"state,omitempty"`
}

type JobJobAvscanParams ¶

type JobJobAvscanParams struct {

	// Force files to be scanned, even if excluded by the policy.
	ForceRun bool `json:"force_run,omitempty"`

	// The antivirus scan policy to run.
	Policy string `json:"policy"`

	// An optional report id for the scan.
	ReportId string `json:"report_id,omitempty"`

	// Update the last run time for the policy.
	Update bool `json:"update,omitempty"`
}

type JobJobChangelistcreateParams ¶

type JobJobChangelistcreateParams struct {

	// Newer snapshot ID.
	NewerSnapid int32 `json:"newer_snapid"`

	// Older snapshot ID.
	OlderSnapid int32 `json:"older_snapid"`

	// Whether to retain the replication record after a changelist is created. Retaining a replication record allows a changelist to be recreated later.
	RetainRepstate bool `json:"retain_repstate,omitempty"`
}

type JobJobCreateParams ¶

type JobJobCreateParams struct {

	// Whether or not to queue the job if one of the same type is already running or queued.
	AllowDup bool `json:"allow_dup,omitempty"`

	//
	AvscanParams *JobJobAvscanParams `json:"avscan_params,omitempty"`

	//
	ChangelistcreateParams *JobJobChangelistcreateParams `json:"changelistcreate_params,omitempty"`

	//
	DomainmarkParams *JobJobDomainmarkParams `json:"domainmark_params,omitempty"`

	// For jobs which take paths, the IFS paths to pass to the job.
	Paths []string `json:"paths"`

	// Impact policy of this job instance.
	Policy string `json:"policy,omitempty"`

	//
	PrepairParams *JobJobPrepairParams `json:"prepair_params,omitempty"`

	// Priority of this job instance; lower numbers preempt higher numbers.
	Priority int32 `json:"priority,omitempty"`

	//
	SmartpoolstreeParams *JobJobSmartpoolstreeParams `json:"smartpoolstree_params,omitempty"`

	//
	SnaprevertParams *JobJobSnaprevertParams `json:"snaprevert_params,omitempty"`

	// Job type to queue.
	Type_ string `json:"type"`
}

type JobJobDomainmarkParams ¶

type JobJobDomainmarkParams struct {

	// Whether this is a delete operation.
	Delete bool `json:"delete,omitempty"`

	// Base IFS path to associate with the domain.
	Root string `json:"root"`

	// The type of domain.
	Type_ string `json:"type"`
}

type JobJobExtended ¶

type JobJobExtended struct {

	// State to which the job is transitioning; if control_state is identical to state, the job's state is stable.
	ControlState string `json:"control_state,omitempty"`

	// The time the job was queued, in seconds since the epoch.
	CreateTime int32 `json:"create_time"`

	// The current phase of the job.
	CurrentPhase int32 `json:"current_phase,omitempty"`

	// A text representation of the job.
	Description string `json:"description,omitempty"`

	// The time the job ended, in seconds since the Epoch.
	EndTime int32 `json:"end_time,omitempty"`

	// The ID of the job.
	Id int32 `json:"id"`

	// The current impact of the job.
	Impact string `json:"impact"`

	// The set of devids working on the job.
	Participants []int32 `json:"participants,omitempty"`

	// Paths for which the job was queued.
	Paths []string `json:"paths,omitempty"`

	// Current impact policy of the job.
	Policy string `json:"policy"`

	// Current priority of the job; lower numbers preempt higher numbers.
	Priority int32 `json:"priority"`

	// A text representation of the job's progress.
	Progress string `json:"progress,omitempty"`

	// The number of retries remaining if the job fails.
	RetriesRemaining int32 `json:"retries_remaining"`

	// The number of seconds the job has executed.
	RunningTime int32 `json:"running_time,omitempty"`

	// The time the job started, in seconds since the Epoch.
	StartTime int32 `json:"start_time,omitempty"`

	// Current state of the job.
	State string `json:"state"`

	// The total number of phases of the job type.
	TotalPhases int32 `json:"total_phases"`

	// The job type.
	Type_ string `json:"type"`

	// The ID of a job for which this job is waiting.
	WaitingOn int32 `json:"waiting_on,omitempty"`

	// The reason the job is waiting.
	WaitingReason string `json:"waiting_reason,omitempty"`
}

type JobJobPrepairParams ¶

type JobJobPrepairParams struct {

	// Type of permissions; not accepted with mode=clone or mode=inherit.
	MappingType string `json:"mapping_type,omitempty"`

	// Type of PermissionRepair operation.
	Mode string `json:"mode"`

	// IFS file or directory to use as a template; required with mode=clone and mode=inherit, not accepted with mode=convert.
	Template string `json:"template,omitempty"`

	// Authentication zone; not accepted with mode=clone or mode=inherit.
	Zone string `json:"zone,omitempty"`
}

type JobJobSmartpoolstreeParams ¶

type JobJobSmartpoolstreeParams struct {

	// Skip processing of regular files.
	DirectoryOnly bool `json:"directory_only,omitempty"`

	// Calculate what would be done (dry run).
	Nop bool `json:"nop,omitempty"`

	// Apply policies but skip restriping.
	PolicyOnly bool `json:"policy_only,omitempty"`

	// Process children, recursively.
	Recurse bool `json:"recurse,omitempty"`
}

type JobJobSnaprevertParams ¶

type JobJobSnaprevertParams struct {

	// Snapshot to revert.
	Snapid int32 `json:"snapid"`
}

type JobJobSummary ¶

type JobJobSummary struct {

	//
	Summary *JobJobSummarySummary `json:"summary,omitempty"`
}

type JobJobSummarySummary ¶

type JobJobSummarySummary struct {

	// Whether the cluster is in a degraded state.  Note this is from the perspective of the node handling the query, which might be different from another node.
	ClusterIsDegraded bool `json:"cluster_is_degraded"`

	// Whether isi_job_d instances on all up nodes in the cluster are connected to the coordinator.
	Connected bool `json:"connected"`

	// The devid of the job engine coordinator.
	Coordinator int32 `json:"coordinator"`

	// If connected=false, this is the set of devids that are not connected to the coordinator.
	DisconnectedNodes []int32 `json:"disconnected_nodes"`

	// Whether the cluster has any down or read-only nodes.  These nodes are not considered in the connected property.
	DownOrReadOnlyNodes bool `json:"down_or_read_only_nodes"`

	// The job ID to be assigned to the next job.
	NextJid int32 `json:"next_jid"`

	// Whether the job engine would allow most jobs to run even when the cluster is in a degraded state.
	RunDegraded bool `json:"run_degraded"`

	// Whether the coordinator has recently gathered statistics for all nodes in the cluster.
	StatsReady bool `json:"stats_ready"`
}

type JobJobs ¶

type JobJobs struct {
	Jobs []JobJobExtended `json:"jobs,omitempty"`
}

type JobJobsExtended ¶

type JobJobsExtended struct {
	Jobs []JobJobExtended `json:"jobs,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type JobPolicies ¶

type JobPolicies struct {
	Policies []JobPolicyExtended `json:"policies,omitempty"`
}

type JobPoliciesExtended ¶

type JobPoliciesExtended struct {
	Policies []JobPolicyExtended `json:"policies,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type JobPolicy ¶

type JobPolicy struct {

	// A helpful human-readable description of the impact policy.
	Description string `json:"description,omitempty"`

	Intervals []JobPolicyInterval `json:"intervals,omitempty"`
}

type JobPolicyCreateParams ¶

type JobPolicyCreateParams struct {

	// A helpful human-readable description of the impact policy.
	Description string `json:"description,omitempty"`

	Intervals []JobPolicyInterval `json:"intervals,omitempty"`

	// The name of the impact policy.
	Name string `json:"name"`
}

type JobPolicyExtended ¶

type JobPolicyExtended struct {

	// A helpful human-readable description of the impact policy.
	Description string `json:"description"`

	Intervals []JobPolicyInterval `json:"intervals"`

	// The ID of the impact policy.
	Id string `json:"id"`

	// The name of the impact policy.
	Name string `json:"name"`

	// Whether or not this is a read-only system impact policy.
	System bool `json:"system,omitempty"`
}

type JobPolicyInterval ¶

type JobPolicyInterval struct {

	// Beginning time for the corresponding impact, in the format 'WWWW HH:MM', where 'WWWW' is the full English name of the day of the week, 'HH' is the hour (00-23), and 'MM' is the minute (00-59).
	Begin string `json:"begin"`

	// Ending time for the corresponding impact, in the format 'WWWW HH:MM', where 'WWWW' is the full English name of the day of the week, 'HH' is the hour (00-23), and 'MM' is the minute (00-59).
	End string `json:"end"`

	// Impact for the corresponding time span.
	Impact string `json:"impact"`
}

type JobRecent ¶

type JobRecent struct {
	RecentJobs []JobJobExtended `json:"recent_jobs,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type JobReports ¶

type JobReports struct {
	Reports []JobEvent `json:"reports,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type JobStatistics ¶

type JobStatistics struct {
	Jobs []JobStatisticsJob `json:"jobs,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type JobStatisticsJob ¶

type JobStatisticsJob struct {

	// The job ID.
	JobId int32 `json:"job_id"`

	Nodes []JobStatisticsJobNode `json:"nodes"`

	// The current phase of the job.
	Phase int32 `json:"phase"`

	// The number of nodes participating in the job.
	TotalNodes int32 `json:"total_nodes"`
}

type JobStatisticsJobNode ¶

type JobStatisticsJobNode struct {

	//
	Cpu *JobStatisticsJobNodeCpu `json:"cpu"`

	//
	Io *JobStatisticsJobNodeIo `json:"io"`

	//
	Memory *JobStatisticsJobNodeMemory `json:"memory"`

	// The devid of the node.
	Node int32 `json:"node"`

	// The process ID of the job on this node.
	Pid int32 `json:"pid"`

	// The number of workers for this job on this node.
	TotalWorkers int32 `json:"total_workers"`

	Workers []JobStatisticsJobNodeWorker `json:"workers"`
}

type JobStatisticsJobNodeCpu ¶

type JobStatisticsJobNodeCpu struct {

	// The average CPU utilization of the job on this node.
	Average float32 `json:"average,omitempty"`

	// The current CPU utilization of the job on this node.
	Current float32 `json:"current"`

	// The maximum CPU utilization of the job on this node.
	Maximum float32 `json:"maximum"`

	// The minimum CPU utilization of the job on this node.
	Minimum float32 `json:"minimum"`
}

type JobStatisticsJobNodeIo ¶

type JobStatisticsJobNodeIo struct {

	//
	Read *JobStatisticsJobNodeIoRead `json:"read"`

	//
	Write *JobStatisticsJobNodeIoWrite `json:"write"`
}

type JobStatisticsJobNodeIoRead ¶

type JobStatisticsJobNodeIoRead struct {

	// The number of bytes recently read by this job on this node.
	Bytes int32 `json:"bytes"`

	// The number of read operations recently performed by this job on this node.
	Ops int32 `json:"ops"`
}

type JobStatisticsJobNodeIoWrite ¶

type JobStatisticsJobNodeIoWrite struct {

	// The number of bytes recently written by this job on this node.
	Bytes int32 `json:"bytes"`

	// The number of write operations recently performed by this job on this node.
	Ops int32 `json:"ops"`
}

type JobStatisticsJobNodeMemory ¶

type JobStatisticsJobNodeMemory struct {

	//
	Physical *JobStatisticsJobNodeMemoryPhysical `json:"physical"`

	//
	Virtual *JobStatisticsJobNodeMemoryVirtual `json:"virtual"`
}

type JobStatisticsJobNodeMemoryPhysical ¶

type JobStatisticsJobNodeMemoryPhysical struct {

	// The average physical memory utilization of the job on this node, in KB.
	Average float32 `json:"average,omitempty"`

	// The current physical memory utilization of the job on this node, in KB.
	Current float32 `json:"current"`

	// The maximum physical memory utilization of the job on this node, in KB.
	Maximum float32 `json:"maximum"`

	// The minimum physical memory utilization of the job on this node, in KB.
	Minimum float32 `json:"minimum"`
}

type JobStatisticsJobNodeMemoryVirtual ¶

type JobStatisticsJobNodeMemoryVirtual struct {

	// The average virtual memory utilization of the job on this node, in KB.
	Average float32 `json:"average,omitempty"`

	// The current virtual memory utilization of the job on this node, in KB.
	Current float32 `json:"current"`

	// The maximum virtual memory utilization of the job on this node, in KB.
	Maximum float32 `json:"maximum"`

	// The minimum virtual memory utilization of the job on this node, in KB.
	Minimum float32 `json:"minimum"`
}

type JobStatisticsJobNodeWorker ¶

type JobStatisticsJobNodeWorker struct {

	// The sleep-to-work ratio of this worker; how much time it spends sleeping compared to working.
	Stw float32 `json:"stw,omitempty"`

	// A representation of the task the worker is currently processing; not intended to be read by humans.
	Task string `json:"task,omitempty"`

	// A representation of the most recent task result produced by the worker; not intended to be read by humans.
	TaskResult string `json:"task_result,omitempty"`

	// The worker ID.
	Worker int32 `json:"worker"`
}

type JobType ¶

type JobType struct {

	// Whether the job type is enabled and able to run.
	Enabled bool `json:"enabled,omitempty"`

	// Default impact policy of this job type.
	Policy string `json:"policy,omitempty"`

	// Default priority of this job type; lower numbers preempt higher numbers.
	Priority int32 `json:"priority,omitempty"`

	// The schedule on which this job type is queued, if any.
	Schedule string `json:"schedule,omitempty"`
}

type JobTypeExtended ¶

type JobTypeExtended struct {

	// Whether the job type is enabled and able to run.
	Enabled bool `json:"enabled"`

	// Default impact policy of this job type.
	Policy string `json:"policy"`

	// Default priority of this job type; lower numbers preempt higher numbers.
	Priority int32 `json:"priority"`

	// The schedule on which this job type is queued, if any.
	Schedule string `json:"schedule,omitempty"`

	// Whether multiple instances of this job type may run simultaneously.
	AllowMultipleInstances bool `json:"allow_multiple_instances"`

	// Brief description of the job type.
	Description string `json:"description"`

	// The set(s) of mutually-exclusive job types to which this job belongs.  No job in this set may run with any other job in this set.  Obsolete; this value will always be an empty string, as exclusion sets are no longer a job type property.
	ExclusionSet string `json:"exclusion_set"`

	// Whether this job type is normally visible in the UI.
	Hidden bool `json:"hidden"`

	// Job type ID.
	Id string `json:"id"`
}

type JobTypes ¶

type JobTypes struct {
	Types []JobTypeExtended `json:"types,omitempty"`
}

type JobTypesExtended ¶

type JobTypesExtended struct {
	Types []JobTypeExtended `json:"types,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type LicenseApiService ¶

type LicenseApiService service

func (*LicenseApiService) CreateLicenseLicense ¶

func (a *LicenseApiService) CreateLicenseLicense(ctx context.Context, licenseLicense LicenseLicenseCreateParams) (Empty, *http.Response, error)

LicenseApiService Install a new license file and/or activate evaluation licenses. * @param ctx context.Context for authentication, logging, tracing, etc. @param licenseLicense @return Empty

func (*LicenseApiService) GetLicenseGenerate ¶

func (a *LicenseApiService) GetLicenseGenerate(ctx context.Context, localVarOptionals map[string]interface{}) (LicenseGenerate, *http.Response, error)

LicenseApiService Generate license activation file. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "action" (string) enum: license_list_only (default), generate_activation, download_activation. Generate an activation file or return a list of activated licenses. If generating an activation file and no licenses are specified, the default configuration is to generate an activation file with the current set of licensed features. download_activation returns HTTP headers and the same XML content as seen in the response activation.
@param "licensesToInclude" (string) Licenses to include in activation file.
@param "licensesToExclude" (string) Licenses to omit from activation file.
@param "onlyTheseLicenses" (string) Activate only the defined licenses. This setting overrides all other license activation settings.

@return LicenseGenerate

func (*LicenseApiService) GetLicenseLicense ¶

func (a *LicenseApiService) GetLicenseLicense(ctx context.Context, licenseLicenseId string) (LicenseLicenses, *http.Response, error)

LicenseApiService Retrieve license information for the feature. * @param ctx context.Context for authentication, logging, tracing, etc. @param licenseLicenseId Retrieve license information for the feature. @return LicenseLicenses

func (*LicenseApiService) ListLicenseLicenses ¶

func (a *LicenseApiService) ListLicenseLicenses(ctx context.Context) (LicenseLicensesExtended, *http.Response, error)

LicenseApiService Retrieve license information for all licensable products. * @param ctx context.Context for authentication, logging, tracing, etc. @return LicenseLicensesExtended

type LicenseGenerate ¶

type LicenseGenerate struct {

	// Array of licenses included in activation file.
	ActivatedLicenseList []string `json:"activated_license_list,omitempty"`

	// Contents of licensing activation file.
	Activation string `json:"activation,omitempty"`

	// Array of licenses included in activation file.
	Hardware []LicenseGenerateHardwareItem `json:"hardware,omitempty"`

	// An array of licenses not included in activation file.
	NotActivatedLicenseList []string `json:"not_activated_license_list,omitempty"`
}

type LicenseGenerateHardwareItem ¶

type LicenseGenerateHardwareItem struct {

	// Licensed terabyte (TB, 10^12 bytes) drive capacity allocated as storage associated with tier. Included if tier is not NONINF and license is not a base only license.
	DriveCapacity int32 `json:"drive_capacity,omitempty"`

	// Licensed number of nodes in this tier.
	NodeCount int32 `json:"node_count,omitempty"`

	// Licensed number of nodes of this tier that contain self-encrypting drives. Included only if license is ONEFS and tier is not NONINF.
	NodesWithSedsCount int32 `json:"nodes_with_seds_count,omitempty"`

	// OneFS hardware tier. Tier is a number, NONINF, or NO_TIER. NONINF indicates a non infinity tier. NO_TIER indicates a license that is not tier based.
	Tier string `json:"tier,omitempty"`
}

type LicenseLicense ¶

type LicenseLicense struct {

	// Number of days since a license expired.
	DaysSinceExpiry int32 `json:"days_since_expiry,omitempty"`

	// Number of days before a license expires.
	DaysToExpiry int32 `json:"days_to_expiry,omitempty"`

	// Date of license expiry. Format is YYYY-MM-DD. It is not included if there is no expiration. Feature is considered expired at end of this day. The cluster time is used to determine expiry.
	Expiration string `json:"expiration,omitempty"`

	// True when we are generating an alert that this feature has expired.
	ExpiredAlert bool `json:"expired_alert"`

	// True when we are generating an alert that this feature is expiring.
	ExpiringAlert bool `json:"expiring_alert"`

	// Name of the licensed feature.
	Id string `json:"id"`

	// Name of the licensed feature.
	Name string `json:"name"`

	// Current status of the license.
	Status string `json:"status"`

	// Tiered License details.
	Tiers []LicenseLicenseTier `json:"tiers"`
}

type LicenseLicenseCreateParams ¶

type LicenseLicenseCreateParams struct {

	// A list of evaluation licenses to enable on the cluster.
	Evaluation []string `json:"evaluation,omitempty"`

	// License file string content. The license file is obtained from EMC's SLC web portal. Do not use with the license_file_path option.
	LicenseFileContent string `json:"license_file_content,omitempty"`

	// Path to new license file, must be under /ifs. The license file is obtained from EMC's SLC web portal. Do not include the path when only enabling evaluation licenses. Do not use with the license_file_content option.
	LicenseFilePath string `json:"license_file_path,omitempty"`
}

type LicenseLicenseTier ¶

type LicenseLicenseTier struct {

	// List of alerts about exceeded entitlements: The following alerts appear when usage of a resource such as a node, an encryption node, or storage capacity exceeds the quantity licensed for that resource.
	EntitlementsExceededAlerts []LicenseLicenseTierEntitlementsExceededAlert `json:"entitlements_exceeded_alerts,omitempty"`

	// Licensed terabyte (TB, 10^12 bytes) drive capacity allocated as storage associated with tier. Included if tier is not NONINF and license is not a base only license.
	LicensedDriveCapacity int32 `json:"licensed_drive_capacity,omitempty"`

	// Licensed number of nodes in this tier.
	LicensedNodeCount int32 `json:"licensed_node_count,omitempty"`

	// Licensed number of nodes of this tier that contain self-encrypting drives. Included only if license is ONEFS and tier is not NONINF.
	LicensedNodesWithSedsCount int32 `json:"licensed_nodes_with_seds_count,omitempty"`

	// OneFS hardware tier. Tier is a number, NONINF, or NO_TIER. NONINF indicates a non infinity tier. NO_TIER indicates a license that is not tier based.
	Tier string `json:"tier,omitempty"`

	// Actual terabyte (TB, 10^12 bytes) drive capacity allocated as storage space associated with tier. Included if tier is not NONINF and license is not a base only license.
	UsedDriveCapacity int32 `json:"used_drive_capacity,omitempty"`

	// Actual number of nodes in this tier.
	UsedNodeCount int32 `json:"used_node_count,omitempty"`

	// Actual number of nodes of this tier that contain self-encrypting drives. Included only if license is ONEFS and if tier is not NONINF.
	UsedNodesWithSedsCount int32 `json:"used_nodes_with_seds_count,omitempty"`
}

type LicenseLicenseTierEntitlementsExceededAlert ¶

type LicenseLicenseTierEntitlementsExceededAlert struct {

	// Current usage.
	Current int32 `json:"current,omitempty"`

	// Alert type. The unit of measure for the current and licensed fields for capacity is terabytes. For nodes_with_seds_count, it is the number of nodes that have one or more self-encrypting drives.
	IssueType string `json:"issue_type"`

	// Licensed amount.
	Licensed int32 `json:"licensed,omitempty"`
}

type LicenseLicenses ¶

type LicenseLicenses struct {
	Licenses []LicenseLicense `json:"licenses,omitempty"`
}

type LicenseLicensesExtended ¶

type LicenseLicensesExtended struct {
	Licenses []LicenseLicense `json:"licenses,omitempty"`

	// True when we are generating an activation incomplete alert. An activation incomplete alert is generated if we do not have a signed license file 90 days after OneFS is upgraded.
	ActivationIncompleteAlert bool `json:"activation_incomplete_alert"`

	BaseOnlyLicenses []string `json:"base_only_licenses"`

	Evaluatable []string `json:"evaluatable"`

	// Software license identifier. SWID will be absent if not yet obtained from a license file.
	Swid string `json:"swid,omitempty"`

	// True if license file contains a valid signature.
	ValidSignature bool `json:"valid_signature"`
}

type LocalApiService ¶

type LocalApiService service

func (*LocalApiService) GetClusterTime ¶

LocalApiService Get the current time on the local node. * @param ctx context.Context for authentication, logging, tracing, etc. @return ClusterTimeExtendedExtended

type MappingDump ¶

type MappingDump struct {
	Identities [][]string `json:"identities,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type MappingIdentities ¶

type MappingIdentities struct {
	Identities []MappingIdentity `json:"identities,omitempty"`
}

type MappingIdentity ¶

type MappingIdentity struct {

	// Specifies the identity mapping entry id.
	Id string `json:"id"`

	// Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.
	Source *AuthAccessAccessItemFileGroup `json:"source,omitempty"`

	Targets []MappingIdentityTarget `json:"targets"`
}

type MappingIdentityCreateParams ¶

type MappingIdentityCreateParams struct {

	// Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.
	Source *AuthAccessAccessItemFileGroup `json:"source"`

	Targets []MappingIdentityTargetCreateParams `json:"targets"`
}

Specifies the properties for the identity mapping entry.

type MappingIdentityTarget ¶

type MappingIdentityTarget struct {

	// If true, the identity is preferred on-disk.
	OnDisk bool `json:"on_disk,omitempty"`

	// Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.
	Target *AuthAccessAccessItemFileGroup `json:"target,omitempty"`

	// Specifies the origin of the identity mapping.
	Type_ string `json:"type,omitempty"`
}

type MappingIdentityTargetCreateParams ¶

type MappingIdentityTargetCreateParams struct {

	// Identity is preferred on-disk.
	OnDisk bool `json:"on_disk,omitempty"`

	// Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.
	Target *AuthAccessAccessItemFileGroup `json:"target"`

	// Origin of identity mapping.
	Type_ string `json:"type,omitempty"`
}

type MappingImport ¶

type MappingImport struct {
	Identities [][]string `json:"identities,omitempty"`
}

type MappingUsersLookup ¶

type MappingUsersLookup struct {

	// Lookup a user access token.
	Mapping []MappingUsersLookupMappingItem `json:"mapping,omitempty"`
}

type MappingUsersLookupMappingItem ¶

type MappingUsersLookupMappingItem struct {
	Groups []MappingUsersLookupMappingItemGroup `json:"groups,omitempty"`

	ObjectHistory []AuthGroupObjectHistoryItem `json:"object_history,omitempty"`

	Privileges []AuthIdNtokenPrivilegeItem `json:"privileges,omitempty"`

	// Specifies the configuration properties for a user.
	User *MappingUsersLookupMappingItemUser `json:"user,omitempty"`

	Zid int32 `json:"zid,omitempty"`

	Zone string `json:"zone,omitempty"`
}

type MappingUsersLookupMappingItemGroup ¶

type MappingUsersLookupMappingItemGroup struct {
	Dn string `json:"dn,omitempty"`

	DnsDomain string `json:"dns_domain,omitempty"`

	Domain string `json:"domain,omitempty"`

	Email string `json:"email,omitempty"`

	// If true, the authenticated user is enabled.
	Enabled bool `json:"enabled,omitempty"`

	// If true, the authenticated auth user is expired.
	Expired bool `json:"expired,omitempty"`

	Expiry int32 `json:"expiry,omitempty"`

	Gecos string `json:"gecos,omitempty"`

	// If true, indicates that the GID was generated.
	GeneratedGid bool `json:"generated_gid,omitempty"`

	// If true, indicates that the UID was generated.
	GeneratedUid bool `json:"generated_uid,omitempty"`

	// If true, indicates that the UPN was generated.
	GeneratedUpn bool `json:"generated_upn,omitempty"`

	// Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.
	Gid *AuthAccessAccessItemFileGroup `json:"gid,omitempty"`

	HomeDirectory string `json:"home_directory,omitempty"`

	// Specifies the user or group ID.
	Id string `json:"id"`

	// If true, the account is locked out.
	Locked bool `json:"locked,omitempty"`

	// Specifies the maximum time in seconds allowed before the password expires.
	MaxPasswordAge int32 `json:"max_password_age,omitempty"`

	MemberOf []AuthAccessAccessItemFileGroup `json:"member_of,omitempty"`

	// Specifies a user or group name.
	Name string `json:"name"`

	ObjectHistory []AuthGroupObjectHistoryItem `json:"object_history,omitempty"`

	// Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.
	OnDiskGroupIdentity *AuthAccessAccessItemFileGroup `json:"on_disk_group_identity,omitempty"`

	// Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.
	OnDiskUserIdentity *AuthAccessAccessItemFileGroup `json:"on_disk_user_identity,omitempty"`

	// If true, the password has expired.
	PasswordExpired bool `json:"password_expired,omitempty"`

	// If true, the password is allowed to expire.
	PasswordExpires bool `json:"password_expires,omitempty"`

	PasswordExpiry int32 `json:"password_expiry,omitempty"`

	PasswordLastSet int32 `json:"password_last_set,omitempty"`

	// Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.
	PrimaryGroupSid *AuthAccessAccessItemFileGroup `json:"primary_group_sid,omitempty"`

	// If true, prompts the user to change their password on next login.
	PromptPasswordChange bool `json:"prompt_password_change,omitempty"`

	Provider string `json:"provider,omitempty"`

	SamAccountName string `json:"sam_account_name,omitempty"`

	Shell string `json:"shell,omitempty"`

	// Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.
	Sid *AuthAccessAccessItemFileGroup `json:"sid,omitempty"`

	// Specifies the object type.
	Type_ string `json:"type"`

	// Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.
	Uid *AuthAccessAccessItemFileGroup `json:"uid,omitempty"`

	Upn string `json:"upn,omitempty"`

	// If true, the user password can be changed.
	UserCanChangePassword bool `json:"user_can_change_password,omitempty"`
}

type MappingUsersLookupMappingItemUser ¶

type MappingUsersLookupMappingItemUser struct {
	Dn string `json:"dn,omitempty"`

	DnsDomain string `json:"dns_domain,omitempty"`

	Domain string `json:"domain,omitempty"`

	Email string `json:"email,omitempty"`

	// True, if the authenticated user is enabled.
	Enabled bool `json:"enabled"`

	// True, if the authenticated user has expired.
	Expired bool `json:"expired"`

	Expiry int32 `json:"expiry,omitempty"`

	Gecos string `json:"gecos,omitempty"`

	// True, if the GID was generated.
	GeneratedGid bool `json:"generated_gid,omitempty"`

	// True, if the UID was generated.
	GeneratedUid bool `json:"generated_uid,omitempty"`

	// True, if the UPN was generated.
	GeneratedUpn bool `json:"generated_upn,omitempty"`

	// Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.
	Gid *AuthAccessAccessItemFileGroup `json:"gid,omitempty"`

	HomeDirectory string `json:"home_directory,omitempty"`

	// Specifies the user or group ID.
	Id string `json:"id"`

	// If true, indicates that the account is locked.
	Locked bool `json:"locked"`

	// Specifies the maximum time in seconds allowed before the password expires.
	MaxPasswordAge int32 `json:"max_password_age,omitempty"`

	MemberOf []AuthAccessAccessItemFileGroup `json:"member_of,omitempty"`

	// Specifies a user or group name.
	Name string `json:"name"`

	ObjectHistory []AuthGroupObjectHistoryItem `json:"object_history,omitempty"`

	// Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.
	OnDiskGroupIdentity *AuthAccessAccessItemFileGroup `json:"on_disk_group_identity,omitempty"`

	// Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.
	OnDiskUserIdentity *AuthAccessAccessItemFileGroup `json:"on_disk_user_identity,omitempty"`

	// If true, the password has expired.
	PasswordExpired bool `json:"password_expired"`

	// If true, the password is allowed to expire.
	PasswordExpires bool `json:"password_expires"`

	PasswordExpiry int32 `json:"password_expiry,omitempty"`

	PasswordLastSet int32 `json:"password_last_set,omitempty"`

	// Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.
	PrimaryGroupSid *AuthAccessAccessItemFileGroup `json:"primary_group_sid,omitempty"`

	// Prompts the user to change their password at the next login.
	PromptPasswordChange bool `json:"prompt_password_change"`

	Provider string `json:"provider,omitempty"`

	SamAccountName string `json:"sam_account_name,omitempty"`

	Shell string `json:"shell,omitempty"`

	// Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.
	Sid *AuthAccessAccessItemFileGroup `json:"sid,omitempty"`

	// Specifies the object type.
	Type_ string `json:"type"`

	// Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.
	Uid *AuthAccessAccessItemFileGroup `json:"uid,omitempty"`

	Upn string `json:"upn,omitempty"`

	// Specifies whether the password for the user can be changed.
	UserCanChangePassword bool `json:"user_can_change_password"`
}

type MappingUsersRules ¶

type MappingUsersRules struct {

	// Specifies the properties for user mapping rules.
	Rules *MappingUsersRulesRules `json:"rules,omitempty"`
}

type MappingUsersRulesExtended ¶

type MappingUsersRulesExtended struct {

	// Specifies the default UNIX user information that can be applied if the final credentials do not have valid UID and GID information.
	Parameters *MappingUsersRulesParameters `json:"parameters,omitempty"`

	// Specifies the list of user mapping rules.
	Rules []MappingUsersRulesRuleExtended `json:"rules,omitempty"`
}

Specifies the properties for user mapping rules.

type MappingUsersRulesParameters ¶

type MappingUsersRulesParameters struct {

	//
	DefaultUnixUser *MappingUsersRulesRuleOptionsDefaultUser `json:"default_unix_user,omitempty"`
}

type MappingUsersRulesRule ¶

type MappingUsersRulesRule struct {

	// Specifies the operator to make rules on specified users or groups.
	Operator string `json:"operator,omitempty"`

	// Specifies the properties for user mapping rules.
	Options *MappingUsersRulesRuleOptions `json:"options,omitempty"`

	//
	User1 *MappingUsersRulesRuleUser2 `json:"user1,omitempty"`

	//
	User2 *MappingUsersRulesRuleUser2 `json:"user2,omitempty"`
}

type MappingUsersRulesRuleExtended ¶

type MappingUsersRulesRuleExtended struct {

	// Specifies the operator to make rules on specified users or groups.
	Operator string `json:"operator,omitempty"`

	// Specifies the properties for user mapping rules.
	Options *MappingUsersRulesRuleOptionsExtended `json:"options,omitempty"`

	//
	User1 *MappingUsersRulesRuleOptionsDefaultUser `json:"user1"`

	//
	User2 *MappingUsersRulesRuleUser2Extended `json:"user2,omitempty"`
}

type MappingUsersRulesRuleOptions ¶

type MappingUsersRulesRuleOptions struct {

	// If true, and the rule was applied successfully, stop processing further.
	Break_ bool `json:"break,omitempty"`

	//
	DefaultUser *MappingUsersRulesRuleUser2 `json:"default_user,omitempty"`

	// If true, the primary GID and primary group SID should be copied to the existing credential.
	Group bool `json:"group,omitempty"`

	// If true, all additional identifiers should be copied to the existing credential.
	Groups bool `json:"groups,omitempty"`

	// If true, the primary UID and primary user SID should be copied to the existing credential.
	User bool `json:"user,omitempty"`
}

type MappingUsersRulesRuleOptionsDefaultUser ¶

type MappingUsersRulesRuleOptionsDefaultUser struct {
	Domain string `json:"domain,omitempty"`

	User string `json:"user"`
}

type MappingUsersRulesRuleOptionsExtended ¶

type MappingUsersRulesRuleOptionsExtended struct {

	// If true, and the rule was applied successfully, stop processing further.
	Break_ bool `json:"break,omitempty"`

	//
	DefaultUser *MappingUsersRulesRuleOptionsDefaultUser `json:"default_user,omitempty"`

	// If true, the primary GID and primary group SID should be copied to the existing credential.
	Group bool `json:"group,omitempty"`

	// If true, all additional identifiers should be copied to the existing credential.
	Groups bool `json:"groups,omitempty"`

	// If true, the primary UID and primary user SID should be copied to the existing credential.
	User bool `json:"user,omitempty"`
}

type MappingUsersRulesRuleUser2 ¶

type MappingUsersRulesRuleUser2 struct {
	Domain string `json:"domain,omitempty"`

	User string `json:"user,omitempty"`
}

type MappingUsersRulesRuleUser2Extended ¶

type MappingUsersRulesRuleUser2Extended struct {
	Domain string `json:"domain,omitempty"`

	User string `json:"user"`
}

type MappingUsersRulesRules ¶

type MappingUsersRulesRules struct {

	// Specifies the default UNIX user information that can be applied if the final credentials do not have valid UID and GID information.
	Parameters *MappingUsersRulesRulesParameters `json:"parameters,omitempty"`

	// Specifies the list of user mapping rules.
	Rules []MappingUsersRulesRule `json:"rules,omitempty"`
}

type MappingUsersRulesRulesParameters ¶

type MappingUsersRulesRulesParameters struct {

	//
	DefaultUnixUser *MappingUsersRulesRuleUser2 `json:"default_unix_user,omitempty"`
}

type ModelError ¶

type ModelError struct {
	Code int32 `json:"code"`

	Message string `json:"message"`
}

type NdmpContextsBackup ¶

type NdmpContextsBackup struct {

	// Context expiration time
	ContextExpirationTime int32 `json:"context_expiration_time,omitempty"`

	// Context ID
	ContextId string `json:"context_id,omitempty"`

	// Unique display id.
	Id string `json:"id,omitempty"`

	// The directory of the backup. This is not applicable to restore contexts.
	Path string `json:"path,omitempty"`

	Sessions []NdmpContextsBackupSession `json:"sessions,omitempty"`

	// Snapshot ID reserved for the context. This is not applicable to restore contexts.
	Snapid int32 `json:"snapid,omitempty"`

	// Context creation time
	StartTime int32 `json:"start_time,omitempty"`

	// Whether the context is active.
	Status string `json:"status,omitempty"`

	// The number of sessions in the context
	TotalSessions int32 `json:"total_sessions,omitempty"`

	// Type of context; It can be bre, backup, and restore
	Type_ string `json:"type,omitempty"`
}

View a NDMP Context

type NdmpContextsBackupContext ¶

type NdmpContextsBackupContext struct {

	// Context ID
	ContextId string `json:"context_id,omitempty"`

	// Unique display id.
	Id string `json:"id,omitempty"`

	// The directory of the backup. This is not applicable to restore contexts.
	Path string `json:"path,omitempty"`

	// Snapshot ID reserved for the context. This is not applicable to restore contexts.
	Snapid int32 `json:"snapid,omitempty"`

	// Context creation time
	StartTime int32 `json:"start_time,omitempty"`

	// Whether the context is active.
	Status string `json:"status,omitempty"`

	// The number of sessions in the context
	TotalSessions int32 `json:"total_sessions,omitempty"`

	// Type of context; It can be bre, backup, and restore
	Type_ string `json:"type,omitempty"`
}

type NdmpContextsBackupExtended ¶

type NdmpContextsBackupExtended struct {
	Contexts []NdmpContextsBackupContext `json:"contexts,omitempty"`

	// Resume string returned by previous query.
	Resume string `json:"resume,omitempty"`

	// The number of ndmp contexts.
	Total int32 `json:"total,omitempty"`
}

Get NDMP Context List

type NdmpContextsBackupSession ¶

type NdmpContextsBackupSession struct {

	// bre context id; This is not applicable to restore sessions.
	BreContextId string `json:"bre_context_id,omitempty"`

	// Session ID
	SessionId string `json:"session_id,omitempty"`

	// Session creation time
	StartTime int32 `json:"start_time,omitempty"`

	// The status of the session
	Status string `json:"status,omitempty"`

	// Stream ID
	StreamId string `json:"stream_id,omitempty"`
}

type NdmpContextsBre ¶

type NdmpContextsBre struct {

	// Backup type
	BackupType string `json:"backup type,omitempty"`

	// Backup Context ID
	BkpContextId string `json:"bkp_context_id,omitempty"`

	// Unique ID of NDMP BRE context
	BreContextId string `json:"bre_context_id,omitempty"`

	// Context creation time
	CreateTime int32 `json:"create_time,omitempty"`

	// List of environment variables for restartable backup
	EnvVariables []NdmpContextsBreEnvVariable `json:"env_variables,omitempty"`

	// Unique display id.
	Id string `json:"id,omitempty"`

	// Backup result
	Results int32 `json:"results,omitempty"`

	// Snapshot name of backup
	SnapName string `json:"snap_name,omitempty"`

	// Context status bits
	Status int32 `json:"status,omitempty"`

	// Backup Stream ID
	StreamId int32 `json:"stream_id,omitempty"`
}

View a NDMP restartable backup Context

type NdmpContextsBreContext ¶

type NdmpContextsBreContext struct {

	// Unique ID of NDMP BRE context
	BreContextId string `json:"bre_context_id,omitempty"`

	// Unique display id.
	Id string `json:"id,omitempty"`
}

type NdmpContextsBreEnvVariable ¶

type NdmpContextsBreEnvVariable struct {

	// Environment variable name
	Name string `json:"name,omitempty"`

	// Environment variable value
	Value string `json:"value,omitempty"`
}

type NdmpContextsBreExtended ¶

type NdmpContextsBreExtended struct {
	Contexts []NdmpContextsBreContext `json:"contexts,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type NdmpDiagnostics ¶

type NdmpDiagnostics struct {

	//
	Diagnostics *NdmpDiagnosticsDiagnostics `json:"diagnostics,omitempty"`
}

type NdmpDiagnosticsDiagnostics ¶

type NdmpDiagnosticsDiagnostics struct {

	// Diagnostics level for ndmp.
	DiagLevel int32 `json:"diag_level,omitempty"`

	// The version of the ndmp protocol.
	ProtocolVersion int32 `json:"protocol_version,omitempty"`

	// Trace level for ndmp.
	TraceLevel string `json:"trace_level,omitempty"`
}

type NdmpDumpdate ¶

type NdmpDumpdate struct {

	// The backup time since epoch.
	Date int32 `json:"date,omitempty"`

	// The unique display id.
	Id string `json:"id,omitempty"`

	// The level of the backup.
	Level int32 `json:"level,omitempty"`

	// The path spedificed by NDMP environment variable FILESYSTEM.
	Path string `json:"path,omitempty"`

	// The snapshot ID used for a faster incremental backup. 0 means a regular backup.
	Snapid int32 `json:"snapid,omitempty"`
}

type NdmpDumpdates ¶

type NdmpDumpdates struct {
	Dumpdates []NdmpDumpdate `json:"dumpdates,omitempty"`

	// Resume string returned by previous query.
	Resume string `json:"resume,omitempty"`

	// The number of dumpdates entries.
	Total int32 `json:"total,omitempty"`
}

Get list of dumpdates entries.

type NdmpLogs ¶

type NdmpLogs struct {

	// A list of errors encountered by the individual nodes involved in this request, or an empty list if there were no errors.
	Errors []NodeDrivesPurposelistError `json:"errors,omitempty"`

	// The responses from the individual nodes involved in this request.
	Nodes []NdmpLogsNode `json:"nodes,omitempty"`

	// The total number of nodes responding.
	Total int32 `json:"total,omitempty"`
}

type NdmpLogsNode ¶

type NdmpLogsNode struct {

	// The page on this node's NDMP log file being returned.
	CurrentPage string `json:"current_page,omitempty"`

	// Error message, if the HTTP status returned from this node was not 200.
	Error_ string `json:"error,omitempty"`

	// Node ID of the node reporting this information.
	Id int32 `json:"id,omitempty"`

	// Logical node number of the node reporting this information.
	Lnn int32 `json:"lnn,omitempty"`

	// The log file entries from the current page on this node.
	Logs string `json:"logs,omitempty"`

	// The highest page number in this node's NDMP log file.
	MaxPage int32 `json:"max_page,omitempty"`

	// Status of the HTTP response from this node if not 200.  If 200, this field does not appear.
	Status int32 `json:"status,omitempty"`
}

type NdmpSession ¶

type NdmpSession struct {

	// Unique display id.
	Id string `json:"id,omitempty"`

	// Text information from probing the session
	ProbeInfo string `json:"probe_info,omitempty"`

	// session ID
	Session string `json:"session,omitempty"`
}

type NdmpSessionExtended ¶

type NdmpSessionExtended struct {

	// Bytes transferred to/from the filesystem
	DataBytesTransferred int32 `json:"data_bytes_transferred"`

	// State of the NDMP Data Service
	DataState string `json:"data_state"`

	// The path being recovered to
	DestPath string `json:"dest_path"`

	// IP address of the DMA
	DmaIpAddr string `json:"dma_ip_addr"`

	// Number of seconds elapsed since the backup was started
	ElapsedTime int32 `json:"elapsed_time"`

	// Unique display ID.
	Id string `json:"id"`

	// Bytes transferred to/from tape or remote writer
	MoverBytesTransferred int32 `json:"mover_bytes_transferred"`

	// State of the NDMP Mover Service
	MoverState string `json:"mover_state"`

	// The type of backup session
	Operation string `json:"operation"`

	// IP address of the remote NDMP participant
	RemoteIpAddr string `json:"remote_ip_addr"`

	// Name of the media changer device used if any
	ScsiDevice string `json:"scsi_device"`

	// Session ID in form <lnn>.<pid>.
	Session string `json:"session"`

	// The path being backed up
	SourcePath string `json:"source_path"`

	// Time backup was started in seconds since epoch
	StartTime int32 `json:"start_time"`

	// Name of the tape device used if any
	TapeDevice string `json:"tape_device"`

	// Describes the mode in which the tape is opened
	TapeOpenMode string `json:"tape_open_mode"`

	// The throughput in MB/s
	Throughput int32 `json:"throughput"`
}

type NdmpSessions ¶

type NdmpSessions struct {
	Sessions []NdmpSession `json:"sessions,omitempty"`
}

View probe info of a NDMP session

type NdmpSessionsExtended ¶

type NdmpSessionsExtended struct {

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	Sessions []NdmpSessionExtended `json:"sessions,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type NdmpSettingsDmas ¶

type NdmpSettingsDmas struct {
	Dmavendors []NdmpSettingsDmasDmavendor `json:"dmavendors,omitempty"`
}

type NdmpSettingsDmasDmavendor ¶

type NdmpSettingsDmasDmavendor struct {

	// NDMP dma vendor.
	Dmavendor string `json:"dmavendor,omitempty"`
}

type NdmpSettingsGlobal ¶

type NdmpSettingsGlobal struct {

	//
	Global *NdmpSettingsGlobalGlobal `json:"global,omitempty"`
}

type NdmpSettingsGlobalGlobal ¶

type NdmpSettingsGlobalGlobal struct {

	// Maximum number of BRE contexts.
	BreMaxNumContexts int32 `json:"bre_max_num_contexts,omitempty"`

	// A unique identifier for the dma vendor.
	Dma string `json:"dma,omitempty"`

	// Multi-Stream Backup context retention duration.
	MsbContextRetentionDuration int32 `json:"msb_context_retention_duration,omitempty"`

	// Multi-Stream Restore context retention duration.
	MsrContextRetentionDuration int32 `json:"msr_context_retention_duration,omitempty"`

	// The port to listen on.
	Port int32 `json:"port,omitempty"`

	// Property to enable/diable the NDMP service.
	Service bool `json:"service,omitempty"`
}

type NdmpSettingsPreferredIp ¶

type NdmpSettingsPreferredIp struct {
	DataSubnets []NdmpSettingsPreferredIpDataSubnet `json:"data_subnets"`
}

type NdmpSettingsPreferredIpCreateParams ¶

type NdmpSettingsPreferredIpCreateParams struct {
	DataSubnets []NdmpSettingsPreferredIpDataSubnet `json:"data_subnets"`

	// Either cluster or a network subnet defined in OneFS.
	Scope string `json:"scope"`
}

type NdmpSettingsPreferredIpDataSubnet ¶

type NdmpSettingsPreferredIpDataSubnet struct {

	// The name of a subnet.
	Subnet string `json:"subnet,omitempty"`
}

type NdmpSettingsPreferredIps ¶

type NdmpSettingsPreferredIps struct {
	Preferences []NdmpSettingsPreferredIpsPreference `json:"preferences,omitempty"`

	// Resume string returned by previous query.
	Resume string `json:"resume,omitempty"`

	// The number of preferences.
	Total int32 `json:"total,omitempty"`
}

Get a list of preferred ip preferences.

type NdmpSettingsPreferredIpsPreference ¶

type NdmpSettingsPreferredIpsPreference struct {
	DataSubnets []NdmpSettingsPreferredIpDataSubnet `json:"data_subnets,omitempty"`

	// The unique display id, same as scope
	Id string `json:"id,omitempty"`

	// Either cluster or a network subnet defined in OneFS.
	Scope string `json:"scope,omitempty"`
}

type NdmpSettingsVariable ¶

type NdmpSettingsVariable struct {

	// The value of environment variable.
	Value string `json:"value"`
}

type NdmpSettingsVariableCreateParams ¶

type NdmpSettingsVariableCreateParams struct {

	// The value of environment variable.
	Value string `json:"value"`

	// The name of environment variable.
	Name string `json:"name"`

	// The backup path.
	Path string `json:"path"`
}

type NdmpSettingsVariables ¶

type NdmpSettingsVariables struct {

	// Resume string returned by previous query.
	Resume string `json:"resume,omitempty"`

	// The number of backup paths.
	Total int32 `json:"total,omitempty"`

	Variables []NdmpSettingsVariablesVariable `json:"variables,omitempty"`
}

Get list of preferred environment variable.

type NdmpSettingsVariablesVariable ¶

type NdmpSettingsVariablesVariable struct {

	// The unique display id
	Id string `json:"id,omitempty"`

	// Return variables of the backup path.
	Path string `json:"path,omitempty"`

	PathVariables []NdmpSettingsVariablesVariablePathVariable `json:"path_variables,omitempty"`
}

type NdmpSettingsVariablesVariablePathVariable ¶

type NdmpSettingsVariablesVariablePathVariable struct {

	// The name of environment variable.
	Name string `json:"name,omitempty"`

	// The value of environment variable.
	Value string `json:"value,omitempty"`
}

type NdmpUser ¶

type NdmpUser struct {

	// The password for the NDMP administrator.
	Password string `json:"password"`
}

type NdmpUserCreateParams ¶

type NdmpUserCreateParams struct {

	// The password for the NDMP administrator.
	Password string `json:"password"`

	// A unique user name for NDMP administrator.
	Name string `json:"name"`
}

type NdmpUsers ¶

type NdmpUsers struct {

	// Unique display ID.
	Id string `json:"id,omitempty"`

	// A unique user name for NDMP administrator.
	Name string `json:"name,omitempty"`
}

type NdmpUsersExtended ¶

type NdmpUsersExtended struct {

	// Total number of items available.
	Total int32 `json:"total,omitempty"`

	Users []NdmpUsers `json:"users,omitempty"`
}

type NetworkApiService ¶

type NetworkApiService service

func (*NetworkApiService) CreateDnscacheFlushItem ¶

func (a *NetworkApiService) CreateDnscacheFlushItem(ctx context.Context, dnscacheFlushItem Empty) (Empty, *http.Response, error)

NetworkApiService Flush the DNSCache. * @param ctx context.Context for authentication, logging, tracing, etc. @param dnscacheFlushItem @return Empty

func (*NetworkApiService) CreateNetworkGroupnet ¶

func (a *NetworkApiService) CreateNetworkGroupnet(ctx context.Context, networkGroupnet NetworkGroupnetCreateParams) (CreateResponse, *http.Response, error)

NetworkApiService Create a new groupnet. * @param ctx context.Context for authentication, logging, tracing, etc. @param networkGroupnet @return CreateResponse

func (*NetworkApiService) CreateNetworkScRebalanceAllItem ¶

func (a *NetworkApiService) CreateNetworkScRebalanceAllItem(ctx context.Context, networkScRebalanceAllItem Empty) (Empty, *http.Response, error)

NetworkApiService Rebalance IP addresses in all pools. * @param ctx context.Context for authentication, logging, tracing, etc. @param networkScRebalanceAllItem @return Empty

func (*NetworkApiService) DeleteNetworkGroupnet ¶

func (a *NetworkApiService) DeleteNetworkGroupnet(ctx context.Context, networkGroupnetId string) (*http.Response, error)

NetworkApiService Delete a network groupnet. * @param ctx context.Context for authentication, logging, tracing, etc. @param networkGroupnetId Delete a network groupnet. @return

func (*NetworkApiService) GetNetworkDnscache ¶

func (a *NetworkApiService) GetNetworkDnscache(ctx context.Context) (NetworkDnscache, *http.Response, error)

NetworkApiService View network dns cache settings. * @param ctx context.Context for authentication, logging, tracing, etc. @return NetworkDnscache

func (*NetworkApiService) GetNetworkExternal ¶

func (a *NetworkApiService) GetNetworkExternal(ctx context.Context) (NetworkExternal, *http.Response, error)

NetworkApiService View external network settings. * @param ctx context.Context for authentication, logging, tracing, etc. @return NetworkExternal

func (*NetworkApiService) GetNetworkGroupnet ¶

func (a *NetworkApiService) GetNetworkGroupnet(ctx context.Context, networkGroupnetId string) (NetworkGroupnets, *http.Response, error)

NetworkApiService View a network groupnet. * @param ctx context.Context for authentication, logging, tracing, etc. @param networkGroupnetId View a network groupnet. @return NetworkGroupnets

func (*NetworkApiService) GetNetworkInterfaces ¶

func (a *NetworkApiService) GetNetworkInterfaces(ctx context.Context, localVarOptionals map[string]interface{}) (PoolsPoolInterfaces, *http.Response, error)

NetworkApiService Get a list of interfaces. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "network" (string) Show interfaces associated with external and/or internal networks. Default is &#39;external&#39;
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
@param "lnns" (string) Get a list of interfaces for the specified lnn.
@param "allocMethod" (string) Filter addresses and owners by pool address allocation method.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "dir" (string) The direction of the sort.

@return PoolsPoolInterfaces

func (*NetworkApiService) GetNetworkPools ¶

func (a *NetworkApiService) GetNetworkPools(ctx context.Context, localVarOptionals map[string]interface{}) (NetworkPools, *http.Response, error)

NetworkApiService Get a list of flexnet pools. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "subnet" (string) If specified, only pools for this subnet will be returned.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
@param "accessZone" (string) If specified, only pools with this zone name will be returned.
@param "allocMethod" (string) If specified, only pools with this allocation type will be returned.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "groupnet" (string) If specified, only pools for this groupnet will be returned.
@param "dir" (string) The direction of the sort.

@return NetworkPools

func (*NetworkApiService) GetNetworkRules ¶

func (a *NetworkApiService) GetNetworkRules(ctx context.Context, localVarOptionals map[string]interface{}) (PoolsPoolRulesExtended, *http.Response, error)

NetworkApiService Get a list of network rules. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "subnet" (string) Name of the subnet to list rules from.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "dir" (string) The direction of the sort.
@param "groupnet" (string) Name of the groupnet to list rules from.
@param "pool" (string) Name of the pool to list rules from.

@return PoolsPoolRulesExtended

func (*NetworkApiService) GetNetworkSubnets ¶

func (a *NetworkApiService) GetNetworkSubnets(ctx context.Context, localVarOptionals map[string]interface{}) (GroupnetSubnetsExtended, *http.Response, error)

NetworkApiService Get a list of subnets. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "groupnet" (string) If specified, only subnets for this groupnet will be returned.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "dir" (string) The direction of the sort.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).

@return GroupnetSubnetsExtended

func (*NetworkApiService) ListNetworkGroupnets ¶

func (a *NetworkApiService) ListNetworkGroupnets(ctx context.Context, localVarOptionals map[string]interface{}) (NetworkGroupnetsExtended, *http.Response, error)

NetworkApiService Get a list of groupnets. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "dir" (string) The direction of the sort.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).

@return NetworkGroupnetsExtended

func (*NetworkApiService) UpdateNetworkDnscache ¶

func (a *NetworkApiService) UpdateNetworkDnscache(ctx context.Context, networkDnscache NetworkDnscacheExtended) (*http.Response, error)

NetworkApiService Modify network dns cache settings. * @param ctx context.Context for authentication, logging, tracing, etc. @param networkDnscache @return

func (*NetworkApiService) UpdateNetworkExternal ¶

func (a *NetworkApiService) UpdateNetworkExternal(ctx context.Context, networkExternal NetworkExternalExtended) (*http.Response, error)

NetworkApiService Modify external network settings. * @param ctx context.Context for authentication, logging, tracing, etc. @param networkExternal @return

func (*NetworkApiService) UpdateNetworkGroupnet ¶

func (a *NetworkApiService) UpdateNetworkGroupnet(ctx context.Context, networkGroupnet NetworkGroupnet, networkGroupnetId string) (*http.Response, error)

NetworkApiService Modify a network groupnet. * @param ctx context.Context for authentication, logging, tracing, etc. @param networkGroupnet @param networkGroupnetId Modify a network groupnet. @return

type NetworkDnscache ¶

type NetworkDnscache struct {

	//
	Settings *NetworkDnscacheSettings `json:"settings,omitempty"`
}

type NetworkDnscacheExtended ¶

type NetworkDnscacheExtended struct {

	// DNS cache entry limit
	CacheEntryLimit int32 `json:"cache_entry_limit,omitempty"`

	// Timeout value for calls made to other nodes in the cluster
	ClusterTimeout int32 `json:"cluster_timeout,omitempty"`

	// Timeout value for calls made to the dns resolvers
	DnsTimeout int32 `json:"dns_timeout,omitempty"`

	// Lead time to refresh cache entries nearing expiration
	EagerRefresh int32 `json:"eager_refresh,omitempty"`

	// Deltas for checking cbind cluster health
	TestpingDelta int32 `json:"testping_delta,omitempty"`

	// Upper bound on ttl for cache hits
	TtlMaxNoerror int32 `json:"ttl_max_noerror,omitempty"`

	// Upper bound on ttl for nxdomain
	TtlMaxNxdomain int32 `json:"ttl_max_nxdomain,omitempty"`

	// Upper bound on ttl for non-nxdomain failures
	TtlMaxOther int32 `json:"ttl_max_other,omitempty"`

	// Upper bound on ttl for server failures
	TtlMaxServfail int32 `json:"ttl_max_servfail,omitempty"`

	// Lower bound on ttl for cache hits
	TtlMinNoerror int32 `json:"ttl_min_noerror,omitempty"`

	// Lower bound on ttl for nxdomain
	TtlMinNxdomain int32 `json:"ttl_min_nxdomain,omitempty"`

	// Lower bound on ttl for non-nxdomain failures
	TtlMinOther int32 `json:"ttl_min_other,omitempty"`

	// Lower bound on ttl for server failures
	TtlMinServfail int32 `json:"ttl_min_servfail,omitempty"`
}

type NetworkDnscacheSettings ¶

type NetworkDnscacheSettings struct {

	// DNS cache entry limit
	CacheEntryLimit int32 `json:"cache_entry_limit"`

	// Timeout value for calls made to other nodes in the cluster
	ClusterTimeout int32 `json:"cluster_timeout"`

	// Timeout value for calls made to the dns resolvers
	DnsTimeout int32 `json:"dns_timeout"`

	// Lead time to refresh cache entries nearing expiration
	EagerRefresh int32 `json:"eager_refresh"`

	// Deltas for checking cbind cluster health
	TestpingDelta int32 `json:"testping_delta"`

	// Upper bound on ttl for cache hits
	TtlMaxNoerror int32 `json:"ttl_max_noerror"`

	// Upper bound on ttl for nxdomain
	TtlMaxNxdomain int32 `json:"ttl_max_nxdomain"`

	// Upper bound on ttl for non-nxdomain failures
	TtlMaxOther int32 `json:"ttl_max_other"`

	// Upper bound on ttl for server failures
	TtlMaxServfail int32 `json:"ttl_max_servfail"`

	// Lower bound on ttl for cache hits
	TtlMinNoerror int32 `json:"ttl_min_noerror"`

	// Lower bound on ttl for nxdomain
	TtlMinNxdomain int32 `json:"ttl_min_nxdomain"`

	// Lower bound on ttl for non-nxdomain failures
	TtlMinOther int32 `json:"ttl_min_other"`

	// Lower bound on ttl for server failures
	TtlMinServfail int32 `json:"ttl_min_servfail"`
}

type NetworkExternal ¶

type NetworkExternal struct {

	//
	Settings *NetworkExternalSettings `json:"settings,omitempty"`
}

type NetworkExternalExtended ¶

type NetworkExternalExtended struct {

	// Enable or disable Source Based Routing (Defaults to false)
	Sbr bool `json:"sbr,omitempty"`

	// Delay in seconds for IP rebalance.
	ScRebalanceDelay int32 `json:"sc_rebalance_delay,omitempty"`

	// List of client TCP ports.
	TcpPorts []int32 `json:"tcp_ports,omitempty"`
}

type NetworkExternalSettings ¶

type NetworkExternalSettings struct {

	// Default client-side DNS settings for non-multitenancy aware programs
	DefaultGroupnet string `json:"default_groupnet"`

	// Enable or disable Source Based Routing (Defaults to false)
	Sbr bool `json:"sbr"`

	// Delay in seconds for IP rebalance.
	ScRebalanceDelay int32 `json:"sc_rebalance_delay"`

	// List of client TCP ports.
	TcpPorts []int32 `json:"tcp_ports"`
}

type NetworkGroupnet ¶

type NetworkGroupnet struct {

	// A description of the groupnet.
	Description string `json:"description,omitempty"`

	// DNS caching is enabled or disabled.
	DnsCacheEnabled bool `json:"dns_cache_enabled,omitempty"`

	// List of DNS resolver options.
	DnsOptions []string `json:"dns_options,omitempty"`

	// List of DNS search suffixes.
	DnsSearch []string `json:"dns_search,omitempty"`

	// List of Domain Name Server IP addresses.
	DnsServers []string `json:"dns_servers,omitempty"`

	// The name of the groupnet.
	Name string `json:"name,omitempty"`

	// Enable or disable appending nodes DNS search  list to client DNS inquiries directed at SmartConnect service IP.
	ServerSideDnsSearch bool `json:"server_side_dns_search,omitempty"`
}

type NetworkGroupnetCreateParams ¶

type NetworkGroupnetCreateParams struct {

	// A description of the groupnet.
	Description string `json:"description,omitempty"`

	// DNS caching is enabled or disabled.
	DnsCacheEnabled bool `json:"dns_cache_enabled,omitempty"`

	// List of DNS resolver options.
	DnsOptions []string `json:"dns_options,omitempty"`

	// List of DNS search suffixes.
	DnsSearch []string `json:"dns_search,omitempty"`

	// List of Domain Name Server IP addresses.
	DnsServers []string `json:"dns_servers,omitempty"`

	// The name of the groupnet.
	Name string `json:"name"`

	// Enable or disable appending nodes DNS search  list to client DNS inquiries directed at SmartConnect service IP.
	ServerSideDnsSearch bool `json:"server_side_dns_search,omitempty"`
}

type NetworkGroupnetExtended ¶

type NetworkGroupnetExtended struct {

	// A description of the groupnet.
	Description string `json:"description,omitempty"`

	// DNS caching is enabled or disabled.
	DnsCacheEnabled bool `json:"dns_cache_enabled,omitempty"`

	// List of DNS resolver options.
	DnsOptions []string `json:"dns_options,omitempty"`

	// List of DNS search suffixes.
	DnsSearch []string `json:"dns_search,omitempty"`

	// List of Domain Name Server IP addresses.
	DnsServers []string `json:"dns_servers,omitempty"`

	// The name of the groupnet.
	Name string `json:"name,omitempty"`

	// Enable or disable appending nodes DNS search  list to client DNS inquiries directed at SmartConnect service IP.
	ServerSideDnsSearch bool `json:"server_side_dns_search,omitempty"`

	// Unique Interface ID.
	Id string `json:"id,omitempty"`

	// Name of the subnets in the groupnet.
	Subnets []string `json:"subnets,omitempty"`
}

type NetworkGroupnets ¶

type NetworkGroupnets struct {
	Groupnets []NetworkGroupnetExtended `json:"groupnets,omitempty"`
}

type NetworkGroupnetsApiService ¶

type NetworkGroupnetsApiService service

func (*NetworkGroupnetsApiService) CreateGroupnetSubnet ¶

func (a *NetworkGroupnetsApiService) CreateGroupnetSubnet(ctx context.Context, groupnetSubnet GroupnetSubnetCreateParams, groupnet string) (CreateResponse, *http.Response, error)

NetworkGroupnetsApiService Create a new subnet. * @param ctx context.Context for authentication, logging, tracing, etc. @param groupnetSubnet @param groupnet @return CreateResponse

func (*NetworkGroupnetsApiService) CreateSubnetsSubnetPool ¶

func (a *NetworkGroupnetsApiService) CreateSubnetsSubnetPool(ctx context.Context, subnetsSubnetPool SubnetsSubnetPoolCreateParams, groupnet string, subnet string, localVarOptionals map[string]interface{}) (CreateResponse, *http.Response, error)

NetworkGroupnetsApiService Create a new pool. * @param ctx context.Context for authentication, logging, tracing, etc. @param subnetsSubnetPool @param groupnet @param subnet @param optional (nil or map[string]interface{}) with one or more of:

@param "force" (bool) Force creating this pool even if it causes an MTU conflict.

@return CreateResponse

func (*NetworkGroupnetsApiService) DeleteGroupnetSubnet ¶

func (a *NetworkGroupnetsApiService) DeleteGroupnetSubnet(ctx context.Context, groupnetSubnetId string, groupnet string, localVarOptionals map[string]interface{}) (*http.Response, error)

NetworkGroupnetsApiService Delete a network subnet.. * @param ctx context.Context for authentication, logging, tracing, etc. @param groupnetSubnetId Delete a network subnet.. @param groupnet @param optional (nil or map[string]interface{}) with one or more of:

@param "force" (bool) force deleting this subnet even if pools in other subnets rely on this subnet&#39;s SC VIP.

@return

func (*NetworkGroupnetsApiService) DeleteSubnetsSubnetPool ¶

func (a *NetworkGroupnetsApiService) DeleteSubnetsSubnetPool(ctx context.Context, subnetsSubnetPoolId string, groupnet string, subnet string) (*http.Response, error)

NetworkGroupnetsApiService Delete a network pool. * @param ctx context.Context for authentication, logging, tracing, etc. @param subnetsSubnetPoolId Delete a network pool. @param groupnet @param subnet @return

func (*NetworkGroupnetsApiService) GetGroupnetSubnet ¶

func (a *NetworkGroupnetsApiService) GetGroupnetSubnet(ctx context.Context, groupnetSubnetId string, groupnet string) (GroupnetSubnets, *http.Response, error)

NetworkGroupnetsApiService View a network subnet. * @param ctx context.Context for authentication, logging, tracing, etc. @param groupnetSubnetId View a network subnet. @param groupnet @return GroupnetSubnets

func (*NetworkGroupnetsApiService) GetSubnetsSubnetPool ¶

func (a *NetworkGroupnetsApiService) GetSubnetsSubnetPool(ctx context.Context, subnetsSubnetPoolId string, groupnet string, subnet string) (SubnetsSubnetPools, *http.Response, error)

NetworkGroupnetsApiService View a single network pool. * @param ctx context.Context for authentication, logging, tracing, etc. @param subnetsSubnetPoolId View a single network pool. @param groupnet @param subnet @return SubnetsSubnetPools

func (*NetworkGroupnetsApiService) ListGroupnetSubnets ¶

func (a *NetworkGroupnetsApiService) ListGroupnetSubnets(ctx context.Context, groupnet string, localVarOptionals map[string]interface{}) (GroupnetSubnetsExtended, *http.Response, error)

NetworkGroupnetsApiService Get a list of subnets. * @param ctx context.Context for authentication, logging, tracing, etc. @param groupnet @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "dir" (string) The direction of the sort.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).

@return GroupnetSubnetsExtended

func (*NetworkGroupnetsApiService) ListSubnetsSubnetPools ¶

func (a *NetworkGroupnetsApiService) ListSubnetsSubnetPools(ctx context.Context, groupnet string, subnet string, localVarOptionals map[string]interface{}) (SubnetsSubnetPoolsExtended, *http.Response, error)

NetworkGroupnetsApiService Get a list of network pools. * @param ctx context.Context for authentication, logging, tracing, etc. @param groupnet @param subnet @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
@param "accessZone" (string) If specified, only pools with this zone name will be returned.
@param "allocMethod" (string) If specified, only pools with this allocation type will be returned.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "dir" (string) The direction of the sort.

@return SubnetsSubnetPoolsExtended

func (*NetworkGroupnetsApiService) UpdateGroupnetSubnet ¶

func (a *NetworkGroupnetsApiService) UpdateGroupnetSubnet(ctx context.Context, groupnetSubnet GroupnetSubnet, groupnetSubnetId string, groupnet string, localVarOptionals map[string]interface{}) (*http.Response, error)

NetworkGroupnetsApiService Modify a network subnet. * @param ctx context.Context for authentication, logging, tracing, etc. @param groupnetSubnet @param groupnetSubnetId Modify a network subnet. @param groupnet @param optional (nil or map[string]interface{}) with one or more of:

@param "force" (bool) force modifying this subnet even if it causes an MTU conflict.

@return

func (*NetworkGroupnetsApiService) UpdateSubnetsSubnetPool ¶

func (a *NetworkGroupnetsApiService) UpdateSubnetsSubnetPool(ctx context.Context, subnetsSubnetPool SubnetsSubnetPool, subnetsSubnetPoolId string, groupnet string, subnet string, localVarOptionals map[string]interface{}) (*http.Response, error)

NetworkGroupnetsApiService Modify a network pool. * @param ctx context.Context for authentication, logging, tracing, etc. @param subnetsSubnetPool @param subnetsSubnetPoolId Modify a network pool. @param groupnet @param subnet @param optional (nil or map[string]interface{}) with one or more of:

@param "force" (bool) force creating this pool even if it causes an MTU conflict.

@return

type NetworkGroupnetsExtended ¶

type NetworkGroupnetsExtended struct {
	Groupnets []NetworkGroupnetExtended `json:"groupnets,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type NetworkGroupnetsSubnetsApiService ¶

type NetworkGroupnetsSubnetsApiService service

func (*NetworkGroupnetsSubnetsApiService) CreatePoolsPoolRebalanceIp ¶

func (a *NetworkGroupnetsSubnetsApiService) CreatePoolsPoolRebalanceIp(ctx context.Context, poolsPoolRebalanceIp Empty, groupnet string, subnet string, pool string) (Empty, *http.Response, error)

NetworkGroupnetsSubnetsApiService Rebalance IP addresses in specified pool. * @param ctx context.Context for authentication, logging, tracing, etc. @param poolsPoolRebalanceIp @param groupnet @param subnet @param pool @return Empty

func (*NetworkGroupnetsSubnetsApiService) CreatePoolsPoolRule ¶

func (a *NetworkGroupnetsSubnetsApiService) CreatePoolsPoolRule(ctx context.Context, poolsPoolRule PoolsPoolRuleCreateParams, groupnet string, subnet string, pool string) (CreateResponse, *http.Response, error)

NetworkGroupnetsSubnetsApiService Create a new rule. * @param ctx context.Context for authentication, logging, tracing, etc. @param poolsPoolRule @param groupnet @param subnet @param pool @return CreateResponse

func (*NetworkGroupnetsSubnetsApiService) CreatePoolsPoolScResumeNode ¶

func (a *NetworkGroupnetsSubnetsApiService) CreatePoolsPoolScResumeNode(ctx context.Context, poolsPoolScResumeNode PoolsPoolScResumeNode, groupnet string, subnet string, pool string) (Empty, *http.Response, error)

NetworkGroupnetsSubnetsApiService Resume suspended nodes. * @param ctx context.Context for authentication, logging, tracing, etc. @param poolsPoolScResumeNode @param groupnet @param subnet @param pool @return Empty

func (*NetworkGroupnetsSubnetsApiService) CreatePoolsPoolScSuspendNode ¶

func (a *NetworkGroupnetsSubnetsApiService) CreatePoolsPoolScSuspendNode(ctx context.Context, poolsPoolScSuspendNode PoolsPoolScResumeNode, groupnet string, subnet string, pool string) (Empty, *http.Response, error)

NetworkGroupnetsSubnetsApiService Suspend nodes. * @param ctx context.Context for authentication, logging, tracing, etc. @param poolsPoolScSuspendNode @param groupnet @param subnet @param pool @return Empty

func (*NetworkGroupnetsSubnetsApiService) DeletePoolsPoolRule ¶

func (a *NetworkGroupnetsSubnetsApiService) DeletePoolsPoolRule(ctx context.Context, poolsPoolRuleId string, groupnet string, subnet string, pool string) (*http.Response, error)

NetworkGroupnetsSubnetsApiService Delete a network rule. * @param ctx context.Context for authentication, logging, tracing, etc. @param poolsPoolRuleId Delete a network rule. @param groupnet @param subnet @param pool @return

func (*NetworkGroupnetsSubnetsApiService) GetPoolsPoolInterfaces ¶

func (a *NetworkGroupnetsSubnetsApiService) GetPoolsPoolInterfaces(ctx context.Context, groupnet string, subnet string, pool string, localVarOptionals map[string]interface{}) (PoolsPoolInterfaces, *http.Response, error)

NetworkGroupnetsSubnetsApiService Get a list of interfaces. * @param ctx context.Context for authentication, logging, tracing, etc. @param groupnet @param subnet @param pool @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "dir" (string) The direction of the sort.
@param "lnns" (string) Get a list of interfaces for the specified lnn.

@return PoolsPoolInterfaces

func (*NetworkGroupnetsSubnetsApiService) GetPoolsPoolRule ¶

func (a *NetworkGroupnetsSubnetsApiService) GetPoolsPoolRule(ctx context.Context, poolsPoolRuleId string, groupnet string, subnet string, pool string) (PoolsPoolRules, *http.Response, error)

NetworkGroupnetsSubnetsApiService View a single network rule. * @param ctx context.Context for authentication, logging, tracing, etc. @param poolsPoolRuleId View a single network rule. @param groupnet @param subnet @param pool @return PoolsPoolRules

func (*NetworkGroupnetsSubnetsApiService) ListPoolsPoolRules ¶

func (a *NetworkGroupnetsSubnetsApiService) ListPoolsPoolRules(ctx context.Context, groupnet string, subnet string, pool string, localVarOptionals map[string]interface{}) (PoolsPoolRulesExtended, *http.Response, error)

NetworkGroupnetsSubnetsApiService Get a list of network rules. * @param ctx context.Context for authentication, logging, tracing, etc. @param groupnet @param subnet @param pool @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "dir" (string) The direction of the sort.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).

@return PoolsPoolRulesExtended

func (*NetworkGroupnetsSubnetsApiService) UpdatePoolsPoolRule ¶

func (a *NetworkGroupnetsSubnetsApiService) UpdatePoolsPoolRule(ctx context.Context, poolsPoolRule PoolsPoolRule, poolsPoolRuleId string, groupnet string, subnet string, pool string) (*http.Response, error)

NetworkGroupnetsSubnetsApiService Modify a network rule. * @param ctx context.Context for authentication, logging, tracing, etc. @param poolsPoolRule @param poolsPoolRuleId Modify a network rule. @param groupnet @param subnet @param pool @return

type NetworkPool ¶

type NetworkPool struct {

	// Name of a valid access zone to map IP address pool to the zone.
	AccessZone string `json:"access_zone,omitempty"`

	// IP address format.
	AddrFamily string `json:"addr_family,omitempty"`

	// OneFS supports the following NIC aggregation modes.
	AggregationMode string `json:"aggregation_mode,omitempty"`

	// Specifies how IP address allocation is done among pool members.
	AllocMethod string `json:"alloc_method,omitempty"`

	// A description of the pool.
	Description string `json:"description,omitempty"`

	// Name of the groupnet this pool belongs to.
	Groupnet string `json:"groupnet,omitempty"`

	// Unique Pool ID.
	Id string `json:"id,omitempty"`

	// List of interface members in this pool.
	Ifaces []SubnetsSubnetPoolIface `json:"ifaces,omitempty"`

	// The name of the pool. It must be unique throughout the given subnet.It's a required field with POST method.
	Name string `json:"name,omitempty"`

	// List of IP address ranges in this pool.
	Ranges []SubnetsSubnetPoolRange `json:"ranges,omitempty"`

	// Rebalance policy..
	RebalancePolicy string `json:"rebalance_policy,omitempty"`

	// Names of the rules in this pool.
	Rules []string `json:"rules,omitempty"`

	// Time delay in seconds before a node which has been                 automatically unsuspended becomes usable in SmartConnect                responses for pool zones.
	ScAutoUnsuspendDelay int32 `json:"sc_auto_unsuspend_delay,omitempty"`

	// SmartConnect client connection balancing policy.
	ScConnectPolicy string `json:"sc_connect_policy,omitempty"`

	// SmartConnect zone name for the pool.
	ScDnsZone string `json:"sc_dns_zone,omitempty"`

	// List of SmartConnect zone aliases (DNS names) to the pool.
	ScDnsZoneAliases []string `json:"sc_dns_zone_aliases,omitempty"`

	// SmartConnect IP failover policy.
	ScFailoverPolicy string `json:"sc_failover_policy,omitempty"`

	// Name of SmartConnect service subnet for this pool.
	ScSubnet string `json:"sc_subnet,omitempty"`

	// List of LNNs showing currently suspended nodes in SmartConnect.
	ScSuspendedNodes []int32 `json:"sc_suspended_nodes,omitempty"`

	// Time to live value for SmartConnect DNS query responses in seconds.
	ScTtl int32 `json:"sc_ttl,omitempty"`

	// List of interface members in this pool.
	StaticRoutes []SubnetsSubnetPoolStaticRoute `json:"static_routes,omitempty"`

	// The name of the subnet.
	Subnet string `json:"subnet,omitempty"`
}

type NetworkPools ¶

type NetworkPools struct {
	Pools []NetworkPool `json:"pools,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type NfsAlias ¶

type NfsAlias struct {

	// Specifies whether the alias is usable.
	Health string `json:"health,omitempty"`

	// Specifies the name by which the alias can be referenced.
	Name string `json:"name,omitempty"`

	// Specifies the path to which the alias points.
	Path string `json:"path,omitempty"`

	// Specifies the zone in which the alias is valid.
	Zone string `json:"zone,omitempty"`
}

Specifies properties for NFS aliases, which are names for physical paths in the file system.

type NfsAliasCreateParams ¶

type NfsAliasCreateParams struct {

	// Specifies whether the alias is usable.
	Health string `json:"health,omitempty"`

	// Specifies the name by which the alias can be referenced.
	Name string `json:"name"`

	// Specifies the path to which the alias points.
	Path string `json:"path"`

	// Specifies the zone in which the alias is valid.
	Zone string `json:"zone,omitempty"`
}

type NfsAliasExtended ¶

type NfsAliasExtended struct {

	// Specifies whether the alias is usable.
	Health string `json:"health,omitempty"`

	// Specifies the name by which the alias can be referenced.
	Name string `json:"name,omitempty"`

	// Specifies the path to which the alias points.
	Path string `json:"path,omitempty"`

	// Specifies the zone in which the alias is valid.
	Zone string `json:"zone,omitempty"`

	// Specifies a string which represents the unique location of the alias.
	Id string `json:"id,omitempty"`
}

type NfsAliases ¶

type NfsAliases struct {
	Aliases []NfsAliasExtended `json:"aliases,omitempty"`
}

type NfsAliasesExtended ¶

type NfsAliasesExtended struct {
	Aliases []NfsAliasExtended `json:"aliases,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type NfsCheck ¶

type NfsCheck struct {

	// The ID of the export.
	Id int32 `json:"id,omitempty"`

	// The message about the export.
	Messages string `json:"messages"`
}

type NfsCheckExtended ¶

type NfsCheckExtended struct {
	Checks []NfsCheck `json:"checks,omitempty"`
}

Validation information about NFS exports.

type NfsExport ¶

type NfsExport 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 accommoate 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"`

	// User and group mapping.
	MapAll *NfsSettingsExportSettingsMapAll `json:"map_all,omitempty"`

	// User and group mapping.
	MapFailure *NfsSettingsExportSettingsMapAll `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"`

	// User and group mapping.
	MapNonRoot *NfsSettingsExportSettingsMapAll `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"`

	// User and group mapping.
	MapRoot *NfsSettingsExportSettingsMapAll `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 int32 `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 synchronization type.
	WriteDatasyncAction string `json:"write_datasync_action,omitempty"`

	// Specifies the synchronization type.
	WriteDatasyncReply string `json:"write_datasync_reply,omitempty"`

	// Specifies the synchronization type.
	WriteFilesyncAction string `json:"write_filesync_action,omitempty"`

	// Specifies the synchronization type.
	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 synchronization type.
	WriteUnstableAction string `json:"write_unstable_action,omitempty"`

	// Specifies the synchronization type.
	WriteUnstableReply string `json:"write_unstable_reply,omitempty"`

	// Specifies the zone in which the export is valid.
	Zone string `json:"zone,omitempty"`
}

Specifies configuration values for NFS exports.

type NfsExportCreateParams ¶

type NfsExportCreateParams 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 accommoate 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"`

	// User and group mapping.
	MapAll *NfsSettingsExportSettingsMapAll `json:"map_all,omitempty"`

	// User and group mapping.
	MapFailure *NfsSettingsExportSettingsMapAll `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"`

	// User and group mapping.
	MapNonRoot *NfsSettingsExportSettingsMapAll `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"`

	// User and group mapping.
	MapRoot *NfsSettingsExportSettingsMapAll `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 int32 `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 synchronization type.
	WriteDatasyncAction string `json:"write_datasync_action,omitempty"`

	// Specifies the synchronization type.
	WriteDatasyncReply string `json:"write_datasync_reply,omitempty"`

	// Specifies the synchronization type.
	WriteFilesyncAction string `json:"write_filesync_action,omitempty"`

	// Specifies the synchronization type.
	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 synchronization type.
	WriteUnstableAction string `json:"write_unstable_action,omitempty"`

	// Specifies the synchronization type.
	WriteUnstableReply string `json:"write_unstable_reply,omitempty"`

	// Specifies the zone in which the export is valid.
	Zone string `json:"zone,omitempty"`
}

type NfsExportExtended ¶

type NfsExportExtended 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 accommoate 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"`

	// User and group mapping.
	MapAll *NfsSettingsExportSettingsMapAll `json:"map_all,omitempty"`

	// User and group mapping.
	MapFailure *NfsSettingsExportSettingsMapAll `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"`

	// User and group mapping.
	MapNonRoot *NfsSettingsExportSettingsMapAll `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"`

	// User and group mapping.
	MapRoot *NfsSettingsExportSettingsMapAll `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 int32 `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 synchronization type.
	WriteDatasyncAction string `json:"write_datasync_action,omitempty"`

	// Specifies the synchronization type.
	WriteDatasyncReply string `json:"write_datasync_reply,omitempty"`

	// Specifies the synchronization type.
	WriteFilesyncAction string `json:"write_filesync_action,omitempty"`

	// Specifies the synchronization type.
	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 synchronization type.
	WriteUnstableAction string `json:"write_unstable_action,omitempty"`

	// Specifies the synchronization type.
	WriteUnstableReply string `json:"write_unstable_reply,omitempty"`

	// Specifies the zone in which the export is valid.
	Zone string `json:"zone,omitempty"`

	// Reports the paths that conflict with another export.
	ConflictingPaths []string `json:"conflicting_paths,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"`

	// Reports clients that cannot be resolved.
	UnresolvedClients []string `json:"unresolved_clients,omitempty"`
}

type NfsExports ¶

type NfsExports struct {
	Exports []NfsExportExtended `json:"exports,omitempty"`
}

type NfsExportsExtended ¶

type NfsExportsExtended struct {
	Exports []NfsExportExtended `json:"exports,omitempty"`

	// An identifier for a set of exports.
	Digest string `json:"digest,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type NfsExportsSummary ¶

type NfsExportsSummary struct {

	// The summary of a collection of objects.
	Summary *NfsExportsSummarySummary `json:"summary,omitempty"`
}

type NfsExportsSummarySummary ¶

type NfsExportsSummarySummary struct {

	// The count of objects in the collection
	Count int32 `json:"count"`
}

type NfsLogLevel ¶

type NfsLogLevel struct {

	// Valid NFS logging levels
	Level string `json:"level,omitempty"`
}

type NfsNetgroup ¶

type NfsNetgroup struct {

	// NFS netgroup cache settings.
	Settings *NfsNetgroupSettings `json:"settings,omitempty"`
}

type NfsNetgroupSettings ¶

type NfsNetgroupSettings struct {

	// To-disk backup interval for the netgroup cache.
	Bgwrite int32 `json:"bgwrite,omitempty"`

	// Time between updates of netgroups in the cache.
	Expiration int32 `json:"expiration,omitempty"`

	// Length of time an un-accessed netgroup remains in the cache.
	Lifetime int32 `json:"lifetime,omitempty"`

	// Retry interval for netgroup updates if the remote provider is unresponsive.
	Retry int32 `json:"retry,omitempty"`
}

type NfsNlmLocks ¶

type NfsNlmLocks struct {
	Locks []NfsNlmLocksLock `json:"locks,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type NfsNlmLocksLock ¶

type NfsNlmLocksLock struct {

	// Specifies the client host name and IP address.
	Client string `json:"client,omitempty"`

	// Specifies the client ID.
	ClientId string `json:"client_id,omitempty"`

	// Specifies the UNIX EPoch time that the lock was created.
	Created int32 `json:"created,omitempty"`

	// Specifies the system-assigned ID given to the lock. This value is returned when the lock is created with the POST method.
	Id string `json:"id,omitempty"`

	// Specifies the LIN in /ifs that is locked.
	Lin string `json:"lin,omitempty"`

	// Specifies the lock type.
	LockType string `json:"lock_type,omitempty"`

	// Specifies the path under /ifs that is locked.
	Path string `json:"path,omitempty"`

	// Specifies the byte range within the locked file.
	Range_ []int32 `json:"range,omitempty"`
}

type NfsNlmSessions ¶

type NfsNlmSessions struct {
	Sessions []NfsNlmSessionsSession `json:"sessions,omitempty"`
}

type NfsNlmSessionsExtended ¶

type NfsNlmSessionsExtended struct {
	Clients []NfsNlmSessionsSession `json:"clients,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type NfsNlmSessionsSession ¶

type NfsNlmSessionsSession struct {
	Delegates []int32 `json:"delegates,omitempty"`

	// The sort of host that this entry represents
	HostType string `json:"host_type,omitempty"`

	// The host being monitored
	Hostname string `json:"hostname,omitempty"`

	// Whether or not the client is actively being monitored
	IsActive bool `json:"is_active,omitempty"`

	// Unix time in seconds that the client was last modified (monitored or unmonitored)
	LastModified int32 `json:"last_modified,omitempty"`

	// An IP address for which NSM has client records
	NodeIp string `json:"node_ip,omitempty"`

	// Number of times we will attempt to notify this client before giving up
	NotifyAttemptsRemaining int32 `json:"notify_attempts_remaining,omitempty"`

	// Last error recieved attempting to notify this client
	NotifyError string `json:"notify_error,omitempty"`

	// Unix time in seconds when we last attempted to notify this clients
	NotifyLastAttempt int32 `json:"notify_last_attempt,omitempty"`
}

type NfsNlmWaiters ¶

type NfsNlmWaiters struct {

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`

	Waiters []NfsNlmLocksLock `json:"waiters,omitempty"`
}

type NfsSettingsExport ¶

type NfsSettingsExport struct {

	// Specifies configuration values for NFS exports.
	Settings *NfsSettingsExportSettings `json:"settings,omitempty"`
}

Default NFS export configuration values.

type NfsSettingsExportSettings ¶

type NfsSettingsExportSettings 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 accommoate 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"`

	// True if NFS  commit  requests execute asynchronously.
	CommitAsynchronous bool `json:"commit_asynchronous,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"`

	// User and group mapping.
	MapAll *NfsSettingsExportSettingsMapAll `json:"map_all,omitempty"`

	// User and group mapping.
	MapFailure *NfsSettingsExportSettingsMapAll `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"`

	// User and group mapping.
	MapNonRoot *NfsSettingsExportSettingsMapAll `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"`

	// User and group mapping.
	MapRoot *NfsSettingsExportSettingsMapAll `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 int32 `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"`

	// True if the export is set to read-only.
	ReadOnly bool `json:"read_only,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"`

	// 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"`

	// 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 synchronization type.
	WriteDatasyncAction string `json:"write_datasync_action,omitempty"`

	// Specifies the synchronization type.
	WriteDatasyncReply string `json:"write_datasync_reply,omitempty"`

	// Specifies the synchronization type.
	WriteFilesyncAction string `json:"write_filesync_action,omitempty"`

	// Specifies the synchronization type.
	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 synchronization type.
	WriteUnstableAction string `json:"write_unstable_action,omitempty"`

	// Specifies the synchronization type.
	WriteUnstableReply string `json:"write_unstable_reply,omitempty"`

	// Specifies the zone in which the export is valid.
	Zone string `json:"zone,omitempty"`
}

type NfsSettingsExportSettingsMapAll ¶

type NfsSettingsExportSettingsMapAll struct {

	// True if the user mapping is applied.
	Enabled bool `json:"enabled,omitempty"`

	// Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.
	PrimaryGroup *AuthAccessAccessItemFileGroup `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 []NfsSettingsExportSettingsMapAllSecondaryGroups `json:"secondary_groups,omitempty"`

	// Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.
	User *AuthAccessAccessItemFileGroup `json:"user,omitempty"`
}

type NfsSettingsExportSettingsMapAllSecondaryGroups ¶

type NfsSettingsExportSettingsMapAllSecondaryGroups 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"`
}

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

type NfsSettingsGlobal ¶

type NfsSettingsGlobal struct {

	// Specifies the global NFS configuration settings.
	Settings *NfsSettingsGlobalSettings `json:"settings,omitempty"`
}

type NfsSettingsGlobalSettings ¶

type NfsSettingsGlobalSettings struct {

	// True if NFSv3 is enabled.
	Nfsv3Enabled bool `json:"nfsv3_enabled,omitempty"`

	// True if NFSv4 is enabled.
	Nfsv4Enabled bool `json:"nfsv4_enabled,omitempty"`

	// Specifies the maximum number of threads in the nfsd thread pool.
	RpcMaxthreads int32 `json:"rpc_maxthreads,omitempty"`

	// Specifies the minimum number of threads in the nfsd thread pool.
	RpcMinthreads int32 `json:"rpc_minthreads,omitempty"`

	// True if the NFS service is enabled. When set to false, the NFS service is disabled.
	Service bool `json:"service,omitempty"`
}

type NfsSettingsZone ¶

type NfsSettingsZone struct {

	// Specifies the per-zone NFS configuration settings.
	Settings *NfsSettingsZoneSettings `json:"settings,omitempty"`
}

type NfsSettingsZoneSettings ¶

type NfsSettingsZoneSettings struct {

	// If true, sends owners and groups as UIDs and GIDs when look up fails or if the 'nfsv4_no_name' property is set to 1.
	Nfsv4AllowNumericIds bool `json:"nfsv4_allow_numeric_ids,omitempty"`

	// Specifies the domain or realm through which users and groups are associated.
	Nfsv4Domain string `json:"nfsv4_domain,omitempty"`

	// If true, sends owners and groups without a domain name.
	Nfsv4NoDomain bool `json:"nfsv4_no_domain,omitempty"`

	// If true, sends UIDs and GIDs without a domain name.
	Nfsv4NoDomainUids bool `json:"nfsv4_no_domain_uids,omitempty"`

	// If true, sends owners and groups as UIDs and GIDs.
	Nfsv4NoNames bool `json:"nfsv4_no_names,omitempty"`

	// If true, replaces the owner or group domain with an NFS domain name.
	Nfsv4ReplaceDomain bool `json:"nfsv4_replace_domain,omitempty"`

	// Specifies the access zones in which these settings apply.
	Zone string `json:"zone,omitempty"`
}

type NodeDriveconfig ¶

type NodeDriveconfig struct {
	Nodes []NodeDriveconfigNode `json:"nodes,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type NodeDriveconfigExtended ¶

type NodeDriveconfigExtended struct {

	// Configuration settings for automatic replacement recognition (ARR).
	AutomaticReplacementRecognition *NodeDriveconfigNodeAutomaticReplacementRecognition `json:"automatic_replacement_recognition,omitempty"`
}

An object containing a node's drive subsystem XML configuration file.

type NodeDriveconfigNode ¶

type NodeDriveconfigNode struct {

	// Configuration setting for drive alerts.
	Alert *NodeDriveconfigNodeAlert `json:"alert,omitempty"`

	// Configuration settings for drive formatting.
	Allow *NodeDriveconfigNodeAllow `json:"allow,omitempty"`

	// Configuration settings for automatic replacement recognition (ARR).
	AutomaticReplacementRecognition *NodeDriveconfigNodeAutomaticReplacementRecognition `json:"automatic_replacement_recognition,omitempty"`

	// Node ID (Device Number) of this node.
	Id int32 `json:"id,omitempty"`

	// Logical Node Number (LNN) of this node.
	Lnn int32 `json:"lnn,omitempty"`

	// Configuration settings for drive statistics logs.
	Log *NodeDriveconfigNodeLog `json:"log,omitempty"`

	// Configuration settings for a node reboot due to a drive error.
	Reboot *NodeDriveconfigNodeReboot `json:"reboot,omitempty"`

	// Configuration settings for sleeping the drive daemon before node is rescanned.
	SpinWait *NodeDriveconfigNodeSpinWait `json:"spin_wait,omitempty"`

	// Configuration settings to evaluate a drive stall.
	Stall *NodeDriveconfigNodeStall `json:"stall,omitempty"`
}

type NodeDriveconfigNodeAlert ¶

type NodeDriveconfigNodeAlert struct {

	// Send alerts for unknown drive firmware.
	UnknownFirmware bool `json:"unknown_firmware,omitempty"`

	// Send alerts for unknown drive model.
	UnknownModel bool `json:"unknown_model,omitempty"`
}

type NodeDriveconfigNodeAllow ¶

type NodeDriveconfigNodeAllow struct {

	// Allow formatting a drive model with unknown firmware.
	FormatUnknownFirmware bool `json:"format_unknown_firmware,omitempty"`

	// Allow formatting an unknown drive model.
	FormatUnknownModel bool `json:"format_unknown_model,omitempty"`
}

type NodeDriveconfigNodeAutomaticReplacementRecognition ¶

type NodeDriveconfigNodeAutomaticReplacementRecognition struct {

	// Enable automatic replacement recognition (ARR).
	Enabled bool `json:"enabled,omitempty"`
}

type NodeDriveconfigNodeLog ¶

type NodeDriveconfigNodeLog struct {

	// Indicates whether or not to log the drive statistics.
	DriveStats bool `json:"drive_stats,omitempty"`
}

type NodeDriveconfigNodeReboot ¶

type NodeDriveconfigNodeReboot struct {

	// Indicates whether or not to reboot the node due to a lost chassis.
	ChassisLoss bool `json:"chassis_loss,omitempty"`

	// Indicates whether or not to reboot the node if no drives are present.
	NonePresent bool `json:"none_present,omitempty"`
}

type NodeDriveconfigNodeSpinWait ¶

type NodeDriveconfigNodeSpinWait struct {

	// Seconds to wait between enabling a bay and checking for an inserted drive.
	CheckDrive int32 `json:"check_drive,omitempty"`

	// Seconds to wait between enabling a bay and enabling another bay.
	Stagger int32 `json:"stagger,omitempty"`
}

type NodeDriveconfigNodeStall ¶

type NodeDriveconfigNodeStall struct {

	// The amount of time in seconds with no stalls before ignoring previous stalls.
	ClearTime int32 `json:"clear_time,omitempty"`

	// Number of stripes to read during a diskscrub.
	DiskscrubStripes int32 `json:"diskscrub_stripes,omitempty"`

	// The number of errors during stalled drive disk exercises to cause the drive to be softfailed.
	MaxErrorFrequency int32 `json:"max_error_frequency,omitempty"`

	// The number of slow accesses during stalled drive disk exercises to cause the drive to be softfailed.
	MaxSlowAccess int32 `json:"max_slow_access,omitempty"`

	// The number of slow frequency triggers during stalled drive disk exercises to cause the drive to be softfailed.
	MaxSlowFrequency int32 `json:"max_slow_frequency,omitempty"`

	// The maximum amount of time, in seconds, to remain stalled before softfailing the drive.
	MaxTotalStallTime int32 `json:"max_total_stall_time,omitempty"`

	// Maximum delay in seconds after an ECC correction during a scan.
	ScanMaxEccDelay int32 `json:"scan_max_ecc_delay,omitempty"`

	// Total bytes of error-free reads to complete a scan.
	ScanSize int32 `json:"scan_size,omitempty"`

	// Delay in seconds between evaluations.
	Sleep int32 `json:"sleep,omitempty"`
}

type NodeDrives ¶

type NodeDrives struct {

	// A list of errors encountered by the individual nodes involved in this request, or an empty list if there were no errors.
	Errors []NodeDrivesPurposelistError `json:"errors,omitempty"`

	// The responses from the individual nodes involved in this request.
	Nodes []NodeDrivesNode `json:"nodes,omitempty"`

	// The total number of nodes responding.
	Total int32 `json:"total,omitempty"`
}

type NodeDrivesNode ¶

type NodeDrivesNode struct {

	// List of the drives in this node.
	Drives []NodeDrivesNodeDrive `json:"drives,omitempty"`

	// Error message, if the HTTP status returned from this node was not 200.
	Error_ string `json:"error,omitempty"`

	// Node ID of the node reporting this information.
	Id int32 `json:"id,omitempty"`

	// Logical node number of the node reporting this information.
	Lnn int32 `json:"lnn,omitempty"`

	// Status of the HTTP response from this node if not 200.  If 200, this field does not appear.
	Status int32 `json:"status,omitempty"`
}

type NodeDrivesNodeDrive ¶

type NodeDrivesNodeDrive struct {

	// The name of the bay group this drive belongs to.
	BayGroup string `json:"bay_group,omitempty"`

	// Numerical representation of this drive's bay.
	Baynum int32 `json:"baynum,omitempty"`

	// Number of blocks on this drive.
	Blocks int32 `json:"blocks,omitempty"`

	// The chassis number which contains this drive.
	Chassis int32 `json:"chassis,omitempty"`

	// This drive's device name.
	Devname string `json:"devname,omitempty"`

	// Drive firmware information.
	Firmware *NodeDrivesNodeDriveFirmware `json:"firmware,omitempty"`

	// Drive_d's handle representation for this drive
	Handle int32 `json:"handle,omitempty"`

	// String representtation of this drive's interface type.
	InterfaceType string `json:"interface_type,omitempty"`

	// This drive's logical drive number in IFS.
	Lnum int32 `json:"lnum,omitempty"`

	// String representation of this drive's physical location.
	Locnstr string `json:"locnstr,omitempty"`

	// Size of a logical block on this drive.
	LogicalBlockLength int32 `json:"logical_block_length,omitempty"`

	// String representation of this drive's media type.
	MediaType string `json:"media_type,omitempty"`

	// This drive's manufacturer and model.
	Model string `json:"model,omitempty"`

	// This drive's current outstanding actions. For example, \"add\" or \"firmware_update\".
	PendingActions []string `json:"pending_actions,omitempty"`

	// Size of a physical block on this drive.
	PhysicalBlockLength int32 `json:"physical_block_length,omitempty"`

	// Indicates whether this drive is physically present in the node.
	Present bool `json:"present,omitempty"`

	// This drive's purpose in the DRV state machine.
	Purpose string `json:"purpose,omitempty"`

	// Description of this drive's purpose.
	PurposeDescription string `json:"purpose_description,omitempty"`

	// Serial number for this drive.
	Serial string `json:"serial,omitempty"`

	// This drive's state as presented to the UI.
	UiState string `json:"ui_state,omitempty"`

	// The drive's 'worldwide name' from its NAA identifiers.
	Wwn string `json:"wwn,omitempty"`

	// This drive's x-axis grid location.
	XLoc int32 `json:"x_loc,omitempty"`

	// This drive's y-axis grid location.
	YLoc int32 `json:"y_loc,omitempty"`
}

type NodeDrivesNodeDriveFirmware ¶

type NodeDrivesNodeDriveFirmware struct {

	// This drive's current firmware revision
	CurrentFirmware string `json:"current_firmware,omitempty"`

	// This drive's desired firmware revision.
	DesiredFirmware string `json:"desired_firmware,omitempty"`
}

type NodeDrivesPurposelist ¶

type NodeDrivesPurposelist struct {

	// A list of errors encountered by the individual nodes involved in this request, or an empty list if there were no errors.
	Errors []NodeDrivesPurposelistError `json:"errors,omitempty"`

	// The responses from the individual nodes involved in this request.
	Nodes []NodeDrivesPurposelistNode `json:"nodes,omitempty"`

	// The total number of nodes responding.
	Total int32 `json:"total,omitempty"`
}

type NodeDrivesPurposelistError ¶

type NodeDrivesPurposelistError struct {

	// The general meaning of the status code.
	Code string `json:"code,omitempty"`

	// Logical node number of the node reporting this error.
	Lnn int32 `json:"lnn,omitempty"`

	// More detailed description of the error.
	Message string `json:"message,omitempty"`

	// HTTP Status code returned by this node.
	Status int32 `json:"status,omitempty"`
}

type NodeDrivesPurposelistNode ¶

type NodeDrivesPurposelistNode struct {

	// Error message, if the HTTP status returned from this node was not 200.
	Error_ string `json:"error,omitempty"`

	// Node ID of the node reporting this information.
	Id int32 `json:"id,omitempty"`

	// Logical node number of the node reporting this information.
	Lnn int32 `json:"lnn,omitempty"`

	// List of the drive purposes available on this node.
	Purposes []NodeDrivesPurposelistNodePurpose `json:"purposes,omitempty"`

	// Status of the HTTP response from this node if not 200.  If 200, this field does not appear.
	Status int32 `json:"status,omitempty"`
}

type NodeDrivesPurposelistNodePurpose ¶

type NodeDrivesPurposelistNodePurpose struct {

	// String representation of this purpose for API use.
	Purpose string `json:"purpose,omitempty"`

	// A description of this purpose.
	PurposeDescription string `json:"purpose_description,omitempty"`
}

type NodeHardware ¶

type NodeHardware struct {
	Nodes []NodeHardwareNode `json:"nodes,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type NodeHardwareFast ¶

type NodeHardwareFast struct {
	Nodes []NodeHardwareFastNode `json:"nodes,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type NodeHardwareFastNode ¶

type NodeHardwareFastNode struct {

	// Node ID (Device Number) of this node.
	Id int32 `json:"id,omitempty"`

	// Logical Node Number (LNN) of this node.
	Lnn int32 `json:"lnn,omitempty"`

	// Isilon product name.
	Product string `json:"product,omitempty"`

	// Serial number of this node.
	SerialNumber string `json:"serial_number,omitempty"`

	// Storage class of this node (storage or diskless).
	StorageClass string `json:"storage_class,omitempty"`
}

type NodeHardwareNode ¶

type NodeHardwareNode struct {

	// Name of this node's chassis.
	Chassis string `json:"chassis,omitempty"`

	// Chassis code of this node (1U, 2U, etc.).
	ChassisCode string `json:"chassis_code,omitempty"`

	// Number of chassis making up this node.
	ChassisCount string `json:"chassis_count,omitempty"`

	// Chassis depth for this node if applicable (Normal, Deep, Unknown). If not supported: Unknown. If Logic to determine chassis depth fails: Unknown. If PSI_Get fails: Unknown. PSI_Get can fail if PSI not initialized, or key does not exist.
	ChassisDepth string `json:"chassis_depth,omitempty"`

	// Class of this node (storage, accelerator, etc.).
	Class string `json:"class,omitempty"`

	// Code name of this node if applicable (Minnetonka, MiniHuron, Huron, Union, Tahoe, Superior, Unknown). If not supported: Unknown. If Logic to determine code name fails: Unknown. If PSI_Get fails: Unknown. PSI_Get can fail if PSI not initialized, or key does not exist.
	CodeName string `json:"code_name,omitempty"`

	// Type of compute node if applicable (Low, Medium, High, Turbo, Ultra, Unknown). If not supported: Unknown. If Logic to determine compute type fails: Unknown. If PSI_Get fails: Unknown. PSI_Get can fail if PSI not initialized, or key does not exist.
	ComputeType string `json:"compute_type,omitempty"`

	// Node configuration ID.
	ConfigurationId string `json:"configuration_id,omitempty"`

	// Manufacturer and model of this node's CPU.
	Cpu string `json:"cpu,omitempty"`

	// Manufacturer and model of this node's disk controller.
	DiskController string `json:"disk_controller,omitempty"`

	// Manufacturer and model of this node's disk expander.
	DiskExpander string `json:"disk_expander,omitempty"`

	// Family code of this node (X, S, NL, etc.).
	FamilyCode string `json:"family_code,omitempty"`

	// Manufacturer, model, and device id of this node's flash drive.
	FlashDrive string `json:"flash_drive,omitempty"`

	// Generation code of this node.
	GenerationCode string `json:"generation_code,omitempty"`

	// Isilon hardware generation name.
	Hwgen string `json:"hwgen,omitempty"`

	// Node ID (Device Number) of this node.
	Id int32 `json:"id,omitempty"`

	// Version of this node's Isilon Management Board.
	ImbVersion string `json:"imb_version,omitempty"`

	// Infiniband card type.
	Infiniband string `json:"infiniband,omitempty"`

	// Version of the LCD panel.
	LcdVersion string `json:"lcd_version,omitempty"`

	// Logical Node Number (LNN) of this node.
	Lnn int32 `json:"lnn,omitempty"`

	// Isilon node model identifier string (S200, X410, Infinity-H500, etc.).
	Model string `json:"model,omitempty"`

	// Isilon node model code string (S200, X410, H500, etc.).
	ModelCode string `json:"model_code,omitempty"`

	// Manufacturer and model of this node's motherboard.
	Motherboard string `json:"motherboard,omitempty"`

	// Description of all this node's network interfaces.
	NetInterfaces string `json:"net_interfaces,omitempty"`

	// Position of node within chassis (e.g., 1-4 for Infinity chassis). -1 for error or not supported.
	NodeSlotId int32 `json:"node_slot_id,omitempty"`

	// Manufacturer and model of this node's NVRAM board.
	Nvram string `json:"nvram,omitempty"`

	// Serial number of this node's peer/buddy node.(Infinity Only)
	PeerSerialNumber string `json:"peer_serial_number,omitempty"`

	// Performance code of this node, if applicable (2, 4, 5, etc.).
	PerformanceCode string `json:"performance_code,omitempty"`

	// Description strings for each power supply on this node.
	Powersupplies []string `json:"powersupplies,omitempty"`

	// Number of processors and cores on this node.
	Processor string `json:"processor,omitempty"`

	// Isilon product name.
	Product string `json:"product,omitempty"`

	// Size of RAM in bytes.
	Ram int32 `json:"ram,omitempty"`

	// Serial number of this node.
	SerialNumber string `json:"serial_number,omitempty"`

	// Series of this node (X, I, NL, etc.).
	Series string `json:"series,omitempty"`

	// Size of drive sleds in node, if applicable. Expected values: 3, 4, 6. 0 if unable to determine sled size. -1 for error or not supported. If PSI_Get fails: -1. PSI_Get can fail if PSI not initialized, or key does not exist.
	SledDriveCount int32 `json:"sled_drive_count,omitempty"`

	// Storage class of this node (storage or diskless).
	StorageClass string `json:"storage_class,omitempty"`

	// Platform tier level of this node if applicable (1-4 are defined, 0 for unknown or not supported, -1 for error). If not supported: 0. If Logic to determine tier fails: 0 for unknown. If PSI_Get fails: -1 for error. PSI_Get can fail if PSI not initialized, or key does not exist.
	Tier int32 `json:"tier,omitempty"`

	// Serial number of the top level assembly of this node.(Infinity Only)
	TopLevelAssemblySerialNumber string `json:"top_level_assembly_serial_number"`
}

type NodePartitions ¶

type NodePartitions struct {

	// A list of errors encountered by the individual nodes involved in this request, or an empty list if there were no errors.
	Errors []NodeDrivesPurposelistError `json:"errors,omitempty"`

	// The responses from the individual nodes involved in this request.
	Nodes []NodePartitionsNode `json:"nodes,omitempty"`

	// The total number of nodes responding.
	Total int32 `json:"total,omitempty"`
}

type NodePartitionsNode ¶

type NodePartitionsNode struct {

	// Count of how many partitions are included.
	Count int32 `json:"count,omitempty"`

	// Error message, if the HTTP status returned from this node was not 200.
	Error_ string `json:"error,omitempty"`

	// Node ID of the node reporting this information.
	Id int32 `json:"id,omitempty"`

	// Logical node number of the node reporting this information.
	Lnn int32 `json:"lnn,omitempty"`

	// Partition information.
	Partitions []NodePartitionsNodePartition `json:"partitions,omitempty"`

	// Status of the HTTP response from this node if not 200.  If 200, this field does not appear.
	Status int32 `json:"status,omitempty"`
}

type NodePartitionsNodePartition ¶

type NodePartitionsNodePartition struct {

	// The block size used for the reported partition information.
	BlockSize int32 `json:"block_size,omitempty"`

	// Total blocks on this file system partition.
	Capacity int32 `json:"capacity,omitempty"`

	// Comma separated list of devices used for this file system partition.
	ComponentDevices string `json:"component_devices,omitempty"`

	// Directory on which this partition is mounted.
	MountPoint string `json:"mount_point,omitempty"`

	// Used blocks on this file system partition, expressed as a percentage.
	PercentUsed string `json:"percent_used,omitempty"`

	// System partition details as provided by statfs(2).
	Statfs *NodePartitionsNodePartitionStatfs `json:"statfs,omitempty"`

	// Used blocks on this file system partition.
	Used int32 `json:"used,omitempty"`
}

type NodePartitionsNodePartitionStatfs ¶

type NodePartitionsNodePartitionStatfs struct {

	// Free blocks available to non-superuser on this partition.
	FBavail int32 `json:"f_bavail,omitempty"`

	// Free blocks on this partition.
	FBfree int32 `json:"f_bfree,omitempty"`

	// Total data blocks on this partition.
	FBlocks int32 `json:"f_blocks,omitempty"`

	// Filesystem fragment size; block size in OneFS.
	FBsize int32 `json:"f_bsize,omitempty"`

	// Free file nodes avail to non-superuser.
	FFfree int32 `json:"f_ffree,omitempty"`

	// Total file nodes in filesystem.
	FFiles int32 `json:"f_files,omitempty"`

	// Mount exported flags.
	FFlags int32 `json:"f_flags,omitempty"`

	// File system type name.
	FFstypename string `json:"f_fstypename,omitempty"`

	// Optimal transfer block size.
	FIosize int32 `json:"f_iosize,omitempty"`

	// Names of devices this partition is mounted from.
	FMntfromname string `json:"f_mntfromname,omitempty"`

	// Directory this partition is mounted to.
	FMntonname string `json:"f_mntonname,omitempty"`

	// Maximum filename length.
	FNamemax int32 `json:"f_namemax,omitempty"`

	// UID of user that mounted the filesystem.
	FOwner int32 `json:"f_owner,omitempty"`

	// Type of filesystem.
	FType int32 `json:"f_type,omitempty"`

	// statfs() structure version number.
	FVersion int32 `json:"f_version,omitempty"`
}

type NodeSensors ¶

type NodeSensors struct {

	// A list of errors encountered by the individual nodes involved in this request, or an empty list if there were no errors.
	Errors []NodeDrivesPurposelistError `json:"errors,omitempty"`

	// The responses from the individual nodes involved in this request.
	Nodes []NodeSensorsNode `json:"nodes,omitempty"`

	// The total number of nodes responding.
	Total int32 `json:"total,omitempty"`
}

type NodeSensorsNode ¶

type NodeSensorsNode struct {

	// Error message, if the HTTP status returned from this node was not 200.
	Error_ string `json:"error,omitempty"`

	// Node ID of the node reporting this information.
	Id int32 `json:"id,omitempty"`

	// Logical node number of the node reporting this information.
	Lnn int32 `json:"lnn,omitempty"`

	// This node's sensor information.
	Sensors []NodeSensorsNodeSensor `json:"sensors,omitempty"`

	// Status of the HTTP response from this node if not 200.  If 200, this field does not appear.
	Status int32 `json:"status,omitempty"`
}

type NodeSensorsNodeSensor ¶

type NodeSensorsNodeSensor struct {

	// The count of values in this sensor group.
	Count int32 `json:"count,omitempty"`

	// The name of this sensor group.
	Name string `json:"name,omitempty"`

	// The list of specific sensor value info in this sensor group.
	Values []NodeSensorsNodeSensorValue `json:"values,omitempty"`
}

type NodeSensorsNodeSensorValue ¶

type NodeSensorsNodeSensorValue struct {

	// The descriptive name of this sensor.
	Desc string `json:"desc,omitempty"`

	// The identifier name of this sensor.
	Name string `json:"name,omitempty"`

	// The units of this sensor.
	Units string `json:"units,omitempty"`

	// The value of this sensor.
	Value string `json:"value,omitempty"`
}

type NodeSleds ¶

type NodeSleds struct {

	// A list of errors encountered by the individual nodes involved in this request, or an empty list if there were no errors.
	Errors []NodeDrivesPurposelistError `json:"errors,omitempty"`

	// The responses from the individual nodes involved in this request.
	Nodes []NodeSledsNode `json:"nodes,omitempty"`

	// The total number of nodes responding.
	Total int32 `json:"total,omitempty"`
}

type NodeSledsNode ¶

type NodeSledsNode struct {

	// Error message, if the HTTP status returned from this node was not 200.
	Error_ string `json:"error,omitempty"`

	// Node ID of the node reporting this information.
	Id int32 `json:"id,omitempty"`

	// Logical node number of the node reporting this information.
	Lnn int32 `json:"lnn,omitempty"`

	// List of the sleds in this node.
	Sleds []NodeSledsNodeSled `json:"sleds,omitempty"`

	// Status of the HTTP response from this node if not 200.  If 200, this field does not appear.
	Status int32 `json:"status,omitempty"`
}

type NodeSledsNodeSled ¶

type NodeSledsNodeSled struct {

	// Boolean to indicate whether or not the sled is safe to remove.
	IsRemoveable bool `json:"is_removeable"`

	// The sled letter which OneFS uses to refer to this sled in the node.
	SledLetter string `json:"sled_letter"`

	// The state of physical presence of a sled.
	SledState string `json:"sled_state"`
}

type NodeState ¶

type NodeState struct {

	// A list of errors encountered by the individual nodes involved in this request, or an empty list if there were no errors.
	Errors []NodeDrivesPurposelistError `json:"errors,omitempty"`

	// The responses from the individual nodes involved in this request.
	Nodes []NodeStateNode `json:"nodes,omitempty"`

	// The total number of nodes responding.
	Total int32 `json:"total,omitempty"`
}

type NodeStateNode ¶

type NodeStateNode struct {

	// Error message, if the HTTP status returned from this node was not 200.
	Error_ string `json:"error,omitempty"`

	// Node ID of the node reporting this information.
	Id int32 `json:"id,omitempty"`

	// Logical node number of the node reporting this information.
	Lnn int32 `json:"lnn,omitempty"`

	// Node readonly state.
	Readonly *NodeStateReadonlyExtended `json:"readonly,omitempty"`

	// Node service light state.
	Servicelight *NodeStateNodeServicelight `json:"servicelight,omitempty"`

	// Node smartfail state.
	Smartfail *NodeStateSmartfailExtended `json:"smartfail,omitempty"`

	// Status of the HTTP response from this node if not 200.  If 200, this field does not appear.
	Status int32 `json:"status,omitempty"`
}

type NodeStateNodeServicelight ¶

type NodeStateNodeServicelight struct {

	// The node service light state (True = on).
	Enabled bool `json:"enabled"`

	// This node has a service light.
	Present bool `json:"present,omitempty"`

	// This node supports a service light.
	Supported bool `json:"supported,omitempty"`

	// The node service light state is valid (False = Error).
	Valid bool `json:"valid,omitempty"`
}

type NodeStateReadonly ¶

type NodeStateReadonly struct {

	// A list of errors encountered by the individual nodes involved in this request, or an empty list if there were no errors.
	Errors []NodeDrivesPurposelistError `json:"errors,omitempty"`

	// The responses from the individual nodes involved in this request.
	Nodes []NodeStateReadonlyNode `json:"nodes,omitempty"`

	// The total number of nodes responding.
	Total int32 `json:"total,omitempty"`
}

type NodeStateReadonlyExtended ¶

type NodeStateReadonlyExtended struct {

	// The current read-only mode allowed status for the node.
	Allowed bool `json:"allowed,omitempty"`

	// The current read-only user mode status for the node. NOTE: If read-only mode is currently disallowed for this node, it will remain read/write until read-only mode is allowed again. This value only sets or clears any user-specified requests for read-only mode. If the node has been placed into read-only mode by the system, it will remain in read-only mode until the system conditions which triggered read-only mode have cleared.
	Enabled bool `json:"enabled,omitempty"`

	// The current read-only mode status for the node.
	Mode bool `json:"mode,omitempty"`

	// The current read-only mode status description for the node.
	Status string `json:"status,omitempty"`

	// The read-only state values are valid (False = Error).
	Valid bool `json:"valid,omitempty"`

	// The current read-only value (enumerated bitfield) for the node.
	Value int32 `json:"value,omitempty"`
}

Node readonly state.

type NodeStateReadonlyNode ¶

type NodeStateReadonlyNode struct {

	// The current read-only mode allowed status for the node.
	Allowed bool `json:"allowed,omitempty"`

	// The current read-only user mode status for the node. NOTE: If read-only mode is currently disallowed for this node, it will remain read/write until read-only mode is allowed again. This value only sets or clears any user-specified requests for read-only mode. If the node has been placed into read-only mode by the system, it will remain in read-only mode until the system conditions which triggered read-only mode have cleared.
	Enabled bool `json:"enabled,omitempty"`

	// Error message, if the HTTP status returned from this node was not 200.
	Error_ string `json:"error,omitempty"`

	// Node ID of the node reporting this information.
	Id int32 `json:"id,omitempty"`

	// Logical node number of the node reporting this information.
	Lnn int32 `json:"lnn,omitempty"`

	// The current read-only mode status for the node.
	Mode bool `json:"mode,omitempty"`

	// The current read-only mode status description for the node.
	Status string `json:"status,omitempty"`

	// The read-only state values are valid (False = Error).
	Valid bool `json:"valid,omitempty"`

	// The current read-only value (enumerated bitfield) for the node.
	Value int32 `json:"value,omitempty"`
}

type NodeStateServicelight ¶

type NodeStateServicelight struct {

	// A list of errors encountered by the individual nodes involved in this request, or an empty list if there were no errors.
	Errors []NodeDrivesPurposelistError `json:"errors,omitempty"`

	// The responses from the individual nodes involved in this request.
	Nodes []NodeStateServicelightNode `json:"nodes,omitempty"`

	// The total number of nodes responding.
	Total int32 `json:"total,omitempty"`
}

type NodeStateServicelightExtended ¶

type NodeStateServicelightExtended struct {

	// The node service light state (True = on).
	Enabled bool `json:"enabled,omitempty"`

	// This node has a service light.
	Present bool `json:"present,omitempty"`

	// This node supports a service light.
	Supported bool `json:"supported,omitempty"`

	// The node service light state is valid (False = Error).
	Valid bool `json:"valid,omitempty"`
}

Node service light state.

type NodeStateServicelightNode ¶

type NodeStateServicelightNode struct {

	// The node service light state (True = on).
	Enabled bool `json:"enabled"`

	// Error message, if the HTTP status returned from this node was not 200.
	Error_ string `json:"error,omitempty"`

	// Node ID of the node reporting this information.
	Id int32 `json:"id,omitempty"`

	// Logical node number of the node reporting this information.
	Lnn int32 `json:"lnn,omitempty"`

	// This node has a service light.
	Present bool `json:"present,omitempty"`

	// Status of the HTTP response from this node if not 200.  If 200, this field does not appear.
	Status int32 `json:"status,omitempty"`

	// This node supports a service light.
	Supported bool `json:"supported,omitempty"`

	// The node service light state is valid (False = Error).
	Valid bool `json:"valid,omitempty"`
}

type NodeStateSmartfail ¶

type NodeStateSmartfail struct {

	// A list of errors encountered by the individual nodes involved in this request, or an empty list if there were no errors.
	Errors []NodeDrivesPurposelistError `json:"errors,omitempty"`

	// The responses from the individual nodes involved in this request.
	Nodes []NodeStateSmartfailNode `json:"nodes,omitempty"`

	// The total number of nodes responding.
	Total int32 `json:"total,omitempty"`
}

type NodeStateSmartfailExtended ¶

type NodeStateSmartfailExtended struct {

	// This node is dead (dead_devs).
	Dead bool `json:"dead,omitempty"`

	// This node is down (down_devs).
	Down bool `json:"down,omitempty"`

	// This node is in the cluster (all_devs).
	InCluster bool `json:"in_cluster,omitempty"`

	// This node is readonly (ro_devs).
	Readonly bool `json:"readonly,omitempty"`

	// This node is shutdown readonly (down_devs).
	ShutdownReadonly bool `json:"shutdown_readonly,omitempty"`

	// This node is smartfailed (soft_devs).
	Smartfailed bool `json:"smartfailed,omitempty"`
}

Node smartfail state.

type NodeStateSmartfailNode ¶

type NodeStateSmartfailNode struct {

	// This node is dead (dead_devs).
	Dead bool `json:"dead,omitempty"`

	// This node is down (down_devs).
	Down bool `json:"down,omitempty"`

	// Error message, if the HTTP status returned from this node was not 200.
	Error_ string `json:"error,omitempty"`

	// Node ID of the node reporting this information.
	Id int32 `json:"id,omitempty"`

	// This node is in the cluster (all_devs).
	InCluster bool `json:"in_cluster,omitempty"`

	// Logical node number of the node reporting this information.
	Lnn int32 `json:"lnn,omitempty"`

	// This node is readonly (ro_devs).
	Readonly bool `json:"readonly,omitempty"`

	// This node is shutdown readonly (down_devs).
	ShutdownReadonly bool `json:"shutdown_readonly,omitempty"`

	// This node is smartfailed (soft_devs).
	Smartfailed bool `json:"smartfailed,omitempty"`

	// Status of the HTTP response from this node if not 200.  If 200, this field does not appear.
	Status int32 `json:"status,omitempty"`
}

type NodeStatus ¶

type NodeStatus struct {

	// A list of errors encountered by the individual nodes involved in this request, or an empty list if there were no errors.
	Errors []NodeDrivesPurposelistError `json:"errors,omitempty"`

	// The responses from the individual nodes involved in this request.
	Nodes []NodeStatusNode `json:"nodes,omitempty"`

	// The total number of nodes responding.
	Total int32 `json:"total,omitempty"`
}

type NodeStatusBatterystatus ¶

type NodeStatusBatterystatus struct {

	// A list of errors encountered by the individual nodes involved in this request, or an empty list if there were no errors.
	Errors []NodeDrivesPurposelistError `json:"errors,omitempty"`

	// The responses from the individual nodes involved in this request.
	Nodes []NodeStatusBatterystatusNode `json:"nodes,omitempty"`

	// The total number of nodes responding.
	Total int32 `json:"total,omitempty"`
}

type NodeStatusBatterystatusNode ¶

type NodeStatusBatterystatusNode struct {

	// Error message, if the HTTP status returned from this node was not 200.
	Error_ string `json:"error,omitempty"`

	// Node ID of the node reporting this information.
	Id int32 `json:"id,omitempty"`

	// The last battery test time for battery 1.
	LastTestTime1 string `json:"last_test_time1,omitempty"`

	// The last battery test time for battery 2.
	LastTestTime2 string `json:"last_test_time2,omitempty"`

	// Logical node number of the node reporting this information.
	Lnn int32 `json:"lnn,omitempty"`

	// The next checkup for battery 1.
	NextTestTime1 string `json:"next_test_time1,omitempty"`

	// The next checkup for battery 2.
	NextTestTime2 string `json:"next_test_time2,omitempty"`

	// Node has battery status.
	Present bool `json:"present,omitempty"`

	// The result of the last battery test for battery 1.
	Result1 string `json:"result1,omitempty"`

	// The result of the last battery test for battery 2.
	Result2 string `json:"result2,omitempty"`

	// Status of the HTTP response from this node if not 200.  If 200, this field does not appear.
	Status int32 `json:"status,omitempty"`

	// The status of battery 1.
	Status1 string `json:"status1,omitempty"`

	// The status of battery 2.
	Status2 string `json:"status2,omitempty"`

	// Node supports battery status.
	Supported bool `json:"supported,omitempty"`
}

type NodeStatusNode ¶

type NodeStatusNode struct {

	// Battery status information.
	Batterystatus *NodeStatusNodeBatterystatus `json:"batterystatus,omitempty"`

	// Storage capacity of this node.
	Capacity []NodeStatusNodeCapacityItem `json:"capacity,omitempty"`

	// CPU status information for this node.
	Cpu *NodeStatusNodeCpu `json:"cpu,omitempty"`

	// Error message, if the HTTP status returned from this node was not 200.
	Error_ string `json:"error,omitempty"`

	// Node ID of the node reporting this information.
	Id int32 `json:"id,omitempty"`

	// Logical node number of the node reporting this information.
	Lnn int32 `json:"lnn,omitempty"`

	// Node NVRAM information.
	Nvram *NodeStatusNodeNvram `json:"nvram,omitempty"`

	// Information about this node's power supplies.
	Powersupplies *NodeStatusNodePowersupplies `json:"powersupplies,omitempty"`

	// OneFS release.
	Release string `json:"release,omitempty"`

	// Status of the HTTP response from this node if not 200.  If 200, this field does not appear.
	Status int32 `json:"status,omitempty"`

	// Seconds this node has been online.
	Uptime int32 `json:"uptime,omitempty"`

	// OneFS version.
	Version string `json:"version,omitempty"`
}

type NodeStatusNodeBatterystatus ¶

type NodeStatusNodeBatterystatus struct {

	// The last battery test time for battery 1.
	LastTestTime1 string `json:"last_test_time1,omitempty"`

	// The last battery test time for battery 2.
	LastTestTime2 string `json:"last_test_time2,omitempty"`

	// The next checkup for battery 1.
	NextTestTime1 string `json:"next_test_time1,omitempty"`

	// The next checkup for battery 2.
	NextTestTime2 string `json:"next_test_time2,omitempty"`

	// Node has battery status.
	Present bool `json:"present,omitempty"`

	// The result of the last battery test for battery 1.
	Result1 string `json:"result1,omitempty"`

	// The result of the last battery test for battery 2.
	Result2 string `json:"result2,omitempty"`

	// The status of battery 1.
	Status1 string `json:"status1,omitempty"`

	// The status of battery 2.
	Status2 string `json:"status2,omitempty"`

	// Node supports battery status.
	Supported bool `json:"supported,omitempty"`
}

type NodeStatusNodeCapacityItem ¶

type NodeStatusNodeCapacityItem struct {

	// Total device storage bytes.
	Bytes int32 `json:"bytes,omitempty"`

	// Total device count.
	Count int32 `json:"count,omitempty"`

	// Device type.
	Type_ string `json:"type,omitempty"`
}

type NodeStatusNodeCpu ¶

type NodeStatusNodeCpu struct {

	// Manufacturer model description of this CPU.
	Model string `json:"model,omitempty"`

	// CPU overtemp state.
	Overtemp string `json:"overtemp,omitempty"`

	// Type of processor and core of this CPU.
	Proc string `json:"proc,omitempty"`

	// CPU throttling (expressed as a percentage).
	SpeedLimit string `json:"speed_limit,omitempty"`
}

type NodeStatusNodeNvram ¶

type NodeStatusNodeNvram struct {

	// This node's NVRAM battery status information.
	Batteries []NodeStatusNodeNvramBattery `json:"batteries,omitempty"`

	// This node's NVRAM battery count.
	BatteryCount int32 `json:"battery_count,omitempty"`

	// This node's NVRAM battery charge status, as a color.
	ChargeStatus string `json:"charge_status,omitempty"`

	// This node's NVRAM battery charge status, as a number.
	ChargeStatusNumber int32 `json:"charge_status_number,omitempty"`

	// This node's NVRAM device name with path.
	Device string `json:"device,omitempty"`

	// This node has NVRAM.
	Present bool `json:"present,omitempty"`

	// This node has NVRAM with flash storage.
	PresentFlash bool `json:"present_flash,omitempty"`

	// The size of the NVRAM, in bytes.
	PresentSize int32 `json:"present_size,omitempty"`

	// This node's NVRAM type.
	PresentType string `json:"present_type,omitempty"`

	// This node's current ship mode state for NVRAM batteries.
	ShipMode int32 `json:"ship_mode,omitempty"`

	// This node supports NVRAM.
	Supported bool `json:"supported,omitempty"`

	// This node supports NVRAM with flash storage.
	SupportedFlash bool `json:"supported_flash,omitempty"`

	// The maximum size of the NVRAM, in bytes.
	SupportedSize int32 `json:"supported_size,omitempty"`

	// This node's supported NVRAM type.
	SupportedType string `json:"supported_type,omitempty"`
}

type NodeStatusNodeNvramBattery ¶

type NodeStatusNodeNvramBattery struct {

	// The current status color of the NVRAM battery.
	Color string `json:"color,omitempty"`

	// Identifying index for the NVRAM battery.
	Id int32 `json:"id,omitempty"`

	// The current status message of the NVRAM battery.
	Status string `json:"status,omitempty"`

	// The current voltage of the NVRAM battery.
	Voltage string `json:"voltage,omitempty"`
}

type NodeStatusNodePowersupplies ¶

type NodeStatusNodePowersupplies struct {

	// Count of how many power supplies are supported.
	Count int32 `json:"count,omitempty"`

	// Count of how many power supplies have failed.
	Failures int32 `json:"failures,omitempty"`

	// Does this node have a CFF power supply.
	HasCff bool `json:"has_cff,omitempty"`

	// A descriptive status string for this node's power supplies.
	Status string `json:"status,omitempty"`

	// List of this node's power supplies.
	Supplies []NodeStatusNodePowersuppliesSupply `json:"supplies,omitempty"`

	// Does this node support CFF power supplies.
	SupportsCff bool `json:"supports_cff,omitempty"`
}

type NodeStatusNodePowersuppliesSupply ¶

type NodeStatusNodePowersuppliesSupply struct {

	// Which node chassis is this power supply in.
	Chassis int32 `json:"chassis,omitempty"`

	// The current firmware revision of this power supply.
	Firmware string `json:"firmware,omitempty"`

	// Is this power supply in a failure state.
	Good string `json:"good,omitempty"`

	// Identifying index for this power supply.
	Id int32 `json:"id"`

	// Complete identifying string for this power supply.
	Name string `json:"name,omitempty"`

	// A descriptive status string for this power supply.
	Status string `json:"status,omitempty"`

	// The type of this power supply.
	Type_ string `json:"type,omitempty"`
}

type NodesNodeFirmwareStatus ¶

type NodesNodeFirmwareStatus struct {

	// List of the firmware status for hardware components on the node.
	Devices []ClusterFirmwareStatusNodeDevice `json:"devices,omitempty"`

	// Node is unavailable.
	NodeUnavailable bool `json:"node_unavailable,omitempty"`

	// List of the firmware binary information for the installed firmware package.
	Package_ []ClusterFirmwareStatusNodePackageItem `json:"package,omitempty"`
}

The firmware status for the node.

type NtpServer ¶

type NtpServer struct {

	// Key value from key_file that maps to this server.
	Key string `json:"key"`
}

NTP server.

type NtpServerCreateParams ¶

type NtpServerCreateParams struct {

	// Key value from key_file that maps to this server.
	Key string `json:"key,omitempty"`

	// NTP server name.
	Name string `json:"name"`
}

NTP server.

type NtpServerExtended ¶

type NtpServerExtended struct {

	// Field ID.
	Id string `json:"id"`

	// Key value from key_file that maps to this server.
	Key string `json:"key,omitempty"`

	// NTP server name.
	Name string `json:"name"`
}

type NtpServers ¶

type NtpServers struct {
	Servers []NtpServerExtended `json:"servers,omitempty"`
}

type NtpServersExtended ¶

type NtpServersExtended struct {
	Servers []NtpServerExtended `json:"servers,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type NtpSettings ¶

type NtpSettings struct {

	// NTP settings.
	Settings *NtpSettingsSettings `json:"settings,omitempty"`
}

type NtpSettingsSettings ¶

type NtpSettingsSettings struct {

	// Number of nodes that will contact the NTP servers.
	Chimers int32 `json:"chimers,omitempty"`

	// Node number (LNN) for nodes excluded from chimer duty.
	Excluded []string `json:"excluded,omitempty"`

	// Path to NTP key file within /ifs.
	KeyFile string `json:"key_file,omitempty"`
}

type PoolsPoolInterfaces ¶

type PoolsPoolInterfaces struct {
	Interfaces []PoolsPoolInterfacesInterface `json:"interfaces,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type PoolsPoolInterfacesInterface ¶

type PoolsPoolInterfacesInterface struct {

	// Unique interface ID.
	Id string `json:"id"`

	// List of IP addresses
	IpAddrs []string `json:"ip_addrs"`

	// Logical Node Number
	Lnn int32 `json:"lnn"`

	// The name of the interface.
	Name string `json:"name"`

	// NIC name
	NicName string `json:"nic_name"`

	// List of owners (membership)
	Owners []PoolsPoolInterfacesInterfaceOwner `json:"owners"`

	// Status of the interface
	Status string `json:"status"`

	// Interface type.  The '*gige' types stand for 'gigabit ethernet'.  'gige' itself is occasionally also referred to in other places as 'ext' for 'external'.  'ib' and 'ib_qdr' are internal Infiniband interface types.  'vlan' and 'vmxnet3' are virtual interface types that appear on virtual nodes.  'loopback' is an interface for failover addresses and should only appear if failover is configured.
	Type_ string `json:"type"`
}

type PoolsPoolInterfacesInterfaceOwner ¶

type PoolsPoolInterfacesInterfaceOwner struct {
	Groupnet string `json:"groupnet,omitempty"`

	Pool string `json:"pool,omitempty"`

	Subnet string `json:"subnet,omitempty"`
}

type PoolsPoolRule ¶

type PoolsPoolRule struct {

	// Description for the provisioning rule.
	Description string `json:"description,omitempty"`

	// Interface name the provisioning rule applies to.
	Iface string `json:"iface,omitempty"`

	// Name of the provisioning rule.
	Name string `json:"name,omitempty"`

	// Node type the provisioning rule applies to.
	NodeType string `json:"node_type,omitempty"`
}

type PoolsPoolRuleCreateParams ¶

type PoolsPoolRuleCreateParams struct {

	// Description for the provisioning rule.
	Description string `json:"description,omitempty"`

	// Interface name the provisioning rule applies to.
	Iface string `json:"iface"`

	// Name of the provisioning rule.
	Name string `json:"name"`

	// Node type the provisioning rule applies to.
	NodeType string `json:"node_type,omitempty"`
}

type PoolsPoolRules ¶

type PoolsPoolRules struct {
	Rules []PoolsPoolRulesRule `json:"rules,omitempty"`
}

type PoolsPoolRulesExtended ¶

type PoolsPoolRulesExtended struct {
	Rules []PoolsPoolRulesRule `json:"rules,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type PoolsPoolRulesRule ¶

type PoolsPoolRulesRule struct {

	// Description for the provisioning rule.
	Description string `json:"description"`

	// Name of the groupnet this rule belongs to
	Groupnet string `json:"groupnet"`

	// Unique rule ID.
	Id string `json:"id"`

	// Interface name the provisioning rule applies to.
	Iface string `json:"iface"`

	// Name of the provisioning rule.
	Name string `json:"name"`

	// Node type the provisioning rule applies to.
	NodeType string `json:"node_type"`

	// Name of the pool this rule belongs to.
	Pool string `json:"pool"`

	// Name of the subnet this rule belongs to.
	Subnet string `json:"subnet"`
}

type PoolsPoolScResumeNode ¶

type PoolsPoolScResumeNode struct {

	// Logical node numbers of the nodes suspended/resumed.
	Lnn []int32 `json:"lnn"`
}

type ProgressGlobal ¶

type ProgressGlobal struct {

	// Lists the current global audit log times.
	Progress *ProgressGlobalProgress `json:"progress,omitempty"`
}

type ProgressGlobalProgress ¶

type ProgressGlobalProgress struct {

	// Specifies the time of the last logged audit protocol event time on the cluster.
	ProtocolAuditLatestLogTime int32 `json:"protocol_audit_latest_log_time,omitempty"`

	// Specifies the time of the oldest protocol audit event consumed by the CEE forwarder on the cluster.
	ProtocolAuditOldestCeeTime int32 `json:"protocol_audit_oldest_cee_time,omitempty"`

	// Specifies the time of the oldest protocol audit event consumed by the Syslog forwarder on the cluster.
	ProtocolAuditOldestSyslogTime int32 `json:"protocol_audit_oldest_syslog_time,omitempty"`
}

type ProtocolsApiService ¶

type ProtocolsApiService service

func (*ProtocolsApiService) CreateHdfsProxyuser ¶

func (a *ProtocolsApiService) CreateHdfsProxyuser(ctx context.Context, hdfsProxyuser HdfsProxyuserCreateParams, localVarOptionals map[string]interface{}) (CreateResponse, *http.Response, error)

ProtocolsApiService Create a new HDFS proxyuser. * @param ctx context.Context for authentication, logging, tracing, etc. @param hdfsProxyuser @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Access zone which contains HDFS proxyuser.

@return CreateResponse

func (*ProtocolsApiService) CreateHdfsRack ¶

func (a *ProtocolsApiService) CreateHdfsRack(ctx context.Context, hdfsRack HdfsRackCreateParams, localVarOptionals map[string]interface{}) (CreateResponse, *http.Response, error)

ProtocolsApiService Create a new HDFS rack. * @param ctx context.Context for authentication, logging, tracing, etc. @param hdfsRack @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Access zone which contains HDFS rack.

@return CreateResponse

func (*ProtocolsApiService) CreateNdmpSettingsPreferredIp ¶

func (a *ProtocolsApiService) CreateNdmpSettingsPreferredIp(ctx context.Context, ndmpSettingsPreferredIp NdmpSettingsPreferredIpCreateParams) (Empty, *http.Response, error)

ProtocolsApiService Create a preferred ip preference. * @param ctx context.Context for authentication, logging, tracing, etc. @param ndmpSettingsPreferredIp @return Empty

func (*ProtocolsApiService) CreateNdmpSettingsVariable ¶

func (a *ProtocolsApiService) CreateNdmpSettingsVariable(ctx context.Context, ndmpSettingsVariable NdmpSettingsVariableCreateParams, ndmpSettingsVariableId string) (Empty, *http.Response, error)

ProtocolsApiService Create a preferred NDMP environment variable. * @param ctx context.Context for authentication, logging, tracing, etc. @param ndmpSettingsVariable @param ndmpSettingsVariableId Create a preferred NDMP environment variable. @return Empty

func (*ProtocolsApiService) CreateNdmpUser ¶

func (a *ProtocolsApiService) CreateNdmpUser(ctx context.Context, ndmpUser NdmpUserCreateParams) (Empty, *http.Response, error)

ProtocolsApiService Created a new user. * @param ctx context.Context for authentication, logging, tracing, etc. @param ndmpUser @return Empty

func (*ProtocolsApiService) CreateNfsAlias ¶

func (a *ProtocolsApiService) CreateNfsAlias(ctx context.Context, nfsAlias NfsAliasCreateParams, localVarOptionals map[string]interface{}) (CreateNfsAliasResponse, *http.Response, error)

ProtocolsApiService Create a new NFS alias. * @param ctx context.Context for authentication, logging, tracing, etc. @param nfsAlias @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Access zone

@return CreateNfsAliasResponse

func (*ProtocolsApiService) CreateNfsExport ¶

func (a *ProtocolsApiService) CreateNfsExport(ctx context.Context, nfsExport NfsExportCreateParams, localVarOptionals map[string]interface{}) (CreateQuotaReportResponse, *http.Response, error)

ProtocolsApiService Create a new NFS export. * @param ctx context.Context for authentication, logging, tracing, etc. @param nfsExport @param optional (nil or map[string]interface{}) with one or more of:

@param "force" (bool) If true, the export will be created even if it conflicts with another export.
@param "ignoreUnresolvableHosts" (bool) Ignore unresolvable hosts.
@param "zone" (string) Access zone
@param "ignoreConflicts" (bool) Ignore conflicts with existing exports.
@param "ignoreBadPaths" (bool) Ignore nonexistent or otherwise bad paths.
@param "ignoreBadAuth" (bool) Ignore invalid users.

@return CreateQuotaReportResponse

func (*ProtocolsApiService) CreateNfsNetgroupCheckItem ¶

func (a *ProtocolsApiService) CreateNfsNetgroupCheckItem(ctx context.Context, nfsNetgroupCheckItem Empty, localVarOptionals map[string]interface{}) (Empty, *http.Response, error)

ProtocolsApiService Update the NFS netgroups in the cache. * @param ctx context.Context for authentication, logging, tracing, etc. @param nfsNetgroupCheckItem @param optional (nil or map[string]interface{}) with one or more of:

@param "host" (string) IP address of node to update. If unspecified, the local nodes cache is updated.

@return Empty

func (*ProtocolsApiService) CreateNfsNetgroupFlushItem ¶

func (a *ProtocolsApiService) CreateNfsNetgroupFlushItem(ctx context.Context, nfsNetgroupFlushItem Empty, localVarOptionals map[string]interface{}) (Empty, *http.Response, error)

ProtocolsApiService Flush the NFS netgroups in the cache. * @param ctx context.Context for authentication, logging, tracing, etc. @param nfsNetgroupFlushItem @param optional (nil or map[string]interface{}) with one or more of:

@param "host" (string) IP address of node to flush. If unspecified, all nodes on the cluster are flushed.

@return Empty

func (*ProtocolsApiService) CreateNfsNlmSessionsCheckItem ¶

func (a *ProtocolsApiService) CreateNfsNlmSessionsCheckItem(ctx context.Context, nfsNlmSessionsCheckItem Empty, localVarOptionals map[string]interface{}) (CreateNfsNlmSessionsCheckItemResponse, *http.Response, error)

ProtocolsApiService Perform an active scan for lost NFSv3 locks. * @param ctx context.Context for authentication, logging, tracing, etc. @param nfsNlmSessionsCheckItem @param optional (nil or map[string]interface{}) with one or more of:

@param "clusterIp" (string) An IP address for which NSM has client records
@param "zone" (string) Represents an extant auth zone

@return CreateNfsNlmSessionsCheckItemResponse

func (*ProtocolsApiService) CreateNfsReloadItem ¶

func (a *ProtocolsApiService) CreateNfsReloadItem(ctx context.Context, nfsReloadItem Empty, localVarOptionals map[string]interface{}) (Empty, *http.Response, error)

ProtocolsApiService Reload default NFS export configuration. * @param ctx context.Context for authentication, logging, tracing, etc. @param nfsReloadItem @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Access zone

@return Empty

func (*ProtocolsApiService) CreateNtpServer ¶

ProtocolsApiService Create an NTP server entry. * @param ctx context.Context for authentication, logging, tracing, etc. @param ntpServer @return CreateResponse

func (*ProtocolsApiService) CreateSmbLogLevelFilter ¶

func (a *ProtocolsApiService) CreateSmbLogLevelFilter(ctx context.Context, smbLogLevelFilter SmbLogLevelFilter) (CreateAuthRefreshItemResponse, *http.Response, error)

ProtocolsApiService Add an SMB log filter. * @param ctx context.Context for authentication, logging, tracing, etc. @param smbLogLevelFilter @return CreateAuthRefreshItemResponse

func (*ProtocolsApiService) CreateSmbShare ¶

func (a *ProtocolsApiService) CreateSmbShare(ctx context.Context, smbShare SmbShareCreateParams, localVarOptionals map[string]interface{}) (CreateResponse, *http.Response, error)

ProtocolsApiService Create a new share. * @param ctx context.Context for authentication, logging, tracing, etc. @param smbShare @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Zone which contains this share.

@return CreateResponse

func (*ProtocolsApiService) CreateSwiftAccount ¶

func (a *ProtocolsApiService) CreateSwiftAccount(ctx context.Context, swiftAccount SwiftAccount, localVarOptionals map[string]interface{}) (CreateResponse, *http.Response, error)

ProtocolsApiService Create a new Swift account * @param ctx context.Context for authentication, logging, tracing, etc. @param swiftAccount @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Access zone which contains Swift account.

@return CreateResponse

func (*ProtocolsApiService) DeleteHdfsProxyuser ¶

func (a *ProtocolsApiService) DeleteHdfsProxyuser(ctx context.Context, hdfsProxyuserId string, localVarOptionals map[string]interface{}) (*http.Response, error)

ProtocolsApiService Delete an HDFS proxyuser. * @param ctx context.Context for authentication, logging, tracing, etc. @param hdfsProxyuserId Delete an HDFS proxyuser. @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Access zone which contains HDFS proxyuser.

@return

func (*ProtocolsApiService) DeleteHdfsRack ¶

func (a *ProtocolsApiService) DeleteHdfsRack(ctx context.Context, hdfsRackId string, localVarOptionals map[string]interface{}) (*http.Response, error)

ProtocolsApiService Delete the HDFS rack. * @param ctx context.Context for authentication, logging, tracing, etc. @param hdfsRackId Delete the HDFS rack. @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Access zone which contains HDFS rack.

@return

func (*ProtocolsApiService) DeleteNdmpContextsBackupById ¶

func (a *ProtocolsApiService) DeleteNdmpContextsBackupById(ctx context.Context, ndmpContextsBackupId string) (*http.Response, error)

ProtocolsApiService Delete a backup context * @param ctx context.Context for authentication, logging, tracing, etc. @param ndmpContextsBackupId Delete a backup context @return

func (*ProtocolsApiService) DeleteNdmpContextsBreById ¶

func (a *ProtocolsApiService) DeleteNdmpContextsBreById(ctx context.Context, ndmpContextsBreId string) (*http.Response, error)

ProtocolsApiService Delete a NDMP BRE context * @param ctx context.Context for authentication, logging, tracing, etc. @param ndmpContextsBreId Delete a NDMP BRE context @return

func (*ProtocolsApiService) DeleteNdmpContextsRestoreById ¶

func (a *ProtocolsApiService) DeleteNdmpContextsRestoreById(ctx context.Context, ndmpContextsRestoreId string) (*http.Response, error)

ProtocolsApiService Delete a restore context * @param ctx context.Context for authentication, logging, tracing, etc. @param ndmpContextsRestoreId Delete a restore context @return

func (*ProtocolsApiService) DeleteNdmpDumpdate ¶

func (a *ProtocolsApiService) DeleteNdmpDumpdate(ctx context.Context, ndmpDumpdateId string, localVarOptionals map[string]interface{}) (*http.Response, error)

ProtocolsApiService Delete dumpdates entries of a specified path. * @param ctx context.Context for authentication, logging, tracing, etc. @param ndmpDumpdateId Delete dumpdates entries of a specified path. @param optional (nil or map[string]interface{}) with one or more of:

@param "level" (int32) Level is an input from 0 to 10.

@return

func (*ProtocolsApiService) DeleteNdmpSession ¶

func (a *ProtocolsApiService) DeleteNdmpSession(ctx context.Context, ndmpSessionId string, localVarOptionals map[string]interface{}) (*http.Response, error)

ProtocolsApiService Delete the ndmp session. * @param ctx context.Context for authentication, logging, tracing, etc. @param ndmpSessionId Delete the ndmp session. @param optional (nil or map[string]interface{}) with one or more of:

@param "lnn" (string) Logical node number.

@return

func (*ProtocolsApiService) DeleteNdmpSettingsPreferredIp ¶

func (a *ProtocolsApiService) DeleteNdmpSettingsPreferredIp(ctx context.Context, ndmpSettingsPreferredIpId string) (*http.Response, error)

ProtocolsApiService Delete a preferred ip preference. * @param ctx context.Context for authentication, logging, tracing, etc. @param ndmpSettingsPreferredIpId Delete a preferred ip preference. @return

func (*ProtocolsApiService) DeleteNdmpSettingsVariable ¶

func (a *ProtocolsApiService) DeleteNdmpSettingsVariable(ctx context.Context, ndmpSettingsVariableId string, localVarOptionals map[string]interface{}) (*http.Response, error)

ProtocolsApiService Delete preferred environment variable entries * @param ctx context.Context for authentication, logging, tracing, etc. @param ndmpSettingsVariableId Delete preferred environment variable entries @param optional (nil or map[string]interface{}) with one or more of:

@param "name" (string) Name of the variable to delete.

@return

func (*ProtocolsApiService) DeleteNdmpUser ¶

func (a *ProtocolsApiService) DeleteNdmpUser(ctx context.Context, ndmpUserId string) (*http.Response, error)

ProtocolsApiService Delete the user. * @param ctx context.Context for authentication, logging, tracing, etc. @param ndmpUserId Delete the user. @return

func (*ProtocolsApiService) DeleteNfsAlias ¶

func (a *ProtocolsApiService) DeleteNfsAlias(ctx context.Context, nfsAliasId string, localVarOptionals map[string]interface{}) (*http.Response, error)

ProtocolsApiService Delete the export. * @param ctx context.Context for authentication, logging, tracing, etc. @param nfsAliasId Delete the export. @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Access zone

@return

func (*ProtocolsApiService) DeleteNfsExport ¶

func (a *ProtocolsApiService) DeleteNfsExport(ctx context.Context, nfsExportId string, localVarOptionals map[string]interface{}) (*http.Response, error)

ProtocolsApiService Delete the export. * @param ctx context.Context for authentication, logging, tracing, etc. @param nfsExportId Delete the export. @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Access zone

@return

func (*ProtocolsApiService) DeleteNfsNlmSession ¶

func (a *ProtocolsApiService) DeleteNfsNlmSession(ctx context.Context, nfsNlmSessionId string, localVarOptionals map[string]interface{}) (*http.Response, error)

ProtocolsApiService Delete all lock state for this host. * @param ctx context.Context for authentication, logging, tracing, etc. @param nfsNlmSessionId Delete all lock state for this host. @param optional (nil or map[string]interface{}) with one or more of:

@param "clusterIp" (string) An IP address for which NSM has client records
@param "zone" (string) Represents an extant auth zone
@param "refresh" (bool) if set to true, the client will be given a chance to reclaim its locks before they are destroyed

@return

func (*ProtocolsApiService) DeleteNtpServer ¶

func (a *ProtocolsApiService) DeleteNtpServer(ctx context.Context, ntpServerId string) (*http.Response, error)

ProtocolsApiService Delete an NTP server entry. * @param ctx context.Context for authentication, logging, tracing, etc. @param ntpServerId Delete an NTP server entry. @return

func (*ProtocolsApiService) DeleteNtpServers ¶

func (a *ProtocolsApiService) DeleteNtpServers(ctx context.Context) (*http.Response, error)

ProtocolsApiService Delete all NTP server entries. * @param ctx context.Context for authentication, logging, tracing, etc. @return

func (*ProtocolsApiService) DeleteSmbLogLevelFilter ¶

func (a *ProtocolsApiService) DeleteSmbLogLevelFilter(ctx context.Context, smbLogLevelFilterId string) (*http.Response, error)

ProtocolsApiService Delete log filter. * @param ctx context.Context for authentication, logging, tracing, etc. @param smbLogLevelFilterId Delete log filter. @return

func (*ProtocolsApiService) DeleteSmbLogLevelFilters ¶

func (a *ProtocolsApiService) DeleteSmbLogLevelFilters(ctx context.Context, localVarOptionals map[string]interface{}) (*http.Response, error)

ProtocolsApiService Delete existing SMB log filters. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "level" (string) Valid SMB logging levels

@return

func (*ProtocolsApiService) DeleteSmbOpenfile ¶

func (a *ProtocolsApiService) DeleteSmbOpenfile(ctx context.Context, smbOpenfileId string) (*http.Response, error)

ProtocolsApiService Close the file in the SMB server. * @param ctx context.Context for authentication, logging, tracing, etc. @param smbOpenfileId Close the file in the SMB server. @return

func (*ProtocolsApiService) DeleteSmbSession ¶

func (a *ProtocolsApiService) DeleteSmbSession(ctx context.Context, smbSessionId string) (*http.Response, error)

ProtocolsApiService Close the SMB session. * @param ctx context.Context for authentication, logging, tracing, etc. @param smbSessionId Close the SMB session. @return

func (*ProtocolsApiService) DeleteSmbSessionsComputerUser ¶

func (a *ProtocolsApiService) DeleteSmbSessionsComputerUser(ctx context.Context, smbSessionsComputerUser string, computer string) (*http.Response, error)

ProtocolsApiService Close the SMB session. * @param ctx context.Context for authentication, logging, tracing, etc. @param smbSessionsComputerUser Close the SMB session. @param computer @return

func (*ProtocolsApiService) DeleteSmbShare ¶

func (a *ProtocolsApiService) DeleteSmbShare(ctx context.Context, smbShareId string, localVarOptionals map[string]interface{}) (*http.Response, error)

ProtocolsApiService Delete the share. * @param ctx context.Context for authentication, logging, tracing, etc. @param smbShareId Delete the share. @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Zone which contains this share.

@return

func (*ProtocolsApiService) DeleteSmbShares ¶

func (a *ProtocolsApiService) DeleteSmbShares(ctx context.Context) (*http.Response, error)

ProtocolsApiService Delete multiple smb shares. * @param ctx context.Context for authentication, logging, tracing, etc. @return

func (*ProtocolsApiService) DeleteSwiftAccount ¶

func (a *ProtocolsApiService) DeleteSwiftAccount(ctx context.Context, swiftAccountId string, localVarOptionals map[string]interface{}) (*http.Response, error)

ProtocolsApiService Delete a Swift account. * @param ctx context.Context for authentication, logging, tracing, etc. @param swiftAccountId Delete a Swift account. @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Access zone which contains Swift account.

@return

func (*ProtocolsApiService) GetFtpSettings ¶

func (a *ProtocolsApiService) GetFtpSettings(ctx context.Context) (FtpSettings, *http.Response, error)

ProtocolsApiService Retrieve the FTP settings. * @param ctx context.Context for authentication, logging, tracing, etc. @return FtpSettings

func (*ProtocolsApiService) GetHdfsLogLevel ¶

func (a *ProtocolsApiService) GetHdfsLogLevel(ctx context.Context) (HdfsLogLevel, *http.Response, error)

ProtocolsApiService Retrieve the HDFS service log-level. * @param ctx context.Context for authentication, logging, tracing, etc. @return HdfsLogLevel

func (*ProtocolsApiService) GetHdfsProxyuser ¶

func (a *ProtocolsApiService) GetHdfsProxyuser(ctx context.Context, hdfsProxyuserId string, localVarOptionals map[string]interface{}) (HdfsProxyusers, *http.Response, error)

ProtocolsApiService View the proxyuser. * @param ctx context.Context for authentication, logging, tracing, etc. @param hdfsProxyuserId View the proxyuser. @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Access zone which contains HDFS proxyuser.

@return HdfsProxyusers

func (*ProtocolsApiService) GetHdfsRack ¶

func (a *ProtocolsApiService) GetHdfsRack(ctx context.Context, hdfsRackId string, localVarOptionals map[string]interface{}) (HdfsRacks, *http.Response, error)

ProtocolsApiService Retrieve the HDFS rack. * @param ctx context.Context for authentication, logging, tracing, etc. @param hdfsRackId Retrieve the HDFS rack. @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Access zone which contains HDFS rack.

@return HdfsRacks

func (*ProtocolsApiService) GetHdfsRangerPluginSettings ¶

func (a *ProtocolsApiService) GetHdfsRangerPluginSettings(ctx context.Context, localVarOptionals map[string]interface{}) (HdfsRangerPluginSettings, *http.Response, error)

ProtocolsApiService Retrieve HDFS ranger-plugin properties. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Access zone which contains HDFS ranger-plugin settings.

@return HdfsRangerPluginSettings

func (*ProtocolsApiService) GetHdfsSettings ¶

func (a *ProtocolsApiService) GetHdfsSettings(ctx context.Context, localVarOptionals map[string]interface{}) (HdfsSettings, *http.Response, error)

ProtocolsApiService Retrieve HDFS properties. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Access zone which contains HDFS settings.

@return HdfsSettings

func (*ProtocolsApiService) GetHttpSettings ¶

func (a *ProtocolsApiService) GetHttpSettings(ctx context.Context) (HttpSettings, *http.Response, error)

ProtocolsApiService Retrieve HTTP properties. * @param ctx context.Context for authentication, logging, tracing, etc. @return HttpSettings

func (*ProtocolsApiService) GetNdmpContextsBackup ¶

func (a *ProtocolsApiService) GetNdmpContextsBackup(ctx context.Context, localVarOptionals map[string]interface{}) (NdmpContextsBackupExtended, *http.Response, error)

ProtocolsApiService Get List of NDMP Backup Contexts. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "limit" (int32) Return no more than this many results at once (see resume).
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).

@return NdmpContextsBackupExtended

func (*ProtocolsApiService) GetNdmpContextsBackupById ¶

func (a *ProtocolsApiService) GetNdmpContextsBackupById(ctx context.Context, ndmpContextsBackupId string) (NdmpContextsBackup, *http.Response, error)

ProtocolsApiService View a NDMP backup context * @param ctx context.Context for authentication, logging, tracing, etc. @param ndmpContextsBackupId View a NDMP backup context @return NdmpContextsBackup

func (*ProtocolsApiService) GetNdmpContextsBre ¶

func (a *ProtocolsApiService) GetNdmpContextsBre(ctx context.Context, localVarOptionals map[string]interface{}) (NdmpContextsBreExtended, *http.Response, error)

ProtocolsApiService Get list of NDMP BRE Contexts. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "limit" (int32) Return no more than this many results at once (see resume).
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).

@return NdmpContextsBreExtended

func (*ProtocolsApiService) GetNdmpContextsBreById ¶

func (a *ProtocolsApiService) GetNdmpContextsBreById(ctx context.Context, ndmpContextsBreId string) (NdmpContextsBre, *http.Response, error)

ProtocolsApiService View a NDMP BRE context * @param ctx context.Context for authentication, logging, tracing, etc. @param ndmpContextsBreId View a NDMP BRE context @return NdmpContextsBre

func (*ProtocolsApiService) GetNdmpContextsRestore ¶

func (a *ProtocolsApiService) GetNdmpContextsRestore(ctx context.Context, localVarOptionals map[string]interface{}) (NdmpContextsBackupExtended, *http.Response, error)

ProtocolsApiService Get List of NDMP Restore Contexts. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "limit" (int32) Return no more than this many results at once (see resume).
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).

@return NdmpContextsBackupExtended

func (*ProtocolsApiService) GetNdmpContextsRestoreById ¶

func (a *ProtocolsApiService) GetNdmpContextsRestoreById(ctx context.Context, ndmpContextsRestoreId string) (NdmpContextsBackup, *http.Response, error)

ProtocolsApiService View a NDMP restore context * @param ctx context.Context for authentication, logging, tracing, etc. @param ndmpContextsRestoreId View a NDMP restore context @return NdmpContextsBackup

func (*ProtocolsApiService) GetNdmpDiagnostics ¶

func (a *ProtocolsApiService) GetNdmpDiagnostics(ctx context.Context) (NdmpDiagnostics, *http.Response, error)

ProtocolsApiService List ndmp diagnostics settings. * @param ctx context.Context for authentication, logging, tracing, etc. @return NdmpDiagnostics

func (*ProtocolsApiService) GetNdmpDumpdate ¶

func (a *ProtocolsApiService) GetNdmpDumpdate(ctx context.Context, ndmpDumpdateId string, localVarOptionals map[string]interface{}) (NdmpDumpdates, *http.Response, error)

ProtocolsApiService List of dumpdates entries. * @param ctx context.Context for authentication, logging, tracing, etc. @param ndmpDumpdateId List of dumpdates entries. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
@param "level" (int32) Filter by dumpdate level.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "path" (string) Filter by file path.
@param "dir" (string) The direction of the sort.

@return NdmpDumpdates

func (*ProtocolsApiService) GetNdmpLogs ¶

func (a *ProtocolsApiService) GetNdmpLogs(ctx context.Context, localVarOptionals map[string]interface{}) (NdmpLogs, *http.Response, error)

ProtocolsApiService Get NDMP logs * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "lnn" (string) Logical node number.
@param "page" (int32) The page number of the NDMP logs file.
@param "pagesize" (int32) The page size of each page of the NDMP log file.

@return NdmpLogs

func (*ProtocolsApiService) GetNdmpSession ¶

func (a *ProtocolsApiService) GetNdmpSession(ctx context.Context, ndmpSessionId string, localVarOptionals map[string]interface{}) (NdmpSessions, *http.Response, error)

ProtocolsApiService Retrieve the ndmp session. * @param ctx context.Context for authentication, logging, tracing, etc. @param ndmpSessionId Retrieve the ndmp session. @param optional (nil or map[string]interface{}) with one or more of:

@param "lnn" (string) Logical node number.

@return NdmpSessions

func (*ProtocolsApiService) GetNdmpSessions ¶

func (a *ProtocolsApiService) GetNdmpSessions(ctx context.Context, localVarOptionals map[string]interface{}) (NdmpSessionsExtended, *http.Response, error)

ProtocolsApiService List all ndmp sessions. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "consolidate" (bool) Combine sessions in the same context.
@param "node" (string) Only return sessions of the node.
@param "session" (string) Only return the specified session.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).

@return NdmpSessionsExtended

func (*ProtocolsApiService) GetNdmpSettingsDmas ¶

func (a *ProtocolsApiService) GetNdmpSettingsDmas(ctx context.Context) (NdmpSettingsDmas, *http.Response, error)

ProtocolsApiService List of supported dma vendors. * @param ctx context.Context for authentication, logging, tracing, etc. @return NdmpSettingsDmas

func (*ProtocolsApiService) GetNdmpSettingsGlobal ¶

func (a *ProtocolsApiService) GetNdmpSettingsGlobal(ctx context.Context) (NdmpSettingsGlobal, *http.Response, error)

ProtocolsApiService List global ndmp settings. * @param ctx context.Context for authentication, logging, tracing, etc. @return NdmpSettingsGlobal

func (*ProtocolsApiService) GetNdmpSettingsPreferredIp ¶

func (a *ProtocolsApiService) GetNdmpSettingsPreferredIp(ctx context.Context, ndmpSettingsPreferredIpId string) (NdmpSettingsPreferredIps, *http.Response, error)

ProtocolsApiService Get one preference by id. * @param ctx context.Context for authentication, logging, tracing, etc. @param ndmpSettingsPreferredIpId Get one preference by id. @return NdmpSettingsPreferredIps

func (*ProtocolsApiService) GetNdmpSettingsVariable ¶

func (a *ProtocolsApiService) GetNdmpSettingsVariable(ctx context.Context, ndmpSettingsVariableId string, localVarOptionals map[string]interface{}) (NdmpSettingsVariables, *http.Response, error)

ProtocolsApiService List of preferred environment variables. * @param ctx context.Context for authentication, logging, tracing, etc. @param ndmpSettingsVariableId List of preferred environment variables. @param optional (nil or map[string]interface{}) with one or more of:

@param "path" (string) Return variables of the path.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).

@return NdmpSettingsVariables

func (*ProtocolsApiService) GetNdmpUser ¶

func (a *ProtocolsApiService) GetNdmpUser(ctx context.Context, ndmpUserId string) (NdmpUsers, *http.Response, error)

ProtocolsApiService Retrieve the user. * @param ctx context.Context for authentication, logging, tracing, etc. @param ndmpUserId Retrieve the user. @return NdmpUsers

func (*ProtocolsApiService) GetNfsAlias ¶

func (a *ProtocolsApiService) GetNfsAlias(ctx context.Context, nfsAliasId string, localVarOptionals map[string]interface{}) (NfsAliases, *http.Response, error)

ProtocolsApiService Retrieve export information. * @param ctx context.Context for authentication, logging, tracing, etc. @param nfsAliasId Retrieve export information. @param optional (nil or map[string]interface{}) with one or more of:

@param "scope" (string) When specified as &#39;effective&#39;, or not specified, all fields are returned. When specified as &#39;user&#39;, only fields with non-default values are shown. When specified as &#39;default&#39;, the original values are returned.
@param "check" (bool) Check for conflicts when viewing alias.
@param "zone" (string) Access zone

@return NfsAliases

func (*ProtocolsApiService) GetNfsCheck ¶

func (a *ProtocolsApiService) GetNfsCheck(ctx context.Context, localVarOptionals map[string]interface{}) (NfsCheckExtended, *http.Response, error)

ProtocolsApiService Retrieve NFS export validation information. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "ignoreBadPaths" (bool) Ignore nonexistent or otherwise bad paths.
@param "ignoreBadAuth" (bool) Ignore invalid users.
@param "zone" (string) Access zone
@param "ignoreUnresolvableHosts" (bool) Ignore unresolvable hosts.

@return NfsCheckExtended

func (*ProtocolsApiService) GetNfsExport ¶

func (a *ProtocolsApiService) GetNfsExport(ctx context.Context, nfsExportId string, localVarOptionals map[string]interface{}) (NfsExports, *http.Response, error)

ProtocolsApiService Retrieve export information. * @param ctx context.Context for authentication, logging, tracing, etc. @param nfsExportId Retrieve export information. @param optional (nil or map[string]interface{}) with one or more of:

@param "scope" (string) When specified as &#39;effective&#39;, or not specified, all fields are returned. When specified as &#39;user&#39;, only fields with non-default values are shown. When specified as &#39;default&#39;, the original values are returned.
@param "zone" (string) Access zone

@return NfsExports

func (*ProtocolsApiService) GetNfsExportsSummary ¶

func (a *ProtocolsApiService) GetNfsExportsSummary(ctx context.Context, localVarOptionals map[string]interface{}) (NfsExportsSummary, *http.Response, error)

ProtocolsApiService Retrieve NFS export summary information. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Access zone

@return NfsExportsSummary

func (*ProtocolsApiService) GetNfsLogLevel ¶

func (a *ProtocolsApiService) GetNfsLogLevel(ctx context.Context) (NfsLogLevel, *http.Response, error)

ProtocolsApiService Get the current NFS service logging level. * @param ctx context.Context for authentication, logging, tracing, etc. @return NfsLogLevel

func (*ProtocolsApiService) GetNfsNetgroup ¶

func (a *ProtocolsApiService) GetNfsNetgroup(ctx context.Context, localVarOptionals map[string]interface{}) (NfsNetgroup, *http.Response, error)

ProtocolsApiService Get the current NFS netgroup cache settings. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "host" (string) Host to retrieve netgroup cache settings from.

@return NfsNetgroup

func (*ProtocolsApiService) GetNfsNlmLocks ¶

func (a *ProtocolsApiService) GetNfsNlmLocks(ctx context.Context, localVarOptionals map[string]interface{}) (NfsNlmLocks, *http.Response, error)

ProtocolsApiService List all NLM locks. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "created" (string) Return locks created after the specified unix epoch time.
@param "lin" (string) Filter locks by the specified LIN in /ifs that is locked.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
@param "client" (string) Filter locks by the specified client host name and IP address.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "clientId" (string) Filter locks by the specified client ID.
@param "path" (string) Filter locks by the specified path under /ifs.
@param "dir" (string) The direction of the sort.

@return NfsNlmLocks

func (*ProtocolsApiService) GetNfsNlmSession ¶

func (a *ProtocolsApiService) GetNfsNlmSession(ctx context.Context, nfsNlmSessionId string, localVarOptionals map[string]interface{}) (NfsNlmSessions, *http.Response, error)

ProtocolsApiService Retrieve all lock state for a single client. * @param ctx context.Context for authentication, logging, tracing, etc. @param nfsNlmSessionId Retrieve all lock state for a single client. @param optional (nil or map[string]interface{}) with one or more of:

@param "clusterIp" (string) An IP address for which NSM has client records
@param "zone" (string) Represents an extant auth zone

@return NfsNlmSessions

func (*ProtocolsApiService) GetNfsNlmSessions ¶

func (a *ProtocolsApiService) GetNfsNlmSessions(ctx context.Context, localVarOptionals map[string]interface{}) (NfsNlmSessionsExtended, *http.Response, error)

ProtocolsApiService List all NSM clients (optionally filtered by either zone or IP) * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "ip" (string) An IP address for which NSM has client records
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "zone" (string) Represents an extant auth zone
@param "dir" (string) The direction of the sort.

@return NfsNlmSessionsExtended

func (*ProtocolsApiService) GetNfsNlmWaiters ¶

func (a *ProtocolsApiService) GetNfsNlmWaiters(ctx context.Context, localVarOptionals map[string]interface{}) (NfsNlmWaiters, *http.Response, error)

ProtocolsApiService List all NLM lock waiters. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "dir" (string) The direction of the sort.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).

@return NfsNlmWaiters

func (*ProtocolsApiService) GetNfsSettingsExport ¶

func (a *ProtocolsApiService) GetNfsSettingsExport(ctx context.Context, localVarOptionals map[string]interface{}) (NfsSettingsExport, *http.Response, error)

ProtocolsApiService Retrieve export information. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "scope" (string) If specified as \&quot;effective\&quot; or not specified, all fields are returned.  If specified as \&quot;user\&quot;, only fields with non-default values are shown.  If specified as \&quot;default\&quot;, the original values are returned.
@param "zone" (string) Access zone

@return NfsSettingsExport

func (*ProtocolsApiService) GetNfsSettingsGlobal ¶

func (a *ProtocolsApiService) GetNfsSettingsGlobal(ctx context.Context, localVarOptionals map[string]interface{}) (NfsSettingsGlobal, *http.Response, error)

ProtocolsApiService Retrieve the NFS configuration. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "scope" (string) When specified as &#39;effective&#39;, or not specified, all fields are returned. When specified as &#39;user&#39;, only fields with non-default values are shown. When specified as &#39;default&#39;, the original values are returned.

@return NfsSettingsGlobal

func (*ProtocolsApiService) GetNfsSettingsZone ¶

func (a *ProtocolsApiService) GetNfsSettingsZone(ctx context.Context, localVarOptionals map[string]interface{}) (NfsSettingsZone, *http.Response, error)

ProtocolsApiService Retrieve the NFS server settings for this zone. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Access zone

@return NfsSettingsZone

func (*ProtocolsApiService) GetNtpServer ¶

func (a *ProtocolsApiService) GetNtpServer(ctx context.Context, ntpServerId string) (NtpServers, *http.Response, error)

ProtocolsApiService Retrieve one NTP server. * @param ctx context.Context for authentication, logging, tracing, etc. @param ntpServerId Retrieve one NTP server. @return NtpServers

func (*ProtocolsApiService) GetNtpSettings ¶

func (a *ProtocolsApiService) GetNtpSettings(ctx context.Context) (NtpSettings, *http.Response, error)

ProtocolsApiService Retrieve the NTP settings. * @param ctx context.Context for authentication, logging, tracing, etc. @return NtpSettings

func (*ProtocolsApiService) GetSmbLogLevel ¶

func (a *ProtocolsApiService) GetSmbLogLevel(ctx context.Context) (SmbLogLevel, *http.Response, error)

ProtocolsApiService Get the current SMB logging level. * @param ctx context.Context for authentication, logging, tracing, etc. @return SmbLogLevel

func (*ProtocolsApiService) GetSmbLogLevelFilter ¶

func (a *ProtocolsApiService) GetSmbLogLevelFilter(ctx context.Context, smbLogLevelFilterId string) (SmbLogLevelFilters, *http.Response, error)

ProtocolsApiService View log filter. * @param ctx context.Context for authentication, logging, tracing, etc. @param smbLogLevelFilterId View log filter. @return SmbLogLevelFilters

func (*ProtocolsApiService) GetSmbOpenfiles ¶

func (a *ProtocolsApiService) GetSmbOpenfiles(ctx context.Context, localVarOptionals map[string]interface{}) (SmbOpenfiles, *http.Response, error)

ProtocolsApiService List open files. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) Order results by this field. Default is id.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "dir" (string) The direction of the sort.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).

@return SmbOpenfiles

func (*ProtocolsApiService) GetSmbSessions ¶

func (a *ProtocolsApiService) GetSmbSessions(ctx context.Context, localVarOptionals map[string]interface{}) (SmbSessions, *http.Response, error)

ProtocolsApiService List open sessions. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) Order results by this field.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "dir" (string) The direction of the sort.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).

@return SmbSessions

func (*ProtocolsApiService) GetSmbSettingsGlobal ¶

func (a *ProtocolsApiService) GetSmbSettingsGlobal(ctx context.Context, localVarOptionals map[string]interface{}) (SmbSettingsGlobal, *http.Response, error)

ProtocolsApiService List all settings. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "scope" (string) If specified as \&quot;effective\&quot; or not specified, all fields are returned.  If specified as \&quot;user\&quot;, only fields with non-default values are shown.  If specified as \&quot;default\&quot;, the original values are returned.

@return SmbSettingsGlobal

func (*ProtocolsApiService) GetSmbSettingsShare ¶

func (a *ProtocolsApiService) GetSmbSettingsShare(ctx context.Context, localVarOptionals map[string]interface{}) (SmbSettingsShare, *http.Response, error)

ProtocolsApiService List all settings. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "scope" (string) If specified as \&quot;effective\&quot; or not specified, all fields are returned.  If specified as \&quot;user\&quot;, only fields with non-default values are shown.  If specified as \&quot;default\&quot;, the original values are returned.
@param "zone" (string) Zone which contains these share settings.

@return SmbSettingsShare

func (*ProtocolsApiService) GetSmbShare ¶

func (a *ProtocolsApiService) GetSmbShare(ctx context.Context, smbShareId string, localVarOptionals map[string]interface{}) (SmbShares, *http.Response, error)

ProtocolsApiService Retrieve share. * @param ctx context.Context for authentication, logging, tracing, etc. @param smbShareId Retrieve share. @param optional (nil or map[string]interface{}) with one or more of:

@param "scope" (string) If specified as \&quot;effective\&quot; or not specified, all fields are returned.  If specified as \&quot;user\&quot;, only fields with non-default values are shown.  If specified as \&quot;default\&quot;, the original values are returned.
@param "resolveNames" (bool) If true, resolve group and user names in personas.
@param "zone" (string) Zone which contains this share.

@return SmbShares

func (*ProtocolsApiService) GetSmbSharesSummary ¶

func (a *ProtocolsApiService) GetSmbSharesSummary(ctx context.Context, localVarOptionals map[string]interface{}) (SmbSharesSummary, *http.Response, error)

ProtocolsApiService Return summary information about shares. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Specifies which access zone or zones to use.

@return SmbSharesSummary

func (*ProtocolsApiService) GetSnmpSettings ¶

func (a *ProtocolsApiService) GetSnmpSettings(ctx context.Context) (SnmpSettings, *http.Response, error)

ProtocolsApiService Retrieve the SNMP settings. * @param ctx context.Context for authentication, logging, tracing, etc. @return SnmpSettings

func (*ProtocolsApiService) GetSwiftAccount ¶

func (a *ProtocolsApiService) GetSwiftAccount(ctx context.Context, swiftAccountId string, localVarOptionals map[string]interface{}) (SwiftAccounts, *http.Response, error)

ProtocolsApiService List a swift account. * @param ctx context.Context for authentication, logging, tracing, etc. @param swiftAccountId List a swift account. @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Access zone which contains Swift account.

@return SwiftAccounts

func (*ProtocolsApiService) ListHdfsProxyusers ¶

func (a *ProtocolsApiService) ListHdfsProxyusers(ctx context.Context, localVarOptionals map[string]interface{}) (HdfsProxyusers, *http.Response, error)

ProtocolsApiService List all proxyusers. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Access zone which contains HDFS proxyusers.

@return HdfsProxyusers

func (*ProtocolsApiService) ListHdfsRacks ¶

func (a *ProtocolsApiService) ListHdfsRacks(ctx context.Context, localVarOptionals map[string]interface{}) (HdfsRacksExtended, *http.Response, error)

ProtocolsApiService List all racks. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Access zone which contains HDFS racks.

@return HdfsRacksExtended

func (*ProtocolsApiService) ListNdmpSettingsPreferredIps ¶

func (a *ProtocolsApiService) ListNdmpSettingsPreferredIps(ctx context.Context, localVarOptionals map[string]interface{}) (NdmpSettingsPreferredIps, *http.Response, error)

ProtocolsApiService Get list of preferences. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "limit" (int32) Return no more than this many results at once (see resume).
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).

@return NdmpSettingsPreferredIps

func (*ProtocolsApiService) ListNdmpUsers ¶

ProtocolsApiService List all ndmp administrators. * @param ctx context.Context for authentication, logging, tracing, etc. @return NdmpUsersExtended

func (*ProtocolsApiService) ListNfsAliases ¶

func (a *ProtocolsApiService) ListNfsAliases(ctx context.Context, localVarOptionals map[string]interface{}) (NfsAliasesExtended, *http.Response, error)

ProtocolsApiService List all NFS aliases. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "zone" (string) Access zone
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "check" (bool) Check for conflicts when listing aliases.
@param "dir" (string) The direction of the sort.

@return NfsAliasesExtended

func (*ProtocolsApiService) ListNfsExports ¶

func (a *ProtocolsApiService) ListNfsExports(ctx context.Context, localVarOptionals map[string]interface{}) (NfsExportsExtended, *http.Response, error)

ProtocolsApiService List all NFS exports. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting. Default is id.
@param "zone" (string) Access zone
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
@param "scope" (string) When specified as &#39;effective&#39;, or not specified, all fields are returned. When specified as &#39;user&#39;, only fields with non-default values are shown. When specified as &#39;default&#39;, the original values are returned.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "offset" (int32) The position of the first item returned for a paginated query within the full result set.
@param "path" (string) If specified, only exports that explicitly reference at least one of the given paths will be returned.
@param "check" (bool) Check for conflicts when listing exports.
@param "dir" (string) The direction of the sort.

@return NfsExportsExtended

func (*ProtocolsApiService) ListNtpServers ¶

func (a *ProtocolsApiService) ListNtpServers(ctx context.Context, localVarOptionals map[string]interface{}) (NtpServersExtended, *http.Response, error)

ProtocolsApiService List all NTP servers. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "dir" (string) The direction of the sort.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).

@return NtpServersExtended

func (*ProtocolsApiService) ListSmbLogLevelFilters ¶

func (a *ProtocolsApiService) ListSmbLogLevelFilters(ctx context.Context, localVarOptionals map[string]interface{}) (SmbLogLevelFilters, *http.Response, error)

ProtocolsApiService Get the current SMB log filters. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "dir" (string) The direction of the sort.
@param "level" (string) Valid SMB logging levels

@return SmbLogLevelFilters

func (*ProtocolsApiService) ListSmbShares ¶

func (a *ProtocolsApiService) ListSmbShares(ctx context.Context, localVarOptionals map[string]interface{}) (SmbSharesExtended, *http.Response, error)

ProtocolsApiService List all shares. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) Order results by this field. Default is id.
@param "zone" (string) Zone which contains this share.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
@param "resolveNames" (bool) If true, resolve group and user names in personas.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "offset" (int32) The position of the first item returned for a paginated query within the full result set.
@param "scope" (string) If specified as \&quot;effective\&quot; or not specified, all fields are returned.  If specified as \&quot;user\&quot;, only fields with non-default values are shown.  If specified as \&quot;default\&quot;, the original values are returned.
@param "dir" (string) The direction of the sort.

@return SmbSharesExtended

func (*ProtocolsApiService) ListSwiftAccounts ¶

func (a *ProtocolsApiService) ListSwiftAccounts(ctx context.Context, localVarOptionals map[string]interface{}) (SwiftAccountsExtended, *http.Response, error)

ProtocolsApiService List all swift accounts. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Access zone which contains Swift accounts.

@return SwiftAccountsExtended

func (*ProtocolsApiService) UpdateFtpSettings ¶

func (a *ProtocolsApiService) UpdateFtpSettings(ctx context.Context, ftpSettings FtpSettingsExtended) (*http.Response, error)

ProtocolsApiService Modify the FTP settings. All input fields are optional, but one or more must be supplied. * @param ctx context.Context for authentication, logging, tracing, etc. @param ftpSettings @return

func (*ProtocolsApiService) UpdateHdfsLogLevel ¶

func (a *ProtocolsApiService) UpdateHdfsLogLevel(ctx context.Context, hdfsLogLevel HdfsLogLevel) (*http.Response, error)

ProtocolsApiService Modify the HDFS service log-level. * @param ctx context.Context for authentication, logging, tracing, etc. @param hdfsLogLevel @return

func (*ProtocolsApiService) UpdateHdfsProxyuser ¶

func (a *ProtocolsApiService) UpdateHdfsProxyuser(ctx context.Context, hdfsProxyuser Empty, hdfsProxyuserId string, localVarOptionals map[string]interface{}) (*http.Response, error)

ProtocolsApiService Modify an HDFS proxyuser. * @param ctx context.Context for authentication, logging, tracing, etc. @param hdfsProxyuser @param hdfsProxyuserId Modify an HDFS proxyuser. @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Access zone which contains HDFS proxyuser.

@return

func (*ProtocolsApiService) UpdateHdfsRack ¶

func (a *ProtocolsApiService) UpdateHdfsRack(ctx context.Context, hdfsRack HdfsRack, hdfsRackId string, localVarOptionals map[string]interface{}) (*http.Response, error)

ProtocolsApiService Modify the HDFS rack * @param ctx context.Context for authentication, logging, tracing, etc. @param hdfsRack @param hdfsRackId Modify the HDFS rack @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Access zone which contains HDFS rack.

@return

func (*ProtocolsApiService) UpdateHdfsRangerPluginSettings ¶

func (a *ProtocolsApiService) UpdateHdfsRangerPluginSettings(ctx context.Context, hdfsRangerPluginSettings HdfsRangerPluginSettingsSettings, localVarOptionals map[string]interface{}) (*http.Response, error)

ProtocolsApiService Modify HDFS ranger-plugin properties. * @param ctx context.Context for authentication, logging, tracing, etc. @param hdfsRangerPluginSettings @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Access zone which contains HDFS ranger-plugin settings.

@return

func (*ProtocolsApiService) UpdateHdfsSettings ¶

func (a *ProtocolsApiService) UpdateHdfsSettings(ctx context.Context, hdfsSettings HdfsSettingsSettings, localVarOptionals map[string]interface{}) (*http.Response, error)

ProtocolsApiService Modify HDFS properties. * @param ctx context.Context for authentication, logging, tracing, etc. @param hdfsSettings @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Access zone which contains HDFS settings.

@return

func (*ProtocolsApiService) UpdateHttpSettings ¶

func (a *ProtocolsApiService) UpdateHttpSettings(ctx context.Context, httpSettings HttpSettingsSettings) (*http.Response, error)

ProtocolsApiService Modify HTTP properties. * @param ctx context.Context for authentication, logging, tracing, etc. @param httpSettings @return

func (*ProtocolsApiService) UpdateNdmpDiagnostics ¶

func (a *ProtocolsApiService) UpdateNdmpDiagnostics(ctx context.Context, ndmpDiagnostics NdmpDiagnosticsDiagnostics) (*http.Response, error)

ProtocolsApiService Modify ndmp diagnostics settings. * @param ctx context.Context for authentication, logging, tracing, etc. @param ndmpDiagnostics @return

func (*ProtocolsApiService) UpdateNdmpSettingsGlobal ¶

func (a *ProtocolsApiService) UpdateNdmpSettingsGlobal(ctx context.Context, ndmpSettingsGlobal NdmpSettingsGlobalGlobal) (*http.Response, error)

ProtocolsApiService Modify one or more settings. * @param ctx context.Context for authentication, logging, tracing, etc. @param ndmpSettingsGlobal @return

func (*ProtocolsApiService) UpdateNdmpSettingsPreferredIp ¶

func (a *ProtocolsApiService) UpdateNdmpSettingsPreferredIp(ctx context.Context, ndmpSettingsPreferredIp NdmpSettingsPreferredIp, ndmpSettingsPreferredIpId string) (*http.Response, error)

ProtocolsApiService Modify a preferred ip preference. * @param ctx context.Context for authentication, logging, tracing, etc. @param ndmpSettingsPreferredIp @param ndmpSettingsPreferredIpId Modify a preferred ip preference. @return

func (*ProtocolsApiService) UpdateNdmpSettingsVariable ¶

func (a *ProtocolsApiService) UpdateNdmpSettingsVariable(ctx context.Context, ndmpSettingsVariable NdmpSettingsVariable, ndmpSettingsVariableId string, localVarOptionals map[string]interface{}) (*http.Response, error)

ProtocolsApiService Modify or create a NDMP preferred environment variable. * @param ctx context.Context for authentication, logging, tracing, etc. @param ndmpSettingsVariable @param ndmpSettingsVariableId Modify or create a NDMP preferred environment variable. @param optional (nil or map[string]interface{}) with one or more of:

@param "name" (string) Name of the variable to modify.

@return

func (*ProtocolsApiService) UpdateNdmpUser ¶

func (a *ProtocolsApiService) UpdateNdmpUser(ctx context.Context, ndmpUser NdmpUser, ndmpUserId string) (*http.Response, error)

ProtocolsApiService Modify the user * @param ctx context.Context for authentication, logging, tracing, etc. @param ndmpUser @param ndmpUserId Modify the user @return

func (*ProtocolsApiService) UpdateNfsAlias ¶

func (a *ProtocolsApiService) UpdateNfsAlias(ctx context.Context, nfsAlias NfsAlias, nfsAliasId string, localVarOptionals map[string]interface{}) (*http.Response, error)

ProtocolsApiService Modify the alias. All input fields are optional, but one or more must be supplied. * @param ctx context.Context for authentication, logging, tracing, etc. @param nfsAlias @param nfsAliasId Modify the alias. All input fields are optional, but one or more must be supplied. @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Access zone

@return

func (*ProtocolsApiService) UpdateNfsExport ¶

func (a *ProtocolsApiService) UpdateNfsExport(ctx context.Context, nfsExport NfsExport, nfsExportId string, localVarOptionals map[string]interface{}) (*http.Response, error)

ProtocolsApiService Modify the export. All input fields are optional, but one or more must be supplied. * @param ctx context.Context for authentication, logging, tracing, etc. @param nfsExport @param nfsExportId Modify the export. All input fields are optional, but one or more must be supplied. @param optional (nil or map[string]interface{}) with one or more of:

@param "force" (bool) If true, the export will be updated even if that change conflicts with another export.
@param "ignoreUnresolvableHosts" (bool) Ignore unresolvable hosts.
@param "zone" (string) Access zone
@param "ignoreConflicts" (bool) Ignore conflicts with existing exports.
@param "ignoreBadPaths" (bool) Ignore nonexistent or otherwise bad paths.
@param "ignoreBadAuth" (bool) Ignore invalid users.

@return

func (*ProtocolsApiService) UpdateNfsLogLevel ¶

func (a *ProtocolsApiService) UpdateNfsLogLevel(ctx context.Context, nfsLogLevel NfsLogLevel) (*http.Response, error)

ProtocolsApiService Set the current NFS service logging level. * @param ctx context.Context for authentication, logging, tracing, etc. @param nfsLogLevel @return

func (*ProtocolsApiService) UpdateNfsNetgroup ¶

func (a *ProtocolsApiService) UpdateNfsNetgroup(ctx context.Context, nfsNetgroup NfsNetgroup, localVarOptionals map[string]interface{}) (*http.Response, error)

ProtocolsApiService Modify the current NFS netgroup settings. * @param ctx context.Context for authentication, logging, tracing, etc. @param nfsNetgroup @param optional (nil or map[string]interface{}) with one or more of:

@param "host" (string) Host to retrieve netgroup cache settings for.

@return

func (*ProtocolsApiService) UpdateNfsSettingsExport ¶

func (a *ProtocolsApiService) UpdateNfsSettingsExport(ctx context.Context, nfsSettingsExport NfsSettingsExportSettings, localVarOptionals map[string]interface{}) (*http.Response, error)

ProtocolsApiService Modify the default values for NFS exports. All input fields are optional, but one or more must be supplied. * @param ctx context.Context for authentication, logging, tracing, etc. @param nfsSettingsExport @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Access zone

@return

func (*ProtocolsApiService) UpdateNfsSettingsGlobal ¶

func (a *ProtocolsApiService) UpdateNfsSettingsGlobal(ctx context.Context, nfsSettingsGlobal NfsSettingsGlobalSettings, localVarOptionals map[string]interface{}) (*http.Response, error)

ProtocolsApiService Modify the default values for NFS exports. All input fields are optional, but one or more must be supplied. * @param ctx context.Context for authentication, logging, tracing, etc. @param nfsSettingsGlobal @param optional (nil or map[string]interface{}) with one or more of:

@param "scope" (string) When specified as &#39;effective&#39;, or not specified, all fields are returned. When specified as &#39;user&#39;, only fields with non-default values are shown. When specified as &#39;default&#39;, the original values are returned.

@return

func (*ProtocolsApiService) UpdateNfsSettingsZone ¶

func (a *ProtocolsApiService) UpdateNfsSettingsZone(ctx context.Context, nfsSettingsZone NfsSettingsZoneSettings, localVarOptionals map[string]interface{}) (*http.Response, error)

ProtocolsApiService Modify the NFS server settings for this zone. * @param ctx context.Context for authentication, logging, tracing, etc. @param nfsSettingsZone @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Access zone

@return

func (*ProtocolsApiService) UpdateNtpServer ¶

func (a *ProtocolsApiService) UpdateNtpServer(ctx context.Context, ntpServer NtpServer, ntpServerId string) (*http.Response, error)

ProtocolsApiService Modify the key value for an NTP server. * @param ctx context.Context for authentication, logging, tracing, etc. @param ntpServer @param ntpServerId Modify the key value for an NTP server. @return

func (*ProtocolsApiService) UpdateNtpSettings ¶

func (a *ProtocolsApiService) UpdateNtpSettings(ctx context.Context, ntpSettings NtpSettingsSettings) (*http.Response, error)

ProtocolsApiService Modify the NTP settings. All input fields are optional, but one or more must be supplied. * @param ctx context.Context for authentication, logging, tracing, etc. @param ntpSettings @return

func (*ProtocolsApiService) UpdateSmbLogLevel ¶

func (a *ProtocolsApiService) UpdateSmbLogLevel(ctx context.Context, smbLogLevel SmbLogLevel) (*http.Response, error)

ProtocolsApiService Set the current SMB logging level. * @param ctx context.Context for authentication, logging, tracing, etc. @param smbLogLevel @return

func (*ProtocolsApiService) UpdateSmbSettingsGlobal ¶

func (a *ProtocolsApiService) UpdateSmbSettingsGlobal(ctx context.Context, smbSettingsGlobal SmbSettingsGlobalExtended) (*http.Response, error)

ProtocolsApiService Modify one or more settings. * @param ctx context.Context for authentication, logging, tracing, etc. @param smbSettingsGlobal @return

func (*ProtocolsApiService) UpdateSmbSettingsShare ¶

func (a *ProtocolsApiService) UpdateSmbSettingsShare(ctx context.Context, smbSettingsShare SmbSettingsShareExtended, localVarOptionals map[string]interface{}) (*http.Response, error)

ProtocolsApiService Modify one or more settings. * @param ctx context.Context for authentication, logging, tracing, etc. @param smbSettingsShare @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Zone which contains these share settings.

@return

func (*ProtocolsApiService) UpdateSmbShare ¶

func (a *ProtocolsApiService) UpdateSmbShare(ctx context.Context, smbShare SmbShare, smbShareId string, localVarOptionals map[string]interface{}) (*http.Response, error)

ProtocolsApiService Modify share. All input fields are optional, but one or more must be supplied. * @param ctx context.Context for authentication, logging, tracing, etc. @param smbShare @param smbShareId Modify share. All input fields are optional, but one or more must be supplied. @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Zone which contains this share.

@return

func (*ProtocolsApiService) UpdateSnmpSettings ¶

func (a *ProtocolsApiService) UpdateSnmpSettings(ctx context.Context, snmpSettings SnmpSettingsExtended) (*http.Response, error)

ProtocolsApiService Modify the SNMP settings. All input fields are optional, but one or more must be supplied. * @param ctx context.Context for authentication, logging, tracing, etc. @param snmpSettings @return

func (*ProtocolsApiService) UpdateSwiftAccount ¶

func (a *ProtocolsApiService) UpdateSwiftAccount(ctx context.Context, swiftAccount SwiftAccount, swiftAccountId string, localVarOptionals map[string]interface{}) (*http.Response, error)

ProtocolsApiService Modify a Swift account * @param ctx context.Context for authentication, logging, tracing, etc. @param swiftAccount @param swiftAccountId Modify a Swift account @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Access zone which contains Swift account.

@return

type ProtocolsHdfsApiService ¶

type ProtocolsHdfsApiService service

func (*ProtocolsHdfsApiService) CreateProxyusersNameMember ¶

func (a *ProtocolsHdfsApiService) CreateProxyusersNameMember(ctx context.Context, proxyusersNameMember AuthAccessAccessItemFileGroup, name string, localVarOptionals map[string]interface{}) (CreateResponse, *http.Response, error)

ProtocolsHdfsApiService Add a member to the HDFS proxyuser. * @param ctx context.Context for authentication, logging, tracing, etc. @param proxyusersNameMember @param name @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Specifies which access zone or zones to use.

@return CreateResponse

func (*ProtocolsHdfsApiService) DeleteProxyusersNameMember ¶

func (a *ProtocolsHdfsApiService) DeleteProxyusersNameMember(ctx context.Context, proxyusersNameMemberId string, name string, localVarOptionals map[string]interface{}) (*http.Response, error)

ProtocolsHdfsApiService Remove a member from the HDFS proxyuser. * @param ctx context.Context for authentication, logging, tracing, etc. @param proxyusersNameMemberId Remove a member from the HDFS proxyuser. @param name @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Specifies which access zone or zones to use.

@return

func (*ProtocolsHdfsApiService) ListProxyusersNameMembers ¶

func (a *ProtocolsHdfsApiService) ListProxyusersNameMembers(ctx context.Context, name string, localVarOptionals map[string]interface{}) (GroupMembers, *http.Response, error)

ProtocolsHdfsApiService List all the members of the HDFS proxyuser. * @param ctx context.Context for authentication, logging, tracing, etc. @param name @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Specifies which access zone or zones to use.

@return GroupMembers

func (*ProtocolsHdfsApiService) UpdateProxyusersNameMember ¶

func (a *ProtocolsHdfsApiService) UpdateProxyusersNameMember(ctx context.Context, proxyusersNameMember Empty, proxyusersNameMemberId string, name string, localVarOptionals map[string]interface{}) (*http.Response, error)

ProtocolsHdfsApiService Create a new HDFS proxyuser. * @param ctx context.Context for authentication, logging, tracing, etc. @param proxyusersNameMember @param proxyusersNameMemberId Create a new HDFS proxyuser. @param name @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Specifies which access zone or zones to use.

@return

type ProvidersAds ¶

type ProvidersAds struct {
	Ads []ProvidersAdsAdsItem `json:"ads,omitempty"`
}

type ProvidersAdsAdsItem ¶

type ProvidersAdsAdsItem struct {

	// Allocates an ID for an unmapped Active Directory (ADS) group. ADS groups without GIDs can be proactively assigned a GID by the ID mapper. If the ID mapper option is disabled, GIDs are not proactively assigned, and when a primary group for a user does not include a GID, the system may allocate one.
	AllocateGids bool `json:"allocate_gids,omitempty"`

	// Allocates a user ID for an unmapped Active Directory (ADS) user. ADS users without UIDs can be proactively assigned a UID by the ID mapper. IF the ID mapper option is disabled, UIDs are not proactively assigned, and when an identify for a user does not include a UID, the system may allocate one.
	AllocateUids bool `json:"allocate_uids,omitempty"`

	// Enables lookup of unqualified user names in the primary domain.
	AssumeDefaultDomain bool `json:"assume_default_domain,omitempty"`

	// Enables authentication and identity management through the authentication provider.
	Authentication bool `json:"authentication,omitempty"`

	// Specifies the time in seconds between provider online checks.
	CheckOnlineInterval int32 `json:"check_online_interval,omitempty"`

	// Specifies the current time for the domain controllers.
	ControllerTime int32 `json:"controller_time,omitempty"`

	// Automatically creates a home directory on the first login.
	CreateHomeDirectory bool `json:"create_home_directory,omitempty"`

	// Sends an alert if the domain goes offline.
	DomainOfflineAlerts bool `json:"domain_offline_alerts,omitempty"`

	// Sets list of groups that can be resolved.
	FindableGroups []string `json:"findable_groups,omitempty"`

	// Sets list of users that can be resolved.
	FindableUsers []string `json:"findable_users,omitempty"`

	// Specifies the Active Directory forest.
	Forest string `json:"forest,omitempty"`

	// Groupnet identifier.
	Groupnet string `json:"groupnet,omitempty"`

	// Specifies the path to the home directory template.
	HomeDirectoryTemplate string `json:"home_directory_template,omitempty"`

	// Specifies the fully qualified hostname stored in the machine account.
	Hostname string `json:"hostname,omitempty"`

	// Specifies the ID of the Active Directory provider instance.
	Id string `json:"id,omitempty"`

	// If set to true, ignores all trusted domains.
	IgnoreAllTrusts bool `json:"ignore_all_trusts,omitempty"`

	// Includes trusted domains when 'ignore_all_trusts' is set to false.
	IgnoredTrustedDomains []string `json:"ignored_trusted_domains,omitempty"`

	// Includes trusted domains when 'ignore_all_trusts' is set to true.
	IncludeTrustedDomains []string `json:"include_trusted_domains,omitempty"`

	// Specifies Active Directory provider instance.
	Instance string `json:"instance,omitempty"`

	// Enables encryption and signing on LDAP requests.
	LdapSignAndSeal bool `json:"ldap_sign_and_seal,omitempty"`

	// Specifies the login shell path.
	LoginShell string `json:"login_shell,omitempty"`

	// Limits user and group lookups to the specified domains.
	LookupDomains []string `json:"lookup_domains,omitempty"`

	// Looks up AD groups in other providers before allocating a group ID.
	LookupGroups bool `json:"lookup_groups,omitempty"`

	// Normalizes AD group names to lowercase before look up.
	LookupNormalizeGroups bool `json:"lookup_normalize_groups,omitempty"`

	// Normalize AD user names to lowercase before look up.
	LookupNormalizeUsers bool `json:"lookup_normalize_users,omitempty"`

	// Looks up AD users in other providers before allocating a user ID.
	LookupUsers bool `json:"lookup_users,omitempty"`

	// Specifies the SAM account name of the machine account.
	MachineAccount string `json:"machine_account,omitempty"`

	// Specifies name to join AD as.
	MachineName string `json:"machine_name,omitempty"`

	// Enables periodic changes of the machine password for security.
	MachinePasswordChanges bool `json:"machine_password_changes,omitempty"`

	// Sets maximum age of a password in seconds.
	MachinePasswordLifespan int32 `json:"machine_password_lifespan,omitempty"`

	// Specifies the Active Directory provider name.
	Name string `json:"name,omitempty"`

	// Specifies the NetBIOS domain name associated with the machine account.
	NetbiosDomain string `json:"netbios_domain,omitempty"`

	// Specifies the domain controller for which the node has affinity.
	NodeDcAffinity string `json:"node_dc_affinity,omitempty"`

	// Specifies the timeout for the domain controller for which the local node has affinity.
	NodeDcAffinityTimeout int32 `json:"node_dc_affinity_timeout,omitempty"`

	// Enables the Active Directory provider to respond to 'getpwent' and 'getgrent' requests.
	NssEnumeration bool `json:"nss_enumeration,omitempty"`

	// Specifies the AD domain to which the provider is joined.
	PrimaryDomain string `json:"primary_domain,omitempty"`

	// Configuration recommended SPNs.
	RecommendedSpns []string `json:"recommended_spns,omitempty"`

	// Check the provider for filtered lists of findable and unfindable users and groups.
	RestrictFindable bool `json:"restrict_findable,omitempty"`

	// Specifies whether to support RFC 2307 attributes on ADS domain controllers.
	SfuSupport string `json:"sfu_support,omitempty"`

	// Specifies the site for the Active Directory.
	Site string `json:"site,omitempty"`

	// Currently configured SPNs.
	Spns []string `json:"spns,omitempty"`

	// Specifies the status of the provider.
	Status string `json:"status,omitempty"`

	// Stores SFU mappings permanently in the ID mapper.
	StoreSfuMappings bool `json:"store_sfu_mappings,omitempty"`

	// If set to true, indicates that this provider instance was created by OneFS and cannot be removed.
	System bool `json:"system,omitempty"`

	// Specifies groups that cannot be resolved by the provider.
	UnfindableGroups []string `json:"unfindable_groups,omitempty"`

	// Specifies users that cannot be resolved by the provider.
	UnfindableUsers []string `json:"unfindable_users,omitempty"`
}

type ProvidersAdsAdsItemExtended ¶

type ProvidersAdsAdsItemExtended struct {

	// Allocates an ID for an unmapped Active Directory (ADS) group. ADS groups without GIDs can be proactively assigned a GID by the ID mapper. If the ID mapper option is disabled, GIDs are not proactively assigned, and when a primary group for a user does not include a GID, the system may allocate one.
	AllocateGids bool `json:"allocate_gids,omitempty"`

	// Allocates a user ID for an unmapped Active Directory (ADS) user. ADS users without UIDs can be proactively assigned a UID by the ID mapper. IF the ID mapper option is disabled, UIDs are not proactively assigned, and when an identify for a user does not include a UID, the system may allocate one.
	AllocateUids bool `json:"allocate_uids,omitempty"`

	// Enables lookup of unqualified user names in the primary domain.
	AssumeDefaultDomain bool `json:"assume_default_domain,omitempty"`

	// Enables authentication and identity management through the authentication provider.
	Authentication bool `json:"authentication,omitempty"`

	// Specifies the time in seconds between provider online checks.
	CheckOnlineInterval int32 `json:"check_online_interval,omitempty"`

	// Specifies the current time for the domain controllers.
	ControllerTime int32 `json:"controller_time,omitempty"`

	// Automatically creates a home directory on the first login.
	CreateHomeDirectory bool `json:"create_home_directory,omitempty"`

	// Sends an alert if the domain goes offline.
	DomainOfflineAlerts bool `json:"domain_offline_alerts,omitempty"`

	// Sets list of groups that can be resolved.
	FindableGroups []string `json:"findable_groups,omitempty"`

	// Sets list of users that can be resolved.
	FindableUsers []string `json:"findable_users,omitempty"`

	// Specifies the Active Directory forest.
	Forest string `json:"forest,omitempty"`

	// Groupnet identifier.
	Groupnet string `json:"groupnet,omitempty"`

	// Specifies the path to the home directory template.
	HomeDirectoryTemplate string `json:"home_directory_template,omitempty"`

	// Specifies the fully qualified hostname stored in the machine account.
	Hostname string `json:"hostname,omitempty"`

	// Specifies the ID of the Active Directory provider instance.
	Id string `json:"id,omitempty"`

	// If set to true, ignores all trusted domains.
	IgnoreAllTrusts bool `json:"ignore_all_trusts,omitempty"`

	// Includes trusted domains when 'ignore_all_trusts' is set to false.
	IgnoredTrustedDomains []string `json:"ignored_trusted_domains,omitempty"`

	// Includes trusted domains when 'ignore_all_trusts' is set to true.
	IncludeTrustedDomains []string `json:"include_trusted_domains,omitempty"`

	// Specifies Active Directory provider instance.
	Instance string `json:"instance,omitempty"`

	// Enables encryption and signing on LDAP requests.
	LdapSignAndSeal bool `json:"ldap_sign_and_seal,omitempty"`

	// Specifies the login shell path.
	LoginShell string `json:"login_shell,omitempty"`

	// Limits user and group lookups to the specified domains.
	LookupDomains []string `json:"lookup_domains,omitempty"`

	// Looks up AD groups in other providers before allocating a group ID.
	LookupGroups bool `json:"lookup_groups,omitempty"`

	// Normalizes AD group names to lowercase before look up.
	LookupNormalizeGroups bool `json:"lookup_normalize_groups,omitempty"`

	// Normalize AD user names to lowercase before look up.
	LookupNormalizeUsers bool `json:"lookup_normalize_users,omitempty"`

	// Looks up AD users in other providers before allocating a user ID.
	LookupUsers bool `json:"lookup_users,omitempty"`

	// Specifies the SAM account name of the machine account.
	MachineAccount string `json:"machine_account,omitempty"`

	// Specifies name to join AD as.
	MachineName string `json:"machine_name,omitempty"`

	// Enables periodic changes of the machine password for security.
	MachinePasswordChanges bool `json:"machine_password_changes,omitempty"`

	// Sets maximum age of a password in seconds.
	MachinePasswordLifespan int32 `json:"machine_password_lifespan,omitempty"`

	// Specifies the Active Directory provider name.
	Name string `json:"name,omitempty"`

	// Specifies the NetBIOS domain name associated with the machine account.
	NetbiosDomain string `json:"netbios_domain,omitempty"`

	// Specifies the domain controller for which the node has affinity.
	NodeDcAffinity string `json:"node_dc_affinity,omitempty"`

	// Specifies the timeout for the domain controller for which the local node has affinity.
	NodeDcAffinityTimeout int32 `json:"node_dc_affinity_timeout,omitempty"`

	// Enables the Active Directory provider to respond to 'getpwent' and 'getgrent' requests.
	NssEnumeration bool `json:"nss_enumeration,omitempty"`

	// Specifies the AD domain to which the provider is joined.
	PrimaryDomain string `json:"primary_domain,omitempty"`

	// Check the provider for filtered lists of findable and unfindable users and groups.
	RestrictFindable bool `json:"restrict_findable,omitempty"`

	// Specifies whether to support RFC 2307 attributes on ADS domain controllers.
	SfuSupport string `json:"sfu_support,omitempty"`

	// Specifies the site for the Active Directory.
	Site string `json:"site,omitempty"`

	// Specifies the status of the provider.
	Status string `json:"status,omitempty"`

	// Stores SFU mappings permanently in the ID mapper.
	StoreSfuMappings bool `json:"store_sfu_mappings,omitempty"`

	// If set to true, indicates that this provider instance was created by OneFS and cannot be removed.
	System bool `json:"system,omitempty"`

	// Specifies groups that cannot be resolved by the provider.
	UnfindableGroups []string `json:"unfindable_groups,omitempty"`

	// Specifies users that cannot be resolved by the provider.
	UnfindableUsers []string `json:"unfindable_users,omitempty"`
}

type ProvidersAdsExtended ¶

type ProvidersAdsExtended struct {
	Ads []ProvidersAdsAdsItemExtended `json:"ads,omitempty"`
}

type ProvidersAdsIdParams ¶

type ProvidersAdsIdParams struct {

	// Allocates an ID for an unmapped Active Directory (ADS) group. ADS groups without GIDs can be proactively assigned a GID by the ID mapper. If the ID mapper option is disabled, GIDs are not proactively assigned, and when a primary group for a user does not include a GID, the system may allocate one.
	AllocateGids bool `json:"allocate_gids,omitempty"`

	// Allocates a user ID for an unmapped Active Directory (ADS) user. ADS users without UIDs can be proactively assigned a UID by the ID mapper. IF the ID mapper option is disabled, UIDs are not proactively assigned, and when an identify for a user does not include a UID, the system may allocate one.
	AllocateUids bool `json:"allocate_uids,omitempty"`

	// Enables lookup of unqualified user names in the primary domain.
	AssumeDefaultDomain bool `json:"assume_default_domain,omitempty"`

	// Enables authentication and identity management through the authentication provider.
	Authentication bool `json:"authentication,omitempty"`

	// Specifies the time in seconds between provider online checks.
	CheckOnlineInterval int32 `json:"check_online_interval,omitempty"`

	// Specifies the current time for the domain controllers.
	ControllerTime int32 `json:"controller_time,omitempty"`

	// Automatically creates a home directory on the first login.
	CreateHomeDirectory bool `json:"create_home_directory,omitempty"`

	// Specifies the domain controller to which the authentication service should send requests
	DomainController string `json:"domain_controller,omitempty"`

	// Sends an alert if the domain goes offline.
	DomainOfflineAlerts bool `json:"domain_offline_alerts,omitempty"`

	// Sets list of groups that can be resolved.
	FindableGroups []string `json:"findable_groups,omitempty"`

	// Sets list of users that can be resolved.
	FindableUsers []string `json:"findable_users,omitempty"`

	// Specifies the path to the home directory template.
	HomeDirectoryTemplate string `json:"home_directory_template,omitempty"`

	// If set to true, ignores all trusted domains.
	IgnoreAllTrusts bool `json:"ignore_all_trusts,omitempty"`

	// Includes trusted domains when 'ignore_all_trusts' is set to false.
	IgnoredTrustedDomains []string `json:"ignored_trusted_domains,omitempty"`

	// Includes trusted domains when 'ignore_all_trusts' is set to true.
	IncludeTrustedDomains []string `json:"include_trusted_domains,omitempty"`

	// Specifies Active Directory provider instance.
	Instance string `json:"instance,omitempty"`

	// Enables encryption and signing on LDAP requests.
	LdapSignAndSeal bool `json:"ldap_sign_and_seal,omitempty"`

	// Specifies the login shell path.
	LoginShell string `json:"login_shell,omitempty"`

	// Limits user and group lookups to the specified domains.
	LookupDomains []string `json:"lookup_domains,omitempty"`

	// Looks up AD groups in other providers before allocating a group ID.
	LookupGroups bool `json:"lookup_groups,omitempty"`

	// Normalizes AD group names to lowercase before look up.
	LookupNormalizeGroups bool `json:"lookup_normalize_groups,omitempty"`

	// Normalize AD user names to lowercase before look up.
	LookupNormalizeUsers bool `json:"lookup_normalize_users,omitempty"`

	// Looks up AD users in other providers before allocating a user ID.
	LookupUsers bool `json:"lookup_users,omitempty"`

	// Specifies name to join AD as.
	MachineName string `json:"machine_name,omitempty"`

	// Enables periodic changes of the machine password for security.
	MachinePasswordChanges bool `json:"machine_password_changes,omitempty"`

	// Sets maximum age of a password in seconds.
	MachinePasswordLifespan int32 `json:"machine_password_lifespan,omitempty"`

	// Specifies the domain controller for which the node has affinity.
	NodeDcAffinity string `json:"node_dc_affinity,omitempty"`

	// Specifies the timeout for the domain controller for which the local node has affinity.
	NodeDcAffinityTimeout int32 `json:"node_dc_affinity_timeout,omitempty"`

	// Enables the Active Directory provider to respond to 'getpwent' and 'getgrent' requests.
	NssEnumeration bool `json:"nss_enumeration,omitempty"`

	// Specifies the password used during domain join.
	Password string `json:"password,omitempty"`

	// Resets the secure channel to the primary domain.
	ResetSchannel bool `json:"reset_schannel,omitempty"`

	// Check the provider for filtered lists of findable and unfindable users and groups.
	RestrictFindable bool `json:"restrict_findable,omitempty"`

	// Specifies whether to support RFC 2307 attributes on ADS domain controllers.
	SfuSupport string `json:"sfu_support,omitempty"`

	// Currently configured SPNs.
	Spns []string `json:"spns,omitempty"`

	// Stores SFU mappings permanently in the ID mapper.
	StoreSfuMappings bool `json:"store_sfu_mappings,omitempty"`

	// Specifies groups that cannot be resolved by the provider.
	UnfindableGroups []string `json:"unfindable_groups,omitempty"`

	// Specifies users that cannot be resolved by the provider.
	UnfindableUsers []string `json:"unfindable_users,omitempty"`

	// Specifies the user name that has permission to join a machine to the given domain.
	User string `json:"user,omitempty"`
}

Specifies the properties for an ADS authentication provider.

type ProvidersAdsItem ¶

type ProvidersAdsItem struct {

	// Specifies the machine account name when creating a SAM account with Active Directory. The default cluster name is called 'default'.
	Account string `json:"account,omitempty"`

	// Allocates an ID for an unmapped Active Directory (ADS) group. ADS groups without GIDs can be proactively assigned a GID by the ID mapper. If the ID mapper option is disabled, GIDs are not proactively assigned, and when a primary group for a user does not include a GID, the system may allocate one.
	AllocateGids bool `json:"allocate_gids,omitempty"`

	// Allocates a user ID for an unmapped Active Directory (ADS) user. ADS users without UIDs can be proactively assigned a UID by the ID mapper. IF the ID mapper option is disabled, UIDs are not proactively assigned, and when an identify for a user does not include a UID, the system may allocate one.
	AllocateUids bool `json:"allocate_uids,omitempty"`

	// Enables lookup of unqualified user names in the primary domain.
	AssumeDefaultDomain bool `json:"assume_default_domain,omitempty"`

	// Enables authentication and identity management through the authentication provider.
	Authentication bool `json:"authentication,omitempty"`

	// Specifies the time in seconds between provider online checks.
	CheckOnlineInterval int32 `json:"check_online_interval,omitempty"`

	// Specifies the current time for the domain controllers.
	ControllerTime int32 `json:"controller_time,omitempty"`

	// Automatically creates a home directory on the first login.
	CreateHomeDirectory bool `json:"create_home_directory,omitempty"`

	// Specifies the DNS search domain. Set this parameter if the DNS search domain has a unique name or address.
	DnsDomain string `json:"dns_domain,omitempty"`

	// Sends an alert if the domain goes offline.
	DomainOfflineAlerts bool `json:"domain_offline_alerts,omitempty"`

	// Sets list of groups that can be resolved.
	FindableGroups []string `json:"findable_groups,omitempty"`

	// Sets list of users that can be resolved.
	FindableUsers []string `json:"findable_users,omitempty"`

	// Groupnet identifier.
	Groupnet string `json:"groupnet,omitempty"`

	// Specifies the path to the home directory template.
	HomeDirectoryTemplate string `json:"home_directory_template,omitempty"`

	// If set to true, ignores all trusted domains.
	IgnoreAllTrusts bool `json:"ignore_all_trusts,omitempty"`

	// Includes trusted domains when 'ignore_all_trusts' is set to false.
	IgnoredTrustedDomains []string `json:"ignored_trusted_domains,omitempty"`

	// Includes trusted domains when 'ignore_all_trusts' is set to true.
	IncludeTrustedDomains []string `json:"include_trusted_domains,omitempty"`

	// Specifies Active Directory provider instance.
	Instance string `json:"instance,omitempty"`

	// Determines if connecting through HDFS with Kerberos.
	KerberosHdfsSpn bool `json:"kerberos_hdfs_spn,omitempty"`

	// Determines if connecting through NFS with Kerberos.
	KerberosNfsSpn bool `json:"kerberos_nfs_spn,omitempty"`

	// Enables encryption and signing on LDAP requests.
	LdapSignAndSeal bool `json:"ldap_sign_and_seal,omitempty"`

	// Specifies the login shell path.
	LoginShell string `json:"login_shell,omitempty"`

	// Limits user and group lookups to the specified domains.
	LookupDomains []string `json:"lookup_domains,omitempty"`

	// Looks up AD groups in other providers before allocating a group ID.
	LookupGroups bool `json:"lookup_groups,omitempty"`

	// Normalizes AD group names to lowercase before look up.
	LookupNormalizeGroups bool `json:"lookup_normalize_groups,omitempty"`

	// Normalize AD user names to lowercase before look up.
	LookupNormalizeUsers bool `json:"lookup_normalize_users,omitempty"`

	// Looks up AD users in other providers before allocating a user ID.
	LookupUsers bool `json:"lookup_users,omitempty"`

	// Specifies name to join AD as.
	MachineName string `json:"machine_name,omitempty"`

	// Enables periodic changes of the machine password for security.
	MachinePasswordChanges bool `json:"machine_password_changes,omitempty"`

	// Sets maximum age of a password in seconds.
	MachinePasswordLifespan int32 `json:"machine_password_lifespan,omitempty"`

	// Specifies the Active Directory provider name.
	Name string `json:"name"`

	// Specifies the domain controller for which the node has affinity.
	NodeDcAffinity string `json:"node_dc_affinity,omitempty"`

	// Specifies the timeout for the domain controller for which the local node has affinity.
	NodeDcAffinityTimeout int32 `json:"node_dc_affinity_timeout,omitempty"`

	// Enables the Active Directory provider to respond to 'getpwent' and 'getgrent' requests.
	NssEnumeration bool `json:"nss_enumeration,omitempty"`

	// Specifies the organizational unit.
	OrganizationalUnit string `json:"organizational_unit,omitempty"`

	// Specifies the password used during domain join.
	Password string `json:"password"`

	// Check the provider for filtered lists of findable and unfindable users and groups.
	RestrictFindable bool `json:"restrict_findable,omitempty"`

	// Specifies whether to support RFC 2307 attributes on ADS domain controllers.
	SfuSupport string `json:"sfu_support,omitempty"`

	// Stores SFU mappings permanently in the ID mapper.
	StoreSfuMappings bool `json:"store_sfu_mappings,omitempty"`

	// Specifies groups that cannot be resolved by the provider.
	UnfindableGroups []string `json:"unfindable_groups,omitempty"`

	// Specifies users that cannot be resolved by the provider.
	UnfindableUsers []string `json:"unfindable_users,omitempty"`

	// Specifies the user name that has permission to join a machine to the given domain.
	User string `json:"user"`
}

Specifies the properties for an ADS authentication provider.

type ProvidersFile ¶

type ProvidersFile struct {
	File []ProvidersFileFileItem `json:"file,omitempty"`
}

type ProvidersFileFileItem ¶

type ProvidersFileFileItem struct {

	// Enables authentication and identity mapping through the authentication provider.
	Authentication bool `json:"authentication,omitempty"`

	// Automatically creates a home directory on the first login.
	CreateHomeDirectory bool `json:"create_home_directory,omitempty"`

	// Enables the file provider.
	Enabled bool `json:"enabled,omitempty"`

	// Enables the provider to enumerate groups.
	EnumerateGroups bool `json:"enumerate_groups,omitempty"`

	// Enables the provider to enumerate users.
	EnumerateUsers bool `json:"enumerate_users,omitempty"`

	// Specifies the list of groups that can be resolved.
	FindableGroups []string `json:"findable_groups,omitempty"`

	// Specifies the list of users that can be resolved.
	FindableUsers []string `json:"findable_users,omitempty"`

	// Specifies the domain for this provider through which domains are qualified.
	GroupDomain string `json:"group_domain,omitempty"`

	// Specifies the location of the file that contains information about the group.
	GroupFile string `json:"group_file,omitempty"`

	// Specifies the path to the home directory template.
	HomeDirectoryTemplate string `json:"home_directory_template,omitempty"`

	// Specifies the file provider ID.
	Id string `json:"id,omitempty"`

	// Specifies the groups that can be viewed in the provider.
	ListableGroups []string `json:"listable_groups,omitempty"`

	// Specifies the users that can be viewed in the provider.
	ListableUsers []string `json:"listable_users,omitempty"`

	// Specifies the login shell path.
	LoginShell string `json:"login_shell,omitempty"`

	// Specifies the groups that can be modified in the provider.
	ModifiableGroups []string `json:"modifiable_groups,omitempty"`

	// Specifies the users that can be modified in the provider.
	ModifiableUsers []string `json:"modifiable_users,omitempty"`

	// Specifies the name of the file provider.
	Name string `json:"name,omitempty"`

	// Specifies the path to a netgroups replacement file.
	NetgroupFile string `json:"netgroup_file,omitempty"`

	// Normalizes group names to lowercase before look up.
	NormalizeGroups bool `json:"normalize_groups,omitempty"`

	// Normalizes user names to lowercase before look up.
	NormalizeUsers bool `json:"normalize_users,omitempty"`

	// Specifies which NTLM versions to support for users with NTLM-compatible credentials.
	NtlmSupport string `json:"ntlm_support,omitempty"`

	// Specifies the location of the file containing information about users.
	PasswordFile string `json:"password_file,omitempty"`

	// Specifies the domain for the provider.
	ProviderDomain string `json:"provider_domain,omitempty"`

	// If true, checks the provider for filtered lists of findable and unfindable users and groups.
	RestrictFindable bool `json:"restrict_findable,omitempty"`

	// If true, checks the provider for filtered lists of listable and unlistable users and groups.
	RestrictListable bool `json:"restrict_listable,omitempty"`

	// If true, checks the provider for filtered lists of modifiable and unmodifiable users and groups.
	RestrictModifiable bool `json:"restrict_modifiable,omitempty"`

	// Specifies the status of the provider.
	Status string `json:"status,omitempty"`

	// If true, indicates that this provider instance was created by OneFS and cannot be removed.
	System bool `json:"system,omitempty"`

	// Specifies groups that cannot be resolved by the provider.
	UnfindableGroups []string `json:"unfindable_groups,omitempty"`

	// Specifies users that cannot be resolved by the provider.
	UnfindableUsers []string `json:"unfindable_users,omitempty"`

	// Specifies a group that cannot be listed by the provider.
	UnlistableGroups []string `json:"unlistable_groups,omitempty"`

	// Specifies a user that cannot be listed by the provider.
	UnlistableUsers []string `json:"unlistable_users,omitempty"`

	// Specifies a group that cannot be modified by the provider.
	UnmodifiableGroups []string `json:"unmodifiable_groups,omitempty"`

	// Specifies a user that cannot be modified by the provider.
	UnmodifiableUsers []string `json:"unmodifiable_users,omitempty"`

	// Specifies the domain for this provider through which users are qualified.
	UserDomain string `json:"user_domain,omitempty"`
}

type ProvidersFileIdParams ¶

type ProvidersFileIdParams struct {

	// Enables authentication and identity mapping through the authentication provider.
	Authentication bool `json:"authentication,omitempty"`

	// Automatically creates a home directory on the first login.
	CreateHomeDirectory bool `json:"create_home_directory,omitempty"`

	// Enables the file provider.
	Enabled bool `json:"enabled,omitempty"`

	// Enables the provider to enumerate groups.
	EnumerateGroups bool `json:"enumerate_groups,omitempty"`

	// Enables the provider to enumerate users.
	EnumerateUsers bool `json:"enumerate_users,omitempty"`

	// Specifies the list of groups that can be resolved.
	FindableGroups []string `json:"findable_groups,omitempty"`

	// Specifies the list of users that can be resolved.
	FindableUsers []string `json:"findable_users,omitempty"`

	// Specifies the domain for this provider through which domains are qualified.
	GroupDomain string `json:"group_domain,omitempty"`

	// Specifies the location of the file that contains information about the group.
	GroupFile string `json:"group_file,omitempty"`

	// Specifies the path to the home directory template.
	HomeDirectoryTemplate string `json:"home_directory_template,omitempty"`

	// Specifies the groups that can be viewed in the provider.
	ListableGroups []string `json:"listable_groups,omitempty"`

	// Specifies the users that can be viewed in the provider.
	ListableUsers []string `json:"listable_users,omitempty"`

	// Specifies the login shell path.
	LoginShell string `json:"login_shell,omitempty"`

	// Specifies the groups that can be modified in the provider.
	ModifiableGroups []string `json:"modifiable_groups,omitempty"`

	// Specifies the users that can be modified in the provider.
	ModifiableUsers []string `json:"modifiable_users,omitempty"`

	// Specifies the name of the file provider.
	Name string `json:"name,omitempty"`

	// Specifies the path to a netgroups replacement file.
	NetgroupFile string `json:"netgroup_file,omitempty"`

	// Normalizes group names to lowercase before look up.
	NormalizeGroups bool `json:"normalize_groups,omitempty"`

	// Normalizes user names to lowercase before look up.
	NormalizeUsers bool `json:"normalize_users,omitempty"`

	// Specifies which NTLM versions to support for users with NTLM-compatible credentials.
	NtlmSupport string `json:"ntlm_support,omitempty"`

	// Specifies the location of the file containing information about users.
	PasswordFile string `json:"password_file,omitempty"`

	// Specifies the domain for the provider.
	ProviderDomain string `json:"provider_domain,omitempty"`

	// If true, checks the provider for filtered lists of findable and unfindable users and groups.
	RestrictFindable bool `json:"restrict_findable,omitempty"`

	// If true, checks the provider for filtered lists of listable and unlistable users and groups.
	RestrictListable bool `json:"restrict_listable,omitempty"`

	// If true, checks the provider for filtered lists of modifiable and unmodifiable users and groups.
	RestrictModifiable bool `json:"restrict_modifiable,omitempty"`

	// Specifies groups that cannot be resolved by the provider.
	UnfindableGroups []string `json:"unfindable_groups,omitempty"`

	// Specifies users that cannot be resolved by the provider.
	UnfindableUsers []string `json:"unfindable_users,omitempty"`

	// Specifies a group that cannot be listed by the provider.
	UnlistableGroups []string `json:"unlistable_groups,omitempty"`

	// Specifies a user that cannot be listed by the provider.
	UnlistableUsers []string `json:"unlistable_users,omitempty"`

	// Specifies a group that cannot be modified by the provider.
	UnmodifiableGroups []string `json:"unmodifiable_groups,omitempty"`

	// Specifies a user that cannot be modified by the provider.
	UnmodifiableUsers []string `json:"unmodifiable_users,omitempty"`

	// Specifies the domain for this provider through which users are qualified.
	UserDomain string `json:"user_domain,omitempty"`
}

Specifies the properties for an authentication file provider

type ProvidersFileItem ¶

type ProvidersFileItem struct {

	// Enables authentication and identity mapping through the authentication provider.
	Authentication bool `json:"authentication,omitempty"`

	// Automatically creates a home directory on the first login.
	CreateHomeDirectory bool `json:"create_home_directory,omitempty"`

	// Enables the file provider.
	Enabled bool `json:"enabled,omitempty"`

	// Enables the provider to enumerate groups.
	EnumerateGroups bool `json:"enumerate_groups,omitempty"`

	// Enables the provider to enumerate users.
	EnumerateUsers bool `json:"enumerate_users,omitempty"`

	// Specifies the list of groups that can be resolved.
	FindableGroups []string `json:"findable_groups,omitempty"`

	// Specifies the list of users that can be resolved.
	FindableUsers []string `json:"findable_users,omitempty"`

	// Specifies the domain for this provider through which domains are qualified.
	GroupDomain string `json:"group_domain,omitempty"`

	// Specifies the location of the file that contains information about the group.
	GroupFile string `json:"group_file"`

	// Specifies the path to the home directory template.
	HomeDirectoryTemplate string `json:"home_directory_template,omitempty"`

	// Specifies the groups that can be viewed in the provider.
	ListableGroups []string `json:"listable_groups,omitempty"`

	// Specifies the users that can be viewed in the provider.
	ListableUsers []string `json:"listable_users,omitempty"`

	// Specifies the login shell path.
	LoginShell string `json:"login_shell,omitempty"`

	// Specifies the groups that can be modified in the provider.
	ModifiableGroups []string `json:"modifiable_groups,omitempty"`

	// Specifies the users that can be modified in the provider.
	ModifiableUsers []string `json:"modifiable_users,omitempty"`

	// Specifies the name of the file provider.
	Name string `json:"name"`

	// Specifies the path to a netgroups replacement file.
	NetgroupFile string `json:"netgroup_file,omitempty"`

	// Normalizes group names to lowercase before look up.
	NormalizeGroups bool `json:"normalize_groups,omitempty"`

	// Normalizes user names to lowercase before look up.
	NormalizeUsers bool `json:"normalize_users,omitempty"`

	// Specifies which NTLM versions to support for users with NTLM-compatible credentials.
	NtlmSupport string `json:"ntlm_support,omitempty"`

	// Specifies the location of the file containing information about users.
	PasswordFile string `json:"password_file"`

	// Specifies the domain for the provider.
	ProviderDomain string `json:"provider_domain,omitempty"`

	// If true, checks the provider for filtered lists of findable and unfindable users and groups.
	RestrictFindable bool `json:"restrict_findable,omitempty"`

	// If true, checks the provider for filtered lists of listable and unlistable users and groups.
	RestrictListable bool `json:"restrict_listable,omitempty"`

	// If true, checks the provider for filtered lists of modifiable and unmodifiable users and groups.
	RestrictModifiable bool `json:"restrict_modifiable,omitempty"`

	// Specifies groups that cannot be resolved by the provider.
	UnfindableGroups []string `json:"unfindable_groups,omitempty"`

	// Specifies users that cannot be resolved by the provider.
	UnfindableUsers []string `json:"unfindable_users,omitempty"`

	// Specifies a group that cannot be listed by the provider.
	UnlistableGroups []string `json:"unlistable_groups,omitempty"`

	// Specifies a user that cannot be listed by the provider.
	UnlistableUsers []string `json:"unlistable_users,omitempty"`

	// Specifies a group that cannot be modified by the provider.
	UnmodifiableGroups []string `json:"unmodifiable_groups,omitempty"`

	// Specifies a user that cannot be modified by the provider.
	UnmodifiableUsers []string `json:"unmodifiable_users,omitempty"`

	// Specifies the domain for this provider through which users are qualified.
	UserDomain string `json:"user_domain,omitempty"`
}

Specifies the properties for an authentication file provider

type ProvidersKrb5 ¶

type ProvidersKrb5 struct {
	Krb5 []ProvidersKrb5Krb5Item `json:"krb5,omitempty"`
}

type ProvidersKrb5Extended ¶

type ProvidersKrb5Extended struct {
	Krb5 []ProvidersKrb5Krb5ItemExtended `json:"krb5,omitempty"`
}

type ProvidersKrb5IdParams ¶

type ProvidersKrb5IdParams struct {

	// Specifies the key information for the Kerberos SPNs.
	KeytabEntries []ProvidersKrb5IdParamsKeytabEntry `json:"keytab_entries,omitempty"`

	// Specifies the path to a keytab file to import.
	KeytabFile string `json:"keytab_file,omitempty"`

	// If true, keys are managed manually. If false, keys are managed through kadmin.
	ManualKeying bool `json:"manual_keying,omitempty"`

	// Specifies the Kerberos provider name.
	Name string `json:"name,omitempty"`

	// Specifies the Kerberos provider password.
	Password string `json:"password,omitempty"`

	// Specifies the name of realm.
	Realm string `json:"realm,omitempty"`

	// Specifies the status of the provider.
	Status string `json:"status,omitempty"`

	// Specifies the name of the user that performs kadmin tasks.
	User string `json:"user,omitempty"`
}

Specifies properties for the Kerberos authentication provider.

type ProvidersKrb5IdParamsKeytabEntry ¶

type ProvidersKrb5IdParamsKeytabEntry struct {

	// Specifies the encryption types.
	Encryption []string `json:"encryption,omitempty"`

	// Specifies the version number of the SPN key.
	Kvno int32 `json:"kvno,omitempty"`

	// Specifies the Service Principal Name (SPN).
	Spn string `json:"spn,omitempty"`

	// Specifies the time the SPN key was created.
	Timestamp int32 `json:"timestamp,omitempty"`
}

type ProvidersKrb5Item ¶

type ProvidersKrb5Item struct {

	// Groupnet identifier.
	Groupnet string `json:"groupnet,omitempty"`

	// Specifies the key information for the Kerberos SPN.
	KeytabEntries []ProvidersKrb5IdParamsKeytabEntry `json:"keytab_entries,omitempty"`

	// Specifies the path to a keytab file to import.
	KeytabFile string `json:"keytab_file,omitempty"`

	// If true, keys are managed manually. If false, keys are managed through kadmin.
	ManualKeying bool `json:"manual_keying,omitempty"`

	// Specifies the Kerberos provider name.
	Name string `json:"name,omitempty"`

	// Specifies the Kerberos provider password.
	Password string `json:"password,omitempty"`

	// Specifies the name of realm.
	Realm string `json:"realm"`

	// Specifies the name of the user that performs kadmin tasks.
	User string `json:"user,omitempty"`
}

Specifies properties for the Kerberos authentication provider.

type ProvidersKrb5Krb5Item ¶

type ProvidersKrb5Krb5Item struct {

	// Groupnet identifier.
	Groupnet string `json:"groupnet,omitempty"`

	// Specifies the Kerberos provider ID.
	Id string `json:"id,omitempty"`

	// Specifies the key information for the Kerberos SPNs.
	KeytabEntries []ProvidersKrb5IdParamsKeytabEntry `json:"keytab_entries,omitempty"`

	// Specifies the path to a keytab file to import.
	KeytabFile string `json:"keytab_file,omitempty"`

	// If true, keys are managed manually. If false, keys are managed through kadmin.
	ManualKeying bool `json:"manual_keying,omitempty"`

	// Specifies the Kerberos provider name.
	Name string `json:"name,omitempty"`

	// Specifies the name of realm.
	Realm string `json:"realm,omitempty"`

	// Specifies the recommended SPNs.
	RecommendedSpns []string `json:"recommended_spns,omitempty"`

	// Specifies the status of the provider.
	Status string `json:"status,omitempty"`

	// If true, indicates that this provider instance was created by OneFS and cannot be removed
	System bool `json:"system,omitempty"`

	// Specifies the name of the user that performs kadmin tasks.
	User string `json:"user,omitempty"`
}

type ProvidersKrb5Krb5ItemExtended ¶

type ProvidersKrb5Krb5ItemExtended struct {

	// Groupnet identifier.
	Groupnet string `json:"groupnet,omitempty"`

	// Specifies the Kerberos provider ID.
	Id string `json:"id,omitempty"`

	// Specifies the key information for the Kerberos SPNs.
	KeytabEntries []ProvidersKrb5IdParamsKeytabEntry `json:"keytab_entries,omitempty"`

	// Specifies the path to a keytab file to import.
	KeytabFile string `json:"keytab_file,omitempty"`

	// If true, keys are managed manually. If false, keys are managed through kadmin.
	ManualKeying bool `json:"manual_keying,omitempty"`

	// Specifies the Kerberos provider name.
	Name string `json:"name,omitempty"`

	// Specifies the name of realm.
	Realm string `json:"realm,omitempty"`

	// Specifies the recommended SPNs.
	RecommendedSpns []string `json:"recommended_spns,omitempty"`

	// Specifies the status of the provider.
	Status string `json:"status,omitempty"`

	// If true, indicates that this provider instance was created by OneFS and cannot be removed
	System bool `json:"system,omitempty"`

	// Specifies the name of the user that performs kadmin tasks.
	User string `json:"user,omitempty"`

	// Specifies the Kerberos provider password.
	Password string `json:"password,omitempty"`
}

type ProvidersLdap ¶

type ProvidersLdap struct {
	Ldap []ProvidersLdapLdapItem `json:"ldap,omitempty"`
}

type ProvidersLdapIdParams ¶

type ProvidersLdapIdParams struct {

	// Specifies the attribute name used when searching for alternate security identities.
	AlternateSecurityIdentitiesAttribute string `json:"alternate_security_identities_attribute,omitempty"`

	// If true, enables authentication and identity management through the authentication provider.
	Authentication bool `json:"authentication,omitempty"`

	// If true, connects the provider to a random server.
	BalanceServers bool `json:"balance_servers,omitempty"`

	// Specifies the root of the tree in which to search identities.
	BaseDn string `json:"base_dn,omitempty"`

	// Specifies the distinguished name for binding to the LDAP server.
	BindDn string `json:"bind_dn,omitempty"`

	// Specifies which bind mechanism to use when connecting to an LDAP server. The only supported option is the 'simple' value.
	BindMechanism string `json:"bind_mechanism,omitempty"`

	// Specifies the password for the distinguished name for binding to the LDAP server.
	BindPassword string `json:"bind_password,omitempty"`

	// Specifies the timeout in seconds when binding to an LDAP server.
	BindTimeout int32 `json:"bind_timeout,omitempty"`

	// Specifies the path to the root certificates file.
	CertificateAuthorityFile string `json:"certificate_authority_file,omitempty"`

	// Specifies the time in seconds between provider online checks.
	CheckOnlineInterval int32 `json:"check_online_interval,omitempty"`

	// Specifies the canonical name.
	CnAttribute string `json:"cn_attribute,omitempty"`

	// Automatically create the home directory on the first login.
	CreateHomeDirectory bool `json:"create_home_directory,omitempty"`

	// Specifies the hashed password value.
	CryptPasswordAttribute string `json:"crypt_password_attribute,omitempty"`

	// Specifies the LDAP Email attribute.
	EmailAttribute string `json:"email_attribute,omitempty"`

	// If true, enables the LDAP provider.
	Enabled bool `json:"enabled,omitempty"`

	// If true, allows the provider to enumerate groups.
	EnumerateGroups bool `json:"enumerate_groups,omitempty"`

	// If true, allows the provider to enumerate users.
	EnumerateUsers bool `json:"enumerate_users,omitempty"`

	// Specifies the list of groups that can be resolved.
	FindableGroups []string `json:"findable_groups,omitempty"`

	// Specifies the list of users that can be resolved.
	FindableUsers []string `json:"findable_users,omitempty"`

	// Specifies the LDAP GECOS attribute.
	GecosAttribute string `json:"gecos_attribute,omitempty"`

	// Specifies the LDAP GID attribute.
	GidAttribute string `json:"gid_attribute,omitempty"`

	// Specifies the distinguished name of the entry where LDAP searches for groups are started.
	GroupBaseDn string `json:"group_base_dn,omitempty"`

	// Specifies the domain for this provider through which groups are qualified.
	GroupDomain string `json:"group_domain,omitempty"`

	// Specifies the LDAP filter for group objects.
	GroupFilter string `json:"group_filter,omitempty"`

	// Specifies the LDAP Group Members attribute.
	GroupMembersAttribute string `json:"group_members_attribute,omitempty"`

	// Specifies the depth from the base DN to perform LDAP searches.
	GroupSearchScope string `json:"group_search_scope,omitempty"`

	// Specifies the path to the home directory template.
	HomeDirectoryTemplate string `json:"home_directory_template,omitempty"`

	// Specifies the LDAP Homedir attribute.
	HomedirAttribute string `json:"homedir_attribute,omitempty"`

	// If true, continues over secure connections even if identity checks fail.
	IgnoreTlsErrors bool `json:"ignore_tls_errors,omitempty"`

	// Specifies the groups that can be viewed in the provider.
	ListableGroups []string `json:"listable_groups,omitempty"`

	// Specifies the users that can be viewed in the provider.
	ListableUsers []string `json:"listable_users,omitempty"`

	// Specifies the login shell path.
	LoginShell string `json:"login_shell,omitempty"`

	// Specifies the LDAP Query Member Of attribute, which performs reverse membership queries.
	MemberOfAttribute string `json:"member_of_attribute,omitempty"`

	// Specifies the name of the LDAP provider.
	Name string `json:"name,omitempty"`

	// Specifies the LDAP UID attribute, which is used as the login name.
	NameAttribute string `json:"name_attribute,omitempty"`

	// Specifies the distinguished name of the entry where LDAP searches for netgroups are started.
	NetgroupBaseDn string `json:"netgroup_base_dn,omitempty"`

	// Specifies the LDAP filter for netgroup objects.
	NetgroupFilter string `json:"netgroup_filter,omitempty"`

	// Specifies the LDAP Netgroup Members attribute.
	NetgroupMembersAttribute string `json:"netgroup_members_attribute,omitempty"`

	// Specifies the depth from the base DN to perform LDAP searches.
	NetgroupSearchScope string `json:"netgroup_search_scope,omitempty"`

	// Specifies the LDAP Netgroup Triple attribute.
	NetgroupTripleAttribute string `json:"netgroup_triple_attribute,omitempty"`

	// Normalizes group names to lowercase before look up.
	NormalizeGroups bool `json:"normalize_groups,omitempty"`

	// Normalizes user names to lowercase before look up.
	NormalizeUsers bool `json:"normalize_users,omitempty"`

	// Specifies the LDAP NT Password attribute.
	NtPasswordAttribute string `json:"nt_password_attribute,omitempty"`

	// Specifies which NTLM versions to support for users with NTLM-compatible credentials.
	NtlmSupport string `json:"ntlm_support,omitempty"`

	// Specifies the provider domain.
	ProviderDomain string `json:"provider_domain,omitempty"`

	// Determines whether to continue over a non-TLS connection.
	RequireSecureConnection bool `json:"require_secure_connection,omitempty"`

	// If true, checks the provider for filtered lists of findable and unfindable users and groups.
	RestrictFindable bool `json:"restrict_findable,omitempty"`

	// If true, checks the provider for filtered lists of listable and unlistable users and groups.
	RestrictListable bool `json:"restrict_listable,omitempty"`

	// Specifies the default depth from the base DN to perform LDAP searches.
	SearchScope string `json:"search_scope,omitempty"`

	// Specifies the search timeout period in seconds.
	SearchTimeout int32 `json:"search_timeout,omitempty"`

	// Specifies the server URIs.
	ServerUris []string `json:"server_uris,omitempty"`

	// Sets the attribute name that indicates the absolute date to expire the account.
	ShadowExpireAttribute string `json:"shadow_expire_attribute,omitempty"`

	// Sets the attribute name that indicates the section of the shadow map that is used to store the flag value.
	ShadowFlagAttribute string `json:"shadow_flag_attribute,omitempty"`

	// Sets the attribute name that indicates the number of days of inactivity that is allowed for the user.
	ShadowInactiveAttribute string `json:"shadow_inactive_attribute,omitempty"`

	// Sets the attribute name that indicates the last change of the shadow information.
	ShadowLastChangeAttribute string `json:"shadow_last_change_attribute,omitempty"`

	// Sets the attribute name that indicates the maximum number of days a password can be valid.
	ShadowMaxAttribute string `json:"shadow_max_attribute,omitempty"`

	// Sets the attribute name that indicates the minimum number of days between shadow changes.
	ShadowMinAttribute string `json:"shadow_min_attribute,omitempty"`

	// Sets LDAP filter for shadow user objects.
	ShadowUserFilter string `json:"shadow_user_filter,omitempty"`

	// Sets the attribute name that indicates the number of days before the password expires to warn the user.
	ShadowWarningAttribute string `json:"shadow_warning_attribute,omitempty"`

	// Specifies the the LDAP Shell attribute.
	ShellAttribute string `json:"shell_attribute,omitempty"`

	// Specifies template to be used to create the LDAP provider. The list of templates can be found at /auth/providers/ldap-templates.  Any fields directly defined in your request will override the template values.
	Template string `json:"template,omitempty"`

	// Specifies the the LDAP UID Number attribute.
	UidAttribute string `json:"uid_attribute,omitempty"`

	// Specifies the groups that cannot be resolved by the provider.
	UnfindableGroups []string `json:"unfindable_groups,omitempty"`

	// Specifies users that cannot be resolved by the provider.
	UnfindableUsers []string `json:"unfindable_users,omitempty"`

	// Sets the LDAP Unique Group Members attribute.
	UniqueGroupMembersAttribute string `json:"unique_group_members_attribute,omitempty"`

	// Specifies a group that cannot be listed by the provider.
	UnlistableGroups []string `json:"unlistable_groups,omitempty"`

	// Specifies a user that cannot be listed by the provider.
	UnlistableUsers []string `json:"unlistable_users,omitempty"`

	// Specifies the distinguished name of the entry at which to start LDAP searches for users.
	UserBaseDn string `json:"user_base_dn,omitempty"`

	// Specifies the domain for this provider through which users are qualified.
	UserDomain string `json:"user_domain,omitempty"`

	// Specifies the LDAP filter for user objects.
	UserFilter string `json:"user_filter,omitempty"`

	// Specifies the depth from the base DN to perform LDAP searches.
	UserSearchScope string `json:"user_search_scope,omitempty"`
}

Specifies the properties for the LDAP authentication provider.

type ProvidersLdapItem ¶

type ProvidersLdapItem struct {

	// Specifies the attribute name used when searching for alternate security identities.
	AlternateSecurityIdentitiesAttribute string `json:"alternate_security_identities_attribute,omitempty"`

	// If true, enables authentication and identity management through the authentication provider.
	Authentication bool `json:"authentication,omitempty"`

	// If true, connects the provider to a random server.
	BalanceServers bool `json:"balance_servers,omitempty"`

	// Specifies the root of the tree in which to search identities.
	BaseDn string `json:"base_dn"`

	// Specifies the distinguished name for binding to the LDAP server.
	BindDn string `json:"bind_dn,omitempty"`

	// Specifies which bind mechanism to use when connecting to an LDAP server. The only supported option is the 'simple' value.
	BindMechanism string `json:"bind_mechanism,omitempty"`

	// Specifies the password for the distinguished name for binding to the LDAP server.
	BindPassword string `json:"bind_password,omitempty"`

	// Specifies the timeout in seconds when binding to an LDAP server.
	BindTimeout int32 `json:"bind_timeout,omitempty"`

	// Specifies the path to the root certificates file.
	CertificateAuthorityFile string `json:"certificate_authority_file,omitempty"`

	// Specifies the time in seconds between provider online checks.
	CheckOnlineInterval int32 `json:"check_online_interval,omitempty"`

	// Specifies the canonical name.
	CnAttribute string `json:"cn_attribute,omitempty"`

	// Automatically create the home directory on the first login.
	CreateHomeDirectory bool `json:"create_home_directory,omitempty"`

	// Specifies the hashed password value.
	CryptPasswordAttribute string `json:"crypt_password_attribute,omitempty"`

	// Specifies the LDAP Email attribute.
	EmailAttribute string `json:"email_attribute,omitempty"`

	// If true, enables the LDAP provider.
	Enabled bool `json:"enabled,omitempty"`

	// If true, allows the provider to enumerate groups.
	EnumerateGroups bool `json:"enumerate_groups,omitempty"`

	// If true, allows the provider to enumerate users.
	EnumerateUsers bool `json:"enumerate_users,omitempty"`

	// Specifies the list of groups that can be resolved.
	FindableGroups []string `json:"findable_groups,omitempty"`

	// Specifies the list of users that can be resolved.
	FindableUsers []string `json:"findable_users,omitempty"`

	// Specifies the LDAP GECOS attribute.
	GecosAttribute string `json:"gecos_attribute,omitempty"`

	// Specifies the LDAP GID attribute.
	GidAttribute string `json:"gid_attribute,omitempty"`

	// Specifies the distinguished name of the entry where LDAP searches for groups are started.
	GroupBaseDn string `json:"group_base_dn,omitempty"`

	// Specifies the domain for this provider through which groups are qualified.
	GroupDomain string `json:"group_domain,omitempty"`

	// Specifies the LDAP filter for group objects.
	GroupFilter string `json:"group_filter,omitempty"`

	// Specifies the LDAP Group Members attribute.
	GroupMembersAttribute string `json:"group_members_attribute,omitempty"`

	// Specifies the depth from the base DN to perform LDAP searches.
	GroupSearchScope string `json:"group_search_scope,omitempty"`

	// Groupnet identifier.
	Groupnet string `json:"groupnet,omitempty"`

	// Specifies the path to the home directory template.
	HomeDirectoryTemplate string `json:"home_directory_template,omitempty"`

	// Specifies the LDAP Homedir attribute.
	HomedirAttribute string `json:"homedir_attribute,omitempty"`

	// If true, continues over secure connections even if identity checks fail.
	IgnoreTlsErrors bool `json:"ignore_tls_errors,omitempty"`

	// Specifies the groups that can be viewed in the provider.
	ListableGroups []string `json:"listable_groups,omitempty"`

	// Specifies the users that can be viewed in the provider.
	ListableUsers []string `json:"listable_users,omitempty"`

	// Specifies the login shell path.
	LoginShell string `json:"login_shell,omitempty"`

	// Specifies the LDAP Query Member Of attribute, which performs reverse membership queries.
	MemberOfAttribute string `json:"member_of_attribute,omitempty"`

	// Specifies the name of the LDAP provider.
	Name string `json:"name"`

	// Specifies the LDAP UID attribute, which is used as the login name.
	NameAttribute string `json:"name_attribute,omitempty"`

	// Specifies the distinguished name of the entry where LDAP searches for netgroups are started.
	NetgroupBaseDn string `json:"netgroup_base_dn,omitempty"`

	// Specifies the LDAP filter for netgroup objects.
	NetgroupFilter string `json:"netgroup_filter,omitempty"`

	// Specifies the LDAP Netgroup Members attribute.
	NetgroupMembersAttribute string `json:"netgroup_members_attribute,omitempty"`

	// Specifies the depth from the base DN to perform LDAP searches.
	NetgroupSearchScope string `json:"netgroup_search_scope,omitempty"`

	// Specifies the LDAP Netgroup Triple attribute.
	NetgroupTripleAttribute string `json:"netgroup_triple_attribute,omitempty"`

	// Normalizes group names to lowercase before look up.
	NormalizeGroups bool `json:"normalize_groups,omitempty"`

	// Normalizes user names to lowercase before look up.
	NormalizeUsers bool `json:"normalize_users,omitempty"`

	// Specifies the LDAP NT Password attribute.
	NtPasswordAttribute string `json:"nt_password_attribute,omitempty"`

	// Specifies which NTLM versions to support for users with NTLM-compatible credentials.
	NtlmSupport string `json:"ntlm_support,omitempty"`

	// Specifies the provider domain.
	ProviderDomain string `json:"provider_domain,omitempty"`

	// Determines whether to continue over a non-TLS connection.
	RequireSecureConnection bool `json:"require_secure_connection,omitempty"`

	// If true, checks the provider for filtered lists of findable and unfindable users and groups.
	RestrictFindable bool `json:"restrict_findable,omitempty"`

	// If true, checks the provider for filtered lists of listable and unlistable users and groups.
	RestrictListable bool `json:"restrict_listable,omitempty"`

	// Specifies the default depth from the base DN to perform LDAP searches.
	SearchScope string `json:"search_scope,omitempty"`

	// Specifies the search timeout period in seconds.
	SearchTimeout int32 `json:"search_timeout,omitempty"`

	// Specifies the server URIs.
	ServerUris []string `json:"server_uris"`

	// Sets the attribute name that indicates the absolute date to expire the account.
	ShadowExpireAttribute string `json:"shadow_expire_attribute,omitempty"`

	// Sets the attribute name that indicates the section of the shadow map that is used to store the flag value.
	ShadowFlagAttribute string `json:"shadow_flag_attribute,omitempty"`

	// Sets the attribute name that indicates the number of days of inactivity that is allowed for the user.
	ShadowInactiveAttribute string `json:"shadow_inactive_attribute,omitempty"`

	// Sets the attribute name that indicates the last change of the shadow information.
	ShadowLastChangeAttribute string `json:"shadow_last_change_attribute,omitempty"`

	// Sets the attribute name that indicates the maximum number of days a password can be valid.
	ShadowMaxAttribute string `json:"shadow_max_attribute,omitempty"`

	// Sets the attribute name that indicates the minimum number of days between shadow changes.
	ShadowMinAttribute string `json:"shadow_min_attribute,omitempty"`

	// Sets LDAP filter for shadow user objects.
	ShadowUserFilter string `json:"shadow_user_filter,omitempty"`

	// Sets the attribute name that indicates the number of days before the password expires to warn the user.
	ShadowWarningAttribute string `json:"shadow_warning_attribute,omitempty"`

	// Specifies the the LDAP Shell attribute.
	ShellAttribute string `json:"shell_attribute,omitempty"`

	// Specifies template to be used to create the LDAP provider. The list of templates can be found at /auth/providers/ldap-templates.  Any fields directly defined in your request will override the template values.
	Template string `json:"template,omitempty"`

	// Specifies the the LDAP UID Number attribute.
	UidAttribute string `json:"uid_attribute,omitempty"`

	// Specifies the groups that cannot be resolved by the provider.
	UnfindableGroups []string `json:"unfindable_groups,omitempty"`

	// Specifies users that cannot be resolved by the provider.
	UnfindableUsers []string `json:"unfindable_users,omitempty"`

	// Sets the LDAP Unique Group Members attribute.
	UniqueGroupMembersAttribute string `json:"unique_group_members_attribute,omitempty"`

	// Specifies a group that cannot be listed by the provider.
	UnlistableGroups []string `json:"unlistable_groups,omitempty"`

	// Specifies a user that cannot be listed by the provider.
	UnlistableUsers []string `json:"unlistable_users,omitempty"`

	// Specifies the distinguished name of the entry at which to start LDAP searches for users.
	UserBaseDn string `json:"user_base_dn,omitempty"`

	// Specifies the domain for this provider through which users are qualified.
	UserDomain string `json:"user_domain,omitempty"`

	// Specifies the LDAP filter for user objects.
	UserFilter string `json:"user_filter,omitempty"`

	// Specifies the depth from the base DN to perform LDAP searches.
	UserSearchScope string `json:"user_search_scope,omitempty"`
}

Specifies the properties for the LDAP authentication provider.

type ProvidersLdapLdapItem ¶

type ProvidersLdapLdapItem struct {

	// Specifies the attribute name used when searching for alternate security identities.
	AlternateSecurityIdentitiesAttribute string `json:"alternate_security_identities_attribute,omitempty"`

	// If true, enables authentication and identity management through the authentication provider.
	Authentication bool `json:"authentication,omitempty"`

	// If true, connects the provider to a random server.
	BalanceServers bool `json:"balance_servers,omitempty"`

	// Specifies the root of the tree in which to search identities.
	BaseDn string `json:"base_dn,omitempty"`

	// Specifies the distinguished name for binding to the LDAP server.
	BindDn string `json:"bind_dn,omitempty"`

	// Specifies which bind mechanism to use when connecting to an LDAP server. The only supported option is the 'simple' value.
	BindMechanism string `json:"bind_mechanism,omitempty"`

	// Specifies the timeout in seconds when binding to an LDAP server.
	BindTimeout int32 `json:"bind_timeout,omitempty"`

	// Specifies the path to the root certificates file.
	CertificateAuthorityFile string `json:"certificate_authority_file,omitempty"`

	// Specifies the time in seconds between provider online checks.
	CheckOnlineInterval int32 `json:"check_online_interval,omitempty"`

	// Specifies the canonical name.
	CnAttribute string `json:"cn_attribute,omitempty"`

	// Automatically create the home directory on the first login.
	CreateHomeDirectory bool `json:"create_home_directory,omitempty"`

	// Specifies the hashed password value.
	CryptPasswordAttribute string `json:"crypt_password_attribute,omitempty"`

	// Specifies the LDAP Email attribute.
	EmailAttribute string `json:"email_attribute,omitempty"`

	// If true, enables the LDAP provider.
	Enabled bool `json:"enabled,omitempty"`

	// If true, allows the provider to enumerate groups.
	EnumerateGroups bool `json:"enumerate_groups,omitempty"`

	// If true, allows the provider to enumerate users.
	EnumerateUsers bool `json:"enumerate_users,omitempty"`

	// Specifies the list of groups that can be resolved.
	FindableGroups []string `json:"findable_groups,omitempty"`

	// Specifies the list of users that can be resolved.
	FindableUsers []string `json:"findable_users,omitempty"`

	// Specifies the LDAP GECOS attribute.
	GecosAttribute string `json:"gecos_attribute,omitempty"`

	// Specifies the LDAP GID attribute.
	GidAttribute string `json:"gid_attribute,omitempty"`

	// Specifies the distinguished name of the entry where LDAP searches for groups are started.
	GroupBaseDn string `json:"group_base_dn,omitempty"`

	// Specifies the domain for this provider through which groups are qualified.
	GroupDomain string `json:"group_domain,omitempty"`

	// Specifies the LDAP filter for group objects.
	GroupFilter string `json:"group_filter,omitempty"`

	// Specifies the LDAP Group Members attribute.
	GroupMembersAttribute string `json:"group_members_attribute,omitempty"`

	// Specifies the depth from the base DN to perform LDAP searches.
	GroupSearchScope string `json:"group_search_scope,omitempty"`

	// Groupnet identifier.
	Groupnet string `json:"groupnet,omitempty"`

	// Specifies the path to the home directory template.
	HomeDirectoryTemplate string `json:"home_directory_template,omitempty"`

	// Specifies the LDAP Homedir attribute.
	HomedirAttribute string `json:"homedir_attribute,omitempty"`

	// Specifies the ID of the LDAP provider.
	Id string `json:"id,omitempty"`

	// If true, continues over secure connections even if identity checks fail.
	IgnoreTlsErrors bool `json:"ignore_tls_errors,omitempty"`

	// Specifies the groups that can be viewed in the provider.
	ListableGroups []string `json:"listable_groups,omitempty"`

	// Specifies the users that can be viewed in the provider.
	ListableUsers []string `json:"listable_users,omitempty"`

	// Specifies the login shell path.
	LoginShell string `json:"login_shell,omitempty"`

	// Specifies the LDAP Query Member Of attribute, which performs reverse membership queries.
	MemberOfAttribute string `json:"member_of_attribute,omitempty"`

	// Specifies the name of the LDAP provider.
	Name string `json:"name,omitempty"`

	// Specifies the LDAP UID attribute, which is used as the login name.
	NameAttribute string `json:"name_attribute,omitempty"`

	// Specifies the distinguished name of the entry where LDAP searches for netgroups are started.
	NetgroupBaseDn string `json:"netgroup_base_dn,omitempty"`

	// Specifies the LDAP filter for netgroup objects.
	NetgroupFilter string `json:"netgroup_filter,omitempty"`

	// Specifies the LDAP Netgroup Members attribute.
	NetgroupMembersAttribute string `json:"netgroup_members_attribute,omitempty"`

	// Specifies the depth from the base DN to perform LDAP searches.
	NetgroupSearchScope string `json:"netgroup_search_scope,omitempty"`

	// Specifies the LDAP Netgroup Triple attribute.
	NetgroupTripleAttribute string `json:"netgroup_triple_attribute,omitempty"`

	// Normalizes group names to lowercase before look up.
	NormalizeGroups bool `json:"normalize_groups,omitempty"`

	// Normalizes user names to lowercase before look up.
	NormalizeUsers bool `json:"normalize_users,omitempty"`

	// Specifies the LDAP NT Password attribute.
	NtPasswordAttribute string `json:"nt_password_attribute,omitempty"`

	// Specifies which NTLM versions to support for users with NTLM-compatible credentials.
	NtlmSupport string `json:"ntlm_support,omitempty"`

	// Specifies the provider domain.
	ProviderDomain string `json:"provider_domain,omitempty"`

	// Determines whether to continue over a non-TLS connection.
	RequireSecureConnection bool `json:"require_secure_connection,omitempty"`

	// If true, checks the provider for filtered lists of findable and unfindable users and groups.
	RestrictFindable bool `json:"restrict_findable,omitempty"`

	// If true, checks the provider for filtered lists of listable and unlistable users and groups.
	RestrictListable bool `json:"restrict_listable,omitempty"`

	// Specifies the default depth from the base DN to perform LDAP searches.
	SearchScope string `json:"search_scope,omitempty"`

	// Specifies the search timeout period in seconds.
	SearchTimeout int32 `json:"search_timeout,omitempty"`

	// Specifies the server URIs.
	ServerUris []string `json:"server_uris,omitempty"`

	// Sets the attribute name that indicates the absolute date to expire the account.
	ShadowExpireAttribute string `json:"shadow_expire_attribute,omitempty"`

	// Sets the attribute name that indicates the section of the shadow map that is used to store the flag value.
	ShadowFlagAttribute string `json:"shadow_flag_attribute,omitempty"`

	// Sets the attribute name that indicates the number of days of inactivity that is allowed for the user.
	ShadowInactiveAttribute string `json:"shadow_inactive_attribute,omitempty"`

	// Sets the attribute name that indicates the last change of the shadow information.
	ShadowLastChangeAttribute string `json:"shadow_last_change_attribute,omitempty"`

	// Sets the attribute name that indicates the maximum number of days a password can be valid.
	ShadowMaxAttribute string `json:"shadow_max_attribute,omitempty"`

	// Sets the attribute name that indicates the minimum number of days between shadow changes.
	ShadowMinAttribute string `json:"shadow_min_attribute,omitempty"`

	// Sets LDAP filter for shadow user objects.
	ShadowUserFilter string `json:"shadow_user_filter,omitempty"`

	// Sets the attribute name that indicates the number of days before the password expires to warn the user.
	ShadowWarningAttribute string `json:"shadow_warning_attribute,omitempty"`

	// Specifies the the LDAP Shell attribute.
	ShellAttribute string `json:"shell_attribute,omitempty"`

	// Specifies the status of the provider.
	Status string `json:"status,omitempty"`

	// If true, indicates that this provider instance was created by OneFS and cannot be removed.
	System bool `json:"system,omitempty"`

	// Specifies template to be used to create the LDAP provider. The list of templates can be found at /auth/providers/ldap-templates.  Any fields directly defined in your request will override the template values.
	Template string `json:"template,omitempty"`

	// Specifies the the LDAP UID Number attribute.
	UidAttribute string `json:"uid_attribute,omitempty"`

	// Specifies the groups that cannot be resolved by the provider.
	UnfindableGroups []string `json:"unfindable_groups,omitempty"`

	// Specifies users that cannot be resolved by the provider.
	UnfindableUsers []string `json:"unfindable_users,omitempty"`

	// Sets the LDAP Unique Group Members attribute.
	UniqueGroupMembersAttribute string `json:"unique_group_members_attribute,omitempty"`

	// Specifies a group that cannot be listed by the provider.
	UnlistableGroups []string `json:"unlistable_groups,omitempty"`

	// Specifies a user that cannot be listed by the provider.
	UnlistableUsers []string `json:"unlistable_users,omitempty"`

	// Specifies the distinguished name of the entry at which to start LDAP searches for users.
	UserBaseDn string `json:"user_base_dn,omitempty"`

	// Specifies the domain for this provider through which users are qualified.
	UserDomain string `json:"user_domain,omitempty"`

	// Specifies the LDAP filter for user objects.
	UserFilter string `json:"user_filter,omitempty"`

	// Specifies the depth from the base DN to perform LDAP searches.
	UserSearchScope string `json:"user_search_scope,omitempty"`
}

type ProvidersLocal ¶

type ProvidersLocal struct {
	Local []ProvidersLocalLocalItem `json:"local,omitempty"`
}

type ProvidersLocalIdParams ¶

type ProvidersLocalIdParams struct {

	// If true, enables authentication and identity management through the authentication provider.
	Authentication bool `json:"authentication,omitempty"`

	// Automatically creates the home directory on the first login.
	CreateHomeDirectory bool `json:"create_home_directory,omitempty"`

	// Specifies the path to the home directory template.
	HomeDirectoryTemplate string `json:"home_directory_template,omitempty"`

	// Specifies the length of time in seconds that an account will be inaccessible after multiple failed login attempts.
	LockoutDuration int32 `json:"lockout_duration,omitempty"`

	// Specifies the number of failed login attempts necessary before an account is locked.
	LockoutThreshold int32 `json:"lockout_threshold,omitempty"`

	// Specifies the duration of time in seconds in which the number of failed attempts set in the 'lockout_threshold' parameter must be made before an account is locked.
	LockoutWindow int32 `json:"lockout_window,omitempty"`

	// Specifies the login shell path.
	LoginShell string `json:"login_shell,omitempty"`

	// Specifies the domain for this provider through which users and groups are qualified.
	MachineName string `json:"machine_name,omitempty"`

	// Specifies the maximum password age in seconds.
	MaxPasswordAge int32 `json:"max_password_age,omitempty"`

	// Specifies the minimum password age in seconds.
	MinPasswordAge int32 `json:"min_password_age,omitempty"`

	// Specifies the minimum password length.
	MinPasswordLength int32 `json:"min_password_length,omitempty"`

	// Specifies the local provider name.
	Name string `json:"name,omitempty"`

	// Specifies the conditions required for a password.
	PasswordComplexity []string `json:"password_complexity,omitempty"`

	// Specifies the number of previous passwords to store.
	PasswordHistoryLength int32 `json:"password_history_length,omitempty"`

	// Specifies the time in seconds remaining before a user will be prompted for a password change.
	PasswordPromptTime int32 `json:"password_prompt_time,omitempty"`
}

Specifies the properties for a local authentication provider.

type ProvidersLocalLocalItem ¶

type ProvidersLocalLocalItem struct {

	// If true, enables authentication and identity management through the authentication provider.
	Authentication bool `json:"authentication,omitempty"`

	// Automatically creates the home directory on the first login.
	CreateHomeDirectory bool `json:"create_home_directory,omitempty"`

	// Specifies the path to the home directory template.
	HomeDirectoryTemplate string `json:"home_directory_template,omitempty"`

	// Specifies the local provider ID.
	Id string `json:"id,omitempty"`

	// Specifies the length of time in seconds that an account will be inaccessible after multiple failed login attempts.
	LockoutDuration int32 `json:"lockout_duration,omitempty"`

	// Specifies the number of failed login attempts necessary before an account is locked.
	LockoutThreshold int32 `json:"lockout_threshold,omitempty"`

	// Specifies the duration of time in seconds in which the number of failed attempts set in the 'lockout_threshold' parameter must be made before an account is locked.
	LockoutWindow int32 `json:"lockout_window,omitempty"`

	// Specifies the login shell path.
	LoginShell string `json:"login_shell,omitempty"`

	// Specifies the domain for this provider through which users and groups are qualified.
	MachineName string `json:"machine_name,omitempty"`

	// Specifies the maximum password age in seconds.
	MaxPasswordAge int32 `json:"max_password_age,omitempty"`

	// Specifies the minimum password age in seconds.
	MinPasswordAge int32 `json:"min_password_age,omitempty"`

	// Specifies the minimum password length.
	MinPasswordLength int32 `json:"min_password_length,omitempty"`

	// Specifies the local provider name.
	Name string `json:"name,omitempty"`

	// Specifies the conditions required for a password.
	PasswordComplexity []string `json:"password_complexity,omitempty"`

	// Specifies the number of previous passwords to store.
	PasswordHistoryLength int32 `json:"password_history_length,omitempty"`

	// Specifies the time in seconds remaining before a user will be prompted for a password change.
	PasswordPromptTime int32 `json:"password_prompt_time,omitempty"`

	// Specifies the status of the provider.
	Status string `json:"status,omitempty"`

	// If true, indicates that this provider instance was created by OneFS and cannot be removed.
	System bool `json:"system,omitempty"`
}

type ProvidersNis ¶

type ProvidersNis struct {
	Nis []ProvidersNisNisItem `json:"nis,omitempty"`
}

type ProvidersNisExtended ¶

type ProvidersNisExtended struct {
	Nis []ProvidersNisNisItemExtended `json:"nis,omitempty"`
}

type ProvidersNisIdParams ¶

type ProvidersNisIdParams struct {

	// If true, enables authentication and identity management through the authentication provider.
	Authentication bool `json:"authentication,omitempty"`

	// If true, connects the provider to a random server.
	BalanceServers bool `json:"balance_servers,omitempty"`

	// Specifies the time in seconds between provider online checks.
	CheckOnlineInterval int32 `json:"check_online_interval,omitempty"`

	// Automatically creates the home directory on the first login.
	CreateHomeDirectory bool `json:"create_home_directory,omitempty"`

	// If true, enables the NIS provider.
	Enabled bool `json:"enabled,omitempty"`

	// If true, allows the provider to enumerate groups.
	EnumerateGroups bool `json:"enumerate_groups,omitempty"`

	// If true, allows the provider to enumerate users.
	EnumerateUsers bool `json:"enumerate_users,omitempty"`

	// Specifies the list of groups that can be resolved.
	FindableGroups []string `json:"findable_groups,omitempty"`

	// Specifies the list of users that can be resolved.
	FindableUsers []string `json:"findable_users,omitempty"`

	// Specifies the domain for this provider through which groups are qualified.
	GroupDomain string `json:"group_domain,omitempty"`

	// Specifies the path to the home directory template.
	HomeDirectoryTemplate string `json:"home_directory_template,omitempty"`

	// If true, enables host name look ups.
	HostnameLookup bool `json:"hostname_lookup,omitempty"`

	// Specifies the groups that can be viewed in the provider.
	ListableGroups []string `json:"listable_groups,omitempty"`

	// Specifies the users that can be viewed in the provider.
	ListableUsers []string `json:"listable_users,omitempty"`

	// Specifies the login shell path.
	LoginShell string `json:"login_shell,omitempty"`

	// Specifies the NIS provider name.
	Name string `json:"name,omitempty"`

	// Specifies the NIS domain name.
	NisDomain string `json:"nis_domain,omitempty"`

	// Normalizes group names to lowercase before look up.
	NormalizeGroups bool `json:"normalize_groups,omitempty"`

	// Normalizes user names to lowercase before look up.
	NormalizeUsers bool `json:"normalize_users,omitempty"`

	// Specifies which NTLM versions to support for users with NTLM-compatible credentials.
	NtlmSupport string `json:"ntlm_support,omitempty"`

	// Specifies the domain for the provider.
	ProviderDomain string `json:"provider_domain,omitempty"`

	// Specifies the request timeout interval in seconds.
	RequestTimeout int32 `json:"request_timeout,omitempty"`

	// If true, checks the provider for filtered lists of findable and unfindable users and groups.
	RestrictFindable bool `json:"restrict_findable,omitempty"`

	// If true, checks the provider for filtered lists of listable and unlistable users and groups.
	RestrictListable bool `json:"restrict_listable,omitempty"`

	// Specifies the timeout period in seconds after which a request will be retried.
	RetryTime int32 `json:"retry_time,omitempty"`

	// Adds an NIS server for this provider.
	Servers []string `json:"servers,omitempty"`

	// Specifies groups that cannot be resolved by the provider.
	UnfindableGroups []string `json:"unfindable_groups,omitempty"`

	// Specifies users that cannot be resolved by the provider.
	UnfindableUsers []string `json:"unfindable_users,omitempty"`

	// Specifies a group that cannot be listed by the provider.
	UnlistableGroups []string `json:"unlistable_groups,omitempty"`

	// Specifies a user that cannot be listed by the provider.
	UnlistableUsers []string `json:"unlistable_users,omitempty"`

	// Specifies the domain for this provider through which users are qualified.
	UserDomain string `json:"user_domain,omitempty"`

	// If true, specifies TCP for YP Match operations.
	YpmatchUsingTcp bool `json:"ypmatch_using_tcp,omitempty"`
}

Specifies the properties for an NIS authentication provider.

type ProvidersNisItem ¶

type ProvidersNisItem struct {

	// If true, enables authentication and identity management through the authentication provider.
	Authentication bool `json:"authentication,omitempty"`

	// If true, connects the provider to a random server.
	BalanceServers bool `json:"balance_servers,omitempty"`

	// Specifies the time in seconds between provider online checks.
	CheckOnlineInterval int32 `json:"check_online_interval,omitempty"`

	// Automatically creates the home directory on the first login.
	CreateHomeDirectory bool `json:"create_home_directory,omitempty"`

	// If true, enables the NIS provider.
	Enabled bool `json:"enabled,omitempty"`

	// If true, allows the provider to enumerate groups.
	EnumerateGroups bool `json:"enumerate_groups,omitempty"`

	// If true, allows the provider to enumerate users.
	EnumerateUsers bool `json:"enumerate_users,omitempty"`

	// Specifies the list of groups that can be resolved.
	FindableGroups []string `json:"findable_groups,omitempty"`

	// Specifies the list of users that can be resolved.
	FindableUsers []string `json:"findable_users,omitempty"`

	// Specifies the domain for this provider through which groups are qualified.
	GroupDomain string `json:"group_domain,omitempty"`

	// Groupnet identifier.
	Groupnet string `json:"groupnet,omitempty"`

	// Specifies the path to the home directory template.
	HomeDirectoryTemplate string `json:"home_directory_template,omitempty"`

	// If true, enables host name look ups.
	HostnameLookup bool `json:"hostname_lookup,omitempty"`

	// Specifies the groups that can be viewed in the provider.
	ListableGroups []string `json:"listable_groups,omitempty"`

	// Specifies the users that can be viewed in the provider.
	ListableUsers []string `json:"listable_users,omitempty"`

	// Specifies the login shell path.
	LoginShell string `json:"login_shell,omitempty"`

	// Specifies the NIS provider name.
	Name string `json:"name"`

	// Specifies the NIS domain name.
	NisDomain string `json:"nis_domain"`

	// Normalizes group names to lowercase before look up.
	NormalizeGroups bool `json:"normalize_groups,omitempty"`

	// Normalizes user names to lowercase before look up.
	NormalizeUsers bool `json:"normalize_users,omitempty"`

	// Specifies which NTLM versions to support for users with NTLM-compatible credentials.
	NtlmSupport string `json:"ntlm_support,omitempty"`

	// Specifies the domain for the provider.
	ProviderDomain string `json:"provider_domain,omitempty"`

	// Specifies the request timeout interval in seconds.
	RequestTimeout int32 `json:"request_timeout,omitempty"`

	// If true, checks the provider for filtered lists of findable and unfindable users and groups.
	RestrictFindable bool `json:"restrict_findable,omitempty"`

	// If true, checks the provider for filtered lists of listable and unlistable users and groups.
	RestrictListable bool `json:"restrict_listable,omitempty"`

	// Specifies the timeout period in seconds after which a request will be retried.
	RetryTime int32 `json:"retry_time,omitempty"`

	// Adds an NIS server for this provider.
	Servers []string `json:"servers"`

	// Specifies groups that cannot be resolved by the provider.
	UnfindableGroups []string `json:"unfindable_groups,omitempty"`

	// Specifies users that cannot be resolved by the provider.
	UnfindableUsers []string `json:"unfindable_users,omitempty"`

	// Specifies a group that cannot be listed by the provider.
	UnlistableGroups []string `json:"unlistable_groups,omitempty"`

	// Specifies a user that cannot be listed by the provider.
	UnlistableUsers []string `json:"unlistable_users,omitempty"`

	// Specifies the domain for this provider through which users are qualified.
	UserDomain string `json:"user_domain,omitempty"`

	// If true, specifies TCP for YP Match operations.
	YpmatchUsingTcp bool `json:"ypmatch_using_tcp,omitempty"`
}

Specifies the properties for an NIS authentication provider.

type ProvidersNisNisItem ¶

type ProvidersNisNisItem struct {

	// If true, enables authentication and identity management through the authentication provider.
	Authentication bool `json:"authentication,omitempty"`

	// If true, connects the provider to a random server.
	BalanceServers bool `json:"balance_servers,omitempty"`

	// Specifies the time in seconds between provider online checks.
	CheckOnlineInterval int32 `json:"check_online_interval,omitempty"`

	// Automatically creates the home directory on the first login.
	CreateHomeDirectory bool `json:"create_home_directory,omitempty"`

	// If true, enables the NIS provider.
	Enabled bool `json:"enabled,omitempty"`

	// If true, allows the provider to enumerate groups.
	EnumerateGroups bool `json:"enumerate_groups,omitempty"`

	// If true, allows the provider to enumerate users.
	EnumerateUsers bool `json:"enumerate_users,omitempty"`

	// Specifies the list of groups that can be resolved.
	FindableGroups []string `json:"findable_groups,omitempty"`

	// Specifies the list of users that can be resolved.
	FindableUsers []string `json:"findable_users,omitempty"`

	// Specifies the domain for this provider through which groups are qualified.
	GroupDomain string `json:"group_domain,omitempty"`

	// Specifies the path to the home directory template.
	HomeDirectoryTemplate string `json:"home_directory_template,omitempty"`

	// If true, enables host name look ups.
	HostnameLookup bool `json:"hostname_lookup,omitempty"`

	// Specifies the NIS provider ID.
	Id string `json:"id,omitempty"`

	// Specifies the groups that can be viewed in the provider.
	ListableGroups []string `json:"listable_groups,omitempty"`

	// Specifies the users that can be viewed in the provider.
	ListableUsers []string `json:"listable_users,omitempty"`

	// Specifies the login shell path.
	LoginShell string `json:"login_shell,omitempty"`

	// Specifies the NIS provider name.
	Name string `json:"name,omitempty"`

	// Specifies the NIS domain name.
	NisDomain string `json:"nis_domain,omitempty"`

	// Normalizes group names to lowercase before look up.
	NormalizeGroups bool `json:"normalize_groups,omitempty"`

	// Normalizes user names to lowercase before look up.
	NormalizeUsers bool `json:"normalize_users,omitempty"`

	// Specifies which NTLM versions to support for users with NTLM-compatible credentials.
	NtlmSupport string `json:"ntlm_support,omitempty"`

	// Specifies the domain for the provider.
	ProviderDomain string `json:"provider_domain,omitempty"`

	// Specifies the request timeout interval in seconds.
	RequestTimeout int32 `json:"request_timeout,omitempty"`

	// If true, checks the provider for filtered lists of findable and unfindable users and groups.
	RestrictFindable bool `json:"restrict_findable,omitempty"`

	// If true, checks the provider for filtered lists of listable and unlistable users and groups.
	RestrictListable bool `json:"restrict_listable,omitempty"`

	// Specifies the timeout period in seconds after which a request will be retried.
	RetryTime int32 `json:"retry_time,omitempty"`

	// Adds an NIS server for this provider.
	Servers []string `json:"servers,omitempty"`

	// Specifies the status of the provider.
	Status string `json:"status,omitempty"`

	// If true, indicates that this provider instance was created by OneFS and cannot be removed.
	System bool `json:"system,omitempty"`

	// Specifies groups that cannot be resolved by the provider.
	UnfindableGroups []string `json:"unfindable_groups,omitempty"`

	// Specifies users that cannot be resolved by the provider.
	UnfindableUsers []string `json:"unfindable_users,omitempty"`

	// Specifies a group that cannot be listed by the provider.
	UnlistableGroups []string `json:"unlistable_groups,omitempty"`

	// Specifies a user that cannot be listed by the provider.
	UnlistableUsers []string `json:"unlistable_users,omitempty"`

	// Specifies the domain for this provider through which users are qualified.
	UserDomain string `json:"user_domain,omitempty"`

	// If true, specifies TCP for YP Match operations.
	YpmatchUsingTcp bool `json:"ypmatch_using_tcp,omitempty"`
}

type ProvidersNisNisItemExtended ¶

type ProvidersNisNisItemExtended struct {

	// If true, enables authentication and identity management through the authentication provider.
	Authentication bool `json:"authentication,omitempty"`

	// If true, connects the provider to a random server.
	BalanceServers bool `json:"balance_servers,omitempty"`

	// Specifies the time in seconds between provider online checks.
	CheckOnlineInterval int32 `json:"check_online_interval,omitempty"`

	// Automatically creates the home directory on the first login.
	CreateHomeDirectory bool `json:"create_home_directory,omitempty"`

	// If true, enables the NIS provider.
	Enabled bool `json:"enabled,omitempty"`

	// If true, allows the provider to enumerate groups.
	EnumerateGroups bool `json:"enumerate_groups,omitempty"`

	// If true, allows the provider to enumerate users.
	EnumerateUsers bool `json:"enumerate_users,omitempty"`

	// Specifies the list of groups that can be resolved.
	FindableGroups []string `json:"findable_groups,omitempty"`

	// Specifies the list of users that can be resolved.
	FindableUsers []string `json:"findable_users,omitempty"`

	// Specifies the domain for this provider through which groups are qualified.
	GroupDomain string `json:"group_domain,omitempty"`

	// Specifies the path to the home directory template.
	HomeDirectoryTemplate string `json:"home_directory_template,omitempty"`

	// If true, enables host name look ups.
	HostnameLookup bool `json:"hostname_lookup,omitempty"`

	// Specifies the NIS provider ID.
	Id string `json:"id,omitempty"`

	// Specifies the groups that can be viewed in the provider.
	ListableGroups []string `json:"listable_groups,omitempty"`

	// Specifies the users that can be viewed in the provider.
	ListableUsers []string `json:"listable_users,omitempty"`

	// Specifies the login shell path.
	LoginShell string `json:"login_shell,omitempty"`

	// Specifies the NIS provider name.
	Name string `json:"name,omitempty"`

	// Specifies the NIS domain name.
	NisDomain string `json:"nis_domain,omitempty"`

	// Normalizes group names to lowercase before look up.
	NormalizeGroups bool `json:"normalize_groups,omitempty"`

	// Normalizes user names to lowercase before look up.
	NormalizeUsers bool `json:"normalize_users,omitempty"`

	// Specifies which NTLM versions to support for users with NTLM-compatible credentials.
	NtlmSupport string `json:"ntlm_support,omitempty"`

	// Specifies the domain for the provider.
	ProviderDomain string `json:"provider_domain,omitempty"`

	// Specifies the request timeout interval in seconds.
	RequestTimeout int32 `json:"request_timeout,omitempty"`

	// If true, checks the provider for filtered lists of findable and unfindable users and groups.
	RestrictFindable bool `json:"restrict_findable,omitempty"`

	// If true, checks the provider for filtered lists of listable and unlistable users and groups.
	RestrictListable bool `json:"restrict_listable,omitempty"`

	// Specifies the timeout period in seconds after which a request will be retried.
	RetryTime int32 `json:"retry_time,omitempty"`

	// Adds an NIS server for this provider.
	Servers []string `json:"servers,omitempty"`

	// Specifies the status of the provider.
	Status string `json:"status,omitempty"`

	// If true, indicates that this provider instance was created by OneFS and cannot be removed.
	System bool `json:"system,omitempty"`

	// Specifies groups that cannot be resolved by the provider.
	UnfindableGroups []string `json:"unfindable_groups,omitempty"`

	// Specifies users that cannot be resolved by the provider.
	UnfindableUsers []string `json:"unfindable_users,omitempty"`

	// Specifies a group that cannot be listed by the provider.
	UnlistableGroups []string `json:"unlistable_groups,omitempty"`

	// Specifies a user that cannot be listed by the provider.
	UnlistableUsers []string `json:"unlistable_users,omitempty"`

	// Specifies the domain for this provider through which users are qualified.
	UserDomain string `json:"user_domain,omitempty"`

	// If true, specifies TCP for YP Match operations.
	YpmatchUsingTcp bool `json:"ypmatch_using_tcp,omitempty"`

	// Groupnet identifier.
	Groupnet string `json:"groupnet,omitempty"`
}

type ProvidersSummary ¶

type ProvidersSummary struct {
	ProviderInstances []ProvidersSummaryProviderInstance `json:"provider_instances,omitempty"`
}

type ProvidersSummaryProviderInstance ¶

type ProvidersSummaryProviderInstance struct {
	ActiveServer string `json:"active_server,omitempty"`

	ClientSite string `json:"client_site,omitempty"`

	Connections []ProvidersSummaryProviderInstanceConnection `json:"connections,omitempty"`

	DcSite string `json:"dc_site,omitempty"`

	Forest string `json:"forest,omitempty"`

	Groupnet string `json:"groupnet,omitempty"`

	// Specifies the ID of the provider.
	Id string `json:"id,omitempty"`

	// Specifies the name of the provider.
	Name string `json:"name,omitempty"`

	// Indicates the status of the provider.
	Status string `json:"status,omitempty"`

	// Specifies the type of provider.
	Type_ string `json:"type,omitempty"`
}

type ProvidersSummaryProviderInstanceConnection ¶

type ProvidersSummaryProviderInstanceConnection struct {

	// Specifies the IP address of the provider.
	Address string `json:"address,omitempty"`

	// Specifies the last time the server was contacted.
	LastUsed string `json:"last_used,omitempty"`

	// Specifies the fully qualified domain name of the server.
	Server string `json:"server,omitempty"`
}

type QuotaApiService ¶

type QuotaApiService service

func (*QuotaApiService) CreateQuotaQuota ¶

func (a *QuotaApiService) CreateQuotaQuota(ctx context.Context, quotaQuota QuotaQuotaCreateParams, localVarOptionals map[string]interface{}) (CreateResponse, *http.Response, error)

QuotaApiService Create a new quota. * @param ctx context.Context for authentication, logging, tracing, etc. @param quotaQuota @param optional (nil or map[string]interface{}) with one or more of:

@param "zone" (string) Optional named zone to use for user and group resolution.

@return CreateResponse

func (*QuotaApiService) CreateQuotaReport ¶

func (a *QuotaApiService) CreateQuotaReport(ctx context.Context, quotaReport Empty) (CreateQuotaReportResponse, *http.Response, error)

QuotaApiService Create a new report. The type of this report is &#39;manual&#39;; it is also sometimes called &#39;live&#39; or &#39;ad-hoc&#39;. * @param ctx context.Context for authentication, logging, tracing, etc. @param quotaReport @return CreateQuotaReportResponse

func (*QuotaApiService) CreateSettingsMapping ¶

func (a *QuotaApiService) CreateSettingsMapping(ctx context.Context, settingsMapping SettingsMappingExtendedExtended) (CreateResponse, *http.Response, error)

QuotaApiService Create a new rule. The new rule must not conflict with an existing rule (e.g. match both the type and domain fields). * @param ctx context.Context for authentication, logging, tracing, etc. @param settingsMapping @return CreateResponse

func (*QuotaApiService) CreateSettingsNotification ¶

func (a *QuotaApiService) CreateSettingsNotification(ctx context.Context, settingsNotification QuotaNotificationCreateParams) (CreateResponse, *http.Response, error)

QuotaApiService Create a new global notification rule. * @param ctx context.Context for authentication, logging, tracing, etc. @param settingsNotification @return CreateResponse

func (*QuotaApiService) DeleteQuotaQuota ¶

func (a *QuotaApiService) DeleteQuotaQuota(ctx context.Context, quotaQuotaId string) (*http.Response, error)

QuotaApiService Delete the quota. * @param ctx context.Context for authentication, logging, tracing, etc. @param quotaQuotaId Delete the quota. @return

func (*QuotaApiService) DeleteQuotaQuotas ¶

func (a *QuotaApiService) DeleteQuotaQuotas(ctx context.Context, localVarOptionals map[string]interface{}) (*http.Response, error)

QuotaApiService Delete all or matching quotas. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "enforced" (bool) Only delete quotas with this enforcement (non-accounting).
@param "includeSnapshots" (bool) Only delete quotas with this setting for include_snapshots.
@param "zone" (string) Optional named zone to use for user and group resolution.
@param "recursePathChildren" (bool) If used with the path argument, delete all quotas at that path or any descendent sub-directory.
@param "recursePathParents" (bool) If used with the path argument, delete all quotas at that path or any parent directory.
@param "persona" (string) Only delete user or group quotas matching this persona (must be used with the corresponding type argument).  Format is &lt;PERSONA_TYPE&gt;:&lt;string/integer&gt;, where PERSONA_TYPE is one of USER, GROUP, SID, ID, or GID.
@param "path" (string) Only delete quotas matching this path (see also recurse_path_*).
@param "type_" (string) Only delete quotas matching this type.

@return

func (*QuotaApiService) DeleteQuotaReport ¶

func (a *QuotaApiService) DeleteQuotaReport(ctx context.Context, quotaReportId string) (*http.Response, error)

QuotaApiService Delete the report. * @param ctx context.Context for authentication, logging, tracing, etc. @param quotaReportId Delete the report. @return

func (*QuotaApiService) DeleteSettingsMapping ¶

func (a *QuotaApiService) DeleteSettingsMapping(ctx context.Context, settingsMappingId string) (*http.Response, error)

QuotaApiService Delete the mapping. * @param ctx context.Context for authentication, logging, tracing, etc. @param settingsMappingId Delete the mapping. @return

func (*QuotaApiService) DeleteSettingsMappings ¶

func (a *QuotaApiService) DeleteSettingsMappings(ctx context.Context) (*http.Response, error)

QuotaApiService Delete all rules. * @param ctx context.Context for authentication, logging, tracing, etc. @return

func (*QuotaApiService) DeleteSettingsNotification ¶

func (a *QuotaApiService) DeleteSettingsNotification(ctx context.Context, settingsNotificationId string) (*http.Response, error)

QuotaApiService Delete the notification rule. * @param ctx context.Context for authentication, logging, tracing, etc. @param settingsNotificationId Delete the notification rule. @return

func (*QuotaApiService) DeleteSettingsNotifications ¶

func (a *QuotaApiService) DeleteSettingsNotifications(ctx context.Context) (*http.Response, error)

QuotaApiService Delete all rules. * @param ctx context.Context for authentication, logging, tracing, etc. @return

func (*QuotaApiService) GetQuotaLicense ¶

func (a *QuotaApiService) GetQuotaLicense(ctx context.Context) (LicenseLicense, *http.Response, error)

QuotaApiService Retrieve license information. * @param ctx context.Context for authentication, logging, tracing, etc. @return LicenseLicense

func (*QuotaApiService) GetQuotaQuota ¶

func (a *QuotaApiService) GetQuotaQuota(ctx context.Context, quotaQuotaId string, localVarOptionals map[string]interface{}) (QuotaQuotas, *http.Response, error)

QuotaApiService Retrieve quota information. * @param ctx context.Context for authentication, logging, tracing, etc. @param quotaQuotaId Retrieve quota information. @param optional (nil or map[string]interface{}) with one or more of:

@param "resolveNames" (bool) If true, resolve group and user names in personas.
@param "zone" (string) Optional named zone to use for user and group resolution.

@return QuotaQuotas

func (*QuotaApiService) GetQuotaQuotasSummary ¶

func (a *QuotaApiService) GetQuotaQuotasSummary(ctx context.Context) (QuotaQuotasSummary, *http.Response, error)

QuotaApiService Return summary information about quotas. * @param ctx context.Context for authentication, logging, tracing, etc. @return QuotaQuotasSummary

func (*QuotaApiService) GetQuotaReport ¶

func (a *QuotaApiService) GetQuotaReport(ctx context.Context, quotaReportId string, localVarOptionals map[string]interface{}) (ReportAbout, *http.Response, error)

QuotaApiService Retrieve report data (XML) or contents (meta-data). * @param ctx context.Context for authentication, logging, tracing, etc. @param quotaReportId Retrieve report data (XML) or contents (meta-data). @param optional (nil or map[string]interface{}) with one or more of:

@param "contents" (bool) Display JSON meta-data contents instead of report data.

@return ReportAbout

func (*QuotaApiService) GetSettingsMapping ¶

func (a *QuotaApiService) GetSettingsMapping(ctx context.Context, settingsMappingId string) (SettingsMappings, *http.Response, error)

QuotaApiService Retrieve the mapping information. * @param ctx context.Context for authentication, logging, tracing, etc. @param settingsMappingId Retrieve the mapping information. @return SettingsMappings

func (*QuotaApiService) GetSettingsNotification ¶

func (a *QuotaApiService) GetSettingsNotification(ctx context.Context, settingsNotificationId string) (QuotaNotifications, *http.Response, error)

QuotaApiService Retrieve notification rule information. * @param ctx context.Context for authentication, logging, tracing, etc. @param settingsNotificationId Retrieve notification rule information. @return QuotaNotifications

func (*QuotaApiService) GetSettingsReports ¶

func (a *QuotaApiService) GetSettingsReports(ctx context.Context) (SettingsReports, *http.Response, error)

QuotaApiService List all settings. * @param ctx context.Context for authentication, logging, tracing, etc. @return SettingsReports

func (*QuotaApiService) ListQuotaQuotas ¶

func (a *QuotaApiService) ListQuotaQuotas(ctx context.Context, localVarOptionals map[string]interface{}) (QuotaQuotasExtended, *http.Response, error)

QuotaApiService List all or matching quotas. Can also be used to retrieve quota state from existing reports. For any query argument not supplied, the default behavior is return all. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "enforced" (bool) Only list quotas with this enforcement (non-accounting).
@param "includeSnapshots" (bool) Only list quotas with this setting for include_snapshots.
@param "zone" (string) Optional named zone to use for user and group resolution.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
@param "recursePathChildren" (bool) If used with the path argument, match all quotas at that path or any descendent sub-directory.
@param "resolveNames" (bool) If true, resolve group and user names in personas.
@param "recursePathParents" (bool) If used with the path argument, match all quotas at that path or any parent directory.
@param "persona" (string) Only list user or group quotas matching this persona (must be used with the corresponding type argument).  Format is &lt;PERSONA_TYPE&gt;:&lt;string/integer&gt;, where PERSONA_TYPE is one of USER, GROUP, SID, ID, or GID.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "exceeded" (bool) Set to true to only list quotas which have exceeded one or more of their thresholds.
@param "path" (string) Only list quotas matching this path (see also recurse_path_*).
@param "type_" (string) Only list quotas matching this type.
@param "reportId" (string) Use the named report as a source rather than the live quotas. See the /q/quota/reports resource for a list of valid reports.

@return QuotaQuotasExtended

func (*QuotaApiService) ListQuotaReports ¶

func (a *QuotaApiService) ListQuotaReports(ctx context.Context, localVarOptionals map[string]interface{}) (QuotaReports, *http.Response, error)

QuotaApiService List all or matching reports. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) Order results by this field.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
@param "generated" (string) Only list reports matching this source.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "type_" (string) Only list reports matching this type.
@param "dir" (string) The direction of the sort.

@return QuotaReports

func (*QuotaApiService) ListSettingsMappings ¶

func (a *QuotaApiService) ListSettingsMappings(ctx context.Context) (SettingsMappings, *http.Response, error)

QuotaApiService List all rules. * @param ctx context.Context for authentication, logging, tracing, etc. @return SettingsMappings

func (*QuotaApiService) ListSettingsNotifications ¶

func (a *QuotaApiService) ListSettingsNotifications(ctx context.Context) (QuotaNotificationsExtended, *http.Response, error)

QuotaApiService List all rules. * @param ctx context.Context for authentication, logging, tracing, etc. @return QuotaNotificationsExtended

func (*QuotaApiService) UpdateQuotaQuota ¶

func (a *QuotaApiService) UpdateQuotaQuota(ctx context.Context, quotaQuota QuotaQuota, quotaQuotaId string) (*http.Response, error)

QuotaApiService Modify quota. All input fields are optional, but one or more must be supplied. * @param ctx context.Context for authentication, logging, tracing, etc. @param quotaQuota @param quotaQuotaId Modify quota. All input fields are optional, but one or more must be supplied. @return

func (*QuotaApiService) UpdateSettingsMapping ¶

func (a *QuotaApiService) UpdateSettingsMapping(ctx context.Context, settingsMapping SettingsMappingExtended, settingsMappingId string) (*http.Response, error)

QuotaApiService Modify the mapping. * @param ctx context.Context for authentication, logging, tracing, etc. @param settingsMapping @param settingsMappingId Modify the mapping. @return

func (*QuotaApiService) UpdateSettingsNotification ¶

func (a *QuotaApiService) UpdateSettingsNotification(ctx context.Context, settingsNotification QuotaNotification, settingsNotificationId string) (*http.Response, error)

QuotaApiService Modify notification rule. All input fields are optional, but one or more must be supplied. * @param ctx context.Context for authentication, logging, tracing, etc. @param settingsNotification @param settingsNotificationId Modify notification rule. All input fields are optional, but one or more must be supplied. @return

func (*QuotaApiService) UpdateSettingsReports ¶

func (a *QuotaApiService) UpdateSettingsReports(ctx context.Context, settingsReports SettingsReportsExtended) (*http.Response, error)

QuotaApiService Modify one or more settings. * @param ctx context.Context for authentication, logging, tracing, etc. @param settingsReports @return

type QuotaNotification ¶

type QuotaNotification struct {

	// Send alert when rule matches.
	ActionAlert bool `json:"action_alert,omitempty"`

	// Email a specific email address when rule matches.
	ActionEmailAddress string `json:"action_email_address,omitempty"`

	// Email quota domain owner when rule matches.
	ActionEmailOwner bool `json:"action_email_owner,omitempty"`

	// Path of optional /ifs template file used for email actions.
	EmailTemplate string `json:"email_template,omitempty"`

	// Time to wait between detections for rules triggered by user actions.
	Holdoff int32 `json:"holdoff,omitempty"`

	// Schedule for rules that repeatedly notify.
	Schedule string `json:"schedule,omitempty"`
}

type QuotaNotificationCreateParams ¶

type QuotaNotificationCreateParams struct {

	// Send alert when rule matches.
	ActionAlert bool `json:"action_alert,omitempty"`

	// Email a specific email address when rule matches.
	ActionEmailAddress string `json:"action_email_address,omitempty"`

	// Email quota domain owner when rule matches.
	ActionEmailOwner bool `json:"action_email_owner,omitempty"`

	// Path of optional /ifs template file used for email actions.
	EmailTemplate string `json:"email_template,omitempty"`

	// Time to wait between detections for rules triggered by user actions.
	Holdoff int32 `json:"holdoff,omitempty"`

	// Schedule for rules that repeatedly notify.
	Schedule string `json:"schedule,omitempty"`

	// The condition detected.
	Condition string `json:"condition"`

	// The quota threshold detected.
	Threshold string `json:"threshold"`
}

type QuotaNotificationExtended ¶

type QuotaNotificationExtended struct {

	// Send alert when rule matches.
	ActionAlert bool `json:"action_alert"`

	// Email a specific email address when rule matches.
	ActionEmailAddress string `json:"action_email_address,omitempty"`

	// Email quota domain owner when rule matches.
	ActionEmailOwner bool `json:"action_email_owner"`

	// Path of optional /ifs template file used for email actions.
	EmailTemplate string `json:"email_template,omitempty"`

	// Time to wait between detections for rules triggered by user actions.
	Holdoff int32 `json:"holdoff,omitempty"`

	// Schedule for rules that repeatedly notify.
	Schedule string `json:"schedule,omitempty"`

	// The condition detected.
	Condition string `json:"condition"`

	// The system ID given to the rule.
	Id string `json:"id"`

	// The quota threshold detected.
	Threshold string `json:"threshold"`
}

type QuotaNotifications ¶

type QuotaNotifications struct {
	Notifications []QuotaNotificationExtended `json:"notifications,omitempty"`
}

type QuotaNotificationsExtended ¶

type QuotaNotificationsExtended struct {
	Notifications []QuotaNotificationExtended `json:"notifications,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type QuotaQuota ¶

type QuotaQuota struct {

	// If true, SMB shares using the quota directory see the quota thresholds as share size.
	Container bool `json:"container,omitempty"`

	// True if the quota provides enforcement, otherwise a accounting quota.
	Enforced bool `json:"enforced,omitempty"`

	// If false and the quota is linked, attempt to unlink.
	Linked bool `json:"linked,omitempty"`

	//
	Thresholds *QuotaQuotaThresholds `json:"thresholds,omitempty"`

	// If true, thresholds apply to data plus filesystem overhead required to store the data (i.e. 'physical' usage).
	ThresholdsIncludeOverhead bool `json:"thresholds_include_overhead,omitempty"`
}

type QuotaQuotaCreateParams ¶

type QuotaQuotaCreateParams struct {

	// If true, SMB shares using the quota directory see the quota thresholds as share size.
	Container bool `json:"container,omitempty"`

	// True if the quota provides enforcement, otherwise a accounting quota.
	Enforced bool `json:"enforced"`

	// Force creation of quotas on the root of /ifs.
	Force bool `json:"force,omitempty"`

	// If true, quota governs snapshot data as well as head data.
	IncludeSnapshots bool `json:"include_snapshots"`

	// The /ifs path governed.
	Path string `json:"path"`

	// Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.
	Persona *AuthAccessAccessItemFileGroup `json:"persona,omitempty"`

	//
	Thresholds *QuotaQuotaThresholds `json:"thresholds,omitempty"`

	// If true, thresholds apply to data plus filesystem overhead required to store the data (i.e. 'physical' usage).
	ThresholdsIncludeOverhead bool `json:"thresholds_include_overhead"`

	// The type of quota.
	Type_ string `json:"type"`
}

type QuotaQuotaExtended ¶

type QuotaQuotaExtended struct {

	// If true, SMB shares using the quota directory see the quota thresholds as share size.
	Container bool `json:"container"`

	// True if the quota provides enforcement, otherwise a accounting quota.
	Enforced bool `json:"enforced"`

	// The system ID given to the quota.
	Id string `json:"id"`

	// If true, quota governs snapshot data as well as head data.
	IncludeSnapshots bool `json:"include_snapshots"`

	// For user and group quotas, true if the quota is linked and controlled by a parent default-* quota. Linked quotas cannot be modified until they are unlinked.
	Linked bool `json:"linked,omitempty"`

	// Summary of notifications: 'custom' indicates one or more notification rules available from the notifications sub-resource; 'default' indicates system default rules are used; 'disabled' indicates that no notifications will be used for this quota.
	Notifications string `json:"notifications"`

	// The /ifs path governed.
	Path string `json:"path"`

	// Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.
	Persona *AuthAccessAccessItemFileGroup `json:"persona,omitempty"`

	// True if the accounting is accurate on the quota.  If false, this quota is waiting on completion of a QuotaScan job.
	Ready bool `json:"ready"`

	//
	Thresholds *QuotaQuotaThresholdsExtended `json:"thresholds"`

	// If true, thresholds apply to data plus filesystem overhead required to store the data (i.e. 'physical' usage).
	ThresholdsIncludeOverhead bool `json:"thresholds_include_overhead"`

	// The type of quota.
	Type_ string `json:"type"`

	//
	Usage *QuotaQuotaUsage `json:"usage"`
}

type QuotaQuotaThresholds ¶

type QuotaQuotaThresholds struct {

	// Usage bytes at which notifications will be sent but writes will not be denied.
	Advisory int32 `json:"advisory,omitempty"`

	// Usage bytes at which further writes will be denied.
	Hard int32 `json:"hard,omitempty"`

	// Usage bytes at which notifications will be sent and soft grace time will be started.
	Soft int32 `json:"soft,omitempty"`

	// Time in seconds after which the soft threshold has been hit before writes will be denied.
	SoftGrace int32 `json:"soft_grace,omitempty"`
}

type QuotaQuotaThresholdsExtended ¶

type QuotaQuotaThresholdsExtended struct {

	// Usage bytes at which notifications will be sent but writes will not be denied.
	Advisory int32 `json:"advisory,omitempty"`

	// Usage bytes at which further writes will be denied.
	Hard int32 `json:"hard,omitempty"`

	// Usage bytes at which notifications will be sent and soft grace time will be started.
	Soft int32 `json:"soft,omitempty"`

	// Time in seconds after which the soft threshold has been hit before writes will be denied.
	SoftGrace int32 `json:"soft_grace,omitempty"`

	// True if the advisory threshold has been hit.
	AdvisoryExceeded bool `json:"advisory_exceeded,omitempty"`

	// Time at which advisory threshold was hit.
	AdvisoryLastExceeded int32 `json:"advisory_last_exceeded,omitempty"`

	// True if the hard threshold has been hit.
	HardExceeded bool `json:"hard_exceeded,omitempty"`

	// Time at which hard threshold was hit.
	HardLastExceeded int32 `json:"hard_last_exceeded,omitempty"`

	// True if the soft threshold has been hit.
	SoftExceeded bool `json:"soft_exceeded,omitempty"`

	// Time at which soft threshold was hit
	SoftLastExceeded int32 `json:"soft_last_exceeded,omitempty"`
}

type QuotaQuotaUsage ¶

type QuotaQuotaUsage struct {

	// Number of inodes (filesystem entities) used by governed data.
	Inodes int32 `json:"inodes"`

	// Apparent bytes used by governed data.
	Logical int32 `json:"logical"`

	// Bytes used for governed data and filesystem overhead.
	Physical int32 `json:"physical"`
}

type QuotaQuotas ¶

type QuotaQuotas struct {
	Quotas []QuotaQuotaExtended `json:"quotas,omitempty"`
}

type QuotaQuotasApiService ¶

type QuotaQuotasApiService service

func (*QuotaQuotasApiService) CreateQuotaNotification ¶

func (a *QuotaQuotasApiService) CreateQuotaNotification(ctx context.Context, quotaNotification QuotaNotificationCreateParams, qid string) (CreateResponse, *http.Response, error)

QuotaQuotasApiService Create a new notification rule specific to this quota. * @param ctx context.Context for authentication, logging, tracing, etc. @param quotaNotification @param qid @return CreateResponse

func (*QuotaQuotasApiService) DeleteQuotaNotification ¶

func (a *QuotaQuotasApiService) DeleteQuotaNotification(ctx context.Context, quotaNotificationId string, qid string) (*http.Response, error)

QuotaQuotasApiService Delete the notification rule. * @param ctx context.Context for authentication, logging, tracing, etc. @param quotaNotificationId Delete the notification rule. @param qid @return

func (*QuotaQuotasApiService) DeleteQuotaNotifications ¶

func (a *QuotaQuotasApiService) DeleteQuotaNotifications(ctx context.Context, qid string) (*http.Response, error)

QuotaQuotasApiService Delete all quota specific rules. The quota will then use the global rules. * @param ctx context.Context for authentication, logging, tracing, etc. @param qid @return

func (*QuotaQuotasApiService) GetQuotaNotification ¶

func (a *QuotaQuotasApiService) GetQuotaNotification(ctx context.Context, quotaNotificationId string, qid string) (QuotaNotifications, *http.Response, error)

QuotaQuotasApiService Retrieve notification rule information. * @param ctx context.Context for authentication, logging, tracing, etc. @param quotaNotificationId Retrieve notification rule information. @param qid @return QuotaNotifications

func (*QuotaQuotasApiService) ListQuotaNotifications ¶

func (a *QuotaQuotasApiService) ListQuotaNotifications(ctx context.Context, qid string) (QuotaNotificationsExtended, *http.Response, error)

QuotaQuotasApiService List all rules. * @param ctx context.Context for authentication, logging, tracing, etc. @param qid @return QuotaNotificationsExtended

func (*QuotaQuotasApiService) UpdateQuotaNotification ¶

func (a *QuotaQuotasApiService) UpdateQuotaNotification(ctx context.Context, quotaNotification QuotaNotification, quotaNotificationId string, qid string) (*http.Response, error)

QuotaQuotasApiService Modify notification rule. All input fields are optional, but one or more must be supplied. * @param ctx context.Context for authentication, logging, tracing, etc. @param quotaNotification @param quotaNotificationId Modify notification rule. All input fields are optional, but one or more must be supplied. @param qid @return

func (*QuotaQuotasApiService) UpdateQuotaNotifications ¶

func (a *QuotaQuotasApiService) UpdateQuotaNotifications(ctx context.Context, quotaNotifications Empty, qid string) (*http.Response, error)

QuotaQuotasApiService This method creates an empty set of rules so that the global rules are not used. The input must be an empty JSON object. * @param ctx context.Context for authentication, logging, tracing, etc. @param quotaNotifications @param qid @return

type QuotaQuotasExtended ¶

type QuotaQuotasExtended struct {
	Quotas []QuotaQuotaExtended `json:"quotas,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`
}

type QuotaQuotasSummary ¶

type QuotaQuotasSummary struct {

	//
	Summary *QuotaQuotasSummarySummary `json:"summary,omitempty"`
}

type QuotaQuotasSummarySummary ¶

type QuotaQuotasSummarySummary struct {

	// Total number of quotas.
	Count int32 `json:"count"`

	// Total number of default-group quotas.
	DefaultGroupQuotasCount int32 `json:"default_group_quotas_count"`

	// Total number of default-user quotas.
	DefaultUserQuotasCount int32 `json:"default_user_quotas_count"`

	// Total number of directory quotas.
	DirectoryQuotasCount int32 `json:"directory_quotas_count"`

	// Total number of -group quotas.
	GroupQuotasCount int32 `json:"group_quotas_count"`

	// Total number of user and group totals that are linked.
	LinkedQuotasCount int32 `json:"linked_quotas_count"`

	// Total number of user quotas.
	UserQuotasCount int32 `json:"user_quotas_count"`
}

type QuotaReports ¶

type QuotaReports struct {
	Reports []ReportAboutReport `json:"reports,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type QuotaReportsApiService ¶

type QuotaReportsApiService service

func (*QuotaReportsApiService) GetReportAbout ¶

func (a *QuotaReportsApiService) GetReportAbout(ctx context.Context, rid string) (ReportAbout, *http.Response, error)

QuotaReportsApiService Retrieve report meta-data information. * @param ctx context.Context for authentication, logging, tracing, etc. @param rid @return ReportAbout

type RemotesupportApiService ¶

type RemotesupportApiService service

func (*RemotesupportApiService) GetRemotesupportConnectemc ¶

func (a *RemotesupportApiService) GetRemotesupportConnectemc(ctx context.Context) (RemotesupportConnectemc, *http.Response, error)

RemotesupportApiService List all settings. * @param ctx context.Context for authentication, logging, tracing, etc. @return RemotesupportConnectemc

func (*RemotesupportApiService) UpdateRemotesupportConnectemc ¶

func (a *RemotesupportApiService) UpdateRemotesupportConnectemc(ctx context.Context, remotesupportConnectemc RemotesupportConnectemcConnectemc) (*http.Response, error)

RemotesupportApiService Modify one or more settings. * @param ctx context.Context for authentication, logging, tracing, etc. @param remotesupportConnectemc @return

type RemotesupportConnectemc ¶

type RemotesupportConnectemc struct {

	//
	Connectemc *RemotesupportConnectemcConnectemc `json:"connectemc,omitempty"`
}

type RemotesupportConnectemcConnectemc ¶

type RemotesupportConnectemcConnectemc struct {

	// Email the customer if all transmission methods fail.
	EmailCustomerOnFailure bool `json:"email_customer_on_failure,omitempty"`

	// Enable ConnectEMC.
	Enabled bool `json:"enabled,omitempty"`

	// List of network pools that are able to connect to the ESRS gateway.  Necessary to enable ConnectEMC.
	GatewayAccessPools []string `json:"gateway_access_pools,omitempty"`

	// Primary ESRS Gateway. Necessary to enable ConnectEMC.
	PrimaryEsrsGateway string `json:"primary_esrs_gateway,omitempty"`

	// Secondary ESRS Gateway. Used if Primary is unavailable.
	SecondaryEsrsGateway string `json:"secondary_esrs_gateway,omitempty"`

	// Use SMPT if primary and secondary gateways are unavailable.
	UseSmtpFailover bool `json:"use_smtp_failover,omitempty"`
}

type ReportAbout ¶

type ReportAbout struct {
	Reports []ReportAboutReport `json:"reports,omitempty"`
}

type ReportAboutReport ¶

type ReportAboutReport struct {

	// Whether report was manually requested (live) or scheduled.
	Generated string `json:"generated"`

	// The system ID given to the report.
	Id string `json:"id"`

	// Unix epoch time the report was taken.
	Time int32 `json:"time"`

	// Whether this is a summary or detail report.
	Type_ string `json:"type"`
}

type ReportSubreport ¶

type ReportSubreport struct {

	// The action to be taken by this job.
	Action string `json:"action"`

	// The number of ads streams replicated by this job.
	AdsStreamsReplicated int32 `json:"ads_streams_replicated"`

	// The number of block specs replicated by this job.
	BlockSpecsReplicated int32 `json:"block_specs_replicated"`

	// The number of bytes recoverable by this job.
	BytesRecoverable int32 `json:"bytes_recoverable"`

	// The number of bytes that have been transferred by this job.
	BytesTransferred int32 `json:"bytes_transferred"`

	// The number of char specs replicated by this job.
	CharSpecsReplicated int32 `json:"char_specs_replicated"`

	// The number of LINs corrected by this job.
	CorrectedLins int32 `json:"corrected_lins"`

	// This field is true if the node running this job is dead.
	DeadNode bool `json:"dead_node"`

	// The number of directories replicated.
	DirectoriesReplicated int32 `json:"directories_replicated"`

	// The number of directories changed by this job.
	DirsChanged int32 `json:"dirs_changed"`

	// The number of directories deleted by this job.
	DirsDeleted int32 `json:"dirs_deleted"`

	// The number of directories moved by this job.
	DirsMoved int32 `json:"dirs_moved"`

	// The number of directories created by this job.
	DirsNew int32 `json:"dirs_new"`

	// The amount of time in seconds between when the job was started and when it ended.  If the job has not yet ended, this is the amount of time since the job started.  This field is null if the job has not yet started.
	Duration int32 `json:"duration,omitempty"`

	// The time the job ended in unix epoch seconds. The field is null if the job hasn't ended.
	EndTime int32 `json:"end_time,omitempty"`

	// The primary error message for this job.
	Error_ string `json:"error"`

	// The number of files with checksum errors skipped by this job.
	ErrorChecksumFilesSkipped int32 `json:"error_checksum_files_skipped"`

	// The number of files with io errors skipped by this job.
	ErrorIoFilesSkipped int32 `json:"error_io_files_skipped"`

	// The number of files with network errors skipped by this job.
	ErrorNetFilesSkipped int32 `json:"error_net_files_skipped"`

	// A list of error messages for this job.
	Errors []string `json:"errors"`

	// Tyhe number of data chunks that failed transmission.
	FailedChunks int32 `json:"failed_chunks"`

	// The number of fifos replicated by this job.
	FifosReplicated int32 `json:"fifos_replicated"`

	// The number of bytes transferred that belong to files.
	FileDataBytes int32 `json:"file_data_bytes"`

	// The number of files changed by this job.
	FilesChanged int32 `json:"files_changed"`

	// The number of files linked by this job.
	FilesLinked int32 `json:"files_linked"`

	// The number of files created by this job.
	FilesNew int32 `json:"files_new"`

	// The number of files selected by this job.
	FilesSelected int32 `json:"files_selected"`

	// The number of files transferred by this job.
	FilesTransferred int32 `json:"files_transferred"`

	// The number of files unlinked by this job.
	FilesUnlinked int32 `json:"files_unlinked"`

	// The number of files with ads replicated by this job.
	FilesWithAdsReplicated int32 `json:"files_with_ads_replicated"`

	// The number of LINs flipped by this job.
	FlippedLins int32 `json:"flipped_lins"`

	// The number of hard links replicated by this job.
	HardLinksReplicated int32 `json:"hard_links_replicated"`

	// The number of hash exceptions fixed by this job.
	HashExceptionsFixed int32 `json:"hash_exceptions_fixed"`

	// The number of hash exceptions found by this job.
	HashExceptionsFound int32 `json:"hash_exceptions_found"`

	// A unique identifier for this object.
	Id string `json:"id"`

	// The ID of the job.
	JobId int32 `json:"job_id,omitempty"`

	// The number of LINs transferred by this job.
	LinsTotal int32 `json:"lins_total"`

	// The total number of bytes sent to the source by this job.
	NetworkBytesToSource int32 `json:"network_bytes_to_source"`

	// The total number of bytes sent to the target by this job.
	NetworkBytesToTarget int32 `json:"network_bytes_to_target"`

	// The number of new files replicated by this job.
	NewFilesReplicated int32 `json:"new_files_replicated"`

	// The number of files that have been retransmitted by this job.
	NumRetransmittedFiles int32 `json:"num_retransmitted_files"`

	// Data for each phase of this job.
	Phases []SyncJobPhase `json:"phases"`

	//
	Policy *SyncJobPolicy `json:"policy"`

	// This is the action the policy is configured to perform.
	PolicyAction string `json:"policy_action"`

	// The ID of the policy.
	PolicyId string `json:"policy_id"`

	// The name of the policy.
	PolicyName string `json:"policy_name"`

	// The number of regular files replicated by this job.
	RegularFilesReplicated int32 `json:"regular_files_replicated"`

	// The number of LINs resynched by this job.
	ResyncedLins int32 `json:"resynced_lins"`

	// The files that have been retransmitted by this job.
	RetransmittedFiles []string `json:"retransmitted_files"`

	// The number of times the job has been retried.
	Retry int32 `json:"retry"`

	// The number of data chunks currently being transmitted.
	RunningChunks int32 `json:"running_chunks"`

	// The number of sockets replicated by this job.
	SocketsReplicated int32 `json:"sockets_replicated"`

	// The number of bytes recovered on the source.
	SourceBytesRecovered int32 `json:"source_bytes_recovered"`

	// The number of directories created on the source.
	SourceDirectoriesCreated int32 `json:"source_directories_created"`

	// The number of directories deleted on the source.
	SourceDirectoriesDeleted int32 `json:"source_directories_deleted"`

	// The number of directories linked on the source.
	SourceDirectoriesLinked int32 `json:"source_directories_linked"`

	// The number of directories unlinked on the source.
	SourceDirectoriesUnlinked int32 `json:"source_directories_unlinked"`

	// The number of directories visited on the source.
	SourceDirectoriesVisited int32 `json:"source_directories_visited"`

	// The number of files deleted on the source.
	SourceFilesDeleted int32 `json:"source_files_deleted"`

	// The number of files linked on the source.
	SourceFilesLinked int32 `json:"source_files_linked"`

	// The number of files unlinked on the source.
	SourceFilesUnlinked int32 `json:"source_files_unlinked"`

	// The number of sparse data bytes transferred by this job.
	SparseDataBytes int32 `json:"sparse_data_bytes"`

	// The time the job started in unix epoch seconds. The field is null if the job hasn't started.
	StartTime int32 `json:"start_time,omitempty"`

	// The state of the job.
	State string `json:"state"`

	// The number of data chunks that have been transmitted successfully.
	SucceededChunks int32 `json:"succeeded_chunks"`

	// The number of symlinks replicated by this job.
	SymlinksReplicated int32 `json:"symlinks_replicated"`

	// The type of sync being performed by this job.
	SyncType string `json:"sync_type"`

	// The number of bytes recovered on the target.
	TargetBytesRecovered int32 `json:"target_bytes_recovered"`

	// The number of directories created on the target.
	TargetDirectoriesCreated int32 `json:"target_directories_created"`

	// The number of directories deleted on the target.
	TargetDirectoriesDeleted int32 `json:"target_directories_deleted"`

	// The number of directories linked on the target.
	TargetDirectoriesLinked int32 `json:"target_directories_linked"`

	// The number of directories unlinked on the target.
	TargetDirectoriesUnlinked int32 `json:"target_directories_unlinked"`

	// The number of files deleted on the target.
	TargetFilesDeleted int32 `json:"target_files_deleted"`

	// The number of files linked on the target.
	TargetFilesLinked int32 `json:"target_files_linked"`

	// The number of files unlinked on the target.
	TargetFilesUnlinked int32 `json:"target_files_unlinked"`

	// The target snapshots created by this job.
	TargetSnapshots []string `json:"target_snapshots"`

	// The total number of data chunks transmitted by this job.
	TotalChunks int32 `json:"total_chunks"`

	// The total number of bytes transferred by this job.
	TotalDataBytes int32 `json:"total_data_bytes"`

	// The number of files affected by this job.
	TotalFiles int32 `json:"total_files"`

	// The total number of bytes sent over the network by this job.
	TotalNetworkBytes int32 `json:"total_network_bytes"`

	// The total number of phases for this job.
	TotalPhases int32 `json:"total_phases"`

	// The number of bytes unchanged by this job.
	UnchangedDataBytes int32 `json:"unchanged_data_bytes"`

	// The number of up-to-date files skipped by this job.
	UpToDateFilesSkipped int32 `json:"up_to_date_files_skipped"`

	// The number of updated files replicated by this job.
	UpdatedFilesReplicated int32 `json:"updated_files_replicated"`

	// The number of files with user conflicts skipped by this job.
	UserConflictFilesSkipped int32 `json:"user_conflict_files_skipped"`

	// A list of warning messages for this job.
	Warnings []string `json:"warnings"`

	// The number of WORM committed files which needed to be reverted. Since WORM committed files cannot be reverted, this is the number of files that were preserved in the compliance store.
	WormCommittedFileConflicts int32 `json:"worm_committed_file_conflicts"`
}

type ReportSubreports ¶

type ReportSubreports struct {
	Subreports []ReportSubreport `json:"subreports,omitempty"`
}

type ReportSubreportsExtended ¶

type ReportSubreportsExtended struct {
	Subreports []ReportSubreport `json:"subreports,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type ReportsReportSubreports ¶

type ReportsReportSubreports struct {
	Subreports []ReportsReportSubreportsSubreport `json:"subreports,omitempty"`
}

type ReportsReportSubreportsExtended ¶

type ReportsReportSubreportsExtended struct {
	Subreports []ReportsReportSubreportsSubreport `json:"subreports,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type ReportsReportSubreportsSubreport ¶

type ReportsReportSubreportsSubreport struct {

	// The action to be taken by this job.
	Action string `json:"action"`

	// The number of ads streams replicated by this job.
	AdsStreamsReplicated int32 `json:"ads_streams_replicated"`

	// The number of block specs replicated by this job.
	BlockSpecsReplicated int32 `json:"block_specs_replicated"`

	// The number of bytes recoverable by this job.
	BytesRecoverable int32 `json:"bytes_recoverable"`

	// The number of bytes that have been transferred by this job.
	BytesTransferred int32 `json:"bytes_transferred"`

	// The number of char specs replicated by this job.
	CharSpecsReplicated int32 `json:"char_specs_replicated"`

	// The number of LINs corrected by this job.
	CorrectedLins int32 `json:"corrected_lins"`

	// This field is true if the node running this job is dead.
	DeadNode bool `json:"dead_node"`

	// The number of directories replicated.
	DirectoriesReplicated int32 `json:"directories_replicated"`

	// The number of directories changed by this job.
	DirsChanged int32 `json:"dirs_changed"`

	// The number of directories deleted by this job.
	DirsDeleted int32 `json:"dirs_deleted"`

	// The number of directories moved by this job.
	DirsMoved int32 `json:"dirs_moved"`

	// The number of directories created by this job.
	DirsNew int32 `json:"dirs_new"`

	// The amount of time in seconds between when the job was started and when it ended.  If the job has not yet ended, this is the amount of time since the job started.  This field is null if the job has not yet started.
	Duration int32 `json:"duration,omitempty"`

	// The time the job ended in unix epoch seconds. The field is null if the job hasn't ended.
	EndTime int32 `json:"end_time,omitempty"`

	// The primary error message for this job.
	Error_ string `json:"error"`

	// The number of files with checksum errors skipped by this job.
	ErrorChecksumFilesSkipped int32 `json:"error_checksum_files_skipped"`

	// The number of files with io errors skipped by this job.
	ErrorIoFilesSkipped int32 `json:"error_io_files_skipped"`

	// The number of files with network errors skipped by this job.
	ErrorNetFilesSkipped int32 `json:"error_net_files_skipped"`

	// A list of error messages for this job.
	Errors []string `json:"errors"`

	// Tyhe number of data chunks that failed transmission.
	FailedChunks int32 `json:"failed_chunks"`

	// The number of fifos replicated by this job.
	FifosReplicated int32 `json:"fifos_replicated"`

	// The number of bytes transferred that belong to files.
	FileDataBytes int32 `json:"file_data_bytes"`

	// The number of files changed by this job.
	FilesChanged int32 `json:"files_changed"`

	// The number of files linked by this job.
	FilesLinked int32 `json:"files_linked"`

	// The number of files created by this job.
	FilesNew int32 `json:"files_new"`

	// The number of files selected by this job.
	FilesSelected int32 `json:"files_selected"`

	// The number of files transferred by this job.
	FilesTransferred int32 `json:"files_transferred"`

	// The number of files unlinked by this job.
	FilesUnlinked int32 `json:"files_unlinked"`

	// The number of files with ads replicated by this job.
	FilesWithAdsReplicated int32 `json:"files_with_ads_replicated"`

	// The number of LINs flipped by this job.
	FlippedLins int32 `json:"flipped_lins"`

	// The number of hard links replicated by this job.
	HardLinksReplicated int32 `json:"hard_links_replicated"`

	// The number of hash exceptions fixed by this job.
	HashExceptionsFixed int32 `json:"hash_exceptions_fixed"`

	// The number of hash exceptions found by this job.
	HashExceptionsFound int32 `json:"hash_exceptions_found"`

	// A unique identifier for this object.
	Id string `json:"id"`

	// The ID of the job.
	JobId int32 `json:"job_id,omitempty"`

	// The number of LINs transferred by this job.
	LinsTotal int32 `json:"lins_total"`

	// The total number of bytes sent to the source by this job.
	NetworkBytesToSource int32 `json:"network_bytes_to_source"`

	// The total number of bytes sent to the target by this job.
	NetworkBytesToTarget int32 `json:"network_bytes_to_target"`

	// The number of new files replicated by this job.
	NewFilesReplicated int32 `json:"new_files_replicated"`

	// The number of files that have been retransmitted by this job.
	NumRetransmittedFiles int32 `json:"num_retransmitted_files"`

	// Data for each phase of this job.
	Phases []SyncJobPhase `json:"phases"`

	// The ID of the policy.
	PolicyId string `json:"policy_id"`

	// The name of the policy.
	PolicyName string `json:"policy_name"`

	// The number of regular files replicated by this job.
	RegularFilesReplicated int32 `json:"regular_files_replicated"`

	// The number of LINs resynched by this job.
	ResyncedLins int32 `json:"resynced_lins"`

	// The files that have been retransmitted by this job.
	RetransmittedFiles []string `json:"retransmitted_files"`

	// The number of times the job has been retried.
	Retry int32 `json:"retry"`

	// The number of data chunks currently being transmitted.
	RunningChunks int32 `json:"running_chunks"`

	// The number of sockets replicated by this job.
	SocketsReplicated int32 `json:"sockets_replicated"`

	// The number of bytes recovered on the source.
	SourceBytesRecovered int32 `json:"source_bytes_recovered"`

	// The number of directories created on the source.
	SourceDirectoriesCreated int32 `json:"source_directories_created"`

	// The number of directories deleted on the source.
	SourceDirectoriesDeleted int32 `json:"source_directories_deleted"`

	// The number of directories linked on the source.
	SourceDirectoriesLinked int32 `json:"source_directories_linked"`

	// The number of directories unlinked on the source.
	SourceDirectoriesUnlinked int32 `json:"source_directories_unlinked"`

	// The number of directories visited on the source.
	SourceDirectoriesVisited int32 `json:"source_directories_visited"`

	// The number of files deleted on the source.
	SourceFilesDeleted int32 `json:"source_files_deleted"`

	// The number of files linked on the source.
	SourceFilesLinked int32 `json:"source_files_linked"`

	// The number of files unlinked on the source.
	SourceFilesUnlinked int32 `json:"source_files_unlinked"`

	// Hostname or IP address of sync source cluster.
	SourceHost string `json:"source_host"`

	// The number of sparse data bytes transferred by this job.
	SparseDataBytes int32 `json:"sparse_data_bytes"`

	// The time the job started in unix epoch seconds. The field is null if the job hasn't started.
	StartTime int32 `json:"start_time,omitempty"`

	// The state of the job.
	State string `json:"state"`

	// The number of data chunks that have been transmitted successfully.
	SucceededChunks int32 `json:"succeeded_chunks"`

	// The number of symlinks replicated by this job.
	SymlinksReplicated int32 `json:"symlinks_replicated"`

	// The type of sync being performed by this job.
	SyncType string `json:"sync_type"`

	// The number of bytes recovered on the target.
	TargetBytesRecovered int32 `json:"target_bytes_recovered"`

	// The number of directories created on the target.
	TargetDirectoriesCreated int32 `json:"target_directories_created"`

	// The number of directories deleted on the target.
	TargetDirectoriesDeleted int32 `json:"target_directories_deleted"`

	// The number of directories linked on the target.
	TargetDirectoriesLinked int32 `json:"target_directories_linked"`

	// The number of directories unlinked on the target.
	TargetDirectoriesUnlinked int32 `json:"target_directories_unlinked"`

	// The number of files deleted on the target.
	TargetFilesDeleted int32 `json:"target_files_deleted"`

	// The number of files linked on the target.
	TargetFilesLinked int32 `json:"target_files_linked"`

	// The number of files unlinked on the target.
	TargetFilesUnlinked int32 `json:"target_files_unlinked"`

	// Absolute filesystem path on the target cluster for the sync destination.
	TargetPath string `json:"target_path"`

	// The target snapshots created by this job.
	TargetSnapshots []string `json:"target_snapshots"`

	// The total number of data chunks transmitted by this job.
	TotalChunks int32 `json:"total_chunks"`

	// The total number of bytes transferred by this job.
	TotalDataBytes int32 `json:"total_data_bytes"`

	// The number of files affected by this job.
	TotalFiles int32 `json:"total_files"`

	// The total number of bytes sent over the network by this job.
	TotalNetworkBytes int32 `json:"total_network_bytes"`

	// The total number of phases for this job.
	TotalPhases int32 `json:"total_phases"`

	// The number of bytes unchanged by this job.
	UnchangedDataBytes int32 `json:"unchanged_data_bytes"`

	// The number of up-to-date files skipped by this job.
	UpToDateFilesSkipped int32 `json:"up_to_date_files_skipped"`

	// The number of updated files replicated by this job.
	UpdatedFilesReplicated int32 `json:"updated_files_replicated"`

	// The number of files with user conflicts skipped by this job.
	UserConflictFilesSkipped int32 `json:"user_conflict_files_skipped"`

	// A list of warning messages for this job.
	Warnings []string `json:"warnings"`

	// The number of WORM committed files which needed to be reverted. Since WORM committed files cannot be reverted, this is the number of files that were preserved in the compliance store.
	WormCommittedFileConflicts int32 `json:"worm_committed_file_conflicts"`
}

type ReportsScans ¶

type ReportsScans struct {
	Reports []ReportsScansReport `json:"reports,omitempty"`
}

type ReportsScansExtended ¶

type ReportsScansExtended struct {
	Reports []ReportsScansReport `json:"reports,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type ReportsScansReport ¶

type ReportsScansReport struct {

	// The number of bytes sent to the virus definition server to be scanned.
	BytesSent int32 `json:"bytes_sent,omitempty"`

	// The length of time the job ran for.
	Duration int32 `json:"duration,omitempty"`

	End int32 `json:"end,omitempty"`

	// The number of files scanned.
	Files int32 `json:"files,omitempty"`

	// A unique identifier for the report.
	Id string `json:"id,omitempty"`

	// The number of infections found.
	Infections int32 `json:"infections,omitempty"`

	JobId int32 `json:"job_id,omitempty"`

	// The id of the policy that this scan job executed.
	PolicyId string `json:"policy_id,omitempty"`

	// The cumulative size of the files scanned.
	Size int32 `json:"size,omitempty"`

	Start int32 `json:"start,omitempty"`

	// The state of the job.
	Status string `json:"status,omitempty"`
}

type ReportsThreats ¶

type ReportsThreats struct {
	Reports []ReportsThreatsReport `json:"reports,omitempty"`
}

type ReportsThreatsExtended ¶

type ReportsThreatsExtended struct {
	Reports []ReportsThreatsReport `json:"reports,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type ReportsThreatsReport ¶

type ReportsThreatsReport struct {

	// The file that contained the threat.
	File string `json:"file,omitempty"`

	// A unique identifier for the report.
	Id string `json:"id,omitempty"`

	// The id of the policy that found this threat.
	PolicyId string `json:"policy_id,omitempty"`

	// The action that was taken to remediate the threat.
	Remediation string `json:"remediation,omitempty"`

	// The id of the scan report this threat is associated with.
	ScanId string `json:"scan_id,omitempty"`

	// A description of the threat that was found.
	Threat string `json:"threat,omitempty"`

	Time int32 `json:"time,omitempty"`
}

type ResultDirectories ¶

type ResultDirectories struct {

	// User attribute count.
	AttributeCount int32 `json:"attribute_count"`

	// Directory depth.
	DirDepth int32 `json:"dir_depth"`

	// Disk usage for current directory.
	DirUsage *ResultDirectoriesTotalUsage `json:"dir_usage"`

	// Directory path information from root to current directory.
	PathParts []string `json:"path_parts"`

	// Disk usage from root.
	TotalUsage *ResultDirectoriesTotalUsage `json:"total_usage"`

	// Disk usage for all of immediate children of the current directory.
	UsageData []ResultDirectoriesUsageDataItem `json:"usage_data"`
}

type ResultDirectoriesTotalUsage ¶

type ResultDirectoriesTotalUsage struct {

	// Number of alternate data streams.
	AdsCnt int32 `json:"ads_cnt"`

	// Number of directories.
	DirCnt int32 `json:"dir_cnt"`

	// Number of files.
	FileCnt int32 `json:"file_cnt"`

	// Logical inode number.
	Lin int32 `json:"lin"`

	// Logical size directory in bytes.
	LogSizeSum int32 `json:"log_size_sum"`

	// Logical size sum of overflow in bytes.
	LogSizeSumOverflow int32 `json:"log_size_sum_overflow"`

	// Name of directory.
	Name string `json:"name"`

	// Other count.
	OtherCnt int32 `json:"other_cnt"`

	// Parent directory inode.
	Parent int32 `json:"parent"`

	// Physical size directory in bytes.
	PhysSizeSum int32 `json:"phys_size_sum"`
}

type ResultDirectoriesUsageDataItem ¶

type ResultDirectoriesUsageDataItem struct {

	// Number of alternate data streams.
	AdsCnt int32 `json:"ads_cnt"`

	// Number of directories.
	DirCnt int32 `json:"dir_cnt"`

	// Number of files.
	FileCnt int32 `json:"file_cnt"`

	// Defines if directory has subdirectories.
	HasSubdirs bool `json:"has_subdirs"`

	// Logical inode number.
	Lin int32 `json:"lin"`

	// Logical size directory in bytes.
	LogSizeSum int32 `json:"log_size_sum"`

	// Logical size sum of overflow in bytes.
	LogSizeSumOverflow int32 `json:"log_size_sum_overflow"`

	// Name of directory.
	Name string `json:"name"`

	// Other count.
	OtherCnt int32 `json:"other_cnt"`

	// Parent directory inode.
	Parent int32 `json:"parent"`

	// Physical size directory in bytes.
	PhysSizeSum int32 `json:"phys_size_sum"`
}

type ResultHistogram ¶

type ResultHistogram struct {

	// Access time enabled.
	AtimeEnabled bool `json:"atime_enabled"`

	// User attribute count.
	AttributeCount int32 `json:"attribute_count"`

	// Unix Epoch time of start of results collection job.
	BeginTime int32 `json:"begin_time"`

	// Histogram data of specified file count parameter.
	Histogram []ResultHistogramHistogramItem `json:"histogram"`
}

type ResultHistogramHistogramItem ¶

type ResultHistogramHistogramItem struct {

	// Bucket for holding file counts within a range.
	Bucket int32 `json:"bucket"`

	// Number of files within the bucket.
	Value int32 `json:"value"`
}

type ResultTopDirs ¶

type ResultTopDirs struct {

	// Change in directory ranking from result set comparison.
	Change int32 `json:"change,omitempty"`

	// Directory access time enabled.
	DirAtimeEnabled bool `json:"dir_atime_enabled"`

	// Directory listing.
	Dirs []ResultTopDirsDir `json:"dirs"`

	// Limit on number of top results.
	TopNMax int32 `json:"top_n_max"`

	// Total count of directory results.
	TotalCount int32 `json:"total_count"`
}

type ResultTopDirsDir ¶

type ResultTopDirsDir struct {

	// Directory access time
	Atime int32 `json:"atime"`

	// Directory creation begin time.
	Btime int32 `json:"btime"`

	// Unix inode change time.
	Ctime int32 `json:"ctime"`

	// Relative directory path under /ifs/.
	Path string `json:"path"`
}

type ResultTopFiles ¶

type ResultTopFiles struct {

	// Access time enabled.
	AtimeEnabled bool `json:"atime_enabled"`

	// Change in file ranking from result set comparison.
	Change int32 `json:"change,omitempty"`

	// Directory access time enabled.
	DirAtimeEnabled bool `json:"dir_atime_enabled"`

	// Files listing.
	Files []ResultTopFilesFile `json:"files"`

	// Limit on number of top results.
	TopNMax int32 `json:"top_n_max"`

	// Total count of file results.
	TotalCount int32 `json:"total_count"`
}

type ResultTopFilesFile ¶

type ResultTopFilesFile struct {

	// File access time.
	Atime int32 `json:"atime"`

	// File creation begin time.
	Btime int32 `json:"btime"`

	// Unix inode change time.
	Ctime int32 `json:"ctime"`

	// Logical file size in bytes.
	LogSize int32 `json:"log_size"`

	// Relative file path under /ifs/.
	Path string `json:"path"`

	// Physical file size in bytes.
	PhysSize int32 `json:"phys_size"`
}

type RolePrivileges ¶

type RolePrivileges struct {
	Privileges []AuthIdNtokenPrivilegeItem `json:"privileges,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`
}

type SettingsAccessTime ¶

type SettingsAccessTime struct {

	//
	Settings *SettingsAccessTimeSettings `json:"settings,omitempty"`
}

type SettingsAccessTimeExtended ¶

type SettingsAccessTimeExtended struct {

	// Enable access time tracking.
	Enabled bool `json:"enabled,omitempty"`

	// Access time tracked on each cluster file accurate to this number of seconds.
	Precision int32 `json:"precision,omitempty"`
}

type SettingsAccessTimeSettings ¶

type SettingsAccessTimeSettings struct {

	// Enable access time tracking.
	Enabled bool `json:"enabled"`

	// Access time tracked in seconds for each cluster file if enabled.
	Precision int32 `json:"precision"`
}

type SettingsAcls ¶

type SettingsAcls struct {

	// ACL policies settings.
	AclPolicySettings *SettingsAclsAclPolicySettings `json:"acl_policy_settings,omitempty"`
}

type SettingsAclsAclPolicySettings ¶

type SettingsAclsAclPolicySettings struct {

	// Access checks (chmod, chown).
	Access string `json:"access,omitempty"`

	// Displayed mode bits.
	Calcmode string `json:"calcmode,omitempty"`

	// Approximate group mode bits when ACL exists.
	CalcmodeGroup string `json:"calcmode_group,omitempty"`

	// Approximate owner mode bits when ACL exists.
	CalcmodeOwner string `json:"calcmode_owner,omitempty"`

	// chmod on files with existing ACLs.
	Chmod string `json:"chmod,omitempty"`

	// chmod (007) on files with existing ACLs.
	Chmod007 string `json:"chmod_007,omitempty"`

	// ACLs created on directories by UNIX chmod.
	ChmodInheritable string `json:"chmod_inheritable,omitempty"`

	// chown/chgrp on files with existing ACLs.
	Chown string `json:"chown,omitempty"`

	// ACL creation over SMB.
	CreateOverSmb string `json:"create_over_smb,omitempty"`

	//  Read only DOS attribute.
	DosAttr string `json:"dos_attr,omitempty"`

	// Group owner inheritance.
	GroupOwnerInheritance string `json:"group_owner_inheritance,omitempty"`

	// Treatment of 'rwx' permissions.
	Rwx string `json:"rwx,omitempty"`

	// Synthetic 'deny' ACEs.
	SyntheticDenies string `json:"synthetic_denies,omitempty"`

	// Access check (utimes)
	Utimes string `json:"utimes,omitempty"`
}

type SettingsAclsExtended ¶

type SettingsAclsExtended struct {

	// Access checks (chmod, chown).
	Access string `json:"access,omitempty"`

	// Displayed mode bits.
	Calcmode string `json:"calcmode,omitempty"`

	// Approximate group mode bits when ACL exists.
	CalcmodeGroup string `json:"calcmode_group,omitempty"`

	// Approximate owner mode bits when ACL exists.
	CalcmodeOwner string `json:"calcmode_owner,omitempty"`

	// chmod on files with existing ACLs.
	Chmod string `json:"chmod,omitempty"`

	// chmod (007) on files with existing ACLs.
	Chmod007 string `json:"chmod_007,omitempty"`

	// ACLs created on directories by UNIX chmod.
	ChmodInheritable string `json:"chmod_inheritable,omitempty"`

	// chown/chgrp on files with existing ACLs.
	Chown string `json:"chown,omitempty"`

	// ACL creation over SMB.
	CreateOverSmb string `json:"create_over_smb,omitempty"`

	//  Read only DOS attribute.
	DosAttr string `json:"dos_attr,omitempty"`

	// Group owner inheritance.
	GroupOwnerInheritance string `json:"group_owner_inheritance,omitempty"`

	// Treatment of 'rwx' permissions.
	Rwx string `json:"rwx,omitempty"`

	// Synthetic 'deny' ACEs.
	SyntheticDenies string `json:"synthetic_denies,omitempty"`

	// Access check (utimes)
	Utimes string `json:"utimes,omitempty"`
}

ACL policies settings.

type SettingsCharacterEncodings ¶

type SettingsCharacterEncodings struct {

	//
	Settings *SettingsCharacterEncodingsSettings `json:"settings,omitempty"`
}

type SettingsCharacterEncodingsExtended ¶

type SettingsCharacterEncodingsExtended struct {

	// Current character encoding.
	CurrentEncoding string `json:"current-encoding,omitempty"`
}

type SettingsCharacterEncodingsSettings ¶

type SettingsCharacterEncodingsSettings struct {

	// Current character encoding.
	CurrentEncoding string `json:"current-encoding"`

	// Default character encoding.
	DefaultEncoding string `json:"default-encoding"`

	// A list of supported encoding values.
	Encodings []string `json:"encodings"`
}

type SettingsGlobal ¶

type SettingsGlobal struct {

	// Specifies the properties for global authentication settings.
	GlobalSettings *SettingsGlobalGlobalSettings `json:"global_settings,omitempty"`
}

type SettingsGlobalExtended ¶

type SettingsGlobalExtended struct {

	// Settings for Audit.
	Settings *SettingsGlobalSettings `json:"settings,omitempty"`
}

type SettingsGlobalGlobalSettings ¶

type SettingsGlobalGlobalSettings struct {

	// Specifies the number of times to retry an ID allocation before failing.
	AllocRetries int32 `json:"alloc_retries,omitempty"`

	// If true, allocates GIDs from a fixed range.
	GidRangeEnabled bool `json:"gid_range_enabled,omitempty"`

	// Specifies the ending number for a fixed range from which GIDs are allocated.
	GidRangeMax int32 `json:"gid_range_max,omitempty"`

	// Specifies the starting number for a fixed range from which GIDs are allocated.
	GidRangeMin int32 `json:"gid_range_min,omitempty"`

	// Specifies the next GID to allocate.
	GidRangeNext int32 `json:"gid_range_next,omitempty"`

	// Specifies the user iD for a group when requested by the kernel.
	GroupUid int32 `json:"group_uid,omitempty"`

	// Specifies which providers are loaded by the authentication daemon (lsassd).
	LoadProviders []string `json:"load_providers,omitempty"`

	// Starts the RID in the local domain to map a UID and a GID.
	MinMappedRid int32 `json:"min_mapped_rid,omitempty"`

	// Specifies an alternative GID when the kernel is unable to retrieve a GID for a persona.
	NullGid int32 `json:"null_gid,omitempty"`

	// Specifies an alternative UID when the kernel is unable to retrieve a UID for a persona.
	NullUid int32 `json:"null_uid,omitempty"`

	// Specifies the type of identity that is stored on disk.
	OnDiskIdentity string `json:"on_disk_identity,omitempty"`

	// Specifies the minimum amount of time in milliseconds to wait before performing an oprestart.
	RpcBlockTime int32 `json:"rpc_block_time,omitempty"`

	// Specifies the maximum number of outstanding RPC requests.
	RpcMaxRequests int32 `json:"rpc_max_requests,omitempty"`

	// Specifies the maximum amount of time in seconds to wait for an idmap response.
	RpcTimeout int32 `json:"rpc_timeout,omitempty"`

	// If true, sends NTLMv2 responses.
	SendNtlmv2 bool `json:"send_ntlmv2,omitempty"`

	// Specifies the space replacement character.
	SpaceReplacement string `json:"space_replacement,omitempty"`

	// Specifies the minimum GID to attempt to look up in the idmap database.
	SystemGidThreshold int32 `json:"system_gid_threshold,omitempty"`

	// Specifies the minimum UID to attempt to look up in the idmap database.
	SystemUidThreshold int32 `json:"system_uid_threshold,omitempty"`

	// If true, allocates UIDs from a fixed range.
	UidRangeEnabled bool `json:"uid_range_enabled,omitempty"`

	// Specifies the ending number for a fixed range from which UIDs are allocated.
	UidRangeMax int32 `json:"uid_range_max,omitempty"`

	// Specifies the starting number for a fixed range from which UIDs are allocated.
	UidRangeMin int32 `json:"uid_range_min,omitempty"`

	// Specifies the next UID to allocate.
	UidRangeNext int32 `json:"uid_range_next,omitempty"`

	// Specifies the GID for the unknown (anonymous) group.
	UnknownGid int32 `json:"unknown_gid,omitempty"`

	// Specifies the UID for the unknown (anonymous) user.
	UnknownUid int32 `json:"unknown_uid,omitempty"`

	// Specifies the maximum size (in bytes) of the security object cache in the authentication daemon.
	UserObjectCacheSize int32 `json:"user_object_cache_size,omitempty"`

	// Specifies the NetBIOS workgroup or domain.
	Workgroup string `json:"workgroup,omitempty"`
}

type SettingsGlobalSettings ¶

type SettingsGlobalSettings struct {

	// Specifies zones that are audited when the protocol_auditing_enabled property is enabled.
	AuditedZones []string `json:"audited_zones,omitempty"`

	// Specifies that events past a certain date are forwarded by the audit CEE forwarder. Format these events as follows: 'Topic@YYYY-MM-DD HH:MM:SS'.
	CeeLogTime string `json:"cee_log_time,omitempty"`

	// Specifies a list of Common Event Enabler (CEE) server URIs. Protocol audit logs are sent to these URIs for external processing.
	CeeServerUris []string `json:"cee_server_uris,omitempty"`

	// Specifies whether logging for API configuration changes are enabled.
	ConfigAuditingEnabled bool `json:"config_auditing_enabled,omitempty"`

	// Specifies whether configuration audit syslog messages are forwarded.
	ConfigSyslogEnabled bool `json:"config_syslog_enabled,omitempty"`

	// Specifies the hostname that is reported in protocol events from this cluster.
	Hostname string `json:"hostname,omitempty"`

	// Specifies if logging for the I/O stream is enabled.
	ProtocolAuditingEnabled bool `json:"protocol_auditing_enabled,omitempty"`

	// Specifies that events past a specified date are forwarded by the audit syslog forwarder. Format these events as follows: 'Topic@YYYY-MM-DD HH:MM:SS' format
	SyslogLogTime string `json:"syslog_log_time,omitempty"`
}

type SettingsKrb5Defaults ¶

type SettingsKrb5Defaults struct {

	// Specifies the properties for the global Kerberos authentication settings.
	Krb5Settings *SettingsKrb5DefaultsKrb5Settings `json:"krb5_settings,omitempty"`
}

type SettingsKrb5DefaultsKrb5Settings ¶

type SettingsKrb5DefaultsKrb5Settings struct {

	// If true, allow the use of DES encryption
	AllowWeakCrypto bool `json:"allow_weak_crypto,omitempty"`

	// If true, always attempts to preauthenticate to the domain controller.
	AlwaysSendPreauth bool `json:"always_send_preauth,omitempty"`

	// Specifies the realm for unqualified names.
	DefaultRealm string `json:"default_realm,omitempty"`

	// If true, find KDCs through the DNS.
	DnsLookupKdc bool `json:"dns_lookup_kdc,omitempty"`

	// If true, find realm names through the DNS.
	DnsLookupRealm bool `json:"dns_lookup_realm,omitempty"`
}

type SettingsKrb5Domain ¶

type SettingsKrb5Domain struct {

	// Specifies the name of the realm.
	Realm string `json:"realm,omitempty"`
}

Specifies the Kerberos settings for domain-realm mappings.

type SettingsKrb5DomainCreateParams ¶

type SettingsKrb5DomainCreateParams struct {

	// Specifies the name of the realm.
	Realm string `json:"realm"`

	// Specifies the name of the domain.
	Domain string `json:"domain"`
}

type SettingsKrb5Domains ¶

type SettingsKrb5Domains struct {
	Domain []SettingsKrb5DomainsDomainItem `json:"domain,omitempty"`
}

type SettingsKrb5DomainsDomainItem ¶

type SettingsKrb5DomainsDomainItem struct {

	// Specifies the name of the domain.
	Domain string `json:"domain,omitempty"`

	// ID of the domain
	Id string `json:"id,omitempty"`

	// Specifies the name of the realm.
	Realm string `json:"realm,omitempty"`
}

type SettingsKrb5Realm ¶

type SettingsKrb5Realm struct {

	// Specifies the administrative server hostname.
	AdminServer string `json:"admin_server,omitempty"`

	// Specifies the default domain mapped to the realm.
	DefaultDomain string `json:"default_domain,omitempty"`

	// If true, indicates that the realm is the default.
	IsDefaultRealm bool `json:"is_default_realm,omitempty"`

	// Specifies the list of KDC hostnames.
	Kdc []string `json:"kdc,omitempty"`
}

Specifies the Kerberos settings for realm access.

type SettingsKrb5RealmCreateParams ¶

type SettingsKrb5RealmCreateParams struct {

	// Specifies the administrative server hostname.
	AdminServer string `json:"admin_server,omitempty"`

	// Specifies the default domain mapped to the realm.
	DefaultDomain string `json:"default_domain,omitempty"`

	// If true, indicates that the realm is the default.
	IsDefaultRealm bool `json:"is_default_realm,omitempty"`

	// Specifies the list of KDC hostnames.
	Kdc []string `json:"kdc,omitempty"`

	// Specifies the name of the realm.
	Realm string `json:"realm"`
}

type SettingsKrb5Realms ¶

type SettingsKrb5Realms struct {
	Realm []SettingsKrb5RealmsRealmItem `json:"realm,omitempty"`
}

type SettingsKrb5RealmsRealmItem ¶

type SettingsKrb5RealmsRealmItem struct {

	// Specifies the administrative server hostname.
	AdminServer string `json:"admin_server,omitempty"`

	// Specifies the default domain mapped to the realm.
	DefaultDomain string `json:"default_domain,omitempty"`

	// ID of realm
	Id string `json:"id,omitempty"`

	// If true, indicates that the realm is the default.
	IsDefaultRealm bool `json:"is_default_realm,omitempty"`

	// If true, indicates that the realm is joined.
	IsJoined bool `json:"is_joined,omitempty"`

	// Specifies the list of KDC hostnames.
	Kdc []string `json:"kdc,omitempty"`

	// Specifies the name of the realm.
	Realm string `json:"realm,omitempty"`
}

type SettingsMapping ¶

type SettingsMapping struct {

	// Specifies the properties for global authentication setting.
	MappingSettings *SettingsMappingMappingSettings `json:"mapping_settings,omitempty"`
}

type SettingsMappingExtended ¶

type SettingsMappingExtended struct {

	// The FQDN of destination domain to map to.
	Mapping string `json:"mapping"`
}

type SettingsMappingExtendedExtended ¶

type SettingsMappingExtendedExtended struct {

	// The FQDN of the source domain to map.
	Domain string `json:"domain"`

	// The FQDN of destination domain to map to.
	Mapping string `json:"mapping"`

	// The authentication provider type.
	Type_ string `json:"type"`
}

type SettingsMappingMappingSettings ¶

type SettingsMappingMappingSettings struct {

	// Specifies the cache expiry in seconds of the idmapper.
	CacheEntryExpiry int32 `json:"cache_entry_expiry,omitempty"`

	// If true, allocates GIDs from a fixed range.
	GidRangeEnabled bool `json:"gid_range_enabled,omitempty"`

	// Specifies the ending number for a fixed range from which GIDs are allocated.
	GidRangeMax int32 `json:"gid_range_max,omitempty"`

	// Specifies the starting number for a fixed range from which GIDs are allocated.
	GidRangeMin int32 `json:"gid_range_min,omitempty"`

	// Specifies the next GID to allocate.
	GidRangeNext int32 `json:"gid_range_next,omitempty"`

	// If true, allocates UIDs from a fixed range.
	UidRangeEnabled bool `json:"uid_range_enabled,omitempty"`

	// Specifies the ending number for a fixed range from which UIDs are allocated.
	UidRangeMax int32 `json:"uid_range_max,omitempty"`

	// Specifies the starting number for a fixed range from which UIDs are allocated.
	UidRangeMin int32 `json:"uid_range_min,omitempty"`

	// Specifies the next UID to allocate.
	UidRangeNext int32 `json:"uid_range_next,omitempty"`
}

type SettingsMappings ¶

type SettingsMappings struct {
	Mappings []SettingsMappingExtendedExtended `json:"mappings,omitempty"`
}

type SettingsReportingEulaItem ¶

type SettingsReportingEulaItem struct {

	// Indicates whether the telemetry collection warning has been acknowledged
	Accepted bool `json:"accepted,omitempty"`

	// The body of the telemetry collection warning
	Body string `json:"body,omitempty"`
}

type SettingsReports ¶

type SettingsReports struct {

	//
	Settings *SettingsReportsSettings `json:"settings,omitempty"`
}

type SettingsReportsExtended ¶

type SettingsReportsExtended struct {

	// The directory on /ifs where manual or live reports will be placed.
	LiveDir string `json:"live_dir,omitempty"`

	// The number of manual reports to keep.
	LiveRetain int32 `json:"live_retain,omitempty"`

	// The isidate schedule used to generate reports.
	Schedule string `json:"schedule,omitempty"`

	// The directory on /ifs where schedule reports will be placed.
	ScheduledDir string `json:"scheduled_dir,omitempty"`

	// The number of scheduled reports to keep.
	ScheduledRetain int32 `json:"scheduled_retain,omitempty"`
}

type SettingsReportsSettings ¶

type SettingsReportsSettings struct {

	// The directory on /ifs where manual or live reports will be placed.
	LiveDir string `json:"live_dir"`

	// The number of manual reports to keep.
	LiveRetain int32 `json:"live_retain"`

	// The isidate schedule used to generate reports.
	Schedule string `json:"schedule"`

	// The directory on /ifs where schedule reports will be placed.
	ScheduledDir string `json:"scheduled_dir"`

	// The number of scheduled reports to keep.
	ScheduledRetain int32 `json:"scheduled_retain"`
}

type SmbLogLevel ¶

type SmbLogLevel struct {

	// Valid SMB logging levels
	Level string `json:"level,omitempty"`
}

type SmbLogLevelFilter ¶

type SmbLogLevelFilter struct {

	// Array of client IP addresses to filter against.
	IpAddrs []string `json:"ip_addrs,omitempty"`

	// Logging level of the filter.
	Level string `json:"level"`

	// Array of SMB operations to filter against.
	Ops []string `json:"ops,omitempty"`
}

type SmbLogLevelFilters ¶

type SmbLogLevelFilters struct {
	Filters []SmbLogLevelFiltersFilter `json:"filters,omitempty"`
}

type SmbLogLevelFiltersFilter ¶

type SmbLogLevelFiltersFilter struct {

	// Unique ID of the log filter.
	Id int32 `json:"id,omitempty"`

	// Array of client IP addresses to filter against.
	IpAddrs []string `json:"ip_addrs,omitempty"`

	// Logging level of the filter.
	Level string `json:"level"`

	// Array of SMB operations to filter against.
	Ops []string `json:"ops,omitempty"`
}

type SmbOpenfile ¶

type SmbOpenfile struct {

	// Path of file within /ifs.
	File string `json:"file"`

	// The file ID.
	Id int32 `json:"id"`

	// Number of locks user holds on file.
	Locks int32 `json:"locks"`

	// The user's permissions on file.
	Permissions []string `json:"permissions"`

	// User holding file open.
	User string `json:"user"`
}

type SmbOpenfiles ¶

type SmbOpenfiles struct {
	Openfiles []SmbOpenfile `json:"openfiles,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type SmbSession ¶

type SmbSession struct {

	// Number of seconds since session start.
	ActiveTime int32 `json:"active_time"`

	// Client type.
	ClientType string `json:"client_type"`

	// Client internet address.
	Computer string `json:"computer"`

	// True if session is encrypted.
	Encryption bool `json:"encryption"`

	// True for guest logins.
	GuestLogin bool `json:"guest_login"`

	// The session ID.
	Id int32 `json:"id"`

	// Number of seconds since last client operation.
	IdleTime int32 `json:"idle_time"`

	// Number of files open by client.
	Openfiles int32 `json:"openfiles"`

	// Local user name.
	User string `json:"user"`
}

type SmbSessions ¶

type SmbSessions struct {

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	Sessions []SmbSession `json:"sessions,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type SmbSettingsGlobal ¶

type SmbSettingsGlobal struct {

	//
	Settings *SmbSettingsGlobalSettings `json:"settings,omitempty"`
}

type SmbSettingsGlobalExtended ¶

type SmbSettingsGlobalExtended struct {

	// Only enumerate files and folders the requesting user has access to.
	AccessBasedShareEnum bool `json:"access_based_share_enum,omitempty"`

	// Specify level of file share audit events to log.
	AuditFileshare string `json:"audit_fileshare,omitempty"`

	// Specifies a list of permissions to audit.
	AuditGlobalSacl []SmbSettingsGlobalSettingsAuditGlobalSaclItem `json:"audit_global_sacl,omitempty"`

	// Specify the level of logon audit events to log.
	AuditLogon string `json:"audit_logon,omitempty"`

	// Allow access to .snapshot directories in share subdirectories.
	DotSnapAccessibleChild bool `json:"dot_snap_accessible_child,omitempty"`

	// Allow access to the .snapshot directory in the root of the share.
	DotSnapAccessibleRoot bool `json:"dot_snap_accessible_root,omitempty"`

	// Show .snapshot directories in share subdirectories.
	DotSnapVisibleChild bool `json:"dot_snap_visible_child,omitempty"`

	// Show the .snapshot directory in the root of a share.
	DotSnapVisibleRoot bool `json:"dot_snap_visible_root,omitempty"`

	// Indicates whether the server supports signed SMB packets.
	EnableSecuritySignatures bool `json:"enable_security_signatures,omitempty"`

	// Specifies the fully-qualified user to use for guest access.
	GuestUser string `json:"guest_user,omitempty"`

	// Specify whether to ignore EAs on files.
	IgnoreEas bool `json:"ignore_eas,omitempty"`

	// Specify the number of OneFS driver worker threads per CPU.
	OnefsCpuMultiplier int32 `json:"onefs_cpu_multiplier,omitempty"`

	// Set the maximum number of OneFS driver worker threads.
	OnefsNumWorkers int32 `json:"onefs_num_workers,omitempty"`

	// Indicates whether the server requires signed SMB packets.
	RequireSecuritySignatures bool `json:"require_security_signatures,omitempty"`

	// Enable Server Side Copy.
	ServerSideCopy bool `json:"server_side_copy,omitempty"`

	// Provides a description of the server.
	ServerString string `json:"server_string,omitempty"`

	// Specify whether service is enabled.
	Service bool `json:"service,omitempty"`

	// Specify the number of SRV service worker threads per CPU.
	SrvCpuMultiplier int32 `json:"srv_cpu_multiplier,omitempty"`

	// Set the maximum number of SRV service worker threads.
	SrvNumWorkers int32 `json:"srv_num_workers,omitempty"`

	// Support multichannel.
	SupportMultichannel bool `json:"support_multichannel,omitempty"`

	// Support NetBIOS.
	SupportNetbios bool `json:"support_netbios,omitempty"`

	// Support the SMB2 protocol on the server.
	SupportSmb2 bool `json:"support_smb2,omitempty"`
}

type SmbSettingsGlobalSettings ¶

type SmbSettingsGlobalSettings struct {

	// Only enumerate files and folders the requesting user has access to.
	AccessBasedShareEnum bool `json:"access_based_share_enum,omitempty"`

	// Specify level of file share audit events to log.
	AuditFileshare string `json:"audit_fileshare,omitempty"`

	// Specifies a list of permissions to audit.
	AuditGlobalSacl []SmbSettingsGlobalSettingsAuditGlobalSaclItem `json:"audit_global_sacl,omitempty"`

	// Specify the level of logon audit events to log.
	AuditLogon string `json:"audit_logon,omitempty"`

	// Allow access to .snapshot directories in share subdirectories.
	DotSnapAccessibleChild bool `json:"dot_snap_accessible_child,omitempty"`

	// Allow access to the .snapshot directory in the root of the share.
	DotSnapAccessibleRoot bool `json:"dot_snap_accessible_root,omitempty"`

	// Show .snapshot directories in share subdirectories.
	DotSnapVisibleChild bool `json:"dot_snap_visible_child,omitempty"`

	// Show the .snapshot directory in the root of a share.
	DotSnapVisibleRoot bool `json:"dot_snap_visible_root,omitempty"`

	// Indicates whether the server supports signed SMB packets.
	EnableSecuritySignatures bool `json:"enable_security_signatures,omitempty"`

	// Specifies the fully-qualified user to use for guest access.
	GuestUser string `json:"guest_user,omitempty"`

	// Specify whether to ignore EAs on files.
	IgnoreEas bool `json:"ignore_eas,omitempty"`

	// Specify the number of OneFS driver worker threads per CPU.
	OnefsCpuMultiplier int32 `json:"onefs_cpu_multiplier,omitempty"`

	// Set the maximum number of OneFS driver worker threads.
	OnefsNumWorkers int32 `json:"onefs_num_workers,omitempty"`

	// Indicates whether the server requires signed SMB packets.
	RequireSecuritySignatures bool `json:"require_security_signatures,omitempty"`

	// Enable Server Side Copy.
	ServerSideCopy bool `json:"server_side_copy,omitempty"`

	// Provides a description of the server.
	ServerString string `json:"server_string,omitempty"`

	// Specify whether service is enabled.
	Service bool `json:"service,omitempty"`

	// Specify the number of SRV service worker threads per CPU.
	SrvCpuMultiplier int32 `json:"srv_cpu_multiplier,omitempty"`

	// Set the maximum number of SRV service worker threads.
	SrvNumWorkers int32 `json:"srv_num_workers,omitempty"`

	// Support multichannel.
	SupportMultichannel bool `json:"support_multichannel,omitempty"`

	// Support NetBIOS.
	SupportNetbios bool `json:"support_netbios,omitempty"`

	// Support the SMB2 protocol on the server.
	SupportSmb2 bool `json:"support_smb2,omitempty"`
}

type SmbSettingsGlobalSettingsAuditGlobalSaclItem ¶

type SmbSettingsGlobalSettingsAuditGlobalSaclItem struct {

	// Determines if audit is performed on success or failure.
	Flags string `json:"flags"`

	// Specifies the array of filesystem rights that are governed.
	Permission []string `json:"permission"`
}

type SmbSettingsShare ¶

type SmbSettingsShare struct {

	//
	Settings *SmbSettingsShareSettings `json:"settings"`
}

type SmbSettingsShareExtended ¶

type SmbSettingsShareExtended 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"`

	// 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"`

	// Specify level of change notification alerts on the share.
	ChangeNotify string `json:"change_notify,omitempty"`

	// Set the 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"`

	// Unix umask or mode bits.
	DirectoryCreateMask int32 `json:"directory_create_mask,omitempty"`

	// Unix umask or mode bits.
	DirectoryCreateMode int32 `json:"directory_create_mode,omitempty"`

	// Unix umask or mode bits.
	FileCreateMask int32 `json:"file_create_mask,omitempty"`

	// Unix umask or 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 the share.
	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"`

	// 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"`

	// Support NTFS ACLs on files and directories.
	NtfsAclSupport bool `json:"ntfs_acl_support,omitempty"`

	// Allow oplock requests.
	Oplocks bool `json:"oplocks,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 in which to update settings
	Zone string `json:"zone,omitempty"`
}

type SmbSettingsShareSettings ¶

type SmbSettingsShareSettings 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"`

	// 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"`

	// Specify level of change notification alerts on the share.
	ChangeNotify string `json:"change_notify,omitempty"`

	// Set the 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"`

	// Unix umask or mode bits.
	DirectoryCreateMask int32 `json:"directory_create_mask,omitempty"`

	// Unix umask or mode bits.
	DirectoryCreateMode int32 `json:"directory_create_mode,omitempty"`

	// Unix umask or mode bits.
	FileCreateMask int32 `json:"file_create_mask,omitempty"`

	// Unix umask or 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 the share.
	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"`

	// 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"`

	// Support NTFS ACLs on files and directories.
	NtfsAclSupport bool `json:"ntfs_acl_support,omitempty"`

	// Allow oplock requests.
	Oplocks bool `json:"oplocks,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 in which to update settings
	Zone string `json:"zone,omitempty"`
}

type SmbShare ¶

type SmbShare 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 []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"`

	// Name of the access zone to which to move this SMB share
	Zone string `json:"zone,omitempty"`
}

type SmbShareCreateParams ¶

type SmbShareCreateParams 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 []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"`

	// Name of the access zone to which to move this SMB share
	Zone string `json:"zone,omitempty"`
}

type SmbShareExtended ¶

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"`
}

type SmbSharePermission ¶

type SmbSharePermission 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"`

	// Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.
	Trustee *AuthAccessAccessItemFileGroup `json:"trustee"`
}

type SmbShares ¶

type SmbShares struct {
	Shares []SmbShareExtended `json:"shares,omitempty"`
}

type SmbSharesExtended ¶

type SmbSharesExtended struct {
	Shares []SmbShareExtended `json:"shares,omitempty"`

	// An identifier for a set of shares.
	Digest string `json:"digest,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type SmbSharesSummary ¶

type SmbSharesSummary struct {

	//
	Summary *SmbSharesSummarySummary `json:"summary,omitempty"`
}

type SmbSharesSummarySummary ¶

type SmbSharesSummarySummary struct {

	// Total number of shares.
	Count int32 `json:"count"`
}

type SnapshotAlias ¶

type SnapshotAlias struct {

	// The user or system supplied snapshot alias name.
	Name string `json:"name,omitempty"`

	// Target snapshot for this snapshot alias.
	Target string `json:"target,omitempty"`
}

type SnapshotAliasCreateParams ¶

type SnapshotAliasCreateParams struct {

	// The user or system supplied snapshot name.
	Name string `json:"name"`

	// Snapshot name target for the alias.
	Target string `json:"target"`
}

type SnapshotAliasExtended ¶

type SnapshotAliasExtended struct {

	// The Unix Epoch time the snapshot alias was created.
	Created int32 `json:"created"`

	// The system ID given to the snapshot alias.
	Id int32 `json:"id"`

	// The user or system supplied snapshot alias name.
	Name string `json:"name"`

	// The ID of the snapshot pointed to.
	TargetId int32 `json:"target_id"`

	// The name of the snapshot pointed to.
	TargetName string `json:"target_name"`
}

type SnapshotAliases ¶

type SnapshotAliases struct {
	Aliases []SnapshotAliasExtended `json:"aliases,omitempty"`
}

type SnapshotAliasesExtended ¶

type SnapshotAliasesExtended struct {
	Aliases []SnapshotAliasExtended `json:"aliases,omitempty"`

	// Resume token value to use in subsequent calls for continuation.
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type SnapshotApiService ¶

type SnapshotApiService service

func (*SnapshotApiService) CreateSnapshotAlias ¶

SnapshotApiService Create a new snapshot alias. * @param ctx context.Context for authentication, logging, tracing, etc. @param snapshotAlias @return CreateSnapshotAliasResponse

func (*SnapshotApiService) CreateSnapshotChangelist ¶

func (a *SnapshotApiService) CreateSnapshotChangelist(ctx context.Context, snapshotChangelist SnapshotChangelists) (CreateSnapshotChangelistResponse, *http.Response, error)

SnapshotApiService Create a new changelist. * @param ctx context.Context for authentication, logging, tracing, etc. @param snapshotChangelist @return CreateSnapshotChangelistResponse

func (*SnapshotApiService) CreateSnapshotRepstate ¶

func (a *SnapshotApiService) CreateSnapshotRepstate(ctx context.Context, snapshotRepstate SnapshotRepstates) (CreateSnapshotRepstateResponse, *http.Response, error)

SnapshotApiService Create a new repstates. * @param ctx context.Context for authentication, logging, tracing, etc. @param snapshotRepstate @return CreateSnapshotRepstateResponse

func (*SnapshotApiService) CreateSnapshotSchedule ¶

SnapshotApiService Create a new schedule. * @param ctx context.Context for authentication, logging, tracing, etc. @param snapshotSchedule @return CreateSnapshotScheduleResponse

func (*SnapshotApiService) CreateSnapshotSnapshot ¶

func (a *SnapshotApiService) CreateSnapshotSnapshot(ctx context.Context, snapshotSnapshot SnapshotSnapshotCreateParams) (SnapshotSnapshotExtended, *http.Response, error)

SnapshotApiService Create a new snapshot. * @param ctx context.Context for authentication, logging, tracing, etc. @param snapshotSnapshot @return SnapshotSnapshotExtended

func (*SnapshotApiService) DeleteSnapshotAlias ¶

func (a *SnapshotApiService) DeleteSnapshotAlias(ctx context.Context, snapshotAliasId string) (*http.Response, error)

SnapshotApiService Delete the snapshot alias * @param ctx context.Context for authentication, logging, tracing, etc. @param snapshotAliasId Delete the snapshot alias @return

func (*SnapshotApiService) DeleteSnapshotAliases ¶

func (a *SnapshotApiService) DeleteSnapshotAliases(ctx context.Context) (*http.Response, error)

SnapshotApiService Delete all or matching snapshot aliases. * @param ctx context.Context for authentication, logging, tracing, etc. @return

func (*SnapshotApiService) DeleteSnapshotChangelist ¶

func (a *SnapshotApiService) DeleteSnapshotChangelist(ctx context.Context, snapshotChangelistId string) (*http.Response, error)

SnapshotApiService Delete the specified changelist. * @param ctx context.Context for authentication, logging, tracing, etc. @param snapshotChangelistId Delete the specified changelist. @return

func (*SnapshotApiService) DeleteSnapshotRepstate ¶

func (a *SnapshotApiService) DeleteSnapshotRepstate(ctx context.Context, snapshotRepstateId string) (*http.Response, error)

SnapshotApiService Delete the specified repstate. * @param ctx context.Context for authentication, logging, tracing, etc. @param snapshotRepstateId Delete the specified repstate. @return

func (*SnapshotApiService) DeleteSnapshotSchedule ¶

func (a *SnapshotApiService) DeleteSnapshotSchedule(ctx context.Context, snapshotScheduleId string) (*http.Response, error)

SnapshotApiService Delete the schedule. This does not affect already created snapshots. * @param ctx context.Context for authentication, logging, tracing, etc. @param snapshotScheduleId Delete the schedule. This does not affect already created snapshots. @return

func (*SnapshotApiService) DeleteSnapshotSchedules ¶

func (a *SnapshotApiService) DeleteSnapshotSchedules(ctx context.Context) (*http.Response, error)

SnapshotApiService Delete all snapshot schedules. * @param ctx context.Context for authentication, logging, tracing, etc. @return

func (*SnapshotApiService) DeleteSnapshotSnapshot ¶

func (a *SnapshotApiService) DeleteSnapshotSnapshot(ctx context.Context, snapshotSnapshotId string) (*http.Response, error)

SnapshotApiService Delete the snapshot. Deleted snapshots will be placed into a deleting state until the system can reclaim the space used by the snapshot. * @param ctx context.Context for authentication, logging, tracing, etc. @param snapshotSnapshotId Delete the snapshot. Deleted snapshots will be placed into a deleting state until the system can reclaim the space used by the snapshot. @return

func (*SnapshotApiService) DeleteSnapshotSnapshots ¶

func (a *SnapshotApiService) DeleteSnapshotSnapshots(ctx context.Context, localVarOptionals map[string]interface{}) (*http.Response, error)

SnapshotApiService Delete all or matching snapshots. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "type_" (string) Only list snapshots matching this type.
@param "schedule" (string) Only list snapshots created by this schedule.

@return

func (*SnapshotApiService) GetSnapshotAlias ¶

func (a *SnapshotApiService) GetSnapshotAlias(ctx context.Context, snapshotAliasId string) (SnapshotAliases, *http.Response, error)

SnapshotApiService Retrieve snapshot alias information. * @param ctx context.Context for authentication, logging, tracing, etc. @param snapshotAliasId Retrieve snapshot alias information. @return SnapshotAliases

func (*SnapshotApiService) GetSnapshotChangelist ¶

func (a *SnapshotApiService) GetSnapshotChangelist(ctx context.Context, snapshotChangelistId string, localVarOptionals map[string]interface{}) (SnapshotChangelists, *http.Response, error)

SnapshotApiService Retrieve basic information on a changelist. * @param ctx context.Context for authentication, logging, tracing, etc. @param snapshotChangelistId Retrieve basic information on a changelist. @param optional (nil or map[string]interface{}) with one or more of:

@param "limit" (int32) Return no more than this many results at once (see resume).
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).

@return SnapshotChangelists

func (*SnapshotApiService) GetSnapshotLicense ¶

func (a *SnapshotApiService) GetSnapshotLicense(ctx context.Context) (LicenseLicense, *http.Response, error)

SnapshotApiService Retrieve license information. * @param ctx context.Context for authentication, logging, tracing, etc. @return LicenseLicense

func (*SnapshotApiService) GetSnapshotPending ¶

func (a *SnapshotApiService) GetSnapshotPending(ctx context.Context, localVarOptionals map[string]interface{}) (SnapshotPending, *http.Response, error)

SnapshotApiService Return list of snapshots to be taken. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "limit" (int32) Return no more than this many result at once (see resume).
@param "begin" (int32) Unix Epoch time to start generating matches. Default is now.
@param "schedule" (string) Limit output only to the named schedule.
@param "end" (int32) Unix Epoch time to end generating matches. Default is forever.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).

@return SnapshotPending

func (*SnapshotApiService) GetSnapshotRepstate ¶

func (a *SnapshotApiService) GetSnapshotRepstate(ctx context.Context, snapshotRepstateId string, localVarOptionals map[string]interface{}) (SnapshotRepstates, *http.Response, error)

SnapshotApiService Retrieve basic information on a repstate. * @param ctx context.Context for authentication, logging, tracing, etc. @param snapshotRepstateId Retrieve basic information on a repstate. @param optional (nil or map[string]interface{}) with one or more of:

@param "limit" (int32) Return no more than this many results at once (see resume).
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).

@return SnapshotRepstates

func (*SnapshotApiService) GetSnapshotSchedule ¶

func (a *SnapshotApiService) GetSnapshotSchedule(ctx context.Context, snapshotScheduleId string) (SnapshotSchedules, *http.Response, error)

SnapshotApiService Retrieve the schedule. * @param ctx context.Context for authentication, logging, tracing, etc. @param snapshotScheduleId Retrieve the schedule. @return SnapshotSchedules

func (*SnapshotApiService) GetSnapshotSettings ¶

func (a *SnapshotApiService) GetSnapshotSettings(ctx context.Context) (SnapshotSettings, *http.Response, error)

SnapshotApiService List all settings * @param ctx context.Context for authentication, logging, tracing, etc. @return SnapshotSettings

func (*SnapshotApiService) GetSnapshotSnapshot ¶

func (a *SnapshotApiService) GetSnapshotSnapshot(ctx context.Context, snapshotSnapshotId string) (SnapshotSnapshots, *http.Response, error)

SnapshotApiService Retrieve snapshot information. * @param ctx context.Context for authentication, logging, tracing, etc. @param snapshotSnapshotId Retrieve snapshot information. @return SnapshotSnapshots

func (*SnapshotApiService) GetSnapshotSnapshotsSummary ¶

func (a *SnapshotApiService) GetSnapshotSnapshotsSummary(ctx context.Context) (SnapshotSnapshotsSummary, *http.Response, error)

SnapshotApiService Return summary information about snapshots. * @param ctx context.Context for authentication, logging, tracing, etc. @return SnapshotSnapshotsSummary

func (*SnapshotApiService) ListSnapshotAliases ¶

func (a *SnapshotApiService) ListSnapshotAliases(ctx context.Context, localVarOptionals map[string]interface{}) (SnapshotAliasesExtended, *http.Response, error)

SnapshotApiService List all or matching snapshot aliases. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.  Choices are id, name, snapshot, and created.  Default is id.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "dir" (string) The direction of the sort.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).

@return SnapshotAliasesExtended

func (*SnapshotApiService) ListSnapshotChangelists ¶

func (a *SnapshotApiService) ListSnapshotChangelists(ctx context.Context, localVarOptionals map[string]interface{}) (SnapshotChangelistsExtended, *http.Response, error)

SnapshotApiService List all changelists. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "limit" (int32) Return no more than this many results at once (see resume).
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).

@return SnapshotChangelistsExtended

func (*SnapshotApiService) ListSnapshotRepstates ¶

func (a *SnapshotApiService) ListSnapshotRepstates(ctx context.Context, localVarOptionals map[string]interface{}) (SnapshotRepstatesExtended, *http.Response, error)

SnapshotApiService List all repstates. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "limit" (int32) Return no more than this many results at once (see resume).
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).

@return SnapshotRepstatesExtended

func (*SnapshotApiService) ListSnapshotSchedules ¶

func (a *SnapshotApiService) ListSnapshotSchedules(ctx context.Context, localVarOptionals map[string]interface{}) (SnapshotSchedulesExtended, *http.Response, error)

SnapshotApiService List all or matching schedules. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.  Choices are id, name, path, pattern, schedule, duration, alias, next_run, and next_snapshot.  Default is id.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "dir" (string) The direction of the sort.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).

@return SnapshotSchedulesExtended

func (*SnapshotApiService) ListSnapshotSnapshots ¶

func (a *SnapshotApiService) ListSnapshotSnapshots(ctx context.Context, localVarOptionals map[string]interface{}) (SnapshotSnapshotsExtended, *http.Response, error)

SnapshotApiService List all or matching snapshots. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.  Choices are id, name, path, created, expires, size, has_locks, schedule, alias_target, alias_target_name, pct_filesystem, pct_reserve, and state.  Default is id.
@param "schedule" (string) Only list snapshots created by this schedule.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
@param "state" (string) Only list snapshots matching this state.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "type_" (string) Only list snapshots matching this type.
@param "dir" (string) The direction of the sort.

@return SnapshotSnapshotsExtended

func (*SnapshotApiService) UpdateSnapshotAlias ¶

func (a *SnapshotApiService) UpdateSnapshotAlias(ctx context.Context, snapshotAlias SnapshotAlias, snapshotAliasId string) (*http.Response, error)

SnapshotApiService Modify snapshot alias. All input fields are optional, but one or more must be supplied. * @param ctx context.Context for authentication, logging, tracing, etc. @param snapshotAlias @param snapshotAliasId Modify snapshot alias. All input fields are optional, but one or more must be supplied. @return

func (*SnapshotApiService) UpdateSnapshotSchedule ¶

func (a *SnapshotApiService) UpdateSnapshotSchedule(ctx context.Context, snapshotSchedule SnapshotSchedule, snapshotScheduleId string) (*http.Response, error)

SnapshotApiService Modify the schedule. All input fields are optional, but one or more must be supplied. * @param ctx context.Context for authentication, logging, tracing, etc. @param snapshotSchedule @param snapshotScheduleId Modify the schedule. All input fields are optional, but one or more must be supplied. @return

func (*SnapshotApiService) UpdateSnapshotSettings ¶

func (a *SnapshotApiService) UpdateSnapshotSettings(ctx context.Context, snapshotSettings SnapshotSettingsExtended) (*http.Response, error)

SnapshotApiService Modify one or more settings. * @param ctx context.Context for authentication, logging, tracing, etc. @param snapshotSettings @return

func (*SnapshotApiService) UpdateSnapshotSnapshot ¶

func (a *SnapshotApiService) UpdateSnapshotSnapshot(ctx context.Context, snapshotSnapshot SnapshotSnapshot, snapshotSnapshotId string) (*http.Response, error)

SnapshotApiService Modify snapshot. All input fields are optional, but one or more must be supplied. * @param ctx context.Context for authentication, logging, tracing, etc. @param snapshotSnapshot @param snapshotSnapshotId Modify snapshot. All input fields are optional, but one or more must be supplied. @return

type SnapshotChangelists ¶

type SnapshotChangelists struct {

	// The system ID given to the changelist.
	Id string `json:"id"`

	// The ID of the job which created the changelist.
	JobId int32 `json:"job_id"`

	// Number of LIN entries in changelist.
	NumEntries int32 `json:"num_entries,omitempty"`

	// Root path of all LINs in changelist.
	RootPath string `json:"root_path"`

	// The lower snapid used to compute the changelist.
	Snap1 int32 `json:"snap1"`

	// The higher snapid used to compute the changelist.
	Snap2 int32 `json:"snap2"`

	// Status of changelist.
	Status string `json:"status"`
}

type SnapshotChangelistsApiService ¶

type SnapshotChangelistsApiService service

func (*SnapshotChangelistsApiService) GetChangelistLin ¶

func (a *SnapshotChangelistsApiService) GetChangelistLin(ctx context.Context, changelistLinId int32, changelist string, localVarOptionals map[string]interface{}) (ChangelistLins, *http.Response, error)

SnapshotChangelistsApiService Get a single entry from the changelist. * @param ctx context.Context for authentication, logging, tracing, etc. @param changelistLinId Get a single entry from the changelist. @param changelist @param optional (nil or map[string]interface{}) with one or more of:

@param "limit" (int32) Return no more than this many results at once (see resume).
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).

@return ChangelistLins

func (*SnapshotChangelistsApiService) GetChangelistLins ¶

func (a *SnapshotChangelistsApiService) GetChangelistLins(ctx context.Context, changelist string, localVarOptionals map[string]interface{}) (ChangelistLinsExtended, *http.Response, error)

SnapshotChangelistsApiService Get entries from a changelist. * @param ctx context.Context for authentication, logging, tracing, etc. @param changelist @param optional (nil or map[string]interface{}) with one or more of:

@param "limit" (int32) Return no more than this many results at once (see resume).
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).

@return ChangelistLinsExtended

type SnapshotChangelistsExtended ¶

type SnapshotChangelistsExtended struct {
	Changelists []SnapshotChangelists `json:"changelists,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type SnapshotLock ¶

type SnapshotLock struct {

	// The Unix Epoch time the snapshot lock will expire and be eligible for automatic deletion.
	Expires int32 `json:"expires,omitempty"`
}

type SnapshotLockCreateParams ¶

type SnapshotLockCreateParams struct {

	// The Unix Epoch time the snapshot lock will expire and be eligible for automatic deletion.
	Expires int32 `json:"expires,omitempty"`

	// Free form comment.
	Comment string `json:"comment,omitempty"`
}

type SnapshotLockExtended ¶

type SnapshotLockExtended struct {

	// User supplied lock comment.
	Comment string `json:"comment,omitempty"`

	// Recursive lock count.
	Count int32 `json:"count,omitempty"`

	// The Unix Epoch time the snapshot lock will expire and be eligible for automatic deletion.
	Expires int32 `json:"expires,omitempty"`

	// System generated lock ID.
	Id int32 `json:"id,omitempty"`
}

type SnapshotLocks ¶

type SnapshotLocks struct {
	Locks []SnapshotLockExtended `json:"locks,omitempty"`
}

type SnapshotLocksExtended ¶

type SnapshotLocksExtended struct {
	Locks []SnapshotLockExtended `json:"locks,omitempty"`

	// Resume token value to use in subsequent calls for continuation.
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type SnapshotPending ¶

type SnapshotPending struct {
	Pending []SnapshotPendingPendingItem `json:"pending,omitempty"`

	// Resume token value to use in subsequent calls for continuation.
	Resume string `json:"resume,omitempty"`
}

type SnapshotPendingPendingItem ¶

type SnapshotPendingPendingItem struct {

	// The system supplied unique ID used for sorting and paging.
	Id string `json:"id"`

	// The /ifs path that will snapshotted.
	Path string `json:"path"`

	// The name of the schedule used to create this snapshot.
	Schedule string `json:"schedule"`

	// The system snapshot name formed from the schedule formate.
	Snapshot string `json:"snapshot"`

	// The Unix Epoch time the snapshot will be created.
	Time int32 `json:"time"`
}

type SnapshotRepstates ¶

type SnapshotRepstates struct {

	// The system ID given to the repstate.
	Id string `json:"id"`

	// The lower snapid used to compute the repstate.
	Snap1 int32 `json:"snap1"`

	// The higher snapid used to compute the repstate.
	Snap2 int32 `json:"snap2"`
}

type SnapshotRepstatesExtended ¶

type SnapshotRepstatesExtended struct {
	Repstates []SnapshotRepstates `json:"repstates,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type SnapshotSchedule ¶

type SnapshotSchedule struct {

	// Alias name to create for each snapshot.
	Alias string `json:"alias,omitempty"`

	// Time in seconds added to creation time to construction expiration time.
	Duration int32 `json:"duration,omitempty"`

	// The schedule name.
	Name string `json:"name,omitempty"`

	// The /ifs path snapshotted.
	Path string `json:"path,omitempty"`

	// Pattern expanded with strftime to create snapshot names.
	Pattern string `json:"pattern,omitempty"`

	// The isidate compatible natural language description of the schedule.
	Schedule string `json:"schedule,omitempty"`
}

type SnapshotScheduleCreateParams ¶

type SnapshotScheduleCreateParams struct {

	// Alias name to create for each snapshot.
	Alias string `json:"alias,omitempty"`

	// Time in seconds added to creation time to construction expiration time.
	Duration int32 `json:"duration,omitempty"`

	// The schedule name.
	Name string `json:"name"`

	// The /ifs path snapshotted.
	Path string `json:"path"`

	// Pattern expanded with strftime to create snapshot names.
	Pattern string `json:"pattern"`

	// The isidate compatible natural language description of the schedule.
	Schedule string `json:"schedule"`
}

type SnapshotScheduleExtended ¶

type SnapshotScheduleExtended struct {

	// Alias name to create for each snapshot.
	Alias string `json:"alias,omitempty"`

	// Time in seconds added to creation time to construction expiration time.
	Duration int32 `json:"duration,omitempty"`

	// The system ID given to the schedule.
	Id int32 `json:"id,omitempty"`

	// The schedule name.
	Name string `json:"name,omitempty"`

	// Unix Epoch time of next snapshot to be created.
	NextRun int32 `json:"next_run,omitempty"`

	// Formatted name (see pattern) of next snapshot to be created.
	NextSnapshot string `json:"next_snapshot,omitempty"`

	// The /ifs path snapshotted.
	Path string `json:"path,omitempty"`

	// Pattern expanded with strftime to create snapshot name.
	Pattern string `json:"pattern,omitempty"`

	// The isidate compatible natural language description of the schedule.
	Schedule string `json:"schedule,omitempty"`
}

type SnapshotScheduleExtendedExtended ¶

type SnapshotScheduleExtendedExtended struct {

	// Alias name to create for each snapshot.
	Alias string `json:"alias,omitempty"`

	// Time in seconds added to creation time to construction expiration time.
	Duration int32 `json:"duration,omitempty"`

	// The system ID given to the schedule.
	Id int32 `json:"id,omitempty"`

	// The schedule name.
	Name string `json:"name,omitempty"`

	// Unix Epoch time of next snapshot to be created.
	NextRun int32 `json:"next_run,omitempty"`

	// Formatted name (see pattern) of next snapshot to be created.
	NextSnapshot string `json:"next_snapshot,omitempty"`

	// The /ifs path snapshotted.
	Path string `json:"path,omitempty"`

	// Pattern expanded with strftime to create snapshot names.
	Pattern string `json:"pattern,omitempty"`

	// The isidate compatible natural language description of the schedule.
	Schedule string `json:"schedule,omitempty"`
}

type SnapshotSchedules ¶

type SnapshotSchedules struct {
	Schedules []SnapshotScheduleExtended `json:"schedules,omitempty"`
}

type SnapshotSchedulesExtended ¶

type SnapshotSchedulesExtended struct {

	// Resume token value to use in subsequent calls for continuation.
	Resume string `json:"resume,omitempty"`

	Schedules []SnapshotScheduleExtendedExtended `json:"schedules,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type SnapshotSettings ¶

type SnapshotSettings struct {

	//
	Settings *SnapshotSettingsSettings `json:"settings,omitempty"`
}

type SnapshotSettingsExtended ¶

type SnapshotSettingsExtended struct {

	// True if the scheduled snapshot creation services is on.
	Autocreate bool `json:"autocreate,omitempty"`

	// True if the scheduled snapshot deletion services is on.
	Autodelete bool `json:"autodelete,omitempty"`

	// Global switch for other accessible and visible settings.
	GlobalVisibleAccessible bool `json:"global_visible_accessible,omitempty"`

	// True if root .snapshot directory is accessible locally.
	LocalRootAccessible bool `json:"local_root_accessible,omitempty"`

	// True if root .snapshot directory is visible locally.
	LocalRootVisible bool `json:"local_root_visible,omitempty"`

	// True if sub-directory .snapshot directory is accessible locally.
	LocalSubdirAccessible bool `json:"local_subdir_accessible,omitempty"`

	// True if root .snapshot directory is accessible over NFS.
	NfsRootAccessible bool `json:"nfs_root_accessible,omitempty"`

	// True if root .snapshot directory is visible over NFS.
	NfsRootVisible bool `json:"nfs_root_visible,omitempty"`

	// True if sub-directory .snapshot directory is accessible over NFS.
	NfsSubdirAccessible bool `json:"nfs_subdir_accessible,omitempty"`

	// Percentage of space to reserve for snapshots.
	Reserve float32 `json:"reserve,omitempty"`

	// True if the system allows snapshot creation.
	Service bool `json:"service,omitempty"`

	// True if root .snapshot directory is accessible over SMB.
	SmbRootAccessible bool `json:"smb_root_accessible,omitempty"`

	// True if root .snapshot directory is visible over SMB.
	SmbRootVisible bool `json:"smb_root_visible,omitempty"`

	// True if sub-directory .snapshot directory is accessible over SMB.
	SmbSubdirAccessible bool `json:"smb_subdir_accessible,omitempty"`
}

type SnapshotSettingsSettings ¶

type SnapshotSettingsSettings struct {

	// True if the scheduled snapshot creation services is on.
	Autocreate bool `json:"autocreate"`

	// True if the scheduled snapshot deletion services is on.
	Autodelete bool `json:"autodelete"`

	// Global switch for other accessible and visible settings.
	GlobalVisibleAccessible bool `json:"global_visible_accessible"`

	// True if root .snapshot directory is accessible locally.
	LocalRootAccessible bool `json:"local_root_accessible"`

	// True if root .snapshot directory is visible locally.
	LocalRootVisible bool `json:"local_root_visible"`

	// True if sub-directory .snapshot directory is accessible locally.
	LocalSubdirAccessible bool `json:"local_subdir_accessible"`

	// True if root .snapshot directory is accessible over NFS.
	NfsRootAccessible bool `json:"nfs_root_accessible"`

	// True if root .snapshot directory is visible over NFS.
	NfsRootVisible bool `json:"nfs_root_visible"`

	// True if sub-directory .snapshot directory is accessible over NFS.
	NfsSubdirAccessible bool `json:"nfs_subdir_accessible"`

	// Percentage of space to reserve for snapshots.
	Reserve float32 `json:"reserve"`

	// True if the system allows snapshot creation.
	Service bool `json:"service"`

	// True if root .snapshot directory is accessible over SMB.
	SmbRootAccessible bool `json:"smb_root_accessible"`

	// True if root .snapshot directory is visible over SMB.
	SmbRootVisible bool `json:"smb_root_visible"`

	// True if sub-directory .snapshot directory is accessible over SMB.
	SmbSubdirAccessible bool `json:"smb_subdir_accessible"`
}

type SnapshotSnapshot ¶

type SnapshotSnapshot struct {

	// Alias name to create for this snapshot. If null, remove any alias.
	Alias string `json:"alias,omitempty"`

	// The Unix Epoch time the snapshot will expire and be eligible for automatic deletion.
	Expires int32 `json:"expires,omitempty"`

	// The user or system supplied snapshot name. This will be null for snapshots pending delete.
	Name string `json:"name,omitempty"`
}

type SnapshotSnapshotCreateParams ¶

type SnapshotSnapshotCreateParams struct {

	// Alias name to create for this snapshot. If null, remove any alias.
	Alias string `json:"alias,omitempty"`

	// The Unix Epoch time the snapshot will expire and be eligible for automatic deletion.
	Expires int32 `json:"expires,omitempty"`

	// The user or system supplied snapshot name. This will be null for snapshots pending delete.
	Name string `json:"name,omitempty"`

	// The /ifs path snapshotted.
	Path string `json:"path"`
}

type SnapshotSnapshotExtended ¶

type SnapshotSnapshotExtended struct {

	// Alias name to create for this snapshot. If null, remove any alias.
	Alias string `json:"alias,omitempty"`

	// The Unix Epoch time the snapshot will expire and be eligible for automatic deletion.
	Expires int32 `json:"expires,omitempty"`

	// The user or system supplied snapshot name. This will be null for snapshots pending delete.
	Name string `json:"name,omitempty"`

	// The Unix Epoch time the snapshot was created.
	Created int32 `json:"created"`

	// True if the snapshot has one or more locks present see, see the locks subresource of a snapshot for a list of locks.
	HasLocks bool `json:"has_locks"`

	// The system ID given to the snapshot. This is useful for tracking the status of delete pending snapshots.
	Id int32 `json:"id"`

	// The /ifs path snapshotted.
	Path string `json:"path,omitempty"`

	// Percentage of /ifs used for storing this snapshot.
	PctFilesystem float32 `json:"pct_filesystem"`

	// Percentage of configured snapshot reserved used for storing this snapshot.
	PctReserve float32 `json:"pct_reserve"`

	// The name of the schedule used to create this snapshot, if applicable.
	Schedule string `json:"schedule,omitempty"`

	// The amount of shadow bytes referred to by this snapshot.
	ShadowBytes int32 `json:"shadow_bytes"`

	// The amount of storage in bytes used to store this snapshot.
	Size int32 `json:"size"`

	// Snapshot state.
	State string `json:"state"`

	// The ID of the snapshot pointed to if this is an alias.
	TargetId int32 `json:"target_id,omitempty"`

	// The name of the snapshot pointed to if this is an alias.
	TargetName string `json:"target_name,omitempty"`
}

type SnapshotSnapshots ¶

type SnapshotSnapshots struct {
	Snapshots []SnapshotSnapshotExtended `json:"snapshots,omitempty"`
}

type SnapshotSnapshotsApiService ¶

type SnapshotSnapshotsApiService service

func (*SnapshotSnapshotsApiService) CreateSnapshotLock ¶

SnapshotSnapshotsApiService Create a new lock on this snapshot. * @param ctx context.Context for authentication, logging, tracing, etc. @param snapshotLock @param sid @return CreateSnapshotLockResponse

func (*SnapshotSnapshotsApiService) DeleteSnapshotLock ¶

func (a *SnapshotSnapshotsApiService) DeleteSnapshotLock(ctx context.Context, snapshotLockId string, sid string) (*http.Response, error)

SnapshotSnapshotsApiService Delete the snapshot lock. * @param ctx context.Context for authentication, logging, tracing, etc. @param snapshotLockId Delete the snapshot lock. @param sid @return

func (*SnapshotSnapshotsApiService) DeleteSnapshotLocks ¶

func (a *SnapshotSnapshotsApiService) DeleteSnapshotLocks(ctx context.Context, sid string) (*http.Response, error)

SnapshotSnapshotsApiService Delete all locks. Will try to drain count of recursively held locks so that the snapshot can be deleted. * @param ctx context.Context for authentication, logging, tracing, etc. @param sid @return

func (*SnapshotSnapshotsApiService) GetSnapshotLock ¶

func (a *SnapshotSnapshotsApiService) GetSnapshotLock(ctx context.Context, snapshotLockId string, sid string) (SnapshotLocks, *http.Response, error)

SnapshotSnapshotsApiService Retrieve lock information. * @param ctx context.Context for authentication, logging, tracing, etc. @param snapshotLockId Retrieve lock information. @param sid @return SnapshotLocks

func (*SnapshotSnapshotsApiService) ListSnapshotLocks ¶

func (a *SnapshotSnapshotsApiService) ListSnapshotLocks(ctx context.Context, sid string, localVarOptionals map[string]interface{}) (SnapshotLocksExtended, *http.Response, error)

SnapshotSnapshotsApiService List all locks. * @param ctx context.Context for authentication, logging, tracing, etc. @param sid @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.  Choices are id, expires, and comment.  Default is id.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "dir" (string) The direction of the sort.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).

@return SnapshotLocksExtended

func (*SnapshotSnapshotsApiService) UpdateSnapshotLock ¶

func (a *SnapshotSnapshotsApiService) UpdateSnapshotLock(ctx context.Context, snapshotLock SnapshotLock, snapshotLockId string, sid string) (*http.Response, error)

SnapshotSnapshotsApiService Modify lock. All input fields are optional, but one or more must be supplied. * @param ctx context.Context for authentication, logging, tracing, etc. @param snapshotLock @param snapshotLockId Modify lock. All input fields are optional, but one or more must be supplied. @param sid @return

type SnapshotSnapshotsExtended ¶

type SnapshotSnapshotsExtended struct {
	Snapshots []SnapshotSnapshotExtended `json:"snapshots,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type SnapshotSnapshotsSummary ¶

type SnapshotSnapshotsSummary struct {

	//
	Summary *SnapshotSnapshotsSummarySummary `json:"summary,omitempty"`
}

type SnapshotSnapshotsSummarySummary ¶

type SnapshotSnapshotsSummarySummary struct {

	// Total number of active snapshots.
	ActiveCount int32 `json:"active_count"`

	// Sum of sizes of active snapshots.
	ActiveSize int32 `json:"active_size"`

	// Total number of snapshot aliases.
	AliasesCount int32 `json:"aliases_count"`

	// Total number of snapshots.
	Count int32 `json:"count"`

	// Total number of delete-pending snapshots.
	DeletingCount int32 `json:"deleting_count"`

	// Sum of sizes of delete-pending snapshots.
	DeletingSize int32 `json:"deleting_size"`

	// Sum of shadow bytes of all snapshots.
	ShadowBytes int32 `json:"shadow_bytes"`

	// Sum of sizes in bytes of all snapshots.
	Size int32 `json:"size"`
}

type SnmpSettings ¶

type SnmpSettings struct {

	// SNMP settings.
	Settings *SnmpSettingsSettings `json:"settings,omitempty"`
}

type SnmpSettingsExtended ¶

type SnmpSettingsExtended struct {

	// The read-only community name.  @DEFAULT reverts this field to its default value.
	ReadOnlyCommunity string `json:"read_only_community,omitempty"`

	// Whether the SNMP service is enabled.
	Service bool `json:"service,omitempty"`

	// Whether SNMP v1 and v2c protocols are enabled.  @DEFAULT reverts this field to its default value.
	SnmpV1V2cAccess bool `json:"snmp_v1_v2c_access,omitempty"`

	// Whether SNMP v3 is enabled.  @DEFAULT reverts this field to its default value.
	SnmpV3Access bool `json:"snmp_v3_access,omitempty"`

	// SNMPv3 authentication protocol. May only be SHA or MD5.  @DEFAULT reverts this field to its default value.
	SnmpV3AuthProtocol string `json:"snmp_v3_auth_protocol,omitempty"`

	// This field allows a client to change the SNMP v3 authentication password. There is always a password set.  @DEFAULT reverts this field to its default value.
	SnmpV3Password string `json:"snmp_v3_password,omitempty"`

	// This field allows a client to change the SNMP v3 privacy password. There is always a password set.  @DEFAULT reverts this field to its default value.
	SnmpV3PrivPassword string `json:"snmp_v3_priv_password,omitempty"`

	// SNMPv3 privacy protocol. May only be AES or DES. @DEFAULT reverts this field to its default value.
	SnmpV3PrivProtocol string `json:"snmp_v3_priv_protocol,omitempty"`

	// The read-only user for SNMP v3 read requests.  @DEFAULT reverts this field to its default value.
	SnmpV3ReadOnlyUser string `json:"snmp_v3_read_only_user,omitempty"`

	// SNMPv3 privacy protocol. May only be AES or DES. @DEFAULT reverts this field to its default value.
	SnmpV3SecurityLevel string `json:"snmp_v3_security_level,omitempty"`

	// Contact information for the system owner.  This must be a valid email address.  @DEFAULT reverts this field to its default value.
	SystemContact string `json:"system_contact,omitempty"`

	// A location name for the SNMP system.  @DEFAULT reverts this field to its default value.
	SystemLocation string `json:"system_location,omitempty"`
}

SNMP settings.

type SnmpSettingsSettings ¶

type SnmpSettingsSettings struct {

	// The read-only community name.  @DEFAULT reverts this field to its default value.
	ReadOnlyCommunity string `json:"read_only_community,omitempty"`

	// Whether the SNMP service is enabled.
	Service bool `json:"service,omitempty"`

	// Whether SNMP v1 and v2c protocols are enabled.  @DEFAULT reverts this field to its default value.
	SnmpV1V2cAccess bool `json:"snmp_v1_v2c_access,omitempty"`

	// Whether SNMP v3 is enabled.  @DEFAULT reverts this field to its default value.
	SnmpV3Access bool `json:"snmp_v3_access,omitempty"`

	// SNMPv3 authentication protocol. May only be SHA or MD5.  @DEFAULT reverts this field to its default value.
	SnmpV3AuthProtocol string `json:"snmp_v3_auth_protocol,omitempty"`

	// SNMPv3 privacy protocol. May only be AES or DES. @DEFAULT reverts this field to its default value.
	SnmpV3PrivProtocol string `json:"snmp_v3_priv_protocol,omitempty"`

	// The read-only user for SNMP v3 read requests.  @DEFAULT reverts this field to its default value.
	SnmpV3ReadOnlyUser string `json:"snmp_v3_read_only_user,omitempty"`

	// SNMPv3 privacy protocol. May only be AES or DES. @DEFAULT reverts this field to its default value.
	SnmpV3SecurityLevel string `json:"snmp_v3_security_level,omitempty"`

	// Contact information for the system owner.  This must be a valid email address.  @DEFAULT reverts this field to its default value.
	SystemContact string `json:"system_contact,omitempty"`

	// A location name for the SNMP system.  @DEFAULT reverts this field to its default value.
	SystemLocation string `json:"system_location,omitempty"`
}

type StatisticsApiService ¶

type StatisticsApiService service

func (*StatisticsApiService) GetStatisticsCurrent ¶

func (a *StatisticsApiService) GetStatisticsCurrent(ctx context.Context, localVarOptionals map[string]interface{}) (StatisticsCurrent, *http.Response, error)

StatisticsApiService Retrieve stats. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "timeout" (int32) Time in seconds to wait for results from remote nodes.
@param "showNodes" (bool) Shows the logical node number or LNN in addition to the devid.
@param "keys" ([]string) Multiple key names. May request matching keys or request &#39;all&#39; keys. Can be comma separated list or can be used more than one time to make queries for multiple keys. May be used in conjunction with &#39;substr&#39;. Also works with &#39;key&#39; arguments.
@param "devid" ([]string) Node devid to query. Either an &lt;integer&gt; or \&quot;all\&quot;. Can be used more than one time to query multiple nodes. \&quot;all\&quot; queries all up nodes. 0 means query the local node. For \&quot;cluster\&quot; scoped keys, in any devid including 0 can be used.
@param "substr" (bool) Used in conjunction with the &#39;keys&#39; argument, alters the behavior of keys. Makes the &#39;keys&#39; arg perform a partial match. Defaults to false.
@param "stale" (bool) For internal use only, please do not use this.
@param "typeInfo" (bool) The type ID is used by internal services. For internal use only, please do not use this.
@param "raw" (bool) Causes the output to be in hex format. For internal use only, please do not use this.
@param "key" ([]string) One key name. Can be used more than one time to query multiple keys. Also works with &#39;keys&#39; arguments.
@param "degraded" (bool) If true, try to continue even if some stats are unavailable. In this case, errors will be present in the per-key returned data.
@param "nodes" ([]string) Specify node(s) for which statistics should be reported. One or more comma separated &lt;integer(s)&gt; specifying which node(s) to query, or \&quot;all\&quot;. Specifying more than one node may have unspecified results for keys that begin with \&quot;cluster\&quot;.

@return StatisticsCurrent

func (*StatisticsApiService) GetStatisticsHistory ¶

func (a *StatisticsApiService) GetStatisticsHistory(ctx context.Context, localVarOptionals map[string]interface{}) (StatisticsHistory, *http.Response, error)

StatisticsApiService Retrieve stats. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "begin" (int32) Earliest time (Unix epoch seconds) of interest. Negative times are interpreted as relative (before) now.
@param "interval" (int32) Minimum sampling interval time in seconds. If native statistics are higher resolution, data will be down-sampled.
@param "end" (int32) Latest time (Unix epoch seconds) of interest. Negative times are interpreted as relative (before) now. If not supplied, use now as the end time.
@param "timeout" (int32) Time in seconds to wait for results from remote nodes.
@param "raw" (bool) Causes the output to be in hex format. For internal use only, please do not use this.
@param "keys" ([]string) Multiple key names. May request matching keys or request &#39;all&#39; keys. Can be comma separated list or can be used more than one time to make queries for multiple keys. May be used in conjunction with &#39;substr&#39;. Also works with &#39;key&#39; arguments.
@param "devid" ([]string) Node devid to query. Either an &lt;integer&gt; or \&quot;all\&quot;. Can be used more than one time to query multiple nodes. \&quot;all\&quot; queries all up nodes. 0 means query the local node. For \&quot;cluster\&quot; scoped keys, in any devid including 0 can be used.
@param "substr" (bool) Used in conjunction with the &#39;keys&#39; argument, alters the behavior of keys. Makes the &#39;keys&#39; arg perform a partial match. Defaults to false.
@param "stale" (bool) For internal use only, please do not use this.
@param "typeInfo" (bool) The type ID is used by internal services. For internal use only, please do not use this.
@param "memoryOnly" (bool) Only use statistics sources that reside in memory (faster, but with less retention).
@param "key" ([]string) One key name. Can be used more than one time to query multiple keys. Also works with &#39;keys&#39; arguments.
@param "degraded" (bool) If true, try to continue even if some stats are unavailable. In this case, errors will be present in the per-key returned data.
@param "showNodes" (bool) Shows the logical node number or LNN in addition to the devid.
@param "resolution" (int32) Synonymous with &#39;interval&#39;, if supplied supersedes interval.
@param "nodes" ([]string) Specify node(s) for which statistics should be reported. One or more comma separated &lt;integer(s)&gt; specifying which node(s) to query, or \&quot;all\&quot;. Specifying more than one node may have unspecified results for keys that begin with \&quot;cluster\&quot;.

@return StatisticsHistory

func (*StatisticsApiService) GetStatisticsKey ¶

func (a *StatisticsApiService) GetStatisticsKey(ctx context.Context, statisticsKeyId string) (StatisticsKeys, *http.Response, error)

StatisticsApiService List key meta-data. * @param ctx context.Context for authentication, logging, tracing, etc. @param statisticsKeyId List key meta-data. @return StatisticsKeys

func (*StatisticsApiService) GetStatisticsKeys ¶

func (a *StatisticsApiService) GetStatisticsKeys(ctx context.Context, localVarOptionals map[string]interface{}) (StatisticsKeysExtended, *http.Response, error)

StatisticsApiService List meta-data for matching keys. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "count" (bool) Only count matching keys, do not return meta-data.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "queryable" (bool) Only list keys that can/cannot be queries. Default is true.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).

@return StatisticsKeysExtended

func (*StatisticsApiService) GetStatisticsOperations ¶

func (a *StatisticsApiService) GetStatisticsOperations(ctx context.Context, localVarOptionals map[string]interface{}) (StatisticsOperations, *http.Response, error)

StatisticsApiService Retrieve operations list. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "protocols" ([]string) A comma separated list. Only report operations for specified protocol(s). Default is all.

@return StatisticsOperations

func (*StatisticsApiService) GetStatisticsProtocols ¶

func (a *StatisticsApiService) GetStatisticsProtocols(ctx context.Context, localVarOptionals map[string]interface{}) (StatisticsProtocols, *http.Response, error)

StatisticsApiService Retrieve protocol list. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "type_" (string) Specifies whether internal, external, or all protocols should be returned.

@return StatisticsProtocols

func (*StatisticsApiService) GetSummaryClient ¶

func (a *StatisticsApiService) GetSummaryClient(ctx context.Context, localVarOptionals map[string]interface{}) (SummaryClient, *http.Response, error)

StatisticsApiService

* @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) Sort data by the specified comma-separated field(s). (num_operations | operation_rate | in_max | in_min | in | in_avg | out_max | out_min | out | out_avg | time_max | time_min | time_avg | node | protocol | class | user_id | user_name | local_addr | local_name | remote_addr | remote_name) Prepend &#39;asc:&#39; or &#39;desc:&#39; to a field to change the sort direction.
@param "totalby" (string) A comma separated list specifying what should be unique. (node | protocol | class | local_addr | local_name | remote_addr | remote_name | user_id | user_name | devid). Aggregation is performed over all the fields not specified in the list.
@param "userNames" (string) A comma separated list. Only report statistics for operations requested by users with resolved names enumerated.
@param "remoteAddresses" (string) A comma separated list. Only report statistics for operations requested by the remote clients with dotted-quad IP addresses enumerated.
@param "numeric" (bool) Do not resolve hostnames and usernames to their human readable form(s). Default is false.
@param "localNames" (string) A comma separated list. Only report statistics for operations handled by the local hosts with resolved names enumerated.
@param "userIds" (string) A comma separated list. Only report statistics for operations requested by users with numeric UIDs enumerated.
@param "classes" (string) A comma separated list. Default is all. (other | write | read | namespace_read | namespace_write)
@param "timeout" (int32) Timeout remote commands after NUM seconds, where NUM is the integer passed to the argument.
@param "localAddresses" (string) A comma separated list. Only report statistics for operations handled by the local hosts with dotted-quad IP addresses enumerated.
@param "degraded" (bool) Continue to report if some nodes do not respond.
@param "remoteNames" (string) A comma separated list. Only report statistics for operations requested by the remote clients with resolved names enumerated.
@param "nodes" (string) A comma separated list. Specify node(s) for which statistics should be reported. Default is all. Zero (0) should be passed in as the sole argument to indicate local.
@param "protocols" (string) A comma separated list. Default is all. (nfs3 | smb1 | nlm | ftp | http | siq | smb2 | nfs4 | papi | jobd | irp | lsass_in | lsass_out | hdfs | internal | external)

@return SummaryClient

func (*StatisticsApiService) GetSummaryDrive ¶

func (a *StatisticsApiService) GetSummaryDrive(ctx context.Context, localVarOptionals map[string]interface{}) (SummaryDrive, *http.Response, error)

StatisticsApiService

* @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) Sort data by the specified comma-separated field(s). (drive_id | type | xfers_in | bytes_in | xfer_size_in | xfers_out | bytes_out | xfer_size_out | access_latency | access_slow | iosched_latency | iosched_queue | busy | used_bytes_percent | used_inodes). Prepend &#39;asc:&#39; or &#39;desc:&#39; to a field to change the sort direction.
@param "degraded" (bool) Continue to report if some nodes do not respond.
@param "type_" (string) Specify drive type(s) for which statistics should be reported.
@param "nodes" (string) A comma separated list. Specify node(s) for which statistics should be reported. Default is all. Zero (0) should be passed in as the sole argument to indicate local.
@param "timeout" (int32) Timeout remote commands after NUM seconds, where NUM is the integer passed to the argument.

@return SummaryDrive

func (*StatisticsApiService) GetSummaryHeat ¶

func (a *StatisticsApiService) GetSummaryHeat(ctx context.Context, localVarOptionals map[string]interface{}) (SummaryHeat, *http.Response, error)

StatisticsApiService File heat map, i.e. rate of file operations, and the type of operation listed by path/lin(s). * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) Sort data by the specified comma-separated field(s). (operation_rate | node | event_name | class_name | lin | path). Prepend &#39;asc:&#39; or &#39;desc:&#39; to a field to change the sort direction.
@param "convertlin" (bool) Convert lin to hex. Default is true.
@param "totalby" (string) A comma separated list specifying what should be unique. (node | event_name | event_class | operation_rate | path | lin). Aggregation is performed over all the fields not specified in the list.
@param "pathdepth" (int32) Squash paths to this directory depth. Defaults to none, ie. the paths are not limited (Subject to the system limits.)
@param "numeric" (bool) Do not resolve LINs into filenames. Default is false.
@param "events" (string) A comma separated list. Default is all. Only report specified event types(s). (blocked | contended | deadlocked | getattr | link | lock | lookup | read | rename | setattr | unlink | write).
@param "maxpath" (int32) Maximum bytes allocated for looking up a path. An ASCII character is 1 byte (It may be more for other types of encoding). The default is 1024 bytes. Zero (0) means unlimited (Subject to the system limits.)
@param "classes" (string) A comma separated list. Default is all. (other | write | read | namespace_read | namespace_write).
@param "timeout" (int32) Timeout remote commands after NUM seconds, where NUM is the integer passed to the argument.
@param "nodes" (string) A comma separated list. Specify node(s) for which statistics should be reported. Default is all. Zero (0) should be passed in as the sole argument to indicate local.
@param "degraded" (bool) Continue to report if some nodes do not respond.

@return SummaryHeat

func (*StatisticsApiService) GetSummaryProtocol ¶

func (a *StatisticsApiService) GetSummaryProtocol(ctx context.Context, localVarOptionals map[string]interface{}) (SummaryProtocol, *http.Response, error)

StatisticsApiService

* @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "operations" (string) Specify operation(s) for which statistics should be reported (See the cli command: &#39;isi statistics list operations&#39;, for a total list). Default is all.
@param "sort" (string) Sort data by the specified comma-separated field(s). (time | operation_count | operation_rate | in_max | in_min | in | in_avg | in_standard_dev | out_max | out_min | out | out_avg | out_standard_dev | time_max | time_min | time_avg | time_standard_dev | node | protocol | class | operation). Prepend &#39;asc:&#39; or &#39;desc:&#39; to a field to change the sort direction.
@param "totalby" (string) A comma separated list specifying what should be unique. (node | protocol | class | operation). Aggregation is performed over all the fields not specified in the list.
@param "zero" (bool) Show table entries with no values.
@param "classes" (string) A comma separated list. Default is all. (other | write | read | create | delete | namespace_read | namespace_write | file_state | session_state).
@param "timeout" (int32) Timeout remote commands after NUM seconds, where NUM is the integer passed to the argument.
@param "degraded" (bool) Continue to report if some nodes do not respond.
@param "nodes" (string) A comma separated list. Specify node(s) for which statistics should be reported. Default is all. Zero (0) should be passed in as the sole argument to indicate local.
@param "protocols" (string) A comma separated list. Default is all external protocols. (nfs3 | smb1 | nlm | ftp | http | siq | smb2 | nfs4 | papi | jobd | irp | lsass_in | lsass_out | hdfs | all | internal | external)

@return SummaryProtocol

func (*StatisticsApiService) GetSummaryProtocolStats ¶

func (a *StatisticsApiService) GetSummaryProtocolStats(ctx context.Context, localVarOptionals map[string]interface{}) (SummaryProtocolStats, *http.Response, error)

StatisticsApiService

* @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "degraded" (bool) Continue to report if some nodes do not respond.
@param "protocol" (string) A single protocol. Default is nfs3. (nfs3 | smb1 | nlm | ftp | http | siq | smb2 | nfs4 | papi | jobd | irp | lsass_in | lsass_out | hdfs)
@param "nodes" (string) A comma separated list. Specify node(s) for which statistics should be reported. Default is all. Zero (0) should be passed in as the sole argument to indicate local.
@param "timeout" (int32) Timeout remote commands after NUM seconds, where NUM is the integer passed to the argument.

@return SummaryProtocolStats

func (*StatisticsApiService) GetSummarySystem ¶

func (a *StatisticsApiService) GetSummarySystem(ctx context.Context, localVarOptionals map[string]interface{}) (SummarySystem, *http.Response, error)

StatisticsApiService

* @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) Sort data by the specified comma-separated field(s). (time | node | cpu | smb | ftp | http | nfs | hdfs | total | net_in | net_out | disk_in). Prepend &#39;asc:&#39; or &#39;desc:&#39; to a field to change the sort direction.
@param "oprates" (bool) Display protocol operation rate statistics rather than the default throughput statistics.
@param "degraded" (bool) Continue to report if some nodes do not respond.
@param "nodes" (string) A comma separated list. Specify node(s) for which statistics should be reported. Default is all. Zero (0) should be passed in as the sole argument to indicate local.
@param "timeout" (int32) Timeout remote commands after NUM seconds, where NUM is the integer passed to the argument.

@return SummarySystem

func (*StatisticsApiService) GetSummaryWorkload ¶

func (a *StatisticsApiService) GetSummaryWorkload(ctx context.Context, localVarOptionals map[string]interface{}) (SummaryWorkload, *http.Response, error)

StatisticsApiService

* @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) Sort data by the specified comma-separated field(s). (node | system_name | job_type | cpu | reads | writes | l2 | l3). Prepend &#39;asc:&#39; or &#39;desc:&#39; to a field to change the sort direction.
@param "jobTypes" ([]string) A comma separated list. Only report statistics for job(s) specified by type, if configured.
@param "totalby" (string) A comma separated list specifying what should be unique. (node | system_name | job_type). Aggregation is performed over all the fields not specified in the list.
@param "timeout" (int32) Timeout remote commands after NUM seconds, where NUM is the integer passed to the argument.
@param "degraded" (bool) Continue to report if some nodes do not respond.
@param "nodes" (string) A comma separated list. Specify node(s) for which statistics should be reported. Default is all. Zero (0) should be passed in as the sole argument to indicate local.
@param "systemNames" (string) A comma separated list. Only report statistics for workloads specified by system names.

@return SummaryWorkload

type StatisticsCurrent ¶

type StatisticsCurrent struct {
	Stats []StatisticsCurrentStat `json:"stats,omitempty"`
}

type StatisticsCurrentStat ¶

type StatisticsCurrentStat struct {

	// Devid of node of statistic or 0 for cluster scoped statistics.
	Devid int32 `json:"devid"`

	// Key specific error string, if applicable.
	Error_ string `json:"error,omitempty"`

	// Key specific error number, if applicable.
	ErrorCode int32 `json:"error_code,omitempty"`

	// Key name of statistic.
	Key string `json:"key"`

	// Unix Epoch time in seconds that statistic was collected.
	Time int32 `json:"time"`

	// Key dependent value.
	Value string `json:"value,omitempty"`
}

type StatisticsHistory ¶

type StatisticsHistory struct {
	Stats []StatisticsHistoryStat `json:"stats,omitempty"`
}

type StatisticsHistoryStat ¶

type StatisticsHistoryStat struct {

	// Devid of node of statistic or 0 for cluster scoped statistics.
	Devid int32 `json:"devid"`

	// Key specific error string, if applicable.
	Error_ string `json:"error,omitempty"`

	// Key specific error number, if applicable.
	ErrorCode int32 `json:"error_code,omitempty"`

	// Key name of statistic.
	Key string `json:"key"`

	// The interval for which these results were figured (averaged against.)
	Resolution int32 `json:"resolution"`

	// Time-series values.
	Values []StatisticsHistoryStatValue `json:"values,omitempty"`
}

type StatisticsHistoryStatValue ¶

type StatisticsHistoryStatValue struct {

	// Unix Epoch time in seconds that statistic was collected.
	Time int32 `json:"time"`

	// Key dependent value.
	Value string `json:"value"`
}

type StatisticsKey ¶

type StatisticsKey struct {

	// Type of aggregation used in down-sampling.
	AggregationType string `json:"aggregation_type"`

	// Name of key this keys is derived from, if any.
	BaseName string `json:"base_name,omitempty"`

	// Default time in seconds system will used cached values.
	DefaultCacheTime int32 `json:"default_cache_time"`

	// Description of statistics key.
	Description string `json:"description"`

	// Key name.
	Key string `json:"key"`

	// List of effective history policies for key.
	Policies []StatisticsKeyPolicy `json:"policies,omitempty"`

	// Configured time in seconds system will used cached values.
	PolicyCacheTime int32 `json:"policy_cache_time,omitempty"`

	// Name of real key if this is an alias.
	RealName string `json:"real_name,omitempty"`

	// Scope of key.
	Scope string `json:"scope"`

	// Data type of key values.
	Type_ string `json:"type"`

	// Units of key values.
	Units string `json:"units"`
}

type StatisticsKeyPolicy ¶

type StatisticsKeyPolicy struct {

	// Time between samples in seconds.
	Interval int32 `json:"interval"`

	// If true, history is persisted.
	Persistent bool `json:"persistent"`

	// Time in seconds to keep data.
	Retention int32 `json:"retention"`
}

type StatisticsKeys ¶

type StatisticsKeys struct {
	Keys []StatisticsKey `json:"keys,omitempty"`
}

type StatisticsKeysExtended ¶

type StatisticsKeysExtended struct {
	Keys []StatisticsKey `json:"keys,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type StatisticsOperation ¶

type StatisticsOperation struct {

	// The name of the operation.
	Operation string `json:"operation"`
}

type StatisticsOperations ¶

type StatisticsOperations struct {
	Operations []StatisticsOperation `json:"operations,omitempty"`
}

type StatisticsProtocol ¶

type StatisticsProtocol struct {

	// Abbreviated name of protocol.
	Name string `json:"name"`

	// External protocols are customer facing, internal protocols expose metrics for internal OneFS systems.
	Type_ string `json:"type"`
}

type StatisticsProtocols ¶

type StatisticsProtocols struct {
	Protocols []StatisticsProtocol `json:"protocols"`
}

type StoragepoolApiService ¶

type StoragepoolApiService service

func (*StoragepoolApiService) CreateCompatibilitiesClassActiveItem ¶

func (a *StoragepoolApiService) CreateCompatibilitiesClassActiveItem(ctx context.Context, compatibilitiesClassActiveItem CompatibilitiesClassActiveItem, localVarOptionals map[string]interface{}) (CreateCompatibilitiesClassActiveItemResponse, *http.Response, error)

StoragepoolApiService Create a new compatibility * @param ctx context.Context for authentication, logging, tracing, etc. @param compatibilitiesClassActiveItem @param optional (nil or map[string]interface{}) with one or more of:

@param "assess" (bool) Do not perform action, only test that it is possible.

@return CreateCompatibilitiesClassActiveItemResponse

func (*StoragepoolApiService) CreateCompatibilitiesSsdActiveItem ¶

func (a *StoragepoolApiService) CreateCompatibilitiesSsdActiveItem(ctx context.Context, compatibilitiesSsdActiveItem CompatibilitiesSsdActiveItem, localVarOptionals map[string]interface{}) (CreateCompatibilitiesClassActiveItemResponse, *http.Response, error)

StoragepoolApiService Create a new ssd compatibility * @param ctx context.Context for authentication, logging, tracing, etc. @param compatibilitiesSsdActiveItem @param optional (nil or map[string]interface{}) with one or more of:

@param "assess" (bool) Do not perform action, only test that it is possible.

@return CreateCompatibilitiesClassActiveItemResponse

func (*StoragepoolApiService) CreateStoragepoolNodepool ¶

func (a *StoragepoolApiService) CreateStoragepoolNodepool(ctx context.Context, storagepoolNodepool StoragepoolNodepoolCreateParams) (CreateStoragepoolTierResponse, *http.Response, error)

StoragepoolApiService Create a new node pool. * @param ctx context.Context for authentication, logging, tracing, etc. @param storagepoolNodepool @return CreateStoragepoolTierResponse

func (*StoragepoolApiService) CreateStoragepoolTier ¶

StoragepoolApiService Create a new tier. * @param ctx context.Context for authentication, logging, tracing, etc. @param storagepoolTier @return CreateStoragepoolTierResponse

func (*StoragepoolApiService) DeleteCompatibilitiesClassActiveById ¶

func (a *StoragepoolApiService) DeleteCompatibilitiesClassActiveById(ctx context.Context, compatibilitiesClassActiveId string, localVarOptionals map[string]interface{}) (*http.Response, error)

StoragepoolApiService Delete an active compatibility by id * @param ctx context.Context for authentication, logging, tracing, etc. @param compatibilitiesClassActiveId Delete an active compatibility by id @param optional (nil or map[string]interface{}) with one or more of:

@param "assess" (bool) Do not perform action, only test that it is possible.

@return

func (*StoragepoolApiService) DeleteCompatibilitiesSsdActiveById ¶

func (a *StoragepoolApiService) DeleteCompatibilitiesSsdActiveById(ctx context.Context, compatibilitiesSsdActiveId string, localVarOptionals map[string]interface{}) (*http.Response, error)

StoragepoolApiService Delete an active ssd compatibility by id * @param ctx context.Context for authentication, logging, tracing, etc. @param compatibilitiesSsdActiveId Delete an active ssd compatibility by id @param optional (nil or map[string]interface{}) with one or more of:

@param "assess" (bool) Do not perform action, only test that it is possible.

@return

func (*StoragepoolApiService) DeleteStoragepoolNodepool ¶

func (a *StoragepoolApiService) DeleteStoragepoolNodepool(ctx context.Context, storagepoolNodepoolId string) (*http.Response, error)

StoragepoolApiService Delete node pool. * @param ctx context.Context for authentication, logging, tracing, etc. @param storagepoolNodepoolId Delete node pool. @return

func (*StoragepoolApiService) DeleteStoragepoolNodepools ¶

func (a *StoragepoolApiService) DeleteStoragepoolNodepools(ctx context.Context) (*http.Response, error)

StoragepoolApiService Delete all node pools. * @param ctx context.Context for authentication, logging, tracing, etc. @return

func (*StoragepoolApiService) DeleteStoragepoolTier ¶

func (a *StoragepoolApiService) DeleteStoragepoolTier(ctx context.Context, storagepoolTierId string) (*http.Response, error)

StoragepoolApiService Delete tier. * @param ctx context.Context for authentication, logging, tracing, etc. @param storagepoolTierId Delete tier. @return

func (*StoragepoolApiService) DeleteStoragepoolTiers ¶

func (a *StoragepoolApiService) DeleteStoragepoolTiers(ctx context.Context) (*http.Response, error)

StoragepoolApiService Delete all tiers. * @param ctx context.Context for authentication, logging, tracing, etc. @return

func (*StoragepoolApiService) GetCompatibilitiesClassActiveById ¶

func (a *StoragepoolApiService) GetCompatibilitiesClassActiveById(ctx context.Context, compatibilitiesClassActiveId string) (CompatibilitiesClassActive, *http.Response, error)

StoragepoolApiService Get an active compatibilities by id * @param ctx context.Context for authentication, logging, tracing, etc. @param compatibilitiesClassActiveId Get an active compatibilities by id @return CompatibilitiesClassActive

func (*StoragepoolApiService) GetCompatibilitiesClassAvailable ¶

func (a *StoragepoolApiService) GetCompatibilitiesClassAvailable(ctx context.Context) (CompatibilitiesClassAvailable, *http.Response, error)

StoragepoolApiService Get a list of available compatibilities * @param ctx context.Context for authentication, logging, tracing, etc. @return CompatibilitiesClassAvailable

func (*StoragepoolApiService) GetCompatibilitiesSsdActiveById ¶

func (a *StoragepoolApiService) GetCompatibilitiesSsdActiveById(ctx context.Context, compatibilitiesSsdActiveId string) (CompatibilitiesSsdActive, *http.Response, error)

StoragepoolApiService Get a active ssd compatibilities by id * @param ctx context.Context for authentication, logging, tracing, etc. @param compatibilitiesSsdActiveId Get a active ssd compatibilities by id @return CompatibilitiesSsdActive

func (*StoragepoolApiService) GetCompatibilitiesSsdAvailable ¶

func (a *StoragepoolApiService) GetCompatibilitiesSsdAvailable(ctx context.Context) (CompatibilitiesSsdAvailable, *http.Response, error)

StoragepoolApiService Get a list of available ssd compatibilities * @param ctx context.Context for authentication, logging, tracing, etc. @return CompatibilitiesSsdAvailable

func (*StoragepoolApiService) GetStoragepoolNodepool ¶

func (a *StoragepoolApiService) GetStoragepoolNodepool(ctx context.Context, storagepoolNodepoolId string) (StoragepoolNodepools, *http.Response, error)

StoragepoolApiService Retrieve node pool information. * @param ctx context.Context for authentication, logging, tracing, etc. @param storagepoolNodepoolId Retrieve node pool information. @return StoragepoolNodepools

func (*StoragepoolApiService) GetStoragepoolSettings ¶

func (a *StoragepoolApiService) GetStoragepoolSettings(ctx context.Context) (StoragepoolSettings, *http.Response, error)

StoragepoolApiService List all storagepool settings. * @param ctx context.Context for authentication, logging, tracing, etc. @return StoragepoolSettings

func (*StoragepoolApiService) GetStoragepoolStatus ¶

func (a *StoragepoolApiService) GetStoragepoolStatus(ctx context.Context) (StoragepoolStatus, *http.Response, error)

StoragepoolApiService List any health conditions detected. * @param ctx context.Context for authentication, logging, tracing, etc. @return StoragepoolStatus

func (*StoragepoolApiService) GetStoragepoolStoragepools ¶

func (a *StoragepoolApiService) GetStoragepoolStoragepools(ctx context.Context, localVarOptionals map[string]interface{}) (StoragepoolStoragepools, *http.Response, error)

StoragepoolApiService List all storage pools. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "toplevels" (string) If true, node pools contained within tiers will be filtered out of results.
@param "dir" (string) The direction of the sort.

@return StoragepoolStoragepools

func (*StoragepoolApiService) GetStoragepoolSuggestedProtectionNid ¶

func (a *StoragepoolApiService) GetStoragepoolSuggestedProtectionNid(ctx context.Context, storagepoolSuggestedProtectionNid string) (StoragepoolSuggestedProtection, *http.Response, error)

StoragepoolApiService Retrieve the suggested protection policy. * @param ctx context.Context for authentication, logging, tracing, etc. @param storagepoolSuggestedProtectionNid Retrieve the suggested protection policy. @return StoragepoolSuggestedProtection

func (*StoragepoolApiService) GetStoragepoolTier ¶

func (a *StoragepoolApiService) GetStoragepoolTier(ctx context.Context, storagepoolTierId string) (StoragepoolTiers, *http.Response, error)

StoragepoolApiService Retrieve tier information. * @param ctx context.Context for authentication, logging, tracing, etc. @param storagepoolTierId Retrieve tier information. @return StoragepoolTiers

func (*StoragepoolApiService) GetStoragepoolUnprovisioned ¶

func (a *StoragepoolApiService) GetStoragepoolUnprovisioned(ctx context.Context) (StoragepoolUnprovisioned, *http.Response, error)

StoragepoolApiService Get the unprovisioned nodes and drives * @param ctx context.Context for authentication, logging, tracing, etc. @return StoragepoolUnprovisioned

func (*StoragepoolApiService) ListCompatibilitiesClassActive ¶

func (a *StoragepoolApiService) ListCompatibilitiesClassActive(ctx context.Context) (CompatibilitiesClassActiveExtended, *http.Response, error)

StoragepoolApiService Get a list of active compatibilities * @param ctx context.Context for authentication, logging, tracing, etc. @return CompatibilitiesClassActiveExtended

func (*StoragepoolApiService) ListCompatibilitiesSsdActive ¶

func (a *StoragepoolApiService) ListCompatibilitiesSsdActive(ctx context.Context) (CompatibilitiesSsdActiveExtended, *http.Response, error)

StoragepoolApiService Get a list of active ssd compatibilities * @param ctx context.Context for authentication, logging, tracing, etc. @return CompatibilitiesSsdActiveExtended

func (*StoragepoolApiService) ListStoragepoolNodepools ¶

StoragepoolApiService List all node pools. * @param ctx context.Context for authentication, logging, tracing, etc. @return StoragepoolNodepoolsExtended

func (*StoragepoolApiService) ListStoragepoolTiers ¶

StoragepoolApiService List all tiers. * @param ctx context.Context for authentication, logging, tracing, etc. @return StoragepoolTiersExtended

func (*StoragepoolApiService) UpdateCompatibilitiesSsdActiveById ¶

func (a *StoragepoolApiService) UpdateCompatibilitiesSsdActiveById(ctx context.Context, compatibilitiesSsdActiveIdParams CompatibilitiesSsdActiveIdParams, compatibilitiesSsdActiveId string, localVarOptionals map[string]interface{}) (*http.Response, error)

StoragepoolApiService Modify an ssd compatibility by id * @param ctx context.Context for authentication, logging, tracing, etc. @param compatibilitiesSsdActiveIdParams @param compatibilitiesSsdActiveId Modify an ssd compatibility by id @param optional (nil or map[string]interface{}) with one or more of:

@param "assess" (bool) Do not perform action, only test that it is possible.

@return

func (*StoragepoolApiService) UpdateStoragepoolNodepool ¶

func (a *StoragepoolApiService) UpdateStoragepoolNodepool(ctx context.Context, storagepoolNodepool StoragepoolNodepool, storagepoolNodepoolId string) (*http.Response, error)

StoragepoolApiService Modify node pool. All input fields are optional, but one or more must be supplied. * @param ctx context.Context for authentication, logging, tracing, etc. @param storagepoolNodepool @param storagepoolNodepoolId Modify node pool. All input fields are optional, but one or more must be supplied. @return

func (*StoragepoolApiService) UpdateStoragepoolSettings ¶

func (a *StoragepoolApiService) UpdateStoragepoolSettings(ctx context.Context, storagepoolSettings StoragepoolSettingsExtended) (*http.Response, error)

StoragepoolApiService Modify one or more settings. * @param ctx context.Context for authentication, logging, tracing, etc. @param storagepoolSettings @return

func (*StoragepoolApiService) UpdateStoragepoolTier ¶

func (a *StoragepoolApiService) UpdateStoragepoolTier(ctx context.Context, storagepoolTier StoragepoolTier, storagepoolTierId string) (*http.Response, error)

StoragepoolApiService Modify tier. All input fields are optional, but one or more must be supplied. * @param ctx context.Context for authentication, logging, tracing, etc. @param storagepoolTier @param storagepoolTierId Modify tier. All input fields are optional, but one or more must be supplied. @return

type StoragepoolNodepool ¶

type StoragepoolNodepool struct {

	// Use SSDs in this node pool for L3 cache.
	L3 bool `json:"l3,omitempty"`

	// The nodes that are part of this node pool.
	Lnns []int32 `json:"lnns,omitempty"`

	// The node pool name.
	Name string `json:"name,omitempty"`

	// The node pool protection policy.
	ProtectionPolicy string `json:"protection_policy,omitempty"`

	// The name or ID of the node pool's tier, if it is in a tier.
	Tier string `json:"tier,omitempty"`
}

type StoragepoolNodepoolCreateParams ¶

type StoragepoolNodepoolCreateParams struct {

	// Use SSDs in this node pool for L3 cache.
	L3 bool `json:"l3,omitempty"`

	// The nodes that are part of this node pool.
	Lnns []int32 `json:"lnns"`

	// The node pool name.
	Name string `json:"name"`

	// The node pool protection policy.
	ProtectionPolicy string `json:"protection_policy,omitempty"`

	// The name or ID of the node pool's tier, if it is in a tier.
	Tier string `json:"tier,omitempty"`
}

type StoragepoolNodepoolExtended ¶

type StoragepoolNodepoolExtended struct {

	// Indicates if enabling L3 is possible. L3 cannot be enabled if there are unprovisioned drives.
	CanEnableL3 bool `json:"can_enable_l3"`

	// An array of containing any health issues with this pool.  If the pool is healthy, the list is empty.
	HealthFlags []string `json:"health_flags,omitempty"`

	// The system ID given to the node pool.
	Id int32 `json:"id"`

	// Use SSDs in this node pool for L3 cache.
	L3 bool `json:"l3"`

	// 'storage' if the 'l3' option is disabled. If the l3 option is enabled, 'migrating' if any SSDs in this node pool have not yet been migrated to L3. If all SSDs have been migrated, 'l3'.
	L3Status string `json:"l3_status"`

	// The nodes that are part of this node pool.
	Lnns []int32 `json:"lnns"`

	// Whether or not the node pool is manually managed.
	Manual bool `json:"manual"`

	// The node pool name.
	Name string `json:"name"`

	// The underlying protection policy.
	ProtectionPolicy string `json:"protection_policy,omitempty"`

	// The name (if named) or system ID of the node pool's tier, if it is in a tier. Otherwise null.
	Tier string `json:"tier,omitempty"`

	// Total pool usage.
	Usage *StoragepoolTierUsage `json:"usage"`
}

type StoragepoolNodepools ¶

type StoragepoolNodepools struct {
	Nodepools []StoragepoolNodepoolExtended `json:"nodepools,omitempty"`
}

type StoragepoolNodepoolsExtended ¶

type StoragepoolNodepoolsExtended struct {
	Nodepools []StoragepoolNodepoolExtended `json:"nodepools,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type StoragepoolSettings ¶

type StoragepoolSettings struct {

	//
	Settings *StoragepoolSettingsSettings `json:"settings,omitempty"`
}

type StoragepoolSettingsExtended ¶

type StoragepoolSettingsExtended struct {

	// Automatically manage IO optimization settings on files.
	AutomaticallyManageIoOptimization string `json:"automatically_manage_io_optimization,omitempty"`

	// Automatically manage protection settings on files.
	AutomaticallyManageProtection string `json:"automatically_manage_protection,omitempty"`

	// Optimize namespace operations by storing metadata on SSDs.
	GlobalNamespaceAccelerationEnabled bool `json:"global_namespace_acceleration_enabled,omitempty"`

	// Automatically add additional protection level to all directories.
	ProtectDirectoriesOneLevelHigher bool `json:"protect_directories_one_level_higher,omitempty"`

	// Spill writes into other pools as needed.
	SpilloverEnabled bool `json:"spillover_enabled,omitempty"`

	// Target pool for spilled writes.
	SpilloverTarget *StoragepoolSettingsSpilloverTarget `json:"spillover_target,omitempty"`

	// The L3 Cache default enabled state. This specifies whether L3 Cache should be enabled on new node pools
	SsdL3CacheDefaultEnabled bool `json:"ssd_l3_cache_default_enabled,omitempty"`

	// Controls number of mirrors of QAB blocks to place on SSDs.
	SsdQabMirrors string `json:"ssd_qab_mirrors,omitempty"`

	// Controls number of mirrors of system B-tree blocks to place on SSDs.
	SsdSystemBtreeMirrors string `json:"ssd_system_btree_mirrors,omitempty"`

	// Controls number of mirrors of system delta blocks to place on SSDs.
	SsdSystemDeltaMirrors string `json:"ssd_system_delta_mirrors,omitempty"`

	// Deny writes into reserved virtual hot spare space.
	VirtualHotSpareDenyWrites bool `json:"virtual_hot_spare_deny_writes,omitempty"`

	// Hide reserved virtual hot spare space from free space counts.
	VirtualHotSpareHideSpare bool `json:"virtual_hot_spare_hide_spare,omitempty"`

	// The number of drives to reserve for the virtual hot spare, from 0-4.
	VirtualHotSpareLimitDrives int32 `json:"virtual_hot_spare_limit_drives,omitempty"`

	// The percent space to reserve for the virtual hot spare, from 0-20.
	VirtualHotSpareLimitPercent int32 `json:"virtual_hot_spare_limit_percent,omitempty"`
}

type StoragepoolSettingsSettings ¶

type StoragepoolSettingsSettings struct {

	// Automatically manage IO optimization settings on files.
	AutomaticallyManageIoOptimization string `json:"automatically_manage_io_optimization"`

	// Automatically manage protection settings on files.
	AutomaticallyManageProtection string `json:"automatically_manage_protection"`

	// Optimize namespace operations by storing metadata on SSDs.
	GlobalNamespaceAccelerationEnabled bool `json:"global_namespace_acceleration_enabled"`

	// Whether or not namespace operation optimizations are currently in effect.
	GlobalNamespaceAccelerationState string `json:"global_namespace_acceleration_state"`

	// Automatically add additional protection level to all directories.
	ProtectDirectoriesOneLevelHigher bool `json:"protect_directories_one_level_higher"`

	// Spill writes into other pools as needed.
	SpilloverEnabled bool `json:"spillover_enabled"`

	// Target pool for spilled writes.
	SpilloverTarget *StoragepoolSettingsSettingsSpilloverTarget `json:"spillover_target"`

	// The L3 Cache default enabled state. This specifies whether L3 Cache should be enabled on new node pools.
	SsdL3CacheDefaultEnabled bool `json:"ssd_l3_cache_default_enabled"`

	// Controls number of mirrors of QAB blocks to place on SSDs.
	SsdQabMirrors string `json:"ssd_qab_mirrors"`

	// Controls number of mirrors of system B-tree blocks to place on SSDs.
	SsdSystemBtreeMirrors string `json:"ssd_system_btree_mirrors"`

	// Controls number of mirrors of system delta blocks to place on SSDs.
	SsdSystemDeltaMirrors string `json:"ssd_system_delta_mirrors"`

	// Deny writes into reserved virtual hot spare space.
	VirtualHotSpareDenyWrites bool `json:"virtual_hot_spare_deny_writes"`

	// Hide reserved virtual hot spare space from free space counts.
	VirtualHotSpareHideSpare bool `json:"virtual_hot_spare_hide_spare"`

	// The number of drives to reserve for the virtual hot spare, from 0-4.
	VirtualHotSpareLimitDrives int32 `json:"virtual_hot_spare_limit_drives"`

	// The percent space to reserve for the virtual hot spare, from 0-20.
	VirtualHotSpareLimitPercent int32 `json:"virtual_hot_spare_limit_percent"`
}

type StoragepoolSettingsSettingsSpilloverTarget ¶

type StoragepoolSettingsSettingsSpilloverTarget struct {

	// Target pool ID if target specified, otherwise null.
	Id int32 `json:"id,omitempty"`

	// Target pool name if target specified, otherwise null.
	Name string `json:"name,omitempty"`

	// Type of target pool.
	Type_ string `json:"type"`
}

type StoragepoolSettingsSpilloverTarget ¶

type StoragepoolSettingsSpilloverTarget struct {

	// Target pool ID if target specified, otherwise null.
	NameOrId string `json:"name_or_id,omitempty"`

	// Type of target pool.
	Type_ string `json:"type"`
}

type StoragepoolStatus ¶

type StoragepoolStatus struct {

	// Disk pools which are currently unhealthy.
	Unhealthy []StoragepoolStatusUnhealthyItem `json:"unhealthy"`

	// Drives which are not currently provisioned into a disk pool.
	Unprovisioned []StoragepoolStatusUnprovisionedItem `json:"unprovisioned"`
}

type StoragepoolStatusUnhealthyItem ¶

type StoragepoolStatusUnhealthyItem struct {

	// The affected nodes and/or drives.
	Affected []StoragepoolStatusUnhealthyItemAffectedItem `json:"affected"`

	//
	Diskpool *StoragepoolStatusUnhealthyItemDiskpool `json:"diskpool,omitempty"`

	// An array of containing any health issues with this pool.  If the pool is healthy, the list is empty.
	HealthFlags []string `json:"health_flags,omitempty"`
}

type StoragepoolStatusUnhealthyItemAffectedItem ¶

type StoragepoolStatusUnhealthyItemAffectedItem struct {

	//
	Device *StoragepoolStatusUnprovisionedItem `json:"device,omitempty"`

	// Whether or not the device is currently down.
	Down bool `json:"down"`

	// Whether or not the device is currently being repaired.
	Restriping bool `json:"restriping"`

	// Whether or not the device is currently smartfailed.
	Smartfailed bool `json:"smartfailed"`

	// The type of affected device.
	Type_ string `json:"type"`
}

type StoragepoolStatusUnhealthyItemDiskpool ¶

type StoragepoolStatusUnhealthyItemDiskpool struct {

	// The drives that are part of this disk pool.
	Drives []StoragepoolStatusUnprovisionedItem `json:"drives"`

	// The system ID given to the disk pool.
	Id int32 `json:"id"`

	// The disk pool name.
	Name string `json:"name"`

	// The system ID of the disk pool's node pool, if it is in a node pool.
	NodepoolId int32 `json:"nodepool_id,omitempty"`

	// The protection policy for the disk pool.
	ProtectionPolicy string `json:"protection_policy"`

	// The SSDs that are part of this disk pool.
	SsdDrives []StoragepoolStatusUnprovisionedItem `json:"ssd_drives"`
}

type StoragepoolStatusUnprovisionedItem ¶

type StoragepoolStatusUnprovisionedItem struct {

	// The drive bay number.
	Bay int32 `json:"bay"`

	// The node the drive is on.
	Lnn int32 `json:"lnn"`
}

type StoragepoolStoragepool ¶

type StoragepoolStoragepool struct {

	// Indicates if disabling L3 is possible.
	CanDisableL3 bool `json:"can_disable_l3,omitempty"`

	// Indicates if enabling L3 is possible. L3 cannot be enabled if there are unprovisioned drives.
	CanEnableL3 bool `json:"can_enable_l3,omitempty"`

	// The names or IDs of the pool's children.
	Children []string `json:"children,omitempty"`

	// An array of containing any health issues with this pool.  If the pool is healthy, the list is empty.  Only appears on 'nodepool' type storagepools.
	HealthFlags []string `json:"health_flags,omitempty"`

	// The system ID given to the pool.
	Id int32 `json:"id"`

	// Use SSDs in this node pool for L3 cache.
	L3 bool `json:"l3,omitempty"`

	// 'storage' if the 'l3' option is disabled. If the l3 option is enabled, 'migrating' if any SSDs in this node pool have not yet been migrated to L3. If all SSDs have been migrated, 'l3'.
	L3Status string `json:"l3_status,omitempty"`

	// The nodes that are part of this pool.
	Lnns []int32 `json:"lnns"`

	// Whether or not the node pool is manually managed.
	Manual bool `json:"manual,omitempty"`

	// The pool name.
	Name string `json:"name"`

	// The underlying protection policy.
	ProtectionPolicy string `json:"protection_policy,omitempty"`

	// The pool type.
	Type_ string `json:"type"`

	// Total pool usage.
	Usage *StoragepoolTierUsage `json:"usage"`
}

type StoragepoolStoragepools ¶

type StoragepoolStoragepools struct {
	Storagepools []StoragepoolStoragepool `json:"storagepools,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type StoragepoolSuggestedProtection ¶

type StoragepoolSuggestedProtection struct {
	SuggestedProtection []StoragepoolSuggestedProtectionSuggestedProtectionItem `json:"suggested_protection,omitempty"`
}

type StoragepoolSuggestedProtectionSuggestedProtectionItem ¶

type StoragepoolSuggestedProtectionSuggestedProtectionItem struct {

	// The suggested protection policy.
	SuggestedProtection string `json:"suggested_protection,omitempty"`
}

type StoragepoolTier ¶

type StoragepoolTier struct {

	// The names or IDs of the tier's children.
	Children []string `json:"children,omitempty"`

	// The tier name.
	Name string `json:"name,omitempty"`
}

type StoragepoolTierCreateParams ¶

type StoragepoolTierCreateParams struct {

	// The names or IDs of the tier's children.
	Children []string `json:"children,omitempty"`

	// The tier name.
	Name string `json:"name"`
}

type StoragepoolTierExtended ¶

type StoragepoolTierExtended struct {

	// The names or IDs of the tier's children.
	Children []string `json:"children,omitempty"`

	// The tier name.
	Name string `json:"name"`

	// The system ID given to the tier.
	Id int32 `json:"id"`

	// The nodes that are part of this tier.
	Lnns []int32 `json:"lnns"`

	// Total pool usage.
	Usage *StoragepoolTierUsage `json:"usage"`
}

type StoragepoolTierUsage ¶

type StoragepoolTierUsage struct {

	// Available free bytes remaining in the pool when virtual hot spare is taken into account.
	AvailBytes string `json:"avail_bytes"`

	// Available free bytes remaining in the pool on HDD drives when virtual hot spare is taken into account.
	AvailHddBytes string `json:"avail_hdd_bytes"`

	// Available free bytes remaining in the pool on SSD drives when virtual hot spare is taken into account.
	AvailSsdBytes string `json:"avail_ssd_bytes"`

	// Whether or not the pool usage is currently balanced.
	Balanced bool `json:"balanced"`

	// Free bytes remaining in the pool.
	FreeBytes string `json:"free_bytes"`

	// Free bytes remaining in the pool on HDD drives.
	FreeHddBytes string `json:"free_hdd_bytes"`

	// Free bytes remaining in the pool on SSD drives.
	FreeSsdBytes string `json:"free_ssd_bytes"`

	// Percentage of usable space in the pool which is used.
	PctUsed string `json:"pct_used"`

	// Percentage of usable space on HDD drives in the pool which is used.
	PctUsedHdd string `json:"pct_used_hdd"`

	// Percentage of usable space on SSD drives in the pool which is used.
	PctUsedSsd string `json:"pct_used_ssd"`

	// Total bytes in the pool.
	TotalBytes string `json:"total_bytes"`

	// Total bytes in the pool on HDD drives.
	TotalHddBytes string `json:"total_hdd_bytes"`

	// Total bytes in the pool on SSD drives.
	TotalSsdBytes string `json:"total_ssd_bytes"`

	// Total bytes in the pool drives when virtual hot spare is taken into account.
	UsableBytes string `json:"usable_bytes"`

	// Total bytes in the pool on HDD drives when virtual hot spare is taken into account.
	UsableHddBytes string `json:"usable_hdd_bytes"`

	// Total bytes in the pool on SSD drives when virtual hot spare is taken into account.
	UsableSsdBytes string `json:"usable_ssd_bytes"`

	// Used bytes in the pool.
	UsedBytes string `json:"used_bytes,omitempty"`

	// Used bytes in the pool on HDD drives.
	UsedHddBytes string `json:"used_hdd_bytes"`

	// Used bytes in the pool on SSD drives.
	UsedSsdBytes string `json:"used_ssd_bytes"`

	VirtualHotSpareBytes string `json:"virtual_hot_spare_bytes,omitempty"`
}

type StoragepoolTiers ¶

type StoragepoolTiers struct {
	Tiers []StoragepoolTierExtended `json:"tiers,omitempty"`
}

type StoragepoolTiersExtended ¶

type StoragepoolTiersExtended struct {
	Tiers []StoragepoolTierExtended `json:"tiers,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type StoragepoolUnprovisioned ¶

type StoragepoolUnprovisioned struct {

	//
	Unprovisioned *StoragepoolUnprovisionedUnprovisioned `json:"unprovisioned,omitempty"`
}

type StoragepoolUnprovisionedUnprovisioned ¶

type StoragepoolUnprovisionedUnprovisioned struct {

	// A list of unprovisioned drives that do not belong to an unprovisioned node.
	Drives []StoragepoolStatusUnprovisionedItem `json:"drives"`

	// A list of lnns whose drives are all unprovisioned
	Lnns []int32 `json:"lnns"`
}

type SubnetsSubnetPool ¶

type SubnetsSubnetPool struct {

	// Name of a valid access zone to map IP address pool to the zone.
	AccessZone string `json:"access_zone,omitempty"`

	// OneFS supports the following NIC aggregation modes.
	AggregationMode string `json:"aggregation_mode,omitempty"`

	// Specifies how IP address allocation is done among pool members.
	AllocMethod string `json:"alloc_method,omitempty"`

	// A description of the pool.
	Description string `json:"description,omitempty"`

	// List of interface members in this pool.
	Ifaces []SubnetsSubnetPoolIface `json:"ifaces,omitempty"`

	// The name of the pool. It must be unique throughout the given subnet.It's a required field with POST method.
	Name string `json:"name,omitempty"`

	// List of IP address ranges in this pool.
	Ranges []SubnetsSubnetPoolRange `json:"ranges,omitempty"`

	// Rebalance policy..
	RebalancePolicy string `json:"rebalance_policy,omitempty"`

	// Time delay in seconds before a node which has been                 automatically unsuspended becomes usable in SmartConnect                responses for pool zones.
	ScAutoUnsuspendDelay int32 `json:"sc_auto_unsuspend_delay,omitempty"`

	// SmartConnect client connection balancing policy.
	ScConnectPolicy string `json:"sc_connect_policy,omitempty"`

	// SmartConnect zone name for the pool.
	ScDnsZone string `json:"sc_dns_zone,omitempty"`

	// List of SmartConnect zone aliases (DNS names) to the pool.
	ScDnsZoneAliases []string `json:"sc_dns_zone_aliases,omitempty"`

	// SmartConnect IP failover policy.
	ScFailoverPolicy string `json:"sc_failover_policy,omitempty"`

	// Name of SmartConnect service subnet for this pool.
	ScSubnet string `json:"sc_subnet,omitempty"`

	// Time to live value for SmartConnect DNS query responses in seconds.
	ScTtl int32 `json:"sc_ttl,omitempty"`

	// List of interface members in this pool.
	StaticRoutes []SubnetsSubnetPoolStaticRoute `json:"static_routes,omitempty"`
}

type SubnetsSubnetPoolCreateParams ¶

type SubnetsSubnetPoolCreateParams struct {

	// Name of a valid access zone to map IP address pool to the zone.
	AccessZone string `json:"access_zone,omitempty"`

	// OneFS supports the following NIC aggregation modes.
	AggregationMode string `json:"aggregation_mode,omitempty"`

	// Specifies how IP address allocation is done among pool members.
	AllocMethod string `json:"alloc_method,omitempty"`

	// A description of the pool.
	Description string `json:"description,omitempty"`

	// List of interface members in this pool.
	Ifaces []SubnetsSubnetPoolIface `json:"ifaces,omitempty"`

	// The name of the pool. It must be unique throughout the given subnet.It's a required field with POST method.
	Name string `json:"name"`

	// List of IP address ranges in this pool.
	Ranges []SubnetsSubnetPoolRange `json:"ranges,omitempty"`

	// Rebalance policy..
	RebalancePolicy string `json:"rebalance_policy,omitempty"`

	// Time delay in seconds before a node which has been                 automatically unsuspended becomes usable in SmartConnect                responses for pool zones.
	ScAutoUnsuspendDelay int32 `json:"sc_auto_unsuspend_delay,omitempty"`

	// SmartConnect client connection balancing policy.
	ScConnectPolicy string `json:"sc_connect_policy,omitempty"`

	// SmartConnect zone name for the pool.
	ScDnsZone string `json:"sc_dns_zone,omitempty"`

	// List of SmartConnect zone aliases (DNS names) to the pool.
	ScDnsZoneAliases []string `json:"sc_dns_zone_aliases,omitempty"`

	// SmartConnect IP failover policy.
	ScFailoverPolicy string `json:"sc_failover_policy,omitempty"`

	// Name of SmartConnect service subnet for this pool.
	ScSubnet string `json:"sc_subnet,omitempty"`

	// Time to live value for SmartConnect DNS query responses in seconds.
	ScTtl int32 `json:"sc_ttl,omitempty"`

	// List of interface members in this pool.
	StaticRoutes []SubnetsSubnetPoolStaticRoute `json:"static_routes,omitempty"`
}

type SubnetsSubnetPoolIface ¶

type SubnetsSubnetPoolIface struct {

	// A string that defines an interface name.
	Iface string `json:"iface,omitempty"`

	// Logical Node Number.
	Lnn int32 `json:"lnn,omitempty"`
}

type SubnetsSubnetPoolRange ¶

type SubnetsSubnetPoolRange struct {

	// High IP
	High string `json:"high"`

	// Low IP
	Low string `json:"low"`
}

type SubnetsSubnetPoolStaticRoute ¶

type SubnetsSubnetPoolStaticRoute struct {

	// Address of the gateway in the format: yyy.yyy.yyy.yyy
	Gateway string `json:"gateway"`

	// Prefix length in the format: nn.
	Prefixlen int32 `json:"prefixlen"`

	// Network address in the format: xxx.xxx.xxx.xxx
	Subnet string `json:"subnet"`
}

type SubnetsSubnetPools ¶

type SubnetsSubnetPools struct {
	Pools []SubnetsSubnetPoolsPool `json:"pools,omitempty"`
}

type SubnetsSubnetPoolsExtended ¶

type SubnetsSubnetPoolsExtended struct {
	Pools []SubnetsSubnetPoolsPool `json:"pools,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type SubnetsSubnetPoolsPool ¶

type SubnetsSubnetPoolsPool struct {

	// Name of a valid access zone to map IP address pool to the zone.
	AccessZone string `json:"access_zone"`

	// IP address format.
	AddrFamily string `json:"addr_family"`

	// OneFS supports the following NIC aggregation modes.
	AggregationMode string `json:"aggregation_mode"`

	// Specifies how IP address allocation is done among pool members.
	AllocMethod string `json:"alloc_method"`

	// A description of the pool.
	Description string `json:"description"`

	// Name of the groupnet this pool belongs to.
	Groupnet string `json:"groupnet"`

	// Unique Pool ID.
	Id string `json:"id"`

	// List of interface members in this pool.
	Ifaces []SubnetsSubnetPoolIface `json:"ifaces"`

	// The name of the pool. It must be unique throughout the given subnet.It's a required field with POST method.
	Name string `json:"name"`

	// List of IP address ranges in this pool.
	Ranges []SubnetsSubnetPoolRange `json:"ranges"`

	// Rebalance policy..
	RebalancePolicy string `json:"rebalance_policy"`

	// Names of the rules in this pool.
	Rules []string `json:"rules"`

	// Time delay in seconds before a node which has been                 automatically unsuspended becomes usable in SmartConnect                responses for pool zones.
	ScAutoUnsuspendDelay int32 `json:"sc_auto_unsuspend_delay"`

	// SmartConnect client connection balancing policy.
	ScConnectPolicy string `json:"sc_connect_policy"`

	// SmartConnect zone name for the pool.
	ScDnsZone string `json:"sc_dns_zone"`

	// List of SmartConnect zone aliases (DNS names) to the pool.
	ScDnsZoneAliases []string `json:"sc_dns_zone_aliases"`

	// SmartConnect IP failover policy.
	ScFailoverPolicy string `json:"sc_failover_policy"`

	// Name of SmartConnect service subnet for this pool.
	ScSubnet string `json:"sc_subnet"`

	// List of LNNs showing currently suspended nodes in SmartConnect.
	ScSuspendedNodes []int32 `json:"sc_suspended_nodes"`

	// Time to live value for SmartConnect DNS query responses in seconds.
	ScTtl int32 `json:"sc_ttl"`

	// List of interface members in this pool.
	StaticRoutes []SubnetsSubnetPoolStaticRoute `json:"static_routes"`

	// The name of the subnet.
	Subnet string `json:"subnet"`
}

type SummaryClient ¶

type SummaryClient struct {
	Client []SummaryClientClientItem `json:"client,omitempty"`
}

type SummaryClientClientItem ¶

type SummaryClientClientItem struct {

	// The class of the operation.
	Class string `json:"class"`

	// Rate of input (in bytes/second) for an operation since the last time isi statistics collected the data.
	In float32 `json:"in"`

	// Average input (received) bytes for an operation, in bytes.
	InAvg float32 `json:"in_avg"`

	// Maximum input (received) bytes for an operation, in bytes.
	InMax float32 `json:"in_max"`

	// Minimum input (received) bytes for an operation, in bytes.
	InMin float32 `json:"in_min"`

	// The IP address (in dotted-quad form) of the host receiving the operation request.
	LocalAddr string `json:"local_addr"`

	// The resolved text name of the LocalAddr, if resolution can be performed.
	LocalName string `json:"local_name"`

	// The node on which the operation was performed.
	Node int32 `json:"node,omitempty"`

	// The number of times an operation has been performed.
	NumOperations int32 `json:"num_operations"`

	// The rate (in ops/second) at which an operation has been performed.
	OperationRate float32 `json:"operation_rate"`

	// Rate of output (in bytes/second) for an operation since the last time isi statistics collected the data.
	Out float32 `json:"out"`

	// Average output (sent) bytes for an operation, in bytes.
	OutAvg float32 `json:"out_avg"`

	// Maximum output (sent) bytes for an operation, in bytes.
	OutMax float32 `json:"out_max"`

	// Minimum output (sent) bytes for an operation, in bytes.
	OutMin float32 `json:"out_min"`

	// The protocol of the operation.
	Protocol string `json:"protocol"`

	// The IP address (in dotted-quad form) of the host sending the operation request.
	RemoteAddr string `json:"remote_addr"`

	// The resolved text name of the RemoteAddr, if resolution can be performed.
	RemoteName string `json:"remote_name"`

	// Unix Epoch time in seconds of the request.
	Time int32 `json:"time"`

	// The average elapsed time (in microseconds) taken to complete an operation.
	TimeAvg float32 `json:"time_avg"`

	// The maximum elapsed time (in microseconds) taken to complete an operation.
	TimeMax float32 `json:"time_max"`

	// The minimum elapsed time (in microseconds) taken to complete an operation.
	TimeMin float32 `json:"time_min"`

	// Specifies properties for a persona, which consists of either a 'type' and a 'name' or an 'ID'.
	User *AuthAccessAccessItemFileGroup `json:"user,omitempty"`
}

type SummaryDrive ¶

type SummaryDrive struct {
	Drive []SummaryDriveDriveItem `json:"drive,omitempty"`
}

type SummaryDriveDriveItem ¶

type SummaryDriveDriveItem struct {

	// The average operation latency.
	AccessLatency float32 `json:"access_latency"`

	// The rate of slow (long-latency) operations.
	AccessSlow float32 `json:"access_slow"`

	// The percentage of time the drive was busy.
	Busy float32 `json:"busy"`

	// The rate of bytes written.
	BytesIn float32 `json:"bytes_in"`

	// The rate of bytes read.
	BytesOut float32 `json:"bytes_out"`

	// Drive ID LNN:bay.
	DriveId string `json:"drive_id"`

	// The average time spent in the I/O scheduler.
	IoschedLatency float32 `json:"iosched_latency"`

	// The average length of the I/O scheduler queue.
	IoschedQueue float32 `json:"iosched_queue"`

	// Unix Epoch time in seconds of the request.
	Time int32 `json:"time"`

	// The type of the drive.
	Type_ string `json:"type"`

	// The percent of blocks used on the drive.
	UsedBytesPercent float32 `json:"used_bytes_percent"`

	// The number of inodes allocated on the drive.
	UsedInodes float32 `json:"used_inodes"`

	// The average size of write operations.
	XferSizeIn float32 `json:"xfer_size_in"`

	// The average size of read operations.
	XferSizeOut float32 `json:"xfer_size_out"`

	// The rate of write operations.
	XfersIn float32 `json:"xfers_in"`

	// The rate of read operations.
	XfersOut float32 `json:"xfers_out"`
}

type SummaryHeat ¶

type SummaryHeat struct {
	Heat []SummaryHeatHeatItem `json:"heat,omitempty"`
}

type SummaryHeatHeatItem ¶

type SummaryHeatHeatItem struct {

	// The class of operation
	ClassName string `json:"class_name"`

	// The type of event
	EventName string `json:"event_name"`

	// The event type id
	EventType int32 `json:"event_type,omitempty"`

	// Logical inode (LIN)
	Lin string `json:"lin,omitempty"`

	// The node where this event occurred.
	Node int32 `json:"node,omitempty"`

	// Approximate operations per second for this lin.
	OperationRate float32 `json:"operation_rate"`

	// Canonical LIN path if known
	Path string `json:"path"`

	// Unix Epoch time in seconds of the request.
	Time int32 `json:"time"`
}

type SummaryProtocol ¶

type SummaryProtocol struct {
	Protocol []SummaryProtocolProtocolItem `json:"protocol,omitempty"`
}

type SummaryProtocolProtocolItem ¶

type SummaryProtocolProtocolItem struct {

	// The class of the operation.
	Class string `json:"class"`

	// Rate of input (in bytes/second) for an operation since the last time isi statistics collected the data.
	In float32 `json:"in"`

	// Average input (received) bytes for an operation, in bytes.
	InAvg float32 `json:"in_avg"`

	// Maximum input (received) bytes for an operation, in bytes.
	InMax float32 `json:"in_max"`

	// Minimum input (received) bytes for an operation, in bytes.
	InMin float32 `json:"in_min"`

	// Standard deviation for input (received) bytes for an operation, in bytes.
	InStandardDev float32 `json:"in_standard_dev"`

	// The node on which the operation was performed.
	Node int32 `json:"node,omitempty"`

	// The operation performed.
	Operation string `json:"operation"`

	// The number of times an operation has been performed.
	OperationCount int32 `json:"operation_count"`

	// The rate (in ops/second) at which an operation has been performed.
	OperationRate float32 `json:"operation_rate"`

	// Rate of output (in bytes/second) for an operation since the last time isi statistics collected the data.
	Out float32 `json:"out"`

	// Average output (sent) bytes for an operation, in bytes.
	OutAvg float32 `json:"out_avg"`

	// Maximum output (sent) bytes for an operation, in bytes.
	OutMax float32 `json:"out_max"`

	// Minimum output (sent) bytes for an operation, in bytes.
	OutMin float32 `json:"out_min"`

	// Standard deviation for output (received) bytes for an operation, in bytes.
	OutStandardDev float32 `json:"out_standard_dev"`

	// The protocol of the operation.
	Protocol string `json:"protocol"`

	// Unix Epoch time in seconds of the request.
	Time int32 `json:"time"`

	// The average elapsed time (in microseconds) taken to complete an operation.
	TimeAvg float32 `json:"time_avg"`

	// The maximum elapsed time (in microseconds) taken to complete an operation.
	TimeMax float32 `json:"time_max"`

	// The minimum elapsed time (in microseconds) taken to complete an operation.
	TimeMin float32 `json:"time_min"`

	// The standard deviation time (in microseconds) taken to complete an operation.
	TimeStandardDev float32 `json:"time_standard_dev"`
}

type SummaryProtocolStats ¶

type SummaryProtocolStats struct {

	//
	ProtocolStats *SummaryProtocolStatsProtocolStats `json:"protocol-stats,omitempty"`
}

type SummaryProtocolStatsProtocolStats ¶

type SummaryProtocolStatsProtocolStats struct {

	//
	Cpu *SummaryProtocolStatsProtocolStatsCpu `json:"cpu,omitempty"`

	//
	Disk *SummaryProtocolStatsProtocolStatsDisk `json:"disk,omitempty"`

	//
	Network *SummaryProtocolStatsProtocolStatsNetwork `json:"network,omitempty"`

	//
	Onefs *SummaryProtocolStatsProtocolStatsOnefs `json:"onefs,omitempty"`

	// A single protocol for which statistics should be reported.
	Protocol *SummaryProtocolStatsProtocolStatsProtocol `json:"protocol,omitempty"`

	// Unix Epoch time in seconds of the request.
	Time int32 `json:"time"`
}

type SummaryProtocolStatsProtocolStatsCpu ¶

type SummaryProtocolStatsProtocolStatsCpu struct {

	// Percentage of CPU idle time
	Idle float32 `json:"idle"`

	// Percentage of CPU consumed by the system
	System float32 `json:"system"`

	// Percentage of CPU consumed by user activities
	User float32 `json:"user"`
}

type SummaryProtocolStatsProtocolStatsDisk ¶

type SummaryProtocolStatsProtocolStatsDisk struct {

	// Disk iops
	Iops float32 `json:"iops"`

	// Disk reads
	Read float32 `json:"read"`

	// Disk writes
	Write float32 `json:"write"`
}

type SummaryProtocolStatsProtocolStatsNetwork ¶

type SummaryProtocolStatsProtocolStatsNetwork struct {

	//
	In *SummaryProtocolStatsProtocolStatsNetworkIn `json:"in,omitempty"`

	//
	Out *SummaryProtocolStatsProtocolStatsNetworkOut `json:"out,omitempty"`
}

type SummaryProtocolStatsProtocolStatsNetworkIn ¶

type SummaryProtocolStatsProtocolStatsNetworkIn struct {

	// Network input errors per-second
	ErrorsPerSec float32 `json:"errors_per_sec"`

	// Network input megabytes per-second
	MegabytesPerSec float32 `json:"megabytes_per_sec"`

	// Network input packets per-second
	PacketsPerSec float32 `json:"packets_per_sec"`
}

type SummaryProtocolStatsProtocolStatsNetworkOut ¶

type SummaryProtocolStatsProtocolStatsNetworkOut struct {

	// Network output errors per-second
	ErrorsPerSec float32 `json:"errors_per_sec"`

	// Network output megabytes per-second
	MegabytesPerSec float32 `json:"megabytes_per_sec"`

	// Network output packets per-second
	PacketsPerSec float32 `json:"packets_per_sec"`
}

type SummaryProtocolStatsProtocolStatsOnefs ¶

type SummaryProtocolStatsProtocolStatsOnefs struct {

	// OneFS throughput in MB/s in.
	In float32 `json:"in"`

	// OneFS throughput in MB/s out.
	Out float32 `json:"out"`

	// OneFS throughput in MB/s total.
	Total float32 `json:"total"`
}

type SummaryProtocolStatsProtocolStatsProtocol ¶

type SummaryProtocolStatsProtocolStatsProtocol struct {
	Data []SummaryProtocolStatsProtocolStatsProtocolDataItem `json:"data"`

	// The name of the protocol.
	Name string `json:"name,omitempty"`
}

type SummaryProtocolStatsProtocolStatsProtocolDataItem ¶

type SummaryProtocolStatsProtocolStatsProtocolDataItem struct {

	// The name of the protocol operation.
	Name string `json:"name"`

	// Protocol specific operations per second. This is a variable number of output fields depending on the protocol being displayed.
	Value string `json:"value"`
}

type SummarySystem ¶

type SummarySystem struct {
	System []SummarySystemSystemItem `json:"system,omitempty"`
}

type SummarySystemSystemItem ¶

type SummarySystemSystemItem struct {

	// The percentage CPU utilization.
	Cpu float32 `json:"cpu"`

	// Traffic to disk (in bytes/sec).
	DiskIn float32 `json:"disk_in"`

	// Traffic from disk (in bytes/sec).
	DiskOut float32 `json:"disk_out"`

	// The total throughput (in bytes/sec) for FTP operations.
	Ftp float32 `json:"ftp"`

	// The total throughput (in bytes/second) for HDFS operations.
	Hdfs float32 `json:"hdfs"`

	// The total throughput (in bytes/sec) for HTTP operations.
	Http float32 `json:"http"`

	// Incoming network traffic (in bytes/sec) for all operations.
	NetIn float32 `json:"net_in"`

	// Outgoing network traffic (in bytes/sec) for all operations.
	NetOut float32 `json:"net_out"`

	// The total throughput (in bytes/sec) for NFS (NFS3 & NFS4) operations.
	Nfs float32 `json:"nfs"`

	// Node ID/LNN, 'All' for cluster.
	Node string `json:"node"`

	// The total throughput (in bytes/sec) for SMB (SMB1 & SMB2) operations.
	Smb float32 `json:"smb"`

	// Unix Epoch time in seconds of the request.
	Time int32 `json:"time"`

	// The total throughput (in bytes/sec) for all protocols listed.
	Total float32 `json:"total"`
}

type SummaryWorkload ¶

type SummaryWorkload struct {
	Workload []SummaryWorkloadWorkloadItem `json:"workload,omitempty"`
}

type SummaryWorkloadWorkloadItem ¶

type SummaryWorkloadWorkloadItem struct {

	// The number (across all cores) of micro-seconds per second.
	Cpu float32 `json:"cpu"`

	// The canonical name for the job followed by phase in brackets, ie. 'AVscan[1]', etc...
	JobType string `json:"job_type,omitempty"`

	// L2 cache hits per second.
	L2 float32 `json:"l2"`

	// L3 cache hits per second.
	L3 float32 `json:"l3"`

	// The node on which the operation was performed.
	Node float32 `json:"node"`

	// Disk read operations per second.
	Reads float32 `json:"reads"`

	// The process name, job ID, etc...
	SystemName string `json:"system_name,omitempty"`

	// Disk write operations per second.
	Writes float32 `json:"writes"`
}

type SwiftAccount ¶

type SwiftAccount struct {

	// Unique id of swift account
	Id string `json:"id,omitempty"`

	// Name of Swift account
	Name string `json:"name"`

	// Group with filesystem ownership of this account
	Swiftgroup string `json:"swiftgroup,omitempty"`

	// User with filesystem ownership of this account
	Swiftuser string `json:"swiftuser,omitempty"`

	// Users who are allowed to access Swift account
	Users []string `json:"users,omitempty"`

	// Name of access zone for account
	Zone string `json:"zone,omitempty"`
}

This is an account for the Swift protocol.

type SwiftAccountExtended ¶

type SwiftAccountExtended struct {

	// Unique id of swift account
	Id string `json:"id,omitempty"`

	// Name of Swift account
	Name string `json:"name,omitempty"`

	// Path to root of Swift account
	Path string `json:"path,omitempty"`

	// Group with filesystem ownership of this account
	Swiftgroup string `json:"swiftgroup,omitempty"`

	// User with filesystem ownership of this account
	Swiftuser string `json:"swiftuser,omitempty"`

	// Users who are allowed to access Swift account
	Users []string `json:"users,omitempty"`

	// Name of access zone for account
	Zone string `json:"zone,omitempty"`
}

type SwiftAccounts ¶

type SwiftAccounts struct {
	Accounts []SwiftAccountExtended `json:"accounts,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`
}

type SwiftAccountsExtended ¶

type SwiftAccountsExtended struct {
	Accounts []SwiftAccountExtended `json:"accounts,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type SyncApiService ¶

type SyncApiService service

func (*SyncApiService) CreateSyncJob ¶

func (a *SyncApiService) CreateSyncJob(ctx context.Context, syncJob SyncJobCreateParams) (CreateResponse, *http.Response, error)

SyncApiService Start a SyncIQ job. * @param ctx context.Context for authentication, logging, tracing, etc. @param syncJob @return CreateResponse

func (*SyncApiService) CreateSyncPolicy ¶

func (a *SyncApiService) CreateSyncPolicy(ctx context.Context, syncPolicy SyncPolicyCreateParams) (CreateResponse, *http.Response, error)

SyncApiService Create a SyncIQ policy. * @param ctx context.Context for authentication, logging, tracing, etc. @param syncPolicy @return CreateResponse

func (*SyncApiService) CreateSyncReportsRotateItem ¶

func (a *SyncApiService) CreateSyncReportsRotateItem(ctx context.Context, syncReportsRotateItem Empty) (CreateSyncReportsRotateItemResponse, *http.Response, error)

SyncApiService Rotate the records in the database(s). * @param ctx context.Context for authentication, logging, tracing, etc. @param syncReportsRotateItem @return CreateSyncReportsRotateItemResponse

func (*SyncApiService) CreateSyncRule ¶

func (a *SyncApiService) CreateSyncRule(ctx context.Context, syncRule SyncRuleCreateParams) (CreateResponse, *http.Response, error)

SyncApiService Create a new SyncIQ performance rule. * @param ctx context.Context for authentication, logging, tracing, etc. @param syncRule @return CreateResponse

func (*SyncApiService) DeleteSyncPolicies ¶

func (a *SyncApiService) DeleteSyncPolicies(ctx context.Context, localVarOptionals map[string]interface{}) (*http.Response, error)

SyncApiService Delete all SyncIQ policies. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "localOnly" (bool) Skip deleting the policy association on the target.
@param "force" (bool) Ignore any running jobs when preparing to delete a policy.

@return

func (*SyncApiService) DeleteSyncPolicy ¶

func (a *SyncApiService) DeleteSyncPolicy(ctx context.Context, syncPolicyId string, localVarOptionals map[string]interface{}) (*http.Response, error)

SyncApiService Delete a single SyncIQ policy. * @param ctx context.Context for authentication, logging, tracing, etc. @param syncPolicyId Delete a single SyncIQ policy. @param optional (nil or map[string]interface{}) with one or more of:

@param "localOnly" (bool) Skip deleting the policy association on the target.
@param "force" (bool) Ignore any running jobs when preparing to delete a policy.

@return

func (*SyncApiService) DeleteSyncRule ¶

func (a *SyncApiService) DeleteSyncRule(ctx context.Context, syncRuleId string) (*http.Response, error)

SyncApiService Delete a single SyncIQ performance rule. * @param ctx context.Context for authentication, logging, tracing, etc. @param syncRuleId Delete a single SyncIQ performance rule. @return

func (*SyncApiService) DeleteSyncRules ¶

func (a *SyncApiService) DeleteSyncRules(ctx context.Context, localVarOptionals map[string]interface{}) (*http.Response, error)

SyncApiService Delete all SyncIQ performance rules or all rules of a specified type. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "type_" (string) Delete all rules of the specified rule type only.

@return

func (*SyncApiService) DeleteTargetPolicy ¶

func (a *SyncApiService) DeleteTargetPolicy(ctx context.Context, targetPolicyId string, localVarOptionals map[string]interface{}) (*http.Response, error)

SyncApiService Break the target association with this cluster for this policy. * @param ctx context.Context for authentication, logging, tracing, etc. @param targetPolicyId Break the target association with this cluster for this policy. @param optional (nil or map[string]interface{}) with one or more of:

@param "force" (bool) Ignore any running jobs when preparing to delete the policy target association.

@return

func (*SyncApiService) GetHistoryCpu ¶

func (a *SyncApiService) GetHistoryCpu(ctx context.Context, localVarOptionals map[string]interface{}) (HistoryFile, *http.Response, error)

SyncApiService List cpu performance data. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "begin" (int32) Begin timestamp for time-series report.
@param "end" (int32) End timestamp for time-series report.

@return HistoryFile

func (*SyncApiService) GetHistoryFile ¶

func (a *SyncApiService) GetHistoryFile(ctx context.Context, localVarOptionals map[string]interface{}) (HistoryFile, *http.Response, error)

SyncApiService List file operations performance data. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "begin" (int32) Begin timestamp for time-series report.
@param "end" (int32) End timestamp for time-series report.

@return HistoryFile

func (*SyncApiService) GetHistoryNetwork ¶

func (a *SyncApiService) GetHistoryNetwork(ctx context.Context, localVarOptionals map[string]interface{}) (HistoryFile, *http.Response, error)

SyncApiService List network operations performance data. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "begin" (int32) Begin timestamp for time-series report.
@param "end" (int32) End timestamp for time-series report.

@return HistoryFile

func (*SyncApiService) GetHistoryWorker ¶

func (a *SyncApiService) GetHistoryWorker(ctx context.Context, localVarOptionals map[string]interface{}) (HistoryFile, *http.Response, error)

SyncApiService List worker performance data. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "begin" (int32) Begin timestamp for time-series report.
@param "end" (int32) End timestamp for time-series report.

@return HistoryFile

func (*SyncApiService) GetSyncJob ¶

func (a *SyncApiService) GetSyncJob(ctx context.Context, syncJobId string) (SyncJobs, *http.Response, error)

SyncApiService View a single SyncIQ job. * @param ctx context.Context for authentication, logging, tracing, etc. @param syncJobId View a single SyncIQ job. @return SyncJobs

func (*SyncApiService) GetSyncLicense ¶

func (a *SyncApiService) GetSyncLicense(ctx context.Context) (LicenseLicense, *http.Response, error)

SyncApiService Retrieve license information. * @param ctx context.Context for authentication, logging, tracing, etc. @return LicenseLicense

func (*SyncApiService) GetSyncPolicy ¶

func (a *SyncApiService) GetSyncPolicy(ctx context.Context, syncPolicyId string) (SyncPolicies, *http.Response, error)

SyncApiService View a single SyncIQ policy. * @param ctx context.Context for authentication, logging, tracing, etc. @param syncPolicyId View a single SyncIQ policy. @return SyncPolicies

func (*SyncApiService) GetSyncReport ¶

func (a *SyncApiService) GetSyncReport(ctx context.Context, syncReportId string) (SyncReports, *http.Response, error)

SyncApiService View a single SyncIQ report. * @param ctx context.Context for authentication, logging, tracing, etc. @param syncReportId View a single SyncIQ report. @return SyncReports

func (*SyncApiService) GetSyncReports ¶

func (a *SyncApiService) GetSyncReports(ctx context.Context, localVarOptionals map[string]interface{}) (SyncReportsExtended, *http.Response, error)

SyncApiService Get a list of SyncIQ reports. By default 10 reports are returned per policy, unless otherwise specified by &#39;reports_per_policy&#39;. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
@param "newerThan" (int32) Filter the returned reports to include only those whose jobs started more recently than the specified number of days ago.
@param "policyName" (string) Filter the returned reports to include only those with this policy name.
@param "state" (string) Filter the returned reports to include only those whose jobs are in this state.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "reportsPerPolicy" (int32) If specified, only the N most recent reports will be returned per policy.  If no other query args are present this argument defaults to 10.
@param "dir" (string) The direction of the sort.

@return SyncReportsExtended

func (*SyncApiService) GetSyncRule ¶

func (a *SyncApiService) GetSyncRule(ctx context.Context, syncRuleId string) (SyncRules, *http.Response, error)

SyncApiService View a single SyncIQ performance rule. * @param ctx context.Context for authentication, logging, tracing, etc. @param syncRuleId View a single SyncIQ performance rule. @return SyncRules

func (*SyncApiService) GetSyncSettings ¶

func (a *SyncApiService) GetSyncSettings(ctx context.Context) (SyncSettings, *http.Response, error)

SyncApiService Retrieve the global SyncIQ settings. * @param ctx context.Context for authentication, logging, tracing, etc. @return SyncSettings

func (*SyncApiService) GetTargetPolicies ¶

func (a *SyncApiService) GetTargetPolicies(ctx context.Context, localVarOptionals map[string]interface{}) (TargetPoliciesExtended, *http.Response, error)

SyncApiService List all SyncIQ target policies. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "targetPath" (string) Filter the returned policies to include only those with this target path.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "dir" (string) The direction of the sort.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).

@return TargetPoliciesExtended

func (*SyncApiService) GetTargetPolicy ¶

func (a *SyncApiService) GetTargetPolicy(ctx context.Context, targetPolicyId string) (TargetPolicies, *http.Response, error)

SyncApiService View a single SyncIQ target policy. * @param ctx context.Context for authentication, logging, tracing, etc. @param targetPolicyId View a single SyncIQ target policy. @return TargetPolicies

func (*SyncApiService) GetTargetReport ¶

func (a *SyncApiService) GetTargetReport(ctx context.Context, targetReportId string) (TargetReports, *http.Response, error)

SyncApiService View a single SyncIQ target report. * @param ctx context.Context for authentication, logging, tracing, etc. @param targetReportId View a single SyncIQ target report. @return TargetReports

func (*SyncApiService) GetTargetReports ¶

func (a *SyncApiService) GetTargetReports(ctx context.Context, localVarOptionals map[string]interface{}) (TargetReportsExtended, *http.Response, error)

SyncApiService Get a list of SyncIQ target reports. By default 10 reports are returned per policy, unless otherwise specified by &#39;reports_per_policy&#39;. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
@param "newerThan" (int32) Filter the returned reports to include only those whose jobs started more recently than the specified number of days ago.
@param "policyName" (string) Filter the returned reports to include only those with this policy name.
@param "state" (string) Filter the returned reports to include only those whose jobs are in this state.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "reportsPerPolicy" (int32) If specified, only the N most recent reports will be returned per policy.  If no other query args are present this argument defaults to 10.
@param "dir" (string) The direction of the sort.

@return TargetReportsExtended

func (*SyncApiService) ListSyncJobs ¶

func (a *SyncApiService) ListSyncJobs(ctx context.Context, localVarOptionals map[string]interface{}) (SyncJobsExtended, *http.Response, error)

SyncApiService Get a list of SyncIQ jobs. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "state" (string) The state of the job.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "dir" (string) The direction of the sort.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).

@return SyncJobsExtended

func (*SyncApiService) ListSyncPolicies ¶

func (a *SyncApiService) ListSyncPolicies(ctx context.Context, localVarOptionals map[string]interface{}) (SyncPoliciesExtended, *http.Response, error)

SyncApiService List all SyncIQ policies. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
@param "summary" (bool) Show only summary properties
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "scope" (string) If specified as \&quot;effective\&quot; or not specified, all fields are returned.  If specified as \&quot;user\&quot;, only fields with non-default values are shown.  If specified as \&quot;default\&quot;, the original values are returned.
@param "dir" (string) The direction of the sort.

@return SyncPoliciesExtended

func (*SyncApiService) ListSyncReportsRotate ¶

func (a *SyncApiService) ListSyncReportsRotate(ctx context.Context) (SyncReportsRotate, *http.Response, error)

SyncApiService Whether the rotation is still running or not. * @param ctx context.Context for authentication, logging, tracing, etc. @return SyncReportsRotate

func (*SyncApiService) ListSyncRules ¶

func (a *SyncApiService) ListSyncRules(ctx context.Context, localVarOptionals map[string]interface{}) (SyncRulesExtended, *http.Response, error)

SyncApiService List all SyncIQ performance rules. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "type_" (string) Filter the returned rules to include only those with this rule type.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "dir" (string) The direction of the sort.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).

@return SyncRulesExtended

func (*SyncApiService) UpdateSyncJob ¶

func (a *SyncApiService) UpdateSyncJob(ctx context.Context, syncJob SyncJob, syncJobId string) (*http.Response, error)

SyncApiService Perform an action (pause, cancel, etc...) on a single job. * @param ctx context.Context for authentication, logging, tracing, etc. @param syncJob @param syncJobId Perform an action (pause, cancel, etc...) on a single job. @return

func (*SyncApiService) UpdateSyncPolicy ¶

func (a *SyncApiService) UpdateSyncPolicy(ctx context.Context, syncPolicy SyncPolicy, syncPolicyId string) (*http.Response, error)

SyncApiService Modify a single SyncIQ policy. * @param ctx context.Context for authentication, logging, tracing, etc. @param syncPolicy @param syncPolicyId Modify a single SyncIQ policy. @return

func (*SyncApiService) UpdateSyncRule ¶

func (a *SyncApiService) UpdateSyncRule(ctx context.Context, syncRule SyncRule, syncRuleId string) (*http.Response, error)

SyncApiService Modify a single SyncIQ performance rule. * @param ctx context.Context for authentication, logging, tracing, etc. @param syncRule @param syncRuleId Modify a single SyncIQ performance rule. @return

func (*SyncApiService) UpdateSyncSettings ¶

func (a *SyncApiService) UpdateSyncSettings(ctx context.Context, syncSettings SyncSettingsExtended) (*http.Response, error)

SyncApiService Modify the global SyncIQ settings. All input fields are optional, but one or more must be supplied. * @param ctx context.Context for authentication, logging, tracing, etc. @param syncSettings @return

type SyncJob ¶

type SyncJob struct {

	// The state of the job.
	State string `json:"state"`
}

type SyncJobCreateParams ¶

type SyncJobCreateParams struct {

	// The action to be taken by this job.
	Action string `json:"action,omitempty"`

	// The ID or Name of the policy
	Id string `json:"id"`

	// Only valid for allow_write, and allow_write_revert; specify the desired logging level, will be stored in the logs for isi_migrate, defaults to 'info'.
	LogLevel string `json:"log_level,omitempty"`

	// An optional snapshot to copy/sync from.
	SourceSnapshot string `json:"source_snapshot,omitempty"`

	// Only valid for allow_write, and allow_write_revert; specify the desired workers per node, defaults to 3.
	WorkersPerNode int32 `json:"workers_per_node,omitempty"`
}

type SyncJobExtended ¶

type SyncJobExtended struct {

	// The action to be taken by this job.
	Action string `json:"action"`

	// The number of ads streams replicated by this job.
	AdsStreamsReplicated int32 `json:"ads_streams_replicated"`

	// The number of block specs replicated by this job.
	BlockSpecsReplicated int32 `json:"block_specs_replicated"`

	// The number of bytes recoverable by this job.
	BytesRecoverable int32 `json:"bytes_recoverable"`

	// The number of bytes that have been transferred by this job.
	BytesTransferred int32 `json:"bytes_transferred"`

	// The number of char specs replicated by this job.
	CharSpecsReplicated int32 `json:"char_specs_replicated"`

	// The number of LINs corrected by this job.
	CorrectedLins int32 `json:"corrected_lins"`

	// This field is true if the node running this job is dead.
	DeadNode bool `json:"dead_node"`

	// The number of directories replicated.
	DirectoriesReplicated int32 `json:"directories_replicated"`

	// The number of directories changed by this job.
	DirsChanged int32 `json:"dirs_changed"`

	// The number of directories deleted by this job.
	DirsDeleted int32 `json:"dirs_deleted"`

	// The number of directories moved by this job.
	DirsMoved int32 `json:"dirs_moved"`

	// The number of directories created by this job.
	DirsNew int32 `json:"dirs_new"`

	// The amount of time in seconds between when the job was started and when it ended.  If the job has not yet ended, this is the amount of time since the job started.  This field is null if the job has not yet started.
	Duration int32 `json:"duration,omitempty"`

	// The time the job ended in unix epoch seconds. The field is null if the job hasn't ended.
	EndTime int32 `json:"end_time,omitempty"`

	// The primary error message for this job.
	Error_ string `json:"error"`

	// The number of files with checksum errors skipped by this job.
	ErrorChecksumFilesSkipped int32 `json:"error_checksum_files_skipped"`

	// The number of files with io errors skipped by this job.
	ErrorIoFilesSkipped int32 `json:"error_io_files_skipped"`

	// The number of files with network errors skipped by this job.
	ErrorNetFilesSkipped int32 `json:"error_net_files_skipped"`

	// A list of error messages for this job.
	Errors []string `json:"errors"`

	// Tyhe number of data chunks that failed transmission.
	FailedChunks int32 `json:"failed_chunks"`

	// The number of fifos replicated by this job.
	FifosReplicated int32 `json:"fifos_replicated"`

	// The number of bytes transferred that belong to files.
	FileDataBytes int32 `json:"file_data_bytes"`

	// The number of files changed by this job.
	FilesChanged int32 `json:"files_changed"`

	// The number of files linked by this job.
	FilesLinked int32 `json:"files_linked"`

	// The number of files created by this job.
	FilesNew int32 `json:"files_new"`

	// The number of files selected by this job.
	FilesSelected int32 `json:"files_selected"`

	// The number of files transferred by this job.
	FilesTransferred int32 `json:"files_transferred"`

	// The number of files unlinked by this job.
	FilesUnlinked int32 `json:"files_unlinked"`

	// The number of files with ads replicated by this job.
	FilesWithAdsReplicated int32 `json:"files_with_ads_replicated"`

	// The number of LINs flipped by this job.
	FlippedLins int32 `json:"flipped_lins"`

	// The number of hard links replicated by this job.
	HardLinksReplicated int32 `json:"hard_links_replicated"`

	// The number of hash exceptions fixed by this job.
	HashExceptionsFixed int32 `json:"hash_exceptions_fixed"`

	// The number of hash exceptions found by this job.
	HashExceptionsFound int32 `json:"hash_exceptions_found"`

	// A unique identifier for this object.
	Id string `json:"id"`

	// The ID of the job.
	JobId int32 `json:"job_id,omitempty"`

	// The number of LINs transferred by this job.
	LinsTotal int32 `json:"lins_total"`

	// The total number of bytes sent to the source by this job.
	NetworkBytesToSource int32 `json:"network_bytes_to_source"`

	// The total number of bytes sent to the target by this job.
	NetworkBytesToTarget int32 `json:"network_bytes_to_target"`

	// The number of new files replicated by this job.
	NewFilesReplicated int32 `json:"new_files_replicated"`

	// The number of files that have been retransmitted by this job.
	NumRetransmittedFiles int32 `json:"num_retransmitted_files"`

	// Data for each phase of this job.
	Phases []SyncJobPhase `json:"phases"`

	// The policy associated with this job, or null if there is currently no policy associated with this job (this can happen if the job is newly created and not yet fully populated in the underlying database).
	Policy *SyncJobPolicy `json:"policy,omitempty"`

	// This is the action the policy is configured to perform.
	PolicyAction string `json:"policy_action"`

	// The ID of the policy.
	PolicyId string `json:"policy_id"`

	// The name of the policy.
	PolicyName string `json:"policy_name"`

	// The number of regular files replicated by this job.
	RegularFilesReplicated int32 `json:"regular_files_replicated"`

	// The number of LINs resynched by this job.
	ResyncedLins int32 `json:"resynced_lins"`

	// The files that have been retransmitted by this job.
	RetransmittedFiles []string `json:"retransmitted_files"`

	// The number of times the job has been retried.
	Retry int32 `json:"retry"`

	// The number of data chunks currently being transmitted.
	RunningChunks int32 `json:"running_chunks"`

	// The number of sockets replicated by this job.
	SocketsReplicated int32 `json:"sockets_replicated"`

	// The number of bytes recovered on the source.
	SourceBytesRecovered int32 `json:"source_bytes_recovered"`

	// The number of directories created on the source.
	SourceDirectoriesCreated int32 `json:"source_directories_created"`

	// The number of directories deleted on the source.
	SourceDirectoriesDeleted int32 `json:"source_directories_deleted"`

	// The number of directories linked on the source.
	SourceDirectoriesLinked int32 `json:"source_directories_linked"`

	// The number of directories unlinked on the source.
	SourceDirectoriesUnlinked int32 `json:"source_directories_unlinked"`

	// The number of directories visited on the source.
	SourceDirectoriesVisited int32 `json:"source_directories_visited"`

	// The number of files deleted on the source.
	SourceFilesDeleted int32 `json:"source_files_deleted"`

	// The number of files linked on the source.
	SourceFilesLinked int32 `json:"source_files_linked"`

	// The number of files unlinked on the source.
	SourceFilesUnlinked int32 `json:"source_files_unlinked"`

	// The number of sparse data bytes transferred by this job.
	SparseDataBytes int32 `json:"sparse_data_bytes"`

	// The time the job started in unix epoch seconds. The field is null if the job hasn't started.
	StartTime int32 `json:"start_time,omitempty"`

	// The state of the job.
	State string `json:"state"`

	// The number of data chunks that have been transmitted successfully.
	SucceededChunks int32 `json:"succeeded_chunks"`

	// The number of symlinks replicated by this job.
	SymlinksReplicated int32 `json:"symlinks_replicated"`

	// The type of sync being performed by this job.
	SyncType string `json:"sync_type"`

	// The number of bytes recovered on the target.
	TargetBytesRecovered int32 `json:"target_bytes_recovered"`

	// The number of directories created on the target.
	TargetDirectoriesCreated int32 `json:"target_directories_created"`

	// The number of directories deleted on the target.
	TargetDirectoriesDeleted int32 `json:"target_directories_deleted"`

	// The number of directories linked on the target.
	TargetDirectoriesLinked int32 `json:"target_directories_linked"`

	// The number of directories unlinked on the target.
	TargetDirectoriesUnlinked int32 `json:"target_directories_unlinked"`

	// The number of files deleted on the target.
	TargetFilesDeleted int32 `json:"target_files_deleted"`

	// The number of files linked on the target.
	TargetFilesLinked int32 `json:"target_files_linked"`

	// The number of files unlinked on the target.
	TargetFilesUnlinked int32 `json:"target_files_unlinked"`

	// The target snapshots created by this job.
	TargetSnapshots []string `json:"target_snapshots"`

	// The total number of data chunks transmitted by this job.
	TotalChunks int32 `json:"total_chunks"`

	// The total number of bytes transferred by this job.
	TotalDataBytes int32 `json:"total_data_bytes"`

	// The number of files affected by this job.
	TotalFiles int32 `json:"total_files"`

	// The total number of bytes sent over the network by this job.
	TotalNetworkBytes int32 `json:"total_network_bytes"`

	// The total number of phases for this job.
	TotalPhases int32 `json:"total_phases"`

	// The number of bytes unchanged by this job.
	UnchangedDataBytes int32 `json:"unchanged_data_bytes"`

	// The number of up-to-date files skipped by this job.
	UpToDateFilesSkipped int32 `json:"up_to_date_files_skipped"`

	// The number of updated files replicated by this job.
	UpdatedFilesReplicated int32 `json:"updated_files_replicated"`

	// The number of files with user conflicts skipped by this job.
	UserConflictFilesSkipped int32 `json:"user_conflict_files_skipped"`

	// A list of warning messages for this job.
	Warnings []string `json:"warnings"`

	// A list of workers for this job.
	Workers []SyncJobWorker `json:"workers"`
}

type SyncJobPhase ¶

type SyncJobPhase struct {

	// The time the job ended this phase.
	EndTime int32 `json:"end_time,omitempty"`

	// The phase that the job was in.
	Phase string `json:"phase,omitempty"`

	// The time the job began this phase.
	StartTime int32 `json:"start_time,omitempty"`
}

type SyncJobPolicy ¶

type SyncJobPolicy struct {

	// If 'copy', source files will be copied to the target cluster.  If 'sync', the target directory will be made an image of the source directory:  Files and directories that have been deleted on the source, have been moved within the target directory, or no longer match the selection criteria will be deleted from the target directory.
	Action string `json:"action,omitempty"`

	// A file matching pattern, organized as an OR'ed set of AND'ed file criteria, for example ((a AND b) OR (x AND y)) used to define a set of files with specific properties.  Policies of type 'sync' cannot use 'path' or time criteria in their matching patterns, but policies of type 'copy' can use all listed criteria.
	FileMatchingPattern *SyncJobPolicyFileMatchingPattern `json:"file_matching_pattern,omitempty"`

	// User-assigned name of this sync policy.
	Name string `json:"name,omitempty"`

	// Directories that will be excluded from the sync.  Modifying this field will result in a full synchronization of all data.
	SourceExcludeDirectories []string `json:"source_exclude_directories,omitempty"`

	// Directories that will be included in the sync.  Modifying this field will result in a full synchronization of all data.
	SourceIncludeDirectories []string `json:"source_include_directories,omitempty"`

	// The root directory on the source cluster the files will be synced from.  Modifying this field will result in a full synchronization of all data.
	SourceRootPath string `json:"source_root_path,omitempty"`

	// Hostname or IP address of sync target cluster.  Modifying the target cluster host can result in the policy being unrunnable if the new target does not match the current target association.
	TargetHost string `json:"target_host,omitempty"`

	// Absolute filesystem path on the target cluster for the sync destination.
	TargetPath string `json:"target_path,omitempty"`
}

type SyncJobPolicyFileMatchingPattern ¶

type SyncJobPolicyFileMatchingPattern struct {

	// An array containing objects with \"and_criteria\" properties, each set of and_criteria will be logically OR'ed together to create the full file matching pattern.
	OrCriteria []SyncJobPolicyFileMatchingPatternOrCriteriaItem `json:"or_criteria,omitempty"`
}

type SyncJobPolicyFileMatchingPatternOrCriteriaItem ¶

type SyncJobPolicyFileMatchingPatternOrCriteriaItem struct {

	// An array containing individual file criterion objects each describing one criterion.  These are logically AND'ed together to form a set of criteria.
	AndCriteria []SyncJobPolicyFileMatchingPatternOrCriteriaItemAndCriteriaItem `json:"and_criteria,omitempty"`
}

type SyncJobPolicyFileMatchingPatternOrCriteriaItemAndCriteriaItem ¶

type SyncJobPolicyFileMatchingPatternOrCriteriaItemAndCriteriaItem struct {

	// For \"custom_attribute\" type criteria.  The file will match as long as the attribute named by \"field\" exists.  Default is true.
	AttributeExists bool `json:"attribute_exists,omitempty"`

	// If true, the value comparison will be case sensitive.  Default is true.
	CaseSensitive bool `json:"case_sensitive,omitempty"`

	// The name of the file attribute to match on (only required if this is a custom_attribute type criterion).  Default is an empty string \"\".
	Field string `json:"field,omitempty"`

	// How to compare the specified attribute of each file to the specified value.
	Operator string `json:"operator,omitempty"`

	// The type of this criterion, that is, which file attribute to match on.
	Type_ string `json:"type"`

	// The value to compare the specified attribute of each file to.
	Value string `json:"value,omitempty"`

	// If true, the attribute must match the entire word.  Default is true.
	WholeWord bool `json:"whole_word,omitempty"`
}

type SyncJobWorker ¶

type SyncJobWorker struct {

	// Whether there is a connection between the source and target.
	Connected bool `json:"connected,omitempty"`

	// The last time a network split occurred.
	LastSplit int32 `json:"last_split,omitempty"`

	// The last time the worker performed work.
	LastWork int32 `json:"last_work,omitempty"`

	// The LIN being worked on.
	Lin int32 `json:"lin,omitempty"`

	// The lnn the worker is assigned to run on.
	Lnn int32 `json:"lnn,omitempty"`

	// The process ID of the worker.
	ProcessId int32 `json:"process_id,omitempty"`

	// The source host for this worker.
	SourceHost string `json:"source_host,omitempty"`

	// The target host for this worker.
	TargetHost string `json:"target_host,omitempty"`

	// The ID of the worker.
	WorkerId int32 `json:"worker_id,omitempty"`
}

type SyncJobs ¶

type SyncJobs struct {
	Jobs []SyncJobExtended `json:"jobs,omitempty"`
}

type SyncJobsExtended ¶

type SyncJobsExtended struct {
	Jobs []SyncJobExtended `json:"jobs,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type SyncPolicies ¶

type SyncPolicies struct {
	Policies []SyncPolicyExtended `json:"policies,omitempty"`
}

type SyncPoliciesApiService ¶

type SyncPoliciesApiService service

func (*SyncPoliciesApiService) CreatePolicyResetItem ¶

func (a *SyncPoliciesApiService) CreatePolicyResetItem(ctx context.Context, policyResetItem Empty, policy string) (CreateResponse, *http.Response, error)

SyncPoliciesApiService Reset a SyncIQ policy incremental state and force a full sync/copy. * @param ctx context.Context for authentication, logging, tracing, etc. @param policyResetItem @param policy @return CreateResponse

type SyncPoliciesExtended ¶

type SyncPoliciesExtended struct {
	Policies []SyncPolicyExtendedExtended `json:"policies,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type SyncPolicy ¶

type SyncPolicy struct {

	// If set to true, SyncIQ will perform failback configuration tasks during the next job run, rather than waiting to perform those tasks during the failback process. Performing these tasks ahead of time will increase the speed of failback operations.
	AcceleratedFailback bool `json:"accelerated_failback,omitempty"`

	// If 'copy', source files will be copied to the target cluster.  If 'sync', the target directory will be made an image of the source directory:  Files and directories that have been deleted on the source, have been moved within the target directory, or no longer match the selection criteria will be deleted from the target directory.
	Action string `json:"action,omitempty"`

	// NOTE: This field should not be changed without the help of Isilon support.  Enable/disable UDP-based data transfer.
	BurstMode bool `json:"burst_mode,omitempty"`

	// If true, retain previous source snapshot and incremental repstate, both of which are required for changelist creation.
	Changelist bool `json:"changelist,omitempty"`

	// If true, the sync target performs cyclic redundancy checks (CRC) on the data as it is received.
	CheckIntegrity bool `json:"check_integrity,omitempty"`

	// If set to deny, replicates all CloudPools smartlinks to the target cluster as smartlinks; if the target cluster does not support the smartlinks, the job will fail. If set to force, replicates all smartlinks to the target cluster as regular files. If set to allow, SyncIQ will attempt to replicate smartlinks to the target cluster as smartlinks; if the target cluster does not support the smartlinks, SyncIQ will replicate the smartlinks as regular files.
	CloudDeepCopy string `json:"cloud_deep_copy,omitempty"`

	// NOTE: This field should not be changed without the help of Isilon support.  If true, the most recent run of this policy encountered an error and this policy will not start any more scheduled jobs until this field is manually set back to 'false'.
	Conflicted bool `json:"conflicted,omitempty"`

	// User-assigned description of this sync policy.
	Description string `json:"description,omitempty"`

	// NOTE: This field should not be changed without the help of Isilon support.  If true, the 7.2+ file splitting capability will be disabled.
	DisableFileSplit bool `json:"disable_file_split,omitempty"`

	// NOTE: This field should not be changed without the help of Isilon support.  Enable/disable sync failover/failback.
	DisableFofb bool `json:"disable_fofb,omitempty"`

	// NOTE: This field should not be changed without the help of Isilon support.  Enable/disable the 6.5+ STF based data transfer and uses only treewalk.
	DisableStf bool `json:"disable_stf,omitempty"`

	// If true, jobs will be automatically run based on this policy, according to its schedule.
	Enabled bool `json:"enabled,omitempty"`

	// NOTE: This field should not be changed without the help of Isilon support.  Continue sending files even with the corrupted filesystem.
	ExpectedDataloss bool `json:"expected_dataloss,omitempty"`

	// A file matching pattern, organized as an OR'ed set of AND'ed file criteria, for example ((a AND b) OR (x AND y)) used to define a set of files with specific properties.  Policies of type 'sync' cannot use 'path' or time criteria in their matching patterns, but policies of type 'copy' can use all listed criteria.
	FileMatchingPattern *SyncJobPolicyFileMatchingPattern `json:"file_matching_pattern,omitempty"`

	// NOTE: This field should not be changed without the help of Isilon support.  Determines whether data is sent only through the subnet and pool specified in the \"source_network\" field. This option can be useful if there are multiple interfaces for the given source subnet.  If you enable this option, the net.inet.ip.choose_ifa_by_ipsrc sysctl should be set.
	ForceInterface bool `json:"force_interface,omitempty"`

	// If --schedule is set to When-Source-Modified, the duration to wait after a modification is made before starting a job (default is 0 seconds).
	JobDelay int32 `json:"job_delay,omitempty"`

	// Severity an event must reach before it is logged.
	LogLevel string `json:"log_level,omitempty"`

	// If true, the system will log any files or directories that are deleted due to a sync.
	LogRemovedFiles bool `json:"log_removed_files,omitempty"`

	// User-assigned name of this sync policy.
	Name string `json:"name,omitempty"`

	// The password for the target cluster.  This field is not readable.
	Password string `json:"password,omitempty"`

	// Determines the priority level of a policy. Policies with higher priority will have precedence to run over lower priority policies. Valid range is [0, 1]. Default is 0.
	Priority int32 `json:"priority,omitempty"`

	// Length of time (in seconds) a policy report will be stored.
	ReportMaxAge int32 `json:"report_max_age,omitempty"`

	// Maximum number of policy reports that will be stored on the system.
	ReportMaxCount int32 `json:"report_max_count,omitempty"`

	// If you specify true, and you specify a SmartConnect zone in the \"target_host\" field, replication policies will connect only to nodes in the specified SmartConnect zone.  If you specify false, replication policies are not restricted to specific nodes on the target cluster.
	RestrictTargetNetwork bool `json:"restrict_target_network,omitempty"`

	// If --schedule is set to a time/date, an alert is created if the specified RPO for this policy is exceeded. The default value is 0, which will not generate RPO alerts.
	RpoAlert int32 `json:"rpo_alert,omitempty"`

	// The schedule on which new jobs will be run for this policy.
	Schedule string `json:"schedule,omitempty"`

	// Skip DNS lookup of target IPs.
	SkipLookup bool `json:"skip_lookup,omitempty"`

	// If true and --schedule is set to a time/date, the policy will not run if no changes have been made to the contents of the source directory since the last job successfully completed.
	SkipWhenSourceUnmodified bool `json:"skip_when_source_unmodified,omitempty"`

	// If true, snapshot-triggered syncs will include snapshots taken before policy creation time (requires --schedule when-snapshot-taken).
	SnapshotSyncExisting bool `json:"snapshot_sync_existing,omitempty"`

	// The naming pattern that a snapshot must match to trigger a sync when the schedule is when-snapshot-taken (default is \"*\").
	SnapshotSyncPattern string `json:"snapshot_sync_pattern,omitempty"`

	// Directories that will be excluded from the sync.  Modifying this field will result in a full synchronization of all data.
	SourceExcludeDirectories []string `json:"source_exclude_directories,omitempty"`

	// Directories that will be included in the sync.  Modifying this field will result in a full synchronization of all data.
	SourceIncludeDirectories []string `json:"source_include_directories,omitempty"`

	// Restricts replication policies on the local cluster to running on the specified subnet and pool.
	SourceNetwork *SyncPolicySourceNetwork `json:"source_network,omitempty"`

	// The root directory on the source cluster the files will be synced from.  Modifying this field will result in a full synchronization of all data.
	SourceRootPath string `json:"source_root_path,omitempty"`

	// If true, archival snapshots of the source data will be taken on the source cluster before a sync.
	SourceSnapshotArchive bool `json:"source_snapshot_archive,omitempty"`

	// The length of time in seconds to keep snapshots on the source cluster.
	SourceSnapshotExpiration int32 `json:"source_snapshot_expiration,omitempty"`

	// The name pattern for snapshots taken on the source cluster before a sync.
	SourceSnapshotPattern string `json:"source_snapshot_pattern,omitempty"`

	// If true, the target creates diffs against the original sync.
	TargetCompareInitialSync bool `json:"target_compare_initial_sync,omitempty"`

	// If true, target cluster will detect if files have been changed on the target by legacy tree walk syncs.
	TargetDetectModifications bool `json:"target_detect_modifications,omitempty"`

	// Hostname or IP address of sync target cluster.  Modifying the target cluster host can result in the policy being unrunnable if the new target does not match the current target association.
	TargetHost string `json:"target_host,omitempty"`

	// Absolute filesystem path on the target cluster for the sync destination.
	TargetPath string `json:"target_path,omitempty"`

	// The alias of the snapshot taken on the target cluster after the sync completes. A value of @DEFAULT will reset this field to the default creation value.
	TargetSnapshotAlias string `json:"target_snapshot_alias,omitempty"`

	// If true, archival snapshots of the target data will be taken on the target cluster after successful sync completions.
	TargetSnapshotArchive bool `json:"target_snapshot_archive,omitempty"`

	// The length of time in seconds to keep snapshots on the target cluster.
	TargetSnapshotExpiration int32 `json:"target_snapshot_expiration,omitempty"`

	// The name pattern for snapshots taken on the target cluster after the sync completes.  A value of @DEFAULT will reset this field to the default creation value.
	TargetSnapshotPattern string `json:"target_snapshot_pattern,omitempty"`

	// The number of worker threads on a node performing a sync.
	WorkersPerNode int32 `json:"workers_per_node,omitempty"`
}

type SyncPolicyCreateParams ¶

type SyncPolicyCreateParams struct {

	// If set to true, SyncIQ will perform failback configuration tasks during the next job run, rather than waiting to perform those tasks during the failback process. Performing these tasks ahead of time will increase the speed of failback operations.
	AcceleratedFailback bool `json:"accelerated_failback,omitempty"`

	// If 'copy', source files will be copied to the target cluster.  If 'sync', the target directory will be made an image of the source directory:  Files and directories that have been deleted on the source, have been moved within the target directory, or no longer match the selection criteria will be deleted from the target directory.
	Action string `json:"action"`

	// NOTE: This field should not be changed without the help of Isilon support.  Enable/disable UDP-based data transfer.
	BurstMode bool `json:"burst_mode,omitempty"`

	// If true, retain previous source snapshot and incremental repstate, both of which are required for changelist creation.
	Changelist bool `json:"changelist,omitempty"`

	// If true, the sync target performs cyclic redundancy checks (CRC) on the data as it is received.
	CheckIntegrity bool `json:"check_integrity,omitempty"`

	// If set to deny, replicates all CloudPools smartlinks to the target cluster as smartlinks; if the target cluster does not support the smartlinks, the job will fail. If set to force, replicates all smartlinks to the target cluster as regular files. If set to allow, SyncIQ will attempt to replicate smartlinks to the target cluster as smartlinks; if the target cluster does not support the smartlinks, SyncIQ will replicate the smartlinks as regular files.
	CloudDeepCopy string `json:"cloud_deep_copy,omitempty"`

	// User-assigned description of this sync policy.
	Description string `json:"description,omitempty"`

	// NOTE: This field should not be changed without the help of Isilon support.  If true, the 7.2+ file splitting capability will be disabled.
	DisableFileSplit bool `json:"disable_file_split,omitempty"`

	// NOTE: This field should not be changed without the help of Isilon support.  Enable/disable sync failover/failback.
	DisableFofb bool `json:"disable_fofb,omitempty"`

	// NOTE: This field should not be changed without the help of Isilon support.  Enable/disable the 6.5+ STF based data transfer and uses only treewalk.
	DisableStf bool `json:"disable_stf,omitempty"`

	// If true, jobs will be automatically run based on this policy, according to its schedule.
	Enabled bool `json:"enabled,omitempty"`

	// NOTE: This field should not be changed without the help of Isilon support.  Continue sending files even with the corrupted filesystem.
	ExpectedDataloss bool `json:"expected_dataloss,omitempty"`

	// A file matching pattern, organized as an OR'ed set of AND'ed file criteria, for example ((a AND b) OR (x AND y)) used to define a set of files with specific properties.  Policies of type 'sync' cannot use 'path' or time criteria in their matching patterns, but policies of type 'copy' can use all listed criteria.
	FileMatchingPattern *SyncJobPolicyFileMatchingPattern `json:"file_matching_pattern,omitempty"`

	// NOTE: This field should not be changed without the help of Isilon support.  Determines whether data is sent only through the subnet and pool specified in the \"source_network\" field. This option can be useful if there are multiple interfaces for the given source subnet.  If you enable this option, the net.inet.ip.choose_ifa_by_ipsrc sysctl should be set.
	ForceInterface bool `json:"force_interface,omitempty"`

	// If --schedule is set to When-Source-Modified, the duration to wait after a modification is made before starting a job (default is 0 seconds).
	JobDelay int32 `json:"job_delay,omitempty"`

	// Severity an event must reach before it is logged.
	LogLevel string `json:"log_level,omitempty"`

	// If true, the system will log any files or directories that are deleted due to a sync.
	LogRemovedFiles bool `json:"log_removed_files,omitempty"`

	// User-assigned name of this sync policy.
	Name string `json:"name"`

	// The password for the target cluster.  This field is not readable.
	Password string `json:"password,omitempty"`

	// Determines the priority level of a policy. Policies with higher priority will have precedence to run over lower priority policies. Valid range is [0, 1]. Default is 0.
	Priority int32 `json:"priority,omitempty"`

	// Length of time (in seconds) a policy report will be stored.
	ReportMaxAge int32 `json:"report_max_age,omitempty"`

	// Maximum number of policy reports that will be stored on the system.
	ReportMaxCount int32 `json:"report_max_count,omitempty"`

	// If you specify true, and you specify a SmartConnect zone in the \"target_host\" field, replication policies will connect only to nodes in the specified SmartConnect zone.  If you specify false, replication policies are not restricted to specific nodes on the target cluster.
	RestrictTargetNetwork bool `json:"restrict_target_network,omitempty"`

	// If --schedule is set to a time/date, an alert is created if the specified RPO for this policy is exceeded. The default value is 0, which will not generate RPO alerts.
	RpoAlert int32 `json:"rpo_alert,omitempty"`

	// The schedule on which new jobs will be run for this policy.
	Schedule string `json:"schedule,omitempty"`

	// Skip DNS lookup of target IPs.
	SkipLookup bool `json:"skip_lookup,omitempty"`

	// If true and --schedule is set to a time/date, the policy will not run if no changes have been made to the contents of the source directory since the last job successfully completed.
	SkipWhenSourceUnmodified bool `json:"skip_when_source_unmodified,omitempty"`

	// If true, snapshot-triggered syncs will include snapshots taken before policy creation time (requires --schedule when-snapshot-taken).
	SnapshotSyncExisting bool `json:"snapshot_sync_existing,omitempty"`

	// The naming pattern that a snapshot must match to trigger a sync when the schedule is when-snapshot-taken (default is \"*\").
	SnapshotSyncPattern string `json:"snapshot_sync_pattern,omitempty"`

	// Directories that will be excluded from the sync.  Modifying this field will result in a full synchronization of all data.
	SourceExcludeDirectories []string `json:"source_exclude_directories,omitempty"`

	// Directories that will be included in the sync.  Modifying this field will result in a full synchronization of all data.
	SourceIncludeDirectories []string `json:"source_include_directories,omitempty"`

	// Restricts replication policies on the local cluster to running on the specified subnet and pool.
	SourceNetwork *SyncPolicySourceNetwork `json:"source_network,omitempty"`

	// The root directory on the source cluster the files will be synced from.  Modifying this field will result in a full synchronization of all data.
	SourceRootPath string `json:"source_root_path"`

	// If true, archival snapshots of the source data will be taken on the source cluster before a sync.
	SourceSnapshotArchive bool `json:"source_snapshot_archive,omitempty"`

	// The length of time in seconds to keep snapshots on the source cluster.
	SourceSnapshotExpiration int32 `json:"source_snapshot_expiration,omitempty"`

	// The name pattern for snapshots taken on the source cluster before a sync.
	SourceSnapshotPattern string `json:"source_snapshot_pattern,omitempty"`

	// If true, the target creates diffs against the original sync.
	TargetCompareInitialSync bool `json:"target_compare_initial_sync,omitempty"`

	// If true, target cluster will detect if files have been changed on the target by legacy tree walk syncs.
	TargetDetectModifications bool `json:"target_detect_modifications,omitempty"`

	// Hostname or IP address of sync target cluster.  Modifying the target cluster host can result in the policy being unrunnable if the new target does not match the current target association.
	TargetHost string `json:"target_host"`

	// Absolute filesystem path on the target cluster for the sync destination.
	TargetPath string `json:"target_path"`

	// The alias of the snapshot taken on the target cluster after the sync completes. A value of @DEFAULT will reset this field to the default creation value.
	TargetSnapshotAlias string `json:"target_snapshot_alias,omitempty"`

	// If true, archival snapshots of the target data will be taken on the target cluster after successful sync completions.
	TargetSnapshotArchive bool `json:"target_snapshot_archive,omitempty"`

	// The length of time in seconds to keep snapshots on the target cluster.
	TargetSnapshotExpiration int32 `json:"target_snapshot_expiration,omitempty"`

	// The name pattern for snapshots taken on the target cluster after the sync completes.  A value of @DEFAULT will reset this field to the default creation value.
	TargetSnapshotPattern string `json:"target_snapshot_pattern,omitempty"`

	// The number of worker threads on a node performing a sync.
	WorkersPerNode int32 `json:"workers_per_node,omitempty"`
}

type SyncPolicyExtended ¶

type SyncPolicyExtended struct {

	// If set to true, SyncIQ will perform failback configuration tasks during the next job run, rather than waiting to perform those tasks during the failback process. Performing these tasks ahead of time will increase the speed of failback operations.
	AcceleratedFailback bool `json:"accelerated_failback"`

	// If 'copy', source files will be copied to the target cluster.  If 'sync', the target directory will be made an image of the source directory:  Files and directories that have been deleted on the source, have been moved within the target directory, or no longer match the selection criteria will be deleted from the target directory.
	Action string `json:"action"`

	// NOTE: This field should not be changed without the help of Isilon support.  Enable/disable UDP-based data transfer.
	BurstMode bool `json:"burst_mode"`

	// If true, retain previous source snapshot and incremental repstate, both of which are required for changelist creation.
	Changelist bool `json:"changelist"`

	// If true, the sync target performs cyclic redundancy checks (CRC) on the data as it is received.
	CheckIntegrity bool `json:"check_integrity"`

	// If set to deny, replicates all CloudPools smartlinks to the target cluster as smartlinks; if the target cluster does not support the smartlinks, the job will fail. If set to force, replicates all smartlinks to the target cluster as regular files. If set to allow, SyncIQ will attempt to replicate smartlinks to the target cluster as smartlinks; if the target cluster does not support the smartlinks, SyncIQ will replicate the smartlinks as regular files.
	CloudDeepCopy string `json:"cloud_deep_copy"`

	// NOTE: This field should not be changed without the help of Isilon support.  If true, the most recent run of this policy encountered an error and this policy will not start any more scheduled jobs until this field is manually set back to 'false'.
	Conflicted bool `json:"conflicted"`

	// User-assigned description of this sync policy.
	Description string `json:"description"`

	// NOTE: This field should not be changed without the help of Isilon support.  If true, the 7.2+ file splitting capability will be disabled.
	DisableFileSplit bool `json:"disable_file_split"`

	// NOTE: This field should not be changed without the help of Isilon support.  Enable/disable sync failover/failback.
	DisableFofb bool `json:"disable_fofb"`

	// NOTE: This field should not be changed without the help of Isilon support.  Enable/disable the 6.5+ STF based data transfer and uses only treewalk.
	DisableStf bool `json:"disable_stf"`

	// If true, jobs will be automatically run based on this policy, according to its schedule.
	Enabled bool `json:"enabled"`

	// NOTE: This field should not be changed without the help of Isilon support.  Continue sending files even with the corrupted filesystem.
	ExpectedDataloss bool `json:"expected_dataloss"`

	// A file matching pattern, organized as an OR'ed set of AND'ed file criteria, for example ((a AND b) OR (x AND y)) used to define a set of files with specific properties.  Policies of type 'sync' cannot use 'path' or time criteria in their matching patterns, but policies of type 'copy' can use all listed criteria.
	FileMatchingPattern *SyncJobPolicyFileMatchingPattern `json:"file_matching_pattern"`

	// NOTE: This field should not be changed without the help of Isilon support.  Determines whether data is sent only through the subnet and pool specified in the \"source_network\" field. This option can be useful if there are multiple interfaces for the given source subnet.  If you enable this option, the net.inet.ip.choose_ifa_by_ipsrc sysctl should be set.
	ForceInterface bool `json:"force_interface"`

	// This field is false if the policy is in its initial sync state and true otherwise.  Setting this field to false will reset the policy's sync state.
	HasSyncState bool `json:"has_sync_state"`

	// The system ID given to this sync policy.
	Id string `json:"id"`

	// If --schedule is set to When-Source-Modified, the duration to wait after a modification is made before starting a job (default is 0 seconds).
	JobDelay int32 `json:"job_delay,omitempty"`

	// This is the state of the most recent job for this policy.
	LastJobState string `json:"last_job_state"`

	// The most recent time a job was started for this policy.  Value is null if the policy has never been run.
	LastStarted int32 `json:"last_started,omitempty"`

	// Timestamp of last known successfully completed synchronization.  Value is null if the policy has never completed successfully.
	LastSuccess int32 `json:"last_success,omitempty"`

	// Severity an event must reach before it is logged.
	LogLevel string `json:"log_level"`

	// If true, the system will log any files or directories that are deleted due to a sync.
	LogRemovedFiles bool `json:"log_removed_files"`

	// User-assigned name of this sync policy.
	Name string `json:"name"`

	// This is the next time a job is scheduled to run for this policy in Unix epoch seconds.  This field is null if the job is not scheduled.
	NextRun int32 `json:"next_run,omitempty"`

	// Indicates if a password is set for accessing the target cluster. Password value is not shown with GET.
	PasswordSet bool `json:"password_set"`

	// Determines the priority level of a policy. Policies with higher priority will have precedence to run over lower priority policies. Valid range is [0, 1]. Default is 0.
	Priority int32 `json:"priority"`

	// Length of time (in seconds) a policy report will be stored.
	ReportMaxAge int32 `json:"report_max_age"`

	// Maximum number of policy reports that will be stored on the system.
	ReportMaxCount int32 `json:"report_max_count"`

	// If you specify true, and you specify a SmartConnect zone in the \"target_host\" field, replication policies will connect only to nodes in the specified SmartConnect zone.  If you specify false, replication policies are not restricted to specific nodes on the target cluster.
	RestrictTargetNetwork bool `json:"restrict_target_network"`

	// If --schedule is set to a time/date, an alert is created if the specified RPO for this policy is exceeded. The default value is 0, which will not generate RPO alerts.
	RpoAlert int32 `json:"rpo_alert,omitempty"`

	// The schedule on which new jobs will be run for this policy.
	Schedule string `json:"schedule"`

	// Skip DNS lookup of target IPs.
	SkipLookup bool `json:"skip_lookup"`

	// If true and --schedule is set to a time/date, the policy will not run if no changes have been made to the contents of the source directory since the last job successfully completed.
	SkipWhenSourceUnmodified bool `json:"skip_when_source_unmodified"`

	// If true, snapshot-triggered syncs will include snapshots taken before policy creation time (requires --schedule when-snapshot-taken).
	SnapshotSyncExisting bool `json:"snapshot_sync_existing"`

	// The naming pattern that a snapshot must match to trigger a sync when the schedule is when-snapshot-taken (default is \"*\").
	SnapshotSyncPattern string `json:"snapshot_sync_pattern"`

	// Directories that will be excluded from the sync.  Modifying this field will result in a full synchronization of all data.
	SourceExcludeDirectories []string `json:"source_exclude_directories"`

	// Directories that will be included in the sync.  Modifying this field will result in a full synchronization of all data.
	SourceIncludeDirectories []string `json:"source_include_directories"`

	// Restricts replication policies on the local cluster to running on the specified subnet and pool.
	SourceNetwork *SyncPolicySourceNetwork `json:"source_network,omitempty"`

	// The root directory on the source cluster the files will be synced from.  Modifying this field will result in a full synchronization of all data.
	SourceRootPath string `json:"source_root_path"`

	// If true, archival snapshots of the source data will be taken on the source cluster before a sync.
	SourceSnapshotArchive bool `json:"source_snapshot_archive"`

	// The length of time in seconds to keep snapshots on the source cluster.
	SourceSnapshotExpiration int32 `json:"source_snapshot_expiration"`

	// The name pattern for snapshots taken on the source cluster before a sync.
	SourceSnapshotPattern string `json:"source_snapshot_pattern"`

	// If true, the target creates diffs against the original sync.
	TargetCompareInitialSync bool `json:"target_compare_initial_sync"`

	// If true, target cluster will detect if files have been changed on the target by legacy tree walk syncs.
	TargetDetectModifications bool `json:"target_detect_modifications"`

	// Hostname or IP address of sync target cluster.  Modifying the target cluster host can result in the policy being unrunnable if the new target does not match the current target association.
	TargetHost string `json:"target_host"`

	// Absolute filesystem path on the target cluster for the sync destination.
	TargetPath string `json:"target_path"`

	// The alias of the snapshot taken on the target cluster after the sync completes. A value of @DEFAULT will reset this field to the default creation value.
	TargetSnapshotAlias string `json:"target_snapshot_alias"`

	// If true, archival snapshots of the target data will be taken on the target cluster after successful sync completions.
	TargetSnapshotArchive bool `json:"target_snapshot_archive"`

	// The length of time in seconds to keep snapshots on the target cluster.
	TargetSnapshotExpiration int32 `json:"target_snapshot_expiration"`

	// The name pattern for snapshots taken on the target cluster after the sync completes.  A value of @DEFAULT will reset this field to the default creation value.
	TargetSnapshotPattern string `json:"target_snapshot_pattern"`

	// The number of worker threads on a node performing a sync.
	WorkersPerNode int32 `json:"workers_per_node"`
}

type SyncPolicyExtendedExtended ¶

type SyncPolicyExtendedExtended struct {

	// If set to true, SyncIQ will perform failback configuration tasks during the next job run, rather than waiting to perform those tasks during the failback process. Performing these tasks ahead of time will increase the speed of failback operations.
	AcceleratedFailback bool `json:"accelerated_failback,omitempty"`

	// If 'copy', source files will be copied to the target cluster.  If 'sync', the target directory will be made an image of the source directory:  Files and directories that have been deleted on the source, have been moved within the target directory, or no longer match the selection criteria will be deleted from the target directory.
	Action string `json:"action,omitempty"`

	// NOTE: This field should not be changed without the help of Isilon support.  Enable/disable UDP-based data transfer.
	BurstMode bool `json:"burst_mode,omitempty"`

	// If true, retain previous source snapshot and incremental repstate, both of which are required for changelist creation.
	Changelist bool `json:"changelist,omitempty"`

	// If true, the sync target performs cyclic redundancy checks (CRC) on the data as it is received.
	CheckIntegrity bool `json:"check_integrity,omitempty"`

	// If set to deny, replicates all CloudPools smartlinks to the target cluster as smartlinks; if the target cluster does not support the smartlinks, the job will fail. If set to force, replicates all smartlinks to the target cluster as regular files. If set to allow, SyncIQ will attempt to replicate smartlinks to the target cluster as smartlinks; if the target cluster does not support the smartlinks, SyncIQ will replicate the smartlinks as regular files.
	CloudDeepCopy string `json:"cloud_deep_copy,omitempty"`

	// NOTE: This field should not be changed without the help of Isilon support.  If true, the most recent run of this policy encountered an error and this policy will not start any more scheduled jobs until this field is manually set back to 'false'.
	Conflicted bool `json:"conflicted,omitempty"`

	// User-assigned description of this sync policy.
	Description string `json:"description,omitempty"`

	// NOTE: This field should not be changed without the help of Isilon support.  If true, the 7.2+ file splitting capability will be disabled.
	DisableFileSplit bool `json:"disable_file_split,omitempty"`

	// NOTE: This field should not be changed without the help of Isilon support.  Enable/disable sync failover/failback.
	DisableFofb bool `json:"disable_fofb,omitempty"`

	// NOTE: This field should not be changed without the help of Isilon support.  Enable/disable the 6.5+ STF based data transfer and uses only treewalk.
	DisableStf bool `json:"disable_stf,omitempty"`

	// If true, jobs will be automatically run based on this policy, according to its schedule.
	Enabled bool `json:"enabled"`

	// NOTE: This field should not be changed without the help of Isilon support.  Continue sending files even with the corrupted filesystem.
	ExpectedDataloss bool `json:"expected_dataloss,omitempty"`

	// A file matching pattern, organized as an OR'ed set of AND'ed file criteria, for example ((a AND b) OR (x AND y)) used to define a set of files with specific properties.  Policies of type 'sync' cannot use 'path' or time criteria in their matching patterns, but policies of type 'copy' can use all listed criteria.
	FileMatchingPattern *SyncJobPolicyFileMatchingPattern `json:"file_matching_pattern,omitempty"`

	// NOTE: This field should not be changed without the help of Isilon support.  Determines whether data is sent only through the subnet and pool specified in the \"source_network\" field. This option can be useful if there are multiple interfaces for the given source subnet.  If you enable this option, the net.inet.ip.choose_ifa_by_ipsrc sysctl should be set.
	ForceInterface bool `json:"force_interface,omitempty"`

	// This field is false if the policy is in its initial sync state and true otherwise.  Setting this field to false will reset the policy's sync state.
	HasSyncState bool `json:"has_sync_state,omitempty"`

	// The system ID given to this sync policy.
	Id string `json:"id"`

	// If --schedule is set to When-Source-Modified, the duration to wait after a modification is made before starting a job (default is 0 seconds).
	JobDelay int32 `json:"job_delay,omitempty"`

	// This is the state of the most recent job for this policy.
	LastJobState string `json:"last_job_state,omitempty"`

	// The most recent time a job was started for this policy.  Value is null if the policy has never been run.
	LastStarted int32 `json:"last_started,omitempty"`

	// Timestamp of last known successfully completed synchronization.  Value is null if the policy has never completed successfully.
	LastSuccess int32 `json:"last_success,omitempty"`

	// Severity an event must reach before it is logged.
	LogLevel string `json:"log_level,omitempty"`

	// If true, the system will log any files or directories that are deleted due to a sync.
	LogRemovedFiles bool `json:"log_removed_files,omitempty"`

	// User-assigned name of this sync policy.
	Name string `json:"name"`

	// This is the next time a job is scheduled to run for this policy in Unix epoch seconds.  This field is null if the job is not scheduled.
	NextRun int32 `json:"next_run,omitempty"`

	// Indicates if a password is set for accessing the target cluster. Password value is not shown with GET.
	PasswordSet bool `json:"password_set,omitempty"`

	// Determines the priority level of a policy. Policies with higher priority will have precedence to run over lower priority policies. Valid range is [0, 1]. Default is 0.
	Priority int32 `json:"priority,omitempty"`

	// Length of time (in seconds) a policy report will be stored.
	ReportMaxAge int32 `json:"report_max_age,omitempty"`

	// Maximum number of policy reports that will be stored on the system.
	ReportMaxCount int32 `json:"report_max_count,omitempty"`

	// If you specify true, and you specify a SmartConnect zone in the \"target_host\" field, replication policies will connect only to nodes in the specified SmartConnect zone.  If you specify false, replication policies are not restricted to specific nodes on the target cluster.
	RestrictTargetNetwork bool `json:"restrict_target_network,omitempty"`

	// If --schedule is set to a time/date, an alert is created if the specified RPO for this policy is exceeded. The default value is 0, which will not generate RPO alerts.
	RpoAlert int32 `json:"rpo_alert,omitempty"`

	// The schedule on which new jobs will be run for this policy.
	Schedule string `json:"schedule"`

	// Skip DNS lookup of target IPs.
	SkipLookup bool `json:"skip_lookup,omitempty"`

	// If true and --schedule is set to a time/date, the policy will not run if no changes have been made to the contents of the source directory since the last job successfully completed.
	SkipWhenSourceUnmodified bool `json:"skip_when_source_unmodified,omitempty"`

	// If true, snapshot-triggered syncs will include snapshots taken before policy creation time (requires --schedule when-snapshot-taken).
	SnapshotSyncExisting bool `json:"snapshot_sync_existing,omitempty"`

	// The naming pattern that a snapshot must match to trigger a sync when the schedule is when-snapshot-taken (default is \"*\").
	SnapshotSyncPattern string `json:"snapshot_sync_pattern,omitempty"`

	// Directories that will be excluded from the sync.  Modifying this field will result in a full synchronization of all data.
	SourceExcludeDirectories []string `json:"source_exclude_directories,omitempty"`

	// Directories that will be included in the sync.  Modifying this field will result in a full synchronization of all data.
	SourceIncludeDirectories []string `json:"source_include_directories,omitempty"`

	// Restricts replication policies on the local cluster to running on the specified subnet and pool.
	SourceNetwork *SyncPolicySourceNetwork `json:"source_network,omitempty"`

	// The root directory on the source cluster the files will be synced from.  Modifying this field will result in a full synchronization of all data.
	SourceRootPath string `json:"source_root_path"`

	// If true, archival snapshots of the source data will be taken on the source cluster before a sync.
	SourceSnapshotArchive bool `json:"source_snapshot_archive,omitempty"`

	// The length of time in seconds to keep snapshots on the source cluster.
	SourceSnapshotExpiration int32 `json:"source_snapshot_expiration,omitempty"`

	// The name pattern for snapshots taken on the source cluster before a sync.
	SourceSnapshotPattern string `json:"source_snapshot_pattern,omitempty"`

	// If true, the target creates diffs against the original sync.
	TargetCompareInitialSync bool `json:"target_compare_initial_sync,omitempty"`

	// If true, target cluster will detect if files have been changed on the target by legacy tree walk syncs.
	TargetDetectModifications bool `json:"target_detect_modifications,omitempty"`

	// Hostname or IP address of sync target cluster.  Modifying the target cluster host can result in the policy being unrunnable if the new target does not match the current target association.
	TargetHost string `json:"target_host"`

	// Absolute filesystem path on the target cluster for the sync destination.
	TargetPath string `json:"target_path"`

	// The alias of the snapshot taken on the target cluster after the sync completes. A value of @DEFAULT will reset this field to the default creation value.
	TargetSnapshotAlias string `json:"target_snapshot_alias,omitempty"`

	// If true, archival snapshots of the target data will be taken on the target cluster after successful sync completions.
	TargetSnapshotArchive bool `json:"target_snapshot_archive,omitempty"`

	// The length of time in seconds to keep snapshots on the target cluster.
	TargetSnapshotExpiration int32 `json:"target_snapshot_expiration,omitempty"`

	// The name pattern for snapshots taken on the target cluster after the sync completes.  A value of @DEFAULT will reset this field to the default creation value.
	TargetSnapshotPattern string `json:"target_snapshot_pattern,omitempty"`

	// The number of worker threads on a node performing a sync.
	WorkersPerNode int32 `json:"workers_per_node,omitempty"`
}

type SyncPolicySourceNetwork ¶

type SyncPolicySourceNetwork struct {

	// The pool to restrict replication policies to.
	Pool string `json:"pool"`

	// The subnet to restrict replication policies to.
	Subnet string `json:"subnet"`
}

type SyncReport ¶

type SyncReport struct {

	// The action to be taken by this job.
	Action string `json:"action"`

	// The number of ads streams replicated by this job.
	AdsStreamsReplicated int32 `json:"ads_streams_replicated"`

	// The number of block specs replicated by this job.
	BlockSpecsReplicated int32 `json:"block_specs_replicated"`

	// The number of bytes recoverable by this job.
	BytesRecoverable int32 `json:"bytes_recoverable"`

	// The number of bytes that have been transferred by this job.
	BytesTransferred int32 `json:"bytes_transferred"`

	// The number of char specs replicated by this job.
	CharSpecsReplicated int32 `json:"char_specs_replicated"`

	// The number of LINs corrected by this job.
	CorrectedLins int32 `json:"corrected_lins"`

	// This field is true if the node running this job is dead.
	DeadNode bool `json:"dead_node"`

	// The number of directories replicated.
	DirectoriesReplicated int32 `json:"directories_replicated"`

	// The number of directories changed by this job.
	DirsChanged int32 `json:"dirs_changed"`

	// The number of directories deleted by this job.
	DirsDeleted int32 `json:"dirs_deleted"`

	// The number of directories moved by this job.
	DirsMoved int32 `json:"dirs_moved"`

	// The number of directories created by this job.
	DirsNew int32 `json:"dirs_new"`

	// The amount of time in seconds between when the job was started and when it ended.  If the job has not yet ended, this is the amount of time since the job started.  This field is null if the job has not yet started.
	Duration int32 `json:"duration,omitempty"`

	// The time the job ended in unix epoch seconds. The field is null if the job hasn't ended.
	EndTime int32 `json:"end_time,omitempty"`

	// The primary error message for this job.
	Error_ string `json:"error"`

	// The number of files with checksum errors skipped by this job.
	ErrorChecksumFilesSkipped int32 `json:"error_checksum_files_skipped"`

	// The number of files with io errors skipped by this job.
	ErrorIoFilesSkipped int32 `json:"error_io_files_skipped"`

	// The number of files with network errors skipped by this job.
	ErrorNetFilesSkipped int32 `json:"error_net_files_skipped"`

	// A list of error messages for this job.
	Errors []string `json:"errors"`

	// Tyhe number of data chunks that failed transmission.
	FailedChunks int32 `json:"failed_chunks"`

	// The number of fifos replicated by this job.
	FifosReplicated int32 `json:"fifos_replicated"`

	// The number of bytes transferred that belong to files.
	FileDataBytes int32 `json:"file_data_bytes"`

	// The number of files changed by this job.
	FilesChanged int32 `json:"files_changed"`

	// The number of files linked by this job.
	FilesLinked int32 `json:"files_linked"`

	// The number of files created by this job.
	FilesNew int32 `json:"files_new"`

	// The number of files selected by this job.
	FilesSelected int32 `json:"files_selected"`

	// The number of files transferred by this job.
	FilesTransferred int32 `json:"files_transferred"`

	// The number of files unlinked by this job.
	FilesUnlinked int32 `json:"files_unlinked"`

	// The number of files with ads replicated by this job.
	FilesWithAdsReplicated int32 `json:"files_with_ads_replicated"`

	// The number of LINs flipped by this job.
	FlippedLins int32 `json:"flipped_lins"`

	// The number of hard links replicated by this job.
	HardLinksReplicated int32 `json:"hard_links_replicated"`

	// The number of hash exceptions fixed by this job.
	HashExceptionsFixed int32 `json:"hash_exceptions_fixed"`

	// The number of hash exceptions found by this job.
	HashExceptionsFound int32 `json:"hash_exceptions_found"`

	// A unique identifier for this object.
	Id string `json:"id"`

	// The ID of the job.
	JobId int32 `json:"job_id,omitempty"`

	// The number of LINs transferred by this job.
	LinsTotal int32 `json:"lins_total"`

	// The total number of bytes sent to the source by this job.
	NetworkBytesToSource int32 `json:"network_bytes_to_source"`

	// The total number of bytes sent to the target by this job.
	NetworkBytesToTarget int32 `json:"network_bytes_to_target"`

	// The number of new files replicated by this job.
	NewFilesReplicated int32 `json:"new_files_replicated"`

	// The number of files that have been retransmitted by this job.
	NumRetransmittedFiles int32 `json:"num_retransmitted_files"`

	// Data for each phase of this job.
	Phases []SyncJobPhase `json:"phases"`

	//
	Policy *SyncReportPolicy `json:"policy"`

	// This is the action the policy is configured to perform.
	PolicyAction string `json:"policy_action"`

	// The ID of the policy.
	PolicyId string `json:"policy_id"`

	// The name of the policy.
	PolicyName string `json:"policy_name"`

	// The number of regular files replicated by this job.
	RegularFilesReplicated int32 `json:"regular_files_replicated"`

	// The number of LINs resynched by this job.
	ResyncedLins int32 `json:"resynced_lins"`

	// The files that have been retransmitted by this job.
	RetransmittedFiles []string `json:"retransmitted_files"`

	// The number of times the job has been retried.
	Retry int32 `json:"retry"`

	// The number of data chunks currently being transmitted.
	RunningChunks int32 `json:"running_chunks"`

	// The number of sockets replicated by this job.
	SocketsReplicated int32 `json:"sockets_replicated"`

	// The number of bytes recovered on the source.
	SourceBytesRecovered int32 `json:"source_bytes_recovered"`

	// The number of directories created on the source.
	SourceDirectoriesCreated int32 `json:"source_directories_created"`

	// The number of directories deleted on the source.
	SourceDirectoriesDeleted int32 `json:"source_directories_deleted"`

	// The number of directories linked on the source.
	SourceDirectoriesLinked int32 `json:"source_directories_linked"`

	// The number of directories unlinked on the source.
	SourceDirectoriesUnlinked int32 `json:"source_directories_unlinked"`

	// The number of directories visited on the source.
	SourceDirectoriesVisited int32 `json:"source_directories_visited"`

	// The number of files deleted on the source.
	SourceFilesDeleted int32 `json:"source_files_deleted"`

	// The number of files linked on the source.
	SourceFilesLinked int32 `json:"source_files_linked"`

	// The number of files unlinked on the source.
	SourceFilesUnlinked int32 `json:"source_files_unlinked"`

	// The number of sparse data bytes transferred by this job.
	SparseDataBytes int32 `json:"sparse_data_bytes"`

	// The time the job started in unix epoch seconds. The field is null if the job hasn't started.
	StartTime int32 `json:"start_time,omitempty"`

	// The state of the job.
	State string `json:"state"`

	// The number of subreports that are available for this job report.
	SubreportCount int32 `json:"subreport_count"`

	// The number of data chunks that have been transmitted successfully.
	SucceededChunks int32 `json:"succeeded_chunks"`

	// The number of symlinks replicated by this job.
	SymlinksReplicated int32 `json:"symlinks_replicated"`

	// The type of sync being performed by this job.
	SyncType string `json:"sync_type"`

	// The number of bytes recovered on the target.
	TargetBytesRecovered int32 `json:"target_bytes_recovered"`

	// The number of directories created on the target.
	TargetDirectoriesCreated int32 `json:"target_directories_created"`

	// The number of directories deleted on the target.
	TargetDirectoriesDeleted int32 `json:"target_directories_deleted"`

	// The number of directories linked on the target.
	TargetDirectoriesLinked int32 `json:"target_directories_linked"`

	// The number of directories unlinked on the target.
	TargetDirectoriesUnlinked int32 `json:"target_directories_unlinked"`

	// The number of files deleted on the target.
	TargetFilesDeleted int32 `json:"target_files_deleted"`

	// The number of files linked on the target.
	TargetFilesLinked int32 `json:"target_files_linked"`

	// The number of files unlinked on the target.
	TargetFilesUnlinked int32 `json:"target_files_unlinked"`

	// The target snapshots created by this job.
	TargetSnapshots []string `json:"target_snapshots"`

	// The total number of data chunks transmitted by this job.
	TotalChunks int32 `json:"total_chunks"`

	// The total number of bytes transferred by this job.
	TotalDataBytes int32 `json:"total_data_bytes"`

	// The number of files affected by this job.
	TotalFiles int32 `json:"total_files"`

	// The total number of bytes sent over the network by this job.
	TotalNetworkBytes int32 `json:"total_network_bytes"`

	// The total number of phases for this job.
	TotalPhases int32 `json:"total_phases"`

	// The number of bytes unchanged by this job.
	UnchangedDataBytes int32 `json:"unchanged_data_bytes"`

	// The number of up-to-date files skipped by this job.
	UpToDateFilesSkipped int32 `json:"up_to_date_files_skipped"`

	// The number of updated files replicated by this job.
	UpdatedFilesReplicated int32 `json:"updated_files_replicated"`

	// The number of files with user conflicts skipped by this job.
	UserConflictFilesSkipped int32 `json:"user_conflict_files_skipped"`

	// A list of warning messages for this job.
	Warnings []string `json:"warnings"`

	// The number of WORM committed files which needed to be reverted. Since WORM committed files cannot be reverted, this is the number of files that were preserved in the compliance store.
	WormCommittedFileConflicts int32 `json:"worm_committed_file_conflicts"`
}

type SyncReportPolicy ¶

type SyncReportPolicy struct {

	// If 'copy', source files will be copied to the target cluster.  If 'sync', the target directory will be made an image of the source directory:  Files and directories that have been deleted on the source, have been moved within the target directory, or no longer match the selection criteria will be deleted from the target directory.
	Action string `json:"action,omitempty"`

	// A file matching pattern, organized as an OR'ed set of AND'ed file criteria, for example ((a AND b) OR (x AND y)) used to define a set of files with specific properties.  Policies of type 'sync' cannot use 'path' or time criteria in their matching patterns, but policies of type 'copy' can use all listed criteria.
	FileMatchingPattern *SyncJobPolicyFileMatchingPattern `json:"file_matching_pattern,omitempty"`

	// User-assigned name of this sync policy.
	Name string `json:"name,omitempty"`

	// Directories that will be excluded from the sync.  Modifying this field will result in a full synchronization of all data.
	SourceExcludeDirectories []string `json:"source_exclude_directories,omitempty"`

	// Directories that will be included in the sync.  Modifying this field will result in a full synchronization of all data.
	SourceIncludeDirectories []string `json:"source_include_directories,omitempty"`

	// The root directory on the source cluster the files will be synced from.  Modifying this field will result in a full synchronization of all data.
	SourceRootPath string `json:"source_root_path,omitempty"`

	// Hostname or IP address of sync target cluster.  Modifying the target cluster host can result in the policy being unrunnable if the new target does not match the current target association.
	TargetHost string `json:"target_host,omitempty"`

	// Absolute filesystem path on the target cluster for the sync destination.
	TargetPath string `json:"target_path,omitempty"`
}

type SyncReports ¶

type SyncReports struct {
	Reports []SyncReport `json:"reports,omitempty"`
}

type SyncReportsApiService ¶

type SyncReportsApiService service

func (*SyncReportsApiService) GetReportSubreport ¶

func (a *SyncReportsApiService) GetReportSubreport(ctx context.Context, reportSubreportId string, rid string) (ReportSubreports, *http.Response, error)

SyncReportsApiService View a single SyncIQ subreport. * @param ctx context.Context for authentication, logging, tracing, etc. @param reportSubreportId View a single SyncIQ subreport. @param rid @return ReportSubreports

func (*SyncReportsApiService) GetReportSubreports ¶

func (a *SyncReportsApiService) GetReportSubreports(ctx context.Context, rid string, localVarOptionals map[string]interface{}) (ReportSubreportsExtended, *http.Response, error)

SyncReportsApiService Get a list of SyncIQ subreports for a report. * @param ctx context.Context for authentication, logging, tracing, etc. @param rid @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
@param "newerThan" (int32) Filter the returned reports to include only those whose jobs started more recently than the specified number of days ago.
@param "state" (string) Filter the returned reports to include only those whose jobs are in this state.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "dir" (string) The direction of the sort.

@return ReportSubreportsExtended

type SyncReportsExtended ¶

type SyncReportsExtended struct {
	Reports []SyncReport `json:"reports,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type SyncReportsRotate ¶

type SyncReportsRotate struct {

	// A message about the status of the task.
	Message string `json:"message"`

	// Whether this task is running or not.
	Running bool `json:"running"`
}

Force rotation of reports.

type SyncRule ¶

type SyncRule struct {

	// User-entered description of this performance rule.
	Description string `json:"description,omitempty"`

	// Whether this performance rule is currently in effect during its specified intervals.
	Enabled bool `json:"enabled,omitempty"`

	// Amount the specified system resource type is limited by this rule.  Units are kb/s for bandwidth, files/s for file-count, processing percentage used for cpu, or percentage of maximum available workers.
	Limit int32 `json:"limit,omitempty"`

	// A schedule defining when during a week this performance rule is in effect.  If unspecified or null, the schedule will always be in effect.
	Schedule *SyncRuleSchedule `json:"schedule,omitempty"`
}

A rule limiting the bandwidth, file operations, cpu usage, or worker count for all sync jobs on this cluster.

type SyncRuleCreateParams ¶

type SyncRuleCreateParams struct {

	// User-entered description of this performance rule.
	Description string `json:"description,omitempty"`

	// Whether this performance rule is currently in effect during its specified intervals.
	Enabled bool `json:"enabled,omitempty"`

	// Amount the specified system resource type is limited by this rule.  Units are kb/s for bandwidth, files/s for file-count, processing percentage used for cpu, or percentage of maximum available workers.
	Limit int32 `json:"limit"`

	// A schedule defining when during a week this performance rule is in effect.  If unspecified or null, the schedule will always be in effect.
	Schedule *SyncRuleSchedule `json:"schedule,omitempty"`

	// The type of system resource this rule limits.
	Type_ string `json:"type"`
}

type SyncRuleExtended ¶

type SyncRuleExtended struct {

	// User-entered description of this performance rule.
	Description string `json:"description"`

	// Whether this performance rule is currently in effect during its specified intervals.
	Enabled bool `json:"enabled"`

	// Amount the specified system resource type is limited by this rule.  Units are kb/s for bandwidth, files/s for file-count, processing percentage used for cpu, or percentage of maximum available workers.
	Limit int32 `json:"limit"`

	// A schedule defining when during a week this performance rule is in effect.  If unspecified or null, the schedule will always be in effect.
	Schedule *SyncRuleSchedule `json:"schedule,omitempty"`

	// The system ID given to this performance rule.
	Id string `json:"id"`

	// The type of system resource this rule limits.
	Type_ string `json:"type"`
}

type SyncRuleExtendedExtended ¶

type SyncRuleExtendedExtended struct {

	// User-entered description of this performance rule.
	Description string `json:"description,omitempty"`

	// Whether this performance rule is currently in effect during its specified intervals.
	Enabled bool `json:"enabled,omitempty"`

	// The system ID given to this performance rule.
	Id string `json:"id,omitempty"`

	// Amount the specified system resource type is limited by this rule.  Units are kb/s for bandwidth, files/s for file-count, processing percentage used for cpu, or percentage of maximum available workers.
	Limit int32 `json:"limit,omitempty"`

	// A schedule defining when during a week this performance rule is in effect.  If unspecified or null, the schedule will always be in effect.
	Schedule *SyncRuleSchedule `json:"schedule,omitempty"`

	// The type of system resource this rule limits.
	Type_ string `json:"type,omitempty"`
}

type SyncRuleSchedule ¶

type SyncRuleSchedule struct {

	// Start time (inclusive) for this schedule, during its specified days.  Format is \"hh:mm\" (24h format hour, and minute).  A null value indicates the beginning of the day (\"00:00\").
	Begin string `json:"begin,omitempty"`

	// End time (inclusive) for this schedule, during its specified days.  Format is \"hh:mm\" (three-letter weekday name abbreviation, 24h format hour, and minute).  A null value indicates the end of the day (\"23:59\").
	End string `json:"end,omitempty"`

	// If true, this rule is in effect on Friday.  If false, or unspecified, it is not.
	Friday bool `json:"friday,omitempty"`

	// If true, this rule is in effect on Monday.  If false, or unspecified, it is not.
	Monday bool `json:"monday,omitempty"`

	// If true, this rule is in effect on Saturday.  If false, or unspecified, it is not.
	Saturday bool `json:"saturday,omitempty"`

	// If true, this rule is in effect on Sunday.  If false, or unspecified, it is not.
	Sunday bool `json:"sunday,omitempty"`

	// If true, this rule is in effect on Thursday.  If false, or unspecified, it is not.
	Thursday bool `json:"thursday,omitempty"`

	// If true, this rule is in effect on Tuesday.  If false, or unspecified, it is not.
	Tuesday bool `json:"tuesday,omitempty"`

	// If true, this rule is in effect on Wednesday.  If false, or unspecified, it is not.
	Wednesday bool `json:"wednesday,omitempty"`
}

type SyncRules ¶

type SyncRules struct {
	Rules []SyncRuleExtended `json:"rules,omitempty"`
}

type SyncRulesExtended ¶

type SyncRulesExtended struct {

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	Rules []SyncRuleExtendedExtended `json:"rules"`

	// Total number of items available.
	Total int32 `json:"total"`
}

type SyncSettings ¶

type SyncSettings struct {

	// Global SyncIQ settings.
	Settings *SyncSettingsSettings `json:"settings,omitempty"`
}

type SyncSettingsExtended ¶

type SyncSettingsExtended struct {

	// The per-worker burst socket memory constraint, in bytes.
	BurstMemoryConstraint int32 `json:"burst_memory_constraint,omitempty"`

	// The per-worker burst socket buffer coalesced data, in bytes.
	BurstSocketBufferSize int32 `json:"burst_socket_buffer_size,omitempty"`

	// NOTE: This field should not be changed without the help of Isilon support.  Default for the \"force_interface\" property that will be applied to each new sync policy unless otherwise specified at the time of policy creation.  Determines whether data is sent only through the subnet and pool specified in the \"source_network\" field. This option can be useful if there are multiple interfaces for the given source subnet.
	ForceInterface bool `json:"force_interface,omitempty"`

	// Email sync reports to these addresses.
	ReportEmail []string `json:"report_email,omitempty"`

	// The default length of time (in seconds) a policy report will be stored.
	ReportMaxAge int32 `json:"report_max_age,omitempty"`

	// The default maximum number of reports to retain for a policy.
	ReportMaxCount int32 `json:"report_max_count,omitempty"`

	// Default for the \"restrict_target_network\" property that will be applied to each new sync policy unless otherwise specified at the time of policy creation.  If you specify true, and you specify a SmartConnect zone in the \"target_host\" field, replication policies will connect only to nodes in the specified SmartConnect zone.  If you specify false, replication policies are not restricted to specific nodes on the target cluster.
	RestrictTargetNetwork bool `json:"restrict_target_network,omitempty"`

	// If disabled, no RPO alerts will be generated.
	RpoAlerts bool `json:"rpo_alerts,omitempty"`

	// Specifies if the SyncIQ service currently on, paused, or off.  If paused, all sync jobs will be paused.  If turned off, all jobs will be canceled.
	Service string `json:"service,omitempty"`

	// Restricts replication policies on the local cluster to running on the specified subnet and pool.
	SourceNetwork *SyncPolicySourceNetwork `json:"source_network,omitempty"`

	// The interval (in seconds) in which treewalk syncs are forced to checkpoint.
	TwChkptInterval int32 `json:"tw_chkpt_interval,omitempty"`
}

Global SyncIQ settings.

type SyncSettingsSettings ¶

type SyncSettingsSettings struct {

	// The per-worker burst socket memory constraint, in bytes.
	BurstMemoryConstraint int32 `json:"burst_memory_constraint,omitempty"`

	// The per-worker burst socket buffer coalesced data, in bytes.
	BurstSocketBufferSize int32 `json:"burst_socket_buffer_size,omitempty"`

	// NOTE: This field should not be changed without the help of Isilon support.  Default for the \"force_interface\" property that will be applied to each new sync policy unless otherwise specified at the time of policy creation.  Determines whether data is sent only through the subnet and pool specified in the \"source_network\" field. This option can be useful if there are multiple interfaces for the given source subnet.
	ForceInterface bool `json:"force_interface,omitempty"`

	// The max concurrent jobs that SyncIQ can support. This number is based on the size of the current cluster and the current SyncIQ worker throttle rule.
	MaxConcurrentJobs int32 `json:"max_concurrent_jobs,omitempty"`

	// Email sync reports to these addresses.
	ReportEmail []string `json:"report_email,omitempty"`

	// The default length of time (in seconds) a policy report will be stored.
	ReportMaxAge int32 `json:"report_max_age,omitempty"`

	// The default maximum number of reports to retain for a policy.
	ReportMaxCount int32 `json:"report_max_count,omitempty"`

	// Default for the \"restrict_target_network\" property that will be applied to each new sync policy unless otherwise specified at the time of policy creation.  If you specify true, and you specify a SmartConnect zone in the \"target_host\" field, replication policies will connect only to nodes in the specified SmartConnect zone.  If you specify false, replication policies are not restricted to specific nodes on the target cluster.
	RestrictTargetNetwork bool `json:"restrict_target_network,omitempty"`

	// If disabled, no RPO alerts will be generated.
	RpoAlerts bool `json:"rpo_alerts,omitempty"`

	// Specifies if the SyncIQ service currently on, paused, or off.  If paused, all sync jobs will be paused.  If turned off, all jobs will be canceled.
	Service string `json:"service,omitempty"`

	// Restricts replication policies on the local cluster to running on the specified subnet and pool.
	SourceNetwork *SyncPolicySourceNetwork `json:"source_network,omitempty"`

	// The interval (in seconds) in which treewalk syncs are forced to checkpoint.
	TwChkptInterval int32 `json:"tw_chkpt_interval,omitempty"`
}

type SyncTargetApiService ¶

type SyncTargetApiService service

func (*SyncTargetApiService) CreatePoliciesPolicyCancelItem ¶

func (a *SyncTargetApiService) CreatePoliciesPolicyCancelItem(ctx context.Context, policiesPolicyCancelItem Empty, policy string) (CreateResponse, *http.Response, error)

SyncTargetApiService Cancel the most recent SyncIQ job for this policy from the target side. * @param ctx context.Context for authentication, logging, tracing, etc. @param policiesPolicyCancelItem @param policy @return CreateResponse

func (*SyncTargetApiService) GetReportsReportSubreport ¶

func (a *SyncTargetApiService) GetReportsReportSubreport(ctx context.Context, reportsReportSubreportId string, rid string) (ReportsReportSubreports, *http.Response, error)

SyncTargetApiService View a single SyncIQ target subreport. * @param ctx context.Context for authentication, logging, tracing, etc. @param reportsReportSubreportId View a single SyncIQ target subreport. @param rid @return ReportsReportSubreports

func (*SyncTargetApiService) GetReportsReportSubreports ¶

func (a *SyncTargetApiService) GetReportsReportSubreports(ctx context.Context, rid string, localVarOptionals map[string]interface{}) (ReportsReportSubreportsExtended, *http.Response, error)

SyncTargetApiService Get a list of SyncIQ target subreports for a report. * @param ctx context.Context for authentication, logging, tracing, etc. @param rid @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
@param "newerThan" (int32) Filter the returned reports to include only those whose jobs started more recently than the specified number of days ago.
@param "state" (string) Filter the returned reports to include only those whose jobs are in this state.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "dir" (string) The direction of the sort.

@return ReportsReportSubreportsExtended

type TargetPolicies ¶

type TargetPolicies struct {
	Policies []TargetPolicy `json:"policies,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`
}

type TargetPoliciesExtended ¶

type TargetPoliciesExtended struct {
	Policies []TargetPolicy `json:"policies,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type TargetPolicy ¶

type TargetPolicy struct {

	// The condition of this policy with respect to sync failover/failback.
	FailoverFailbackState string `json:"failover_failback_state"`

	// The system ID given to this sync policy.
	Id string `json:"id"`

	// The state of the last job run for this policy.
	LastJobState string `json:"last_job_state"`

	// The IP address from which a SyncIQ coordinator daemon most recently connected to this cluster to update it about the progress of a job for this policy.
	LastSourceCoordinatorIp string `json:"last_source_coordinator_ip"`

	// The last time this cluster was updated with sync information from the source cluster for this policy, in unix epoch seconds.  Null if no such update has occurred yet.
	LastUpdateFromSource int32 `json:"last_update_from_source,omitempty"`

	// Was this policy defined by a OneFS version earlier than 6.0? (Pre-6.0 policies did not have the target policy concept and canceling from the target side will not be available.)
	LegacyPolicy bool `json:"legacy_policy"`

	// User-assigned name of this sync policy.
	Name string `json:"name"`

	// Unique identifier for the source cluster.
	SourceClusterGuid string `json:"source_cluster_guid"`

	// Hostname or IP address of sync source cluster.
	SourceHost string `json:"source_host"`

	// Absolute filesystem path on the target cluster for the sync destination.
	TargetPath string `json:"target_path"`
}

type TargetReport ¶

type TargetReport struct {

	// The action to be taken by this job.
	Action string `json:"action"`

	// The number of ads streams replicated by this job.
	AdsStreamsReplicated int32 `json:"ads_streams_replicated"`

	// The number of block specs replicated by this job.
	BlockSpecsReplicated int32 `json:"block_specs_replicated"`

	// The number of bytes recoverable by this job.
	BytesRecoverable int32 `json:"bytes_recoverable"`

	// The number of bytes that have been transferred by this job.
	BytesTransferred int32 `json:"bytes_transferred"`

	// The number of char specs replicated by this job.
	CharSpecsReplicated int32 `json:"char_specs_replicated"`

	// The number of LINs corrected by this job.
	CorrectedLins int32 `json:"corrected_lins"`

	// This field is true if the node running this job is dead.
	DeadNode bool `json:"dead_node"`

	// The number of directories replicated.
	DirectoriesReplicated int32 `json:"directories_replicated"`

	// The number of directories changed by this job.
	DirsChanged int32 `json:"dirs_changed"`

	// The number of directories deleted by this job.
	DirsDeleted int32 `json:"dirs_deleted"`

	// The number of directories moved by this job.
	DirsMoved int32 `json:"dirs_moved"`

	// The number of directories created by this job.
	DirsNew int32 `json:"dirs_new"`

	// The amount of time in seconds between when the job was started and when it ended.  If the job has not yet ended, this is the amount of time since the job started.  This field is null if the job has not yet started.
	Duration int32 `json:"duration,omitempty"`

	// The time the job ended in unix epoch seconds. The field is null if the job hasn't ended.
	EndTime int32 `json:"end_time,omitempty"`

	// The primary error message for this job.
	Error_ string `json:"error"`

	// The number of files with checksum errors skipped by this job.
	ErrorChecksumFilesSkipped int32 `json:"error_checksum_files_skipped"`

	// The number of files with io errors skipped by this job.
	ErrorIoFilesSkipped int32 `json:"error_io_files_skipped"`

	// The number of files with network errors skipped by this job.
	ErrorNetFilesSkipped int32 `json:"error_net_files_skipped"`

	// A list of error messages for this job.
	Errors []string `json:"errors"`

	// Tyhe number of data chunks that failed transmission.
	FailedChunks int32 `json:"failed_chunks"`

	// The number of fifos replicated by this job.
	FifosReplicated int32 `json:"fifos_replicated"`

	// The number of bytes transferred that belong to files.
	FileDataBytes int32 `json:"file_data_bytes"`

	// The number of files changed by this job.
	FilesChanged int32 `json:"files_changed"`

	// The number of files linked by this job.
	FilesLinked int32 `json:"files_linked"`

	// The number of files created by this job.
	FilesNew int32 `json:"files_new"`

	// The number of files selected by this job.
	FilesSelected int32 `json:"files_selected"`

	// The number of files transferred by this job.
	FilesTransferred int32 `json:"files_transferred"`

	// The number of files unlinked by this job.
	FilesUnlinked int32 `json:"files_unlinked"`

	// The number of files with ads replicated by this job.
	FilesWithAdsReplicated int32 `json:"files_with_ads_replicated"`

	// The number of LINs flipped by this job.
	FlippedLins int32 `json:"flipped_lins"`

	// The number of hard links replicated by this job.
	HardLinksReplicated int32 `json:"hard_links_replicated"`

	// The number of hash exceptions fixed by this job.
	HashExceptionsFixed int32 `json:"hash_exceptions_fixed"`

	// The number of hash exceptions found by this job.
	HashExceptionsFound int32 `json:"hash_exceptions_found"`

	// A unique identifier for this object.
	Id string `json:"id"`

	// The ID of the job.
	JobId int32 `json:"job_id,omitempty"`

	// The number of LINs transferred by this job.
	LinsTotal int32 `json:"lins_total"`

	// The total number of bytes sent to the source by this job.
	NetworkBytesToSource int32 `json:"network_bytes_to_source"`

	// The total number of bytes sent to the target by this job.
	NetworkBytesToTarget int32 `json:"network_bytes_to_target"`

	// The number of new files replicated by this job.
	NewFilesReplicated int32 `json:"new_files_replicated"`

	// The number of files that have been retransmitted by this job.
	NumRetransmittedFiles int32 `json:"num_retransmitted_files"`

	// Data for each phase of this job.
	Phases []SyncJobPhase `json:"phases"`

	// The ID of the policy.
	PolicyId string `json:"policy_id"`

	// The name of the policy.
	PolicyName string `json:"policy_name"`

	// The number of regular files replicated by this job.
	RegularFilesReplicated int32 `json:"regular_files_replicated"`

	// The number of LINs resynched by this job.
	ResyncedLins int32 `json:"resynced_lins"`

	// The files that have been retransmitted by this job.
	RetransmittedFiles []string `json:"retransmitted_files"`

	// The number of times the job has been retried.
	Retry int32 `json:"retry"`

	// The number of data chunks currently being transmitted.
	RunningChunks int32 `json:"running_chunks"`

	// The number of sockets replicated by this job.
	SocketsReplicated int32 `json:"sockets_replicated"`

	// The number of bytes recovered on the source.
	SourceBytesRecovered int32 `json:"source_bytes_recovered"`

	// The number of directories created on the source.
	SourceDirectoriesCreated int32 `json:"source_directories_created"`

	// The number of directories deleted on the source.
	SourceDirectoriesDeleted int32 `json:"source_directories_deleted"`

	// The number of directories linked on the source.
	SourceDirectoriesLinked int32 `json:"source_directories_linked"`

	// The number of directories unlinked on the source.
	SourceDirectoriesUnlinked int32 `json:"source_directories_unlinked"`

	// The number of directories visited on the source.
	SourceDirectoriesVisited int32 `json:"source_directories_visited"`

	// The number of files deleted on the source.
	SourceFilesDeleted int32 `json:"source_files_deleted"`

	// The number of files linked on the source.
	SourceFilesLinked int32 `json:"source_files_linked"`

	// The number of files unlinked on the source.
	SourceFilesUnlinked int32 `json:"source_files_unlinked"`

	// Hostname or IP address of sync source cluster.
	SourceHost string `json:"source_host"`

	// The number of sparse data bytes transferred by this job.
	SparseDataBytes int32 `json:"sparse_data_bytes"`

	// The time the job started in unix epoch seconds. The field is null if the job hasn't started.
	StartTime int32 `json:"start_time,omitempty"`

	// The state of the job.
	State string `json:"state"`

	// The number of subreports that are available for this job report.
	SubreportCount int32 `json:"subreport_count"`

	// The number of data chunks that have been transmitted successfully.
	SucceededChunks int32 `json:"succeeded_chunks"`

	// The number of symlinks replicated by this job.
	SymlinksReplicated int32 `json:"symlinks_replicated"`

	// The type of sync being performed by this job.
	SyncType string `json:"sync_type"`

	// The number of bytes recovered on the target.
	TargetBytesRecovered int32 `json:"target_bytes_recovered"`

	// The number of directories created on the target.
	TargetDirectoriesCreated int32 `json:"target_directories_created"`

	// The number of directories deleted on the target.
	TargetDirectoriesDeleted int32 `json:"target_directories_deleted"`

	// The number of directories linked on the target.
	TargetDirectoriesLinked int32 `json:"target_directories_linked"`

	// The number of directories unlinked on the target.
	TargetDirectoriesUnlinked int32 `json:"target_directories_unlinked"`

	// The number of files deleted on the target.
	TargetFilesDeleted int32 `json:"target_files_deleted"`

	// The number of files linked on the target.
	TargetFilesLinked int32 `json:"target_files_linked"`

	// The number of files unlinked on the target.
	TargetFilesUnlinked int32 `json:"target_files_unlinked"`

	// Absolute filesystem path on the target cluster for the sync destination.
	TargetPath string `json:"target_path"`

	// The target snapshots created by this job.
	TargetSnapshots []string `json:"target_snapshots"`

	// The total number of data chunks transmitted by this job.
	TotalChunks int32 `json:"total_chunks"`

	// The total number of bytes transferred by this job.
	TotalDataBytes int32 `json:"total_data_bytes"`

	// The number of files affected by this job.
	TotalFiles int32 `json:"total_files"`

	// The total number of bytes sent over the network by this job.
	TotalNetworkBytes int32 `json:"total_network_bytes"`

	// The total number of phases for this job.
	TotalPhases int32 `json:"total_phases"`

	// The number of bytes unchanged by this job.
	UnchangedDataBytes int32 `json:"unchanged_data_bytes"`

	// The number of up-to-date files skipped by this job.
	UpToDateFilesSkipped int32 `json:"up_to_date_files_skipped"`

	// The number of updated files replicated by this job.
	UpdatedFilesReplicated int32 `json:"updated_files_replicated"`

	// The number of files with user conflicts skipped by this job.
	UserConflictFilesSkipped int32 `json:"user_conflict_files_skipped"`

	// A list of warning messages for this job.
	Warnings []string `json:"warnings"`

	// The number of WORM committed files which needed to be reverted. Since WORM committed files cannot be reverted, this is the number of files that were preserved in the compliance store.
	WormCommittedFileConflicts int32 `json:"worm_committed_file_conflicts"`
}

type TargetReports ¶

type TargetReports struct {
	Reports []TargetReport `json:"reports,omitempty"`
}

type TargetReportsExtended ¶

type TargetReportsExtended struct {
	Reports []TargetReport `json:"reports,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type TimezoneRegion ¶

type TimezoneRegion struct {

	// Clarifying comments on the region or timezone.
	Comments string `json:"comments,omitempty"`

	// A unique identifier for the timezone region.
	Id string `json:"id,omitempty"`

	// The name of the region.
	Region string `json:"region,omitempty"`

	// A timezone.
	Timezone *TimezoneRegionTimezone `json:"timezone,omitempty"`
}

type TimezoneRegionTimezone ¶

type TimezoneRegionTimezone struct {

	// The abbreviation for this timezone.
	Abbreviation string `json:"abbreviation,omitempty"`

	// The timezone path.  This is the unique identifier for the timezone.
	Path string `json:"path"`
}

type TimezoneRegions ¶

type TimezoneRegions struct {
	Regions []TimezoneRegion `json:"regions,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type TimezoneSettings ¶

type TimezoneSettings struct {

	// A timezone.
	Settings *TimezoneRegionTimezone `json:"settings,omitempty"`
}

type UpgradeApiService ¶

type UpgradeApiService service

func (*UpgradeApiService) CreateClusterAddRemainingNode ¶

func (a *UpgradeApiService) CreateClusterAddRemainingNode(ctx context.Context, clusterAddRemainingNode Empty) (Empty, *http.Response, error)

UpgradeApiService Let system absorb any remaining or new nodes inside the existing upgrade. * @param ctx context.Context for authentication, logging, tracing, etc. @param clusterAddRemainingNode @return Empty

func (*UpgradeApiService) CreateClusterArchiveItem ¶

func (a *UpgradeApiService) CreateClusterArchiveItem(ctx context.Context, clusterArchiveItem ClusterArchiveItem) (Empty, *http.Response, error)

UpgradeApiService Start an archive of an upgrade. * @param ctx context.Context for authentication, logging, tracing, etc. @param clusterArchiveItem @return Empty

func (*UpgradeApiService) CreateClusterAssessItem ¶

func (a *UpgradeApiService) CreateClusterAssessItem(ctx context.Context, clusterAssessItem ClusterAssessItem) (Empty, *http.Response, error)

UpgradeApiService Start upgrade assessment on cluster. * @param ctx context.Context for authentication, logging, tracing, etc. @param clusterAssessItem @return Empty

func (*UpgradeApiService) CreateClusterCommitItem ¶

func (a *UpgradeApiService) CreateClusterCommitItem(ctx context.Context, clusterCommitItem Empty) (Empty, *http.Response, error)

UpgradeApiService Commit the upgrade of a cluster. * @param ctx context.Context for authentication, logging, tracing, etc. @param clusterCommitItem @return Empty

func (*UpgradeApiService) CreateClusterFirmwareAssessItem ¶

func (a *UpgradeApiService) CreateClusterFirmwareAssessItem(ctx context.Context, clusterFirmwareAssessItem Empty) (Empty, *http.Response, error)

UpgradeApiService Start firmware upgrade assessment on cluster. * @param ctx context.Context for authentication, logging, tracing, etc. @param clusterFirmwareAssessItem @return Empty

func (*UpgradeApiService) CreateClusterFirmwareUpgradeItem ¶

func (a *UpgradeApiService) CreateClusterFirmwareUpgradeItem(ctx context.Context, clusterFirmwareUpgradeItem ClusterFirmwareUpgradeItem) (Empty, *http.Response, error)

UpgradeApiService The settings necessary to start a firmware upgrade. * @param ctx context.Context for authentication, logging, tracing, etc. @param clusterFirmwareUpgradeItem @return Empty

func (*UpgradeApiService) CreateClusterPatchAbortItem ¶

func (a *UpgradeApiService) CreateClusterPatchAbortItem(ctx context.Context, clusterPatchAbortItem Empty) (Empty, *http.Response, error)

UpgradeApiService Abort the previous action performed by the patch system. * @param ctx context.Context for authentication, logging, tracing, etc. @param clusterPatchAbortItem @return Empty

func (*UpgradeApiService) CreateClusterPatchPatch ¶

func (a *UpgradeApiService) CreateClusterPatchPatch(ctx context.Context, clusterPatchPatch ClusterPatchPatch, localVarOptionals map[string]interface{}) (CreateResponse, *http.Response, error)

UpgradeApiService Install a patch. * @param ctx context.Context for authentication, logging, tracing, etc. @param clusterPatchPatch @param optional (nil or map[string]interface{}) with one or more of:

@param "override" (bool) Whether to ignore patch system validation and force the installation.
@param "rolling" (bool) Whether to install the patch on one node at a time. Defaults to true.

@return CreateResponse

func (*UpgradeApiService) CreateClusterRetryLastActionItem ¶

func (a *UpgradeApiService) CreateClusterRetryLastActionItem(ctx context.Context, clusterRetryLastActionItem ClusterRetryLastActionItem) (Empty, *http.Response, error)

UpgradeApiService Retry the last upgrade action, in-case the previous attempt failed. * @param ctx context.Context for authentication, logging, tracing, etc. @param clusterRetryLastActionItem @return Empty

func (*UpgradeApiService) CreateClusterRollbackItem ¶

func (a *UpgradeApiService) CreateClusterRollbackItem(ctx context.Context, clusterRollbackItem Empty) (Empty, *http.Response, error)

UpgradeApiService Rollback the upgrade of a cluster. * @param ctx context.Context for authentication, logging, tracing, etc. @param clusterRollbackItem @return Empty

func (*UpgradeApiService) CreateClusterUpgradeItem ¶

func (a *UpgradeApiService) CreateClusterUpgradeItem(ctx context.Context, clusterUpgradeItem ClusterUpgradeItem) (Empty, *http.Response, error)

UpgradeApiService The settings necessary to start an upgrade. * @param ctx context.Context for authentication, logging, tracing, etc. @param clusterUpgradeItem @return Empty

func (*UpgradeApiService) CreateHardwareStartItem ¶

func (a *UpgradeApiService) CreateHardwareStartItem(ctx context.Context, hardwareStartItem HardwareStartItem) (*http.Response, error)

UpgradeApiService Start a hardware upgrade * @param ctx context.Context for authentication, logging, tracing, etc. @param hardwareStartItem @return

func (*UpgradeApiService) CreateHardwareStopItem ¶

func (a *UpgradeApiService) CreateHardwareStopItem(ctx context.Context, hardwareStopItem HardwareStopItem) (*http.Response, error)

UpgradeApiService Stop an in-progess hardware upgrade process * @param ctx context.Context for authentication, logging, tracing, etc. @param hardwareStopItem @return

func (*UpgradeApiService) DeleteClusterPatchPatch ¶

func (a *UpgradeApiService) DeleteClusterPatchPatch(ctx context.Context, clusterPatchPatchId string, localVarOptionals map[string]interface{}) (*http.Response, error)

UpgradeApiService Uninstall a patch. * @param ctx context.Context for authentication, logging, tracing, etc. @param clusterPatchPatchId Uninstall a patch. @param optional (nil or map[string]interface{}) with one or more of:

@param "override" (bool) Whether to ignore patch system validation and force the uninstallation.
@param "rolling" (bool) Whether to uninstall the patch on one node at a time. Defaults to true.

@return

func (*UpgradeApiService) GetClusterFirmwareProgress ¶

func (a *UpgradeApiService) GetClusterFirmwareProgress(ctx context.Context) (ClusterFirmwareProgress, *http.Response, error)

UpgradeApiService Cluster wide firmware upgrade status info. * @param ctx context.Context for authentication, logging, tracing, etc. @return ClusterFirmwareProgress

func (*UpgradeApiService) GetClusterFirmwareStatus ¶

func (a *UpgradeApiService) GetClusterFirmwareStatus(ctx context.Context, localVarOptionals map[string]interface{}) (ClusterFirmwareStatus, *http.Response, error)

UpgradeApiService The firmware status for the cluster. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "devices" (bool) Show devices. If false, this returns an empty list. Default is false.
@param "package_" (bool) Show package. If false, this returns an empty list.Default is false.

@return ClusterFirmwareStatus

func (*UpgradeApiService) GetClusterNode ¶

func (a *UpgradeApiService) GetClusterNode(ctx context.Context, clusterNodeId int32) (ClusterNodes, *http.Response, error)

UpgradeApiService The node details useful during an upgrade or assessment. * @param ctx context.Context for authentication, logging, tracing, etc. @param clusterNodeId The node details useful during an upgrade or assessment. @return ClusterNodes

func (*UpgradeApiService) GetClusterNodes ¶

UpgradeApiService View information about nodes during an upgrade, rollback, or pre-upgrade assessment. * @param ctx context.Context for authentication, logging, tracing, etc. @return ClusterNodesExtended

func (*UpgradeApiService) GetClusterPatchPatch ¶

func (a *UpgradeApiService) GetClusterPatchPatch(ctx context.Context, clusterPatchPatchId string, localVarOptionals map[string]interface{}) (ClusterPatchPatches, *http.Response, error)

UpgradeApiService View a single patch. * @param ctx context.Context for authentication, logging, tracing, etc. @param clusterPatchPatchId View a single patch. @param optional (nil or map[string]interface{}) with one or more of:

@param "local" (bool) Only view patch information on the local node.
@param "location" (string) Path location of patch file.

@return ClusterPatchPatches

func (*UpgradeApiService) GetHardwareStatus ¶

func (a *UpgradeApiService) GetHardwareStatus(ctx context.Context) (HardwareStatus, *http.Response, error)

UpgradeApiService View the status of hardware upgrades in progress * @param ctx context.Context for authentication, logging, tracing, etc. @return HardwareStatus

func (*UpgradeApiService) GetUpgradeCluster ¶

func (a *UpgradeApiService) GetUpgradeCluster(ctx context.Context) (UpgradeCluster, *http.Response, error)

UpgradeApiService Cluster wide upgrade status info. * @param ctx context.Context for authentication, logging, tracing, etc. @return UpgradeCluster

func (*UpgradeApiService) ListClusterPatchPatches ¶

func (a *UpgradeApiService) ListClusterPatchPatches(ctx context.Context, localVarOptionals map[string]interface{}) (ClusterPatchPatchesExtended, *http.Response, error)

UpgradeApiService List all patches. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "location" (string) Path location of patch file.
@param "local" (bool) Whether to view patches on the local node only.
@param "dir" (string) The direction of the sort.

@return ClusterPatchPatchesExtended

func (*UpgradeApiService) UpdateClusterUpgrade ¶

func (a *UpgradeApiService) UpdateClusterUpgrade(ctx context.Context, clusterUpgrade ClusterUpgrade) (*http.Response, error)

UpgradeApiService Add nodes to a running upgrade. * @param ctx context.Context for authentication, logging, tracing, etc. @param clusterUpgrade @return

type UpgradeCluster ¶

type UpgradeCluster struct {

	// The cluster overview of an upgrade process.
	ClusterOverview *UpgradeClusterClusterOverview `json:"cluster_overview,omitempty"`

	// The different states of an upgrade, rollback, or assessment. One of the following values: 'committed', 'upgraded', 'partially upgraded', 'upgrading', 'rolling back', 'assessing', 'error'
	ClusterState string `json:"cluster_state,omitempty"`

	// The current upgrade activity.
	CurrentProcess string `json:"current_process,omitempty"`

	// The time when a rollback, assessment or upgrade has finished completely. Use ISO 8601 standard. Null if the cluster_state is not 'upgraded'.
	FinishTime string `json:"finish_time,omitempty"`

	// The location (path) of the upgrade image which must be within /ifs. Null if the cluster_state is 'committed' or 'upgraded.'
	InstallImagePath string `json:"install_image_path,omitempty"`

	// The median time (seconds) to complete each node so far during this upgrade. Before the first node in an upgrade has completed this key will have an associated null value.
	NodeMedianTime int32 `json:"node_median_time,omitempty"`

	// The current OneFS version before upgrade.
	OnefsVersionCurrent *ClusterNodesOnefsVersion `json:"onefs_version_current,omitempty"`

	// The OneFS version the user is attempting to upgrade to. Null if the cluster_state is 'committed' or 'assessing.'
	OnefsVersionUpgrade *ClusterNodesOnefsVersion `json:"onefs_version_upgrade,omitempty"`

	// The most recent patch action performed.
	PatchAction string `json:"patch_action,omitempty"`

	// The patch with the most recent patch action.
	PatchName string `json:"patch_name,omitempty"`

	// The time when an upgrade, rollback, or assessment was started. Use ISO 8601 standard. Null if the cluster_state is 'committed' or 'partially upgraded.'
	StartTime string `json:"start_time,omitempty"`

	// True if upgrade is committed.
	UpgradeIsCommitted bool `json:"upgrade_is_committed,omitempty"`

	// The settings necessary when starting an upgrade. Null if the cluster_state is not 'upgrading' or 'partially upgraded.' or 'error'.
	UpgradeSettings *UpgradeClusterUpgradeSettings `json:"upgrade_settings,omitempty"`

	// Time at which upgrade was originally requested.
	UpgradeTriggeredTime string `json:"upgrade_triggered_time,omitempty"`
}

Cluster wide upgrade status info.

type UpgradeClusterApiService ¶

type UpgradeClusterApiService service

func (*UpgradeClusterApiService) CreateNodesNodePatchSyncItem ¶

func (a *UpgradeClusterApiService) CreateNodesNodePatchSyncItem(ctx context.Context, nodesNodePatchSyncItem Empty, lnn int32) (Empty, *http.Response, error)

UpgradeClusterApiService Retry any pending patch sync operations. * @param ctx context.Context for authentication, logging, tracing, etc. @param nodesNodePatchSyncItem @param lnn @return Empty

func (*UpgradeClusterApiService) GetNodesNodeFirmwareStatus ¶

func (a *UpgradeClusterApiService) GetNodesNodeFirmwareStatus(ctx context.Context, lnn int32, localVarOptionals map[string]interface{}) (NodesNodeFirmwareStatus, *http.Response, error)

UpgradeClusterApiService The firmware status for the node. * @param ctx context.Context for authentication, logging, tracing, etc. @param lnn @param optional (nil or map[string]interface{}) with one or more of:

@param "devices" (bool) Show devices. If false, this returns an empty list. Default is false.
@param "package_" (bool) Show package. If false, this returns an empty list.Default is false.

@return NodesNodeFirmwareStatus

type UpgradeClusterClusterOverview ¶

type UpgradeClusterClusterOverview struct {

	// Number of nodes running the current OneFS version.
	NodesCurrent int32 `json:"nodes_current,omitempty"`

	// Total number of nodes on the cluster.
	NodesTotal int32 `json:"nodes_total,omitempty"`

	// Number of nodes transitioning between OneFS versions. Null if the cluster_state is 'committed' or 'assessing.'
	NodesTransitioning int32 `json:"nodes_transitioning,omitempty"`

	// Number of nodes running the upgraded OneFS version. Null if the cluster_state is 'committed' or 'assessing.'
	NodesUpgraded int32 `json:"nodes_upgraded,omitempty"`
}

type UpgradeClusterUpgradeSettings ¶

type UpgradeClusterUpgradeSettings struct {

	// The nodes (to be) scheduled for upgrade ordered by queue position number. Null if the cluster_state is 'partially upgraded' or upgrade_type is 'simultaneous'. One of the following values: [<lnn-1>, <lnn-2>, ... ], 'All', null
	NodesToRollingUpgrade []int32 `json:"nodes_to_rolling_upgrade,omitempty"`

	// The type of upgrade to perform. One of the following values: 'rolling', 'simultaneous'
	UpgradeType string `json:"upgrade_type,omitempty"`
}

type UserChangePassword ¶

type UserChangePassword struct {

	// Specifies user's new password
	NewPassword string `json:"new_password"`

	// User's expired password
	OldPassword string `json:"old_password"`
}

Change Password Request

type UserMemberOf ¶

type UserMemberOf struct {
	MemberOf []AuthAccessAccessItemFileGroup `json:"member_of,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`
}

type WormApiService ¶

type WormApiService service

func (*WormApiService) CreateWormDomain ¶

func (a *WormApiService) CreateWormDomain(ctx context.Context, wormDomain WormDomainCreateParams) (WormDomainExtended, *http.Response, error)

WormApiService Create a WORM domain. * @param ctx context.Context for authentication, logging, tracing, etc. @param wormDomain @return WormDomainExtended

func (*WormApiService) GetWormDomain ¶

func (a *WormApiService) GetWormDomain(ctx context.Context, wormDomainId string) (WormDomains, *http.Response, error)

WormApiService View a single WORM domain. * @param ctx context.Context for authentication, logging, tracing, etc. @param wormDomainId View a single WORM domain. @return WormDomains

func (*WormApiService) GetWormSettings ¶

func (a *WormApiService) GetWormSettings(ctx context.Context) (WormSettings, *http.Response, error)

WormApiService Get the global WORM settings. * @param ctx context.Context for authentication, logging, tracing, etc. @return WormSettings

func (*WormApiService) ListWormDomains ¶

func (a *WormApiService) ListWormDomains(ctx context.Context, localVarOptionals map[string]interface{}) (WormDomainsExtended, *http.Response, error)

WormApiService List all WORM domains. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "sort" (string) The field that will be used for sorting.
@param "limit" (int32) Return no more than this many results at once (see resume).
@param "dir" (string) The direction of the sort.
@param "resume" (string) Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).

@return WormDomainsExtended

func (*WormApiService) UpdateWormDomain ¶

func (a *WormApiService) UpdateWormDomain(ctx context.Context, wormDomain WormDomain, wormDomainId string) (*http.Response, error)

WormApiService Modify a single WORM domain. * @param ctx context.Context for authentication, logging, tracing, etc. @param wormDomain @param wormDomainId Modify a single WORM domain. @return

func (*WormApiService) UpdateWormSettings ¶

func (a *WormApiService) UpdateWormSettings(ctx context.Context, wormSettings WormSettingsExtended) (*http.Response, error)

WormApiService Modify the global WORM settings. All input fields are optional, but one or more must be supplied. * @param ctx context.Context for authentication, logging, tracing, etc. @param wormSettings @return

type WormDomain ¶

type WormDomain struct {

	// Specifies the autocommit time period for the domain in seconds.  After a file is in the domain without being modified for the specified time period, the file is automatically committed. If this parameter is set to null, there is no autocommit time, and files must be committed manually.
	AutocommitOffset int32 `json:"autocommit_offset,omitempty"`

	DefaultRetention string `json:"default_retention,omitempty"`

	MaxRetention string `json:"max_retention,omitempty"`

	MinRetention string `json:"min_retention,omitempty"`

	// Specifies the override retention date for the domain. If this date is later than the retention date for any committed file, the file will remain protected until the override retention date.
	OverrideDate int32 `json:"override_date,omitempty"`

	// When this value is set to 'on', files in this domain can be deleted through the privileged delete feature. If this value is set to 'disabled', privileged file deletes are permanently disabled and cannot be turned on again.
	PrivilegedDelete string `json:"privileged_delete,omitempty"`

	// Specifies whether the domain is an enterprise domain or a compliance domain. Compliance domains can not be created on enterprise clusters. Enterprise and compliance domains can be created on compliance clusters.
	Type_ string `json:"type,omitempty"`
}

type WormDomainCreateParams ¶

type WormDomainCreateParams struct {

	// Specifies the autocommit time period for the domain in seconds.  After a file is in the domain without being modified for the specified time period, the file is automatically committed. If this parameter is set to null, there is no autocommit time, and files must be committed manually.
	AutocommitOffset int32 `json:"autocommit_offset,omitempty"`

	DefaultRetention string `json:"default_retention,omitempty"`

	MaxRetention string `json:"max_retention,omitempty"`

	MinRetention string `json:"min_retention,omitempty"`

	// Specifies the override retention date for the domain. If this date is later than the retention date for any committed file, the file will remain protected until the override retention date.
	OverrideDate int32 `json:"override_date,omitempty"`

	// When this value is set to 'on', files in this domain can be deleted through the privileged delete feature. If this value is set to 'disabled', privileged file deletes are permanently disabled and cannot be turned on again.
	PrivilegedDelete string `json:"privileged_delete,omitempty"`

	// Specifies whether the domain is an enterprise domain or a compliance domain. Compliance domains can not be created on enterprise clusters. Enterprise and compliance domains can be created on compliance clusters.
	Type_ string `json:"type,omitempty"`

	// Specifies the root path of this domain. Files in this directory and all sub-directories will be protected.
	Path string `json:"path"`
}

type WormDomainExtended ¶

type WormDomainExtended struct {

	// Specifies the autocommit time period for the domain in seconds.  After a file is in the domain without being modified for the specified time period, the file is automatically committed. If this parameter is set to null, there is no autocommit time, and files must be committed manually.
	AutocommitOffset int32 `json:"autocommit_offset,omitempty"`

	DefaultRetention string `json:"default_retention,omitempty"`

	MaxRetention string `json:"max_retention,omitempty"`

	MinRetention string `json:"min_retention,omitempty"`

	// Specifies the override retention date for the domain. If this date is later than the retention date for any committed file, the file will remain protected until the override retention date.
	OverrideDate int32 `json:"override_date,omitempty"`

	// When this value is set to 'on', files in this domain can be deleted through the privileged delete feature. If this value is set to 'disabled', privileged file deletes are permanently disabled and cannot be turned on again.
	PrivilegedDelete string `json:"privileged_delete"`

	// Specifies whether the domain is an enterprise domain or a compliance domain. Compliance domains can not be created on enterprise clusters. Enterprise and compliance domains can be created on compliance clusters.
	Type_ string `json:"type"`

	// Specifies the system-assigned ID for the protection domain.
	Id int32 `json:"id"`

	// True if OneFS is still in the process of creating this domain and is unable to prevent files from being modified or deleted. If false, indicates that the domain is fully created and is able to prevent files from being modified or deleted.
	Incomplete bool `json:"incomplete"`

	// Specifies the logical inode number (LIN) for the root of this domain.
	Lin int32 `json:"lin"`

	// Specifies the maximum amount of time, in seconds, that a file in this domain will be protected. This setting will override the retention period of any file committed with a longer retention period. If this parameter is set to null, an infinite length retention period is set.
	MaxModifies int32 `json:"max_modifies"`

	// Specifies the root path of this domain. Files in this directory and all sub-directories will be protected.
	Path string `json:"path"`

	// Specifies the number of times this domain has been modified and the number of times the attributes for the domain have changed. A SmartLock domain can be modified a fixed number of times as defined by the 'max_modifies' parameter.
	TotalModifies int32 `json:"total_modifies"`
}

type WormDomains ¶

type WormDomains struct {
	Domains []WormDomainExtended `json:"domains,omitempty"`
}

type WormDomainsExtended ¶

type WormDomainsExtended struct {
	Domains []WormDomainExtended `json:"domains,omitempty"`

	// Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options).
	Resume string `json:"resume,omitempty"`

	// Total number of items available.
	Total int32 `json:"total,omitempty"`
}

type WormSettings ¶

type WormSettings struct {

	// Specifies global SmartLock (WORM) settings.
	Settings *WormSettingsSettings `json:"settings,omitempty"`
}

type WormSettingsExtended ¶

type WormSettingsExtended struct {

	// To set the compliance clock to the current system time, PUT to this resource with an empty JSON object {} for the cdate value.  This cluster must be in compliance mode to set the compliance clock.
	Cdate *Empty `json:"cdate,omitempty"`
}

Specifies global SmartLock (WORM) settings.

type WormSettingsSettings ¶

type WormSettingsSettings struct {

	// Specifies the current time of the SmartLock compliance clock in Unix Epoch seconds. If the compliance clock is not set, this value is null. A PUT request will set the compliance clock date to the current system time. The cluster must be in compliance mode to set the compliance clock.
	Cdate int32 `json:"cdate,omitempty"`
}

type Zone ¶

type Zone struct {

	// Specifies an alternate system provider.
	AlternateSystemProvider string `json:"alternate_system_provider,omitempty"`

	// Specifies the list of authentication providers available on this access zone.
	AuthProviders []string `json:"auth_providers,omitempty"`

	// Specifies amount of time in seconds to cache a user/group.
	CacheEntryExpiry int32 `json:"cache_entry_expiry,omitempty"`

	// Determines if a path is created when a path does not exist.
	CreatePath bool `json:"create_path,omitempty"`

	// Allow for overlapping base path.
	ForceOverlap bool `json:"force_overlap,omitempty"`

	// Specifies the permissions set on automatically created user home directories.
	HomeDirectoryUmask int32 `json:"home_directory_umask,omitempty"`

	// Specifies a list of users and groups that have read and write access to /ifs.
	IfsRestricted []AuthAccessAccessItemFileGroup `json:"ifs_restricted,omitempty"`

	// Maps untrusted domains to this NetBIOS domain during authentication.
	MapUntrusted string `json:"map_untrusted,omitempty"`

	// Specifies the access zone name.
	Name string `json:"name,omitempty"`

	// Specifies number of seconds the negative cache entry is valid.
	NegativeCacheEntryExpiry int32 `json:"negative_cache_entry_expiry,omitempty"`

	// Specifies the NetBIOS name.
	NetbiosName string `json:"netbios_name,omitempty"`

	// Specifies the access zone base directory path.
	Path string `json:"path,omitempty"`

	// Specifies the skeleton directory that is used for user home directories.
	SkeletonDirectory string `json:"skeleton_directory,omitempty"`

	// Specifies the system provider for the access zone.
	SystemProvider string `json:"system_provider,omitempty"`

	// Specifies the current ID mapping rules.
	UserMappingRules []string `json:"user_mapping_rules,omitempty"`
}

Specifies properties for access zones.

type ZoneCreateParams ¶

type ZoneCreateParams struct {

	// Specifies an alternate system provider.
	AlternateSystemProvider string `json:"alternate_system_provider,omitempty"`

	// Specifies the list of authentication providers available on this access zone.
	AuthProviders []string `json:"auth_providers,omitempty"`

	// Specifies amount of time in seconds to cache a user/group.
	CacheEntryExpiry int32 `json:"cache_entry_expiry,omitempty"`

	// Determines if a path is created when a path does not exist.
	CreatePath bool `json:"create_path,omitempty"`

	// Allow for overlapping base path.
	ForceOverlap bool `json:"force_overlap,omitempty"`

	// Specifies the permissions set on automatically created user home directories.
	HomeDirectoryUmask int32 `json:"home_directory_umask,omitempty"`

	// Specifies a list of users and groups that have read and write access to /ifs.
	IfsRestricted []AuthAccessAccessItemFileGroup `json:"ifs_restricted,omitempty"`

	// Maps untrusted domains to this NetBIOS domain during authentication.
	MapUntrusted string `json:"map_untrusted,omitempty"`

	// Specifies the access zone name.
	Name string `json:"name"`

	// Specifies number of seconds the negative cache entry is valid.
	NegativeCacheEntryExpiry int32 `json:"negative_cache_entry_expiry,omitempty"`

	// Specifies the NetBIOS name.
	NetbiosName string `json:"netbios_name,omitempty"`

	// Specifies the access zone base directory path.
	Path string `json:"path,omitempty"`

	// Specifies the skeleton directory that is used for user home directories.
	SkeletonDirectory string `json:"skeleton_directory,omitempty"`

	// Specifies the system provider for the access zone.
	SystemProvider string `json:"system_provider,omitempty"`

	// Specifies the current ID mapping rules.
	UserMappingRules []string `json:"user_mapping_rules,omitempty"`

	// Groupnet identitier
	Groupnet string `json:"groupnet,omitempty"`
}

type ZoneExtended ¶

type ZoneExtended struct {

	// Specifies an alternate system provider.
	AlternateSystemProvider string `json:"alternate_system_provider,omitempty"`

	// Specifies the list of authentication providers available on this access zone.
	AuthProviders []string `json:"auth_providers,omitempty"`

	// Specifies amount of time in seconds to cache a user/group.
	CacheEntryExpiry int32 `json:"cache_entry_expiry,omitempty"`

	// Determines if a path is created when a path does not exist.
	CreatePath bool `json:"create_path,omitempty"`

	// Allow for overlapping base path.
	ForceOverlap bool `json:"force_overlap,omitempty"`

	// Specifies the permissions set on automatically created user home directories.
	HomeDirectoryUmask int32 `json:"home_directory_umask,omitempty"`

	// Specifies a list of users and groups that have read and write access to /ifs.
	IfsRestricted []AuthAccessAccessItemFileGroup `json:"ifs_restricted,omitempty"`

	// Maps untrusted domains to this NetBIOS domain during authentication.
	MapUntrusted string `json:"map_untrusted,omitempty"`

	// Specifies the access zone name.
	Name string `json:"name,omitempty"`

	// Specifies number of seconds the negative cache entry is valid.
	NegativeCacheEntryExpiry int32 `json:"negative_cache_entry_expiry,omitempty"`

	// Specifies the NetBIOS name.
	NetbiosName string `json:"netbios_name,omitempty"`

	// Specifies the access zone base directory path.
	Path string `json:"path,omitempty"`

	// Specifies the skeleton directory that is used for user home directories.
	SkeletonDirectory string `json:"skeleton_directory,omitempty"`

	// Specifies the system provider for the access zone.
	SystemProvider string `json:"system_provider,omitempty"`

	// Specifies the current ID mapping rules.
	UserMappingRules []string `json:"user_mapping_rules,omitempty"`

	// Groupnet identitier
	Groupnet string `json:"groupnet,omitempty"`

	// Specifies the system-assigned ID for the access zone. This value is returned when an access zone is created through the POST method
	Id string `json:"id,omitempty"`

	// True if the access zone is built-in.
	System bool `json:"system,omitempty"`

	// Specifies the access zone ID on the system.
	ZoneId int32 `json:"zone_id,omitempty"`
}

type ZoneExtendedExtended ¶

type ZoneExtendedExtended struct {

	// Specifies an alternate system provider.
	AlternateSystemProvider string `json:"alternate_system_provider,omitempty"`

	// Specifies the list of authentication providers available on this access zone.
	AuthProviders []string `json:"auth_providers,omitempty"`

	// Specifies amount of time in seconds to cache a user/group.
	CacheEntryExpiry int32 `json:"cache_entry_expiry,omitempty"`

	// Determines if a path is created when a path does not exist.
	CreatePath bool `json:"create_path,omitempty"`

	// Groupnet identitier
	Groupnet string `json:"groupnet,omitempty"`

	// Specifies the permissions set on automatically created user home directories.
	HomeDirectoryUmask int32 `json:"home_directory_umask,omitempty"`

	// Specifies the system-assigned ID for the access zone. This value is returned when an access zone is created through the POST method
	Id string `json:"id,omitempty"`

	// Specifies a list of users and groups that have read and write access to /ifs.
	IfsRestricted []AuthAccessAccessItemFileGroup `json:"ifs_restricted,omitempty"`

	// Maps untrusted domains to this NetBIOS domain during authentication.
	MapUntrusted string `json:"map_untrusted,omitempty"`

	// Specifies the access zone name.
	Name string `json:"name,omitempty"`

	// Specifies number of seconds the negative cache entry is valid.
	NegativeCacheEntryExpiry int32 `json:"negative_cache_entry_expiry,omitempty"`

	// Specifies the NetBIOS name.
	NetbiosName string `json:"netbios_name,omitempty"`

	// Specifies the access zone base directory path.
	Path string `json:"path,omitempty"`

	// Specifies the skeleton directory that is used for user home directories.
	SkeletonDirectory string `json:"skeleton_directory,omitempty"`

	// True if the access zone is built-in.
	System bool `json:"system,omitempty"`

	// Specifies the system provider for the access zone.
	SystemProvider string `json:"system_provider,omitempty"`

	// Specifies the current ID mapping rules.
	UserMappingRules []string `json:"user_mapping_rules,omitempty"`

	// Specifies the access zone ID on the system.
	ZoneId int32 `json:"zone_id,omitempty"`
}

type Zones ¶

type Zones struct {
	Zones []ZoneExtended `json:"zones,omitempty"`
}

type ZonesApiService ¶

type ZonesApiService service

func (*ZonesApiService) CreateZone ¶

ZonesApiService Create a new access zone. * @param ctx context.Context for authentication, logging, tracing, etc. @param zone @return CreateResponse

func (*ZonesApiService) DeleteZone ¶

func (a *ZonesApiService) DeleteZone(ctx context.Context, zoneId int32) (*http.Response, error)

ZonesApiService Delete the access zone. * @param ctx context.Context for authentication, logging, tracing, etc. @param zoneId Delete the access zone. @return

func (*ZonesApiService) GetZone ¶

func (a *ZonesApiService) GetZone(ctx context.Context, zoneId int32) (Zones, *http.Response, error)

ZonesApiService Retrieve the access zone information. * @param ctx context.Context for authentication, logging, tracing, etc. @param zoneId Retrieve the access zone information. @return Zones

func (*ZonesApiService) ListZones ¶

ZonesApiService List all access zones. * @param ctx context.Context for authentication, logging, tracing, etc. @return ZonesExtended

func (*ZonesApiService) UpdateZone ¶

func (a *ZonesApiService) UpdateZone(ctx context.Context, zone Zone, zoneId int32) (*http.Response, error)

ZonesApiService Modify the access zone. All input fields are optional, but one or more must be supplied. * @param ctx context.Context for authentication, logging, tracing, etc. @param zone @param zoneId Modify the access zone. All input fields are optional, but one or more must be supplied. @return

type ZonesExtended ¶

type ZonesExtended struct {
	Zones []ZoneExtendedExtended `json:"zones,omitempty"`
}

type ZonesSummary ¶

type ZonesSummary struct {

	// The summary of a collection of objects.
	Summary *ZonesSummarySummary `json:"summary,omitempty"`
}

type ZonesSummaryApiService ¶

type ZonesSummaryApiService service

func (*ZonesSummaryApiService) GetZonesSummary ¶

func (a *ZonesSummaryApiService) GetZonesSummary(ctx context.Context, localVarOptionals map[string]interface{}) (ZonesSummaryExtended, *http.Response, error)

ZonesSummaryApiService Retrieve access zone summary information. * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:

@param "groupnet" (string) Name of groupnet in which to list zones.

@return ZonesSummaryExtended

func (*ZonesSummaryApiService) GetZonesSummaryZone ¶

func (a *ZonesSummaryApiService) GetZonesSummaryZone(ctx context.Context, zonesSummaryZone int32) (ZonesSummary, *http.Response, error)

ZonesSummaryApiService Retrieve non-privileged access zone information. * @param ctx context.Context for authentication, logging, tracing, etc. @param zonesSummaryZone Retrieve non-privileged access zone information. @return ZonesSummary

type ZonesSummaryExtended ¶

type ZonesSummaryExtended struct {

	// The summary of a collection of objects.
	Summary *ZonesSummarySummaryExtended `json:"summary,omitempty"`
}

type ZonesSummarySummary ¶

type ZonesSummarySummary struct {

	// The zone base path
	Path string `json:"path"`
}

type ZonesSummarySummaryExtended ¶

type ZonesSummarySummaryExtended struct {

	// The count of objects in the collection
	Count int32 `json:"count"`

	// List of zone names
	List []string `json:"list,omitempty"`
}

Source Files ¶

Jump to

Keyboard shortcuts

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