client

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessControlRecordObjectSet

type AccessControlRecordObjectSet struct {
	Client *GroupMgmtClient
}

AccessControlRecordObjectSet

func (*AccessControlRecordObjectSet) CreateObject

CreateObject creates a new AccessControlRecord object

func (*AccessControlRecordObjectSet) DeleteObject

func (objectSet *AccessControlRecordObjectSet) DeleteObject(id string) error

DeleteObject deletes the AccessControlRecord object with the specified ID

func (*AccessControlRecordObjectSet) GetObject

GetObject returns a AccessControlRecord object with the given ID

func (*AccessControlRecordObjectSet) GetObjectList

func (objectSet *AccessControlRecordObjectSet) GetObjectList() ([]*nimbleos.AccessControlRecord, error)

GetObjectList returns the list of AccessControlRecord objects

func (*AccessControlRecordObjectSet) GetObjectListFromParams

func (objectSet *AccessControlRecordObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.AccessControlRecord, error)

GetObjectListFromParams returns the list of AccessControlRecord objects using the given params query info

func (*AccessControlRecordObjectSet) UpdateObject

UpdateObject Modify existing AccessControlRecord object

type ActiveDirectoryMembershipObjectSet

type ActiveDirectoryMembershipObjectSet struct {
	Client *GroupMgmtClient
}

ActiveDirectoryMembershipObjectSet

func (*ActiveDirectoryMembershipObjectSet) CreateObject

CreateObject creates a new ActiveDirectoryMembership object

func (*ActiveDirectoryMembershipObjectSet) DeleteObject

func (objectSet *ActiveDirectoryMembershipObjectSet) DeleteObject(id string) error

DeleteObject deletes the ActiveDirectoryMembership object with the specified ID

func (*ActiveDirectoryMembershipObjectSet) GetObject

GetObject returns a ActiveDirectoryMembership object with the given ID

func (*ActiveDirectoryMembershipObjectSet) GetObjectList

GetObjectList returns the list of ActiveDirectoryMembership objects

func (*ActiveDirectoryMembershipObjectSet) GetObjectListFromParams

func (objectSet *ActiveDirectoryMembershipObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.ActiveDirectoryMembership, error)

GetObjectListFromParams returns the list of ActiveDirectoryMembership objects using the given params query info

func (*ActiveDirectoryMembershipObjectSet) Remove

func (objectSet *ActiveDirectoryMembershipObjectSet) Remove(id *string, user *string, password *string, force *bool) error

Remove - Leaves the Active Directory domain.

func (*ActiveDirectoryMembershipObjectSet) ReportStatus

ReportStatus - Reports the detail status of the Active Directory domain.

func (*ActiveDirectoryMembershipObjectSet) TestGroup

func (objectSet *ActiveDirectoryMembershipObjectSet) TestGroup(id *string, name *string) error

TestGroup - Tests whether the user group exist in the Active Directory.

func (*ActiveDirectoryMembershipObjectSet) TestUser

TestUser - Tests whether the user exist in the Active Directory. If the user is present, then the user's group and role information is reported.

func (*ActiveDirectoryMembershipObjectSet) UpdateObject

UpdateObject Modify existing ActiveDirectoryMembership object

type AlarmObjectSet

type AlarmObjectSet struct {
	Client *GroupMgmtClient
}

AlarmObjectSet

func (*AlarmObjectSet) Acknowledge

func (objectSet *AlarmObjectSet) Acknowledge(id *string, remindEvery *uint64, remindEveryUnit *nimbleos.NsPeriodUnit) error

Acknowledge - Acknowledge an alarm.

func (*AlarmObjectSet) CreateObject

func (objectSet *AlarmObjectSet) CreateObject(payload *nimbleos.Alarm) (*nimbleos.Alarm, error)

CreateObject creates a new Alarm object

func (*AlarmObjectSet) DeleteObject

func (objectSet *AlarmObjectSet) DeleteObject(id string) error

DeleteObject deletes the Alarm object with the specified ID

func (*AlarmObjectSet) GetObject

func (objectSet *AlarmObjectSet) GetObject(id string) (*nimbleos.Alarm, error)

GetObject returns a Alarm object with the given ID

func (*AlarmObjectSet) GetObjectList

func (objectSet *AlarmObjectSet) GetObjectList() ([]*nimbleos.Alarm, error)

GetObjectList returns the list of Alarm objects

func (*AlarmObjectSet) GetObjectListFromParams

func (objectSet *AlarmObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.Alarm, error)

GetObjectListFromParams returns the list of Alarm objects using the given params query info

func (*AlarmObjectSet) Unacknowledge

func (objectSet *AlarmObjectSet) Unacknowledge(id *string) error

Unacknowledge - Unacknowledge an alarm.

func (*AlarmObjectSet) UpdateObject

func (objectSet *AlarmObjectSet) UpdateObject(id string, payload *nimbleos.Alarm) (*nimbleos.Alarm, error)

UpdateObject Modify existing Alarm object

type ApplicationCategoryObjectSet

type ApplicationCategoryObjectSet struct {
	Client *GroupMgmtClient
}

ApplicationCategoryObjectSet

func (*ApplicationCategoryObjectSet) CreateObject

CreateObject creates a new ApplicationCategory object

func (*ApplicationCategoryObjectSet) DeleteObject

func (objectSet *ApplicationCategoryObjectSet) DeleteObject(id string) error

DeleteObject deletes the ApplicationCategory object with the specified ID

func (*ApplicationCategoryObjectSet) GetObject

GetObject returns a ApplicationCategory object with the given ID

func (*ApplicationCategoryObjectSet) GetObjectList

func (objectSet *ApplicationCategoryObjectSet) GetObjectList() ([]*nimbleos.ApplicationCategory, error)

GetObjectList returns the list of ApplicationCategory objects

func (*ApplicationCategoryObjectSet) GetObjectListFromParams

func (objectSet *ApplicationCategoryObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.ApplicationCategory, error)

GetObjectListFromParams returns the list of ApplicationCategory objects using the given params query info

func (*ApplicationCategoryObjectSet) UpdateObject

UpdateObject Modify existing ApplicationCategory object

type ApplicationServerObjectSet

type ApplicationServerObjectSet struct {
	Client *GroupMgmtClient
}

ApplicationServerObjectSet

func (*ApplicationServerObjectSet) CreateObject

CreateObject creates a new ApplicationServer object

func (*ApplicationServerObjectSet) DeleteObject

func (objectSet *ApplicationServerObjectSet) DeleteObject(id string) error

DeleteObject deletes the ApplicationServer object with the specified ID

func (*ApplicationServerObjectSet) GetObject

func (objectSet *ApplicationServerObjectSet) GetObject(id string) (*nimbleos.ApplicationServer, error)

GetObject returns a ApplicationServer object with the given ID

func (*ApplicationServerObjectSet) GetObjectList

func (objectSet *ApplicationServerObjectSet) GetObjectList() ([]*nimbleos.ApplicationServer, error)

GetObjectList returns the list of ApplicationServer objects

func (*ApplicationServerObjectSet) GetObjectListFromParams

func (objectSet *ApplicationServerObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.ApplicationServer, error)

GetObjectListFromParams returns the list of ApplicationServer objects using the given params query info

func (*ApplicationServerObjectSet) UpdateObject

UpdateObject Modify existing ApplicationServer object

type Argument

type Argument struct {
	JobId string `json:"job_id,omitempty"`
}

type ArrayObjectSet

type ArrayObjectSet struct {
	Client *GroupMgmtClient
}

ArrayObjectSet

func (*ArrayObjectSet) CreateObject

func (objectSet *ArrayObjectSet) CreateObject(payload *nimbleos.Array) (*nimbleos.Array, error)

CreateObject creates a new Array object

func (*ArrayObjectSet) DeleteObject

func (objectSet *ArrayObjectSet) DeleteObject(id string) error

DeleteObject deletes the Array object with the specified ID

func (*ArrayObjectSet) Failover

func (objectSet *ArrayObjectSet) Failover(id *string, force *bool) error

Failover - Perform a failover on the specified array.

func (*ArrayObjectSet) GetObject

func (objectSet *ArrayObjectSet) GetObject(id string) (*nimbleos.Array, error)

GetObject returns a Array object with the given ID

func (*ArrayObjectSet) GetObjectList

func (objectSet *ArrayObjectSet) GetObjectList() ([]*nimbleos.Array, error)

GetObjectList returns the list of Array objects

func (*ArrayObjectSet) GetObjectListFromParams

func (objectSet *ArrayObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.Array, error)

GetObjectListFromParams returns the list of Array objects using the given params query info

func (*ArrayObjectSet) Halt

func (objectSet *ArrayObjectSet) Halt(id *string) error

Halt - Halt the specified array. Restarting the array will require physically powering it back on.

func (*ArrayObjectSet) Reboot

func (objectSet *ArrayObjectSet) Reboot(id *string) error

Reboot - Reboot the specified array.

func (*ArrayObjectSet) UpdateObject

func (objectSet *ArrayObjectSet) UpdateObject(id string, payload *nimbleos.Array) (*nimbleos.Array, error)

UpdateObject Modify existing Array object

type AuditLogObjectSet

type AuditLogObjectSet struct {
	Client *GroupMgmtClient
}

AuditLogObjectSet

func (*AuditLogObjectSet) CreateObject

func (objectSet *AuditLogObjectSet) CreateObject(payload *nimbleos.AuditLog) (*nimbleos.AuditLog, error)

CreateObject creates a new AuditLog object

func (*AuditLogObjectSet) DeleteObject

func (objectSet *AuditLogObjectSet) DeleteObject(id string) error

DeleteObject deletes the AuditLog object with the specified ID

func (*AuditLogObjectSet) GetObject

func (objectSet *AuditLogObjectSet) GetObject(id string) (*nimbleos.AuditLog, error)

GetObject returns a AuditLog object with the given ID

func (*AuditLogObjectSet) GetObjectList

func (objectSet *AuditLogObjectSet) GetObjectList() ([]*nimbleos.AuditLog, error)

GetObjectList returns the list of AuditLog objects

func (*AuditLogObjectSet) GetObjectListFromParams

func (objectSet *AuditLogObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.AuditLog, error)

GetObjectListFromParams returns the list of AuditLog objects using the given params query info

func (*AuditLogObjectSet) UpdateObject

func (objectSet *AuditLogObjectSet) UpdateObject(id string, payload *nimbleos.AuditLog) (*nimbleos.AuditLog, error)

UpdateObject Modify existing AuditLog object

type ChapUserObjectSet

type ChapUserObjectSet struct {
	Client *GroupMgmtClient
}

ChapUserObjectSet

func (*ChapUserObjectSet) CreateObject

func (objectSet *ChapUserObjectSet) CreateObject(payload *nimbleos.ChapUser) (*nimbleos.ChapUser, error)

CreateObject creates a new ChapUser object

func (*ChapUserObjectSet) DeleteObject

func (objectSet *ChapUserObjectSet) DeleteObject(id string) error

DeleteObject deletes the ChapUser object with the specified ID

func (*ChapUserObjectSet) GetObject

func (objectSet *ChapUserObjectSet) GetObject(id string) (*nimbleos.ChapUser, error)

GetObject returns a ChapUser object with the given ID

func (*ChapUserObjectSet) GetObjectList

func (objectSet *ChapUserObjectSet) GetObjectList() ([]*nimbleos.ChapUser, error)

GetObjectList returns the list of ChapUser objects

func (*ChapUserObjectSet) GetObjectListFromParams

func (objectSet *ChapUserObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.ChapUser, error)

GetObjectListFromParams returns the list of ChapUser objects using the given params query info

func (*ChapUserObjectSet) UpdateObject

func (objectSet *ChapUserObjectSet) UpdateObject(id string, payload *nimbleos.ChapUser) (*nimbleos.ChapUser, error)

UpdateObject Modify existing ChapUser object

type ControllerObjectSet

type ControllerObjectSet struct {
	Client *GroupMgmtClient
}

ControllerObjectSet

func (*ControllerObjectSet) CreateObject

func (objectSet *ControllerObjectSet) CreateObject(payload *nimbleos.Controller) (*nimbleos.Controller, error)

CreateObject creates a new Controller object

func (*ControllerObjectSet) DeleteObject

func (objectSet *ControllerObjectSet) DeleteObject(id string) error

DeleteObject deletes the Controller object with the specified ID

func (*ControllerObjectSet) GetObject

func (objectSet *ControllerObjectSet) GetObject(id string) (*nimbleos.Controller, error)

GetObject returns a Controller object with the given ID

func (*ControllerObjectSet) GetObjectList

func (objectSet *ControllerObjectSet) GetObjectList() ([]*nimbleos.Controller, error)

GetObjectList returns the list of Controller objects

func (*ControllerObjectSet) GetObjectListFromParams

func (objectSet *ControllerObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.Controller, error)

GetObjectListFromParams returns the list of Controller objects using the given params query info

func (*ControllerObjectSet) UpdateObject

func (objectSet *ControllerObjectSet) UpdateObject(id string, payload *nimbleos.Controller) (*nimbleos.Controller, error)

UpdateObject Modify existing Controller object

type DataWrapper

type DataWrapper struct {
	Data          interface{} `json:"data"`
	StartRow      *int        `json:"startRow,omitempty"`
	EndRow        *int        `json:"endRow,omitempty"`
	PageSize      *int        `json:"pageSize,omitempty"`
	TotalRows     *int        `json:"totalRows,omitempty"`
	OperationType *string     `json:"operationType,omitempty"`
}

DataWrapper is used to represent a generic JSON API payload

type DiskObjectSet

type DiskObjectSet struct {
	Client *GroupMgmtClient
}

DiskObjectSet

func (*DiskObjectSet) CreateObject

func (objectSet *DiskObjectSet) CreateObject(payload *nimbleos.Disk) (*nimbleos.Disk, error)

CreateObject creates a new Disk object

func (*DiskObjectSet) DeleteObject

func (objectSet *DiskObjectSet) DeleteObject(id string) error

DeleteObject deletes the Disk object with the specified ID

func (*DiskObjectSet) GetObject

func (objectSet *DiskObjectSet) GetObject(id string) (*nimbleos.Disk, error)

GetObject returns a Disk object with the given ID

func (*DiskObjectSet) GetObjectList

func (objectSet *DiskObjectSet) GetObjectList() ([]*nimbleos.Disk, error)

GetObjectList returns the list of Disk objects

func (*DiskObjectSet) GetObjectListFromParams

func (objectSet *DiskObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.Disk, error)

GetObjectListFromParams returns the list of Disk objects using the given params query info

func (*DiskObjectSet) UpdateObject

func (objectSet *DiskObjectSet) UpdateObject(id string, payload *nimbleos.Disk) (*nimbleos.Disk, error)

UpdateObject Modify existing Disk object

type ErrorResponse

type ErrorResponse struct {
	Messages []*Message `json:"messages"`
}

ErrorResponse is a serializer struct for representing a valid JSON API errors payload.

type EventObjectSet

type EventObjectSet struct {
	Client *GroupMgmtClient
}

EventObjectSet

func (*EventObjectSet) CreateObject

func (objectSet *EventObjectSet) CreateObject(payload *nimbleos.Event) (*nimbleos.Event, error)

CreateObject creates a new Event object

func (*EventObjectSet) DeleteObject

func (objectSet *EventObjectSet) DeleteObject(id string) error

DeleteObject deletes the Event object with the specified ID

func (*EventObjectSet) GetObject

func (objectSet *EventObjectSet) GetObject(id string) (*nimbleos.Event, error)

GetObject returns a Event object with the given ID

func (*EventObjectSet) GetObjectList

func (objectSet *EventObjectSet) GetObjectList() ([]*nimbleos.Event, error)

GetObjectList returns the list of Event objects

func (*EventObjectSet) GetObjectListFromParams

func (objectSet *EventObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.Event, error)

GetObjectListFromParams returns the list of Event objects using the given params query info

func (*EventObjectSet) UpdateObject

func (objectSet *EventObjectSet) UpdateObject(id string, payload *nimbleos.Event) (*nimbleos.Event, error)

UpdateObject Modify existing Event object

type FibreChannelConfigObjectSet

type FibreChannelConfigObjectSet struct {
	Client *GroupMgmtClient
}

FibreChannelConfigObjectSet

func (*FibreChannelConfigObjectSet) CreateObject

CreateObject creates a new FibreChannelConfig object

func (*FibreChannelConfigObjectSet) DeleteObject

func (objectSet *FibreChannelConfigObjectSet) DeleteObject(id string) error

DeleteObject deletes the FibreChannelConfig object with the specified ID

func (*FibreChannelConfigObjectSet) GetObject

GetObject returns a FibreChannelConfig object with the given ID

func (*FibreChannelConfigObjectSet) GetObjectList

func (objectSet *FibreChannelConfigObjectSet) GetObjectList() ([]*nimbleos.FibreChannelConfig, error)

GetObjectList returns the list of FibreChannelConfig objects

func (*FibreChannelConfigObjectSet) GetObjectListFromParams

func (objectSet *FibreChannelConfigObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.FibreChannelConfig, error)

GetObjectListFromParams returns the list of FibreChannelConfig objects using the given params query info

func (*FibreChannelConfigObjectSet) HwUpgrade

func (objectSet *FibreChannelConfigObjectSet) HwUpgrade(id *string) error

HwUpgrade - Update Fibre Channel configuration after hardware changes.

func (*FibreChannelConfigObjectSet) Regenerate

func (objectSet *FibreChannelConfigObjectSet) Regenerate(id *string, wwnnBaseStr *string, precheck *bool) (*nimbleos.NsFcConfigRegenerateReturn, error)

Regenerate - Regenerate Fibre Channel configuration.

func (*FibreChannelConfigObjectSet) UpdateObject

UpdateObject Modify existing FibreChannelConfig object

type FibreChannelInitiatorAliasObjectSet

type FibreChannelInitiatorAliasObjectSet struct {
	Client *GroupMgmtClient
}

FibreChannelInitiatorAliasObjectSet

func (*FibreChannelInitiatorAliasObjectSet) CreateObject

CreateObject creates a new FibreChannelInitiatorAlias object

func (*FibreChannelInitiatorAliasObjectSet) DeleteObject

func (objectSet *FibreChannelInitiatorAliasObjectSet) DeleteObject(id string) error

DeleteObject deletes the FibreChannelInitiatorAlias object with the specified ID

func (*FibreChannelInitiatorAliasObjectSet) GetObject

GetObject returns a FibreChannelInitiatorAlias object with the given ID

func (*FibreChannelInitiatorAliasObjectSet) GetObjectList

GetObjectList returns the list of FibreChannelInitiatorAlias objects

func (*FibreChannelInitiatorAliasObjectSet) GetObjectListFromParams

func (objectSet *FibreChannelInitiatorAliasObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.FibreChannelInitiatorAlias, error)

GetObjectListFromParams returns the list of FibreChannelInitiatorAlias objects using the given params query info

func (*FibreChannelInitiatorAliasObjectSet) UpdateObject

UpdateObject Modify existing FibreChannelInitiatorAlias object

type FibreChannelInterfaceObjectSet

type FibreChannelInterfaceObjectSet struct {
	Client *GroupMgmtClient
}

FibreChannelInterfaceObjectSet

func (*FibreChannelInterfaceObjectSet) CreateObject

CreateObject creates a new FibreChannelInterface object

func (*FibreChannelInterfaceObjectSet) DeleteObject

func (objectSet *FibreChannelInterfaceObjectSet) DeleteObject(id string) error

DeleteObject deletes the FibreChannelInterface object with the specified ID

func (*FibreChannelInterfaceObjectSet) GetObject

GetObject returns a FibreChannelInterface object with the given ID

func (*FibreChannelInterfaceObjectSet) GetObjectList

func (objectSet *FibreChannelInterfaceObjectSet) GetObjectList() ([]*nimbleos.FibreChannelInterface, error)

GetObjectList returns the list of FibreChannelInterface objects

func (*FibreChannelInterfaceObjectSet) GetObjectListFromParams

func (objectSet *FibreChannelInterfaceObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.FibreChannelInterface, error)

GetObjectListFromParams returns the list of FibreChannelInterface objects using the given params query info

func (*FibreChannelInterfaceObjectSet) UpdateObject

UpdateObject Modify existing FibreChannelInterface object

type FibreChannelPortObjectSet

type FibreChannelPortObjectSet struct {
	Client *GroupMgmtClient
}

FibreChannelPortObjectSet

func (*FibreChannelPortObjectSet) CreateObject

func (objectSet *FibreChannelPortObjectSet) CreateObject(payload *nimbleos.FibreChannelPort) (*nimbleos.FibreChannelPort, error)

CreateObject creates a new FibreChannelPort object

func (*FibreChannelPortObjectSet) DeleteObject

func (objectSet *FibreChannelPortObjectSet) DeleteObject(id string) error

DeleteObject deletes the FibreChannelPort object with the specified ID

func (*FibreChannelPortObjectSet) GetObject

func (objectSet *FibreChannelPortObjectSet) GetObject(id string) (*nimbleos.FibreChannelPort, error)

GetObject returns a FibreChannelPort object with the given ID

func (*FibreChannelPortObjectSet) GetObjectList

func (objectSet *FibreChannelPortObjectSet) GetObjectList() ([]*nimbleos.FibreChannelPort, error)

GetObjectList returns the list of FibreChannelPort objects

func (*FibreChannelPortObjectSet) GetObjectListFromParams

func (objectSet *FibreChannelPortObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.FibreChannelPort, error)

GetObjectListFromParams returns the list of FibreChannelPort objects using the given params query info

func (*FibreChannelPortObjectSet) UpdateObject

func (objectSet *FibreChannelPortObjectSet) UpdateObject(id string, payload *nimbleos.FibreChannelPort) (*nimbleos.FibreChannelPort, error)

UpdateObject Modify existing FibreChannelPort object

type FibreChannelSessionObjectSet

type FibreChannelSessionObjectSet struct {
	Client *GroupMgmtClient
}

FibreChannelSessionObjectSet

func (*FibreChannelSessionObjectSet) CreateObject

CreateObject creates a new FibreChannelSession object

func (*FibreChannelSessionObjectSet) DeleteObject

func (objectSet *FibreChannelSessionObjectSet) DeleteObject(id string) error

DeleteObject deletes the FibreChannelSession object with the specified ID

func (*FibreChannelSessionObjectSet) GetObject

GetObject returns a FibreChannelSession object with the given ID

func (*FibreChannelSessionObjectSet) GetObjectList

func (objectSet *FibreChannelSessionObjectSet) GetObjectList() ([]*nimbleos.FibreChannelSession, error)

GetObjectList returns the list of FibreChannelSession objects

func (*FibreChannelSessionObjectSet) GetObjectListFromParams

func (objectSet *FibreChannelSessionObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.FibreChannelSession, error)

GetObjectListFromParams returns the list of FibreChannelSession objects using the given params query info

func (*FibreChannelSessionObjectSet) UpdateObject

UpdateObject Modify existing FibreChannelSession object

type FolderObjectSet

type FolderObjectSet struct {
	Client *GroupMgmtClient
}

FolderObjectSet

func (*FolderObjectSet) CreateObject

func (objectSet *FolderObjectSet) CreateObject(payload *nimbleos.Folder) (*nimbleos.Folder, error)

CreateObject creates a new Folder object

func (*FolderObjectSet) DeleteObject

func (objectSet *FolderObjectSet) DeleteObject(id string) error

DeleteObject deletes the Folder object with the specified ID

func (*FolderObjectSet) GetObject

func (objectSet *FolderObjectSet) GetObject(id string) (*nimbleos.Folder, error)

GetObject returns a Folder object with the given ID

func (*FolderObjectSet) GetObjectList

func (objectSet *FolderObjectSet) GetObjectList() ([]*nimbleos.Folder, error)

GetObjectList returns the list of Folder objects

func (*FolderObjectSet) GetObjectListFromParams

func (objectSet *FolderObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.Folder, error)

GetObjectListFromParams returns the list of Folder objects using the given params query info

func (*FolderObjectSet) SetDedupe

func (objectSet *FolderObjectSet) SetDedupe(dedupeEnabled *bool, id *string) error

SetDedupe - Set dedupe enabled/disabled for all applicable volumes inside a folder.

func (*FolderObjectSet) UpdateObject

func (objectSet *FolderObjectSet) UpdateObject(id string, payload *nimbleos.Folder) (*nimbleos.Folder, error)

UpdateObject Modify existing Folder object

type GroupMgmtClient

type GroupMgmtClient struct {
	URL          string
	Client       *resty.Client
	SessionToken string
	WaitOnJob    bool
	Username     string
	Password     string
}

GroupMgmtClient :

func NewClient

func NewClient(ipAddress, username, password, apiVersion string, waitOnJobs bool) (*GroupMgmtClient, error)

NewClient instantiates a new client to communicate with the Nimble group

func (*GroupMgmtClient) Delete

func (client *GroupMgmtClient) Delete(path string, id string) error

Delete :

func (*GroupMgmtClient) EnableDebug

func (client *GroupMgmtClient) EnableDebug()

EnableDebug : enables debug logging of client request/response

func (*GroupMgmtClient) Get

func (client *GroupMgmtClient) Get(path string, id string, respHolder interface{}) (interface{}, error)

Get : Only used to get a single object with the given ID

func (*GroupMgmtClient) GetAccessControlRecordObjectSet

func (client *GroupMgmtClient) GetAccessControlRecordObjectSet() *AccessControlRecordObjectSet

AccessControlRecordObjectSet returns a reference to the AccessControlRecord object set

func (*GroupMgmtClient) GetActiveDirectoryMembershipObjectSet

func (client *GroupMgmtClient) GetActiveDirectoryMembershipObjectSet() *ActiveDirectoryMembershipObjectSet

ActiveDirectoryMembershipObjectSet returns a reference to the ActiveDirectoryMembership object set

func (*GroupMgmtClient) GetAlarmObjectSet

func (client *GroupMgmtClient) GetAlarmObjectSet() *AlarmObjectSet

AlarmObjectSet returns a reference to the Alarm object set

func (*GroupMgmtClient) GetApplicationCategoryObjectSet

func (client *GroupMgmtClient) GetApplicationCategoryObjectSet() *ApplicationCategoryObjectSet

ApplicationCategoryObjectSet returns a reference to the ApplicationCategory object set

func (*GroupMgmtClient) GetApplicationServerObjectSet

func (client *GroupMgmtClient) GetApplicationServerObjectSet() *ApplicationServerObjectSet

ApplicationServerObjectSet returns a reference to the ApplicationServer object set

func (*GroupMgmtClient) GetArrayObjectSet

func (client *GroupMgmtClient) GetArrayObjectSet() *ArrayObjectSet

ArrayObjectSet returns a reference to the Array object set

func (*GroupMgmtClient) GetAuditLogObjectSet

func (client *GroupMgmtClient) GetAuditLogObjectSet() *AuditLogObjectSet

AuditLogObjectSet returns a reference to the AuditLog object set

func (*GroupMgmtClient) GetChapUserObjectSet

func (client *GroupMgmtClient) GetChapUserObjectSet() *ChapUserObjectSet

ChapUserObjectSet returns a reference to the ChapUser object set

func (*GroupMgmtClient) GetControllerObjectSet

func (client *GroupMgmtClient) GetControllerObjectSet() *ControllerObjectSet

ControllerObjectSet returns a reference to the Controller object set

func (*GroupMgmtClient) GetDiskObjectSet

func (client *GroupMgmtClient) GetDiskObjectSet() *DiskObjectSet

DiskObjectSet returns a reference to the Disk object set

func (*GroupMgmtClient) GetEventObjectSet

func (client *GroupMgmtClient) GetEventObjectSet() *EventObjectSet

EventObjectSet returns a reference to the Event object set

func (*GroupMgmtClient) GetFibreChannelConfigObjectSet

func (client *GroupMgmtClient) GetFibreChannelConfigObjectSet() *FibreChannelConfigObjectSet

FibreChannelConfigObjectSet returns a reference to the FibreChannelConfig object set

func (*GroupMgmtClient) GetFibreChannelInitiatorAliasObjectSet

func (client *GroupMgmtClient) GetFibreChannelInitiatorAliasObjectSet() *FibreChannelInitiatorAliasObjectSet

FibreChannelInitiatorAliasObjectSet returns a reference to the FibreChannelInitiatorAlias object set

func (*GroupMgmtClient) GetFibreChannelInterfaceObjectSet

func (client *GroupMgmtClient) GetFibreChannelInterfaceObjectSet() *FibreChannelInterfaceObjectSet

FibreChannelInterfaceObjectSet returns a reference to the FibreChannelInterface object set

func (*GroupMgmtClient) GetFibreChannelPortObjectSet

func (client *GroupMgmtClient) GetFibreChannelPortObjectSet() *FibreChannelPortObjectSet

FibreChannelPortObjectSet returns a reference to the FibreChannelPort object set

func (*GroupMgmtClient) GetFibreChannelSessionObjectSet

func (client *GroupMgmtClient) GetFibreChannelSessionObjectSet() *FibreChannelSessionObjectSet

FibreChannelSessionObjectSet returns a reference to the FibreChannelSession object set

func (*GroupMgmtClient) GetFolderObjectSet

func (client *GroupMgmtClient) GetFolderObjectSet() *FolderObjectSet

FolderObjectSet returns a reference to the Folder object set

func (*GroupMgmtClient) GetGroupObjectSet

func (client *GroupMgmtClient) GetGroupObjectSet() *GroupObjectSet

GroupObjectSet returns a reference to the Group object set

func (*GroupMgmtClient) GetInitiatorGroupObjectSet

func (client *GroupMgmtClient) GetInitiatorGroupObjectSet() *InitiatorGroupObjectSet

InitiatorGroupObjectSet returns a reference to the InitiatorGroup object set

func (*GroupMgmtClient) GetInitiatorObjectSet

func (client *GroupMgmtClient) GetInitiatorObjectSet() *InitiatorObjectSet

InitiatorObjectSet returns a reference to the Initiator object set

func (*GroupMgmtClient) GetJobObjectSet

func (client *GroupMgmtClient) GetJobObjectSet() *JobObjectSet

JobObjectSet returns a reference to the Job object set

func (*GroupMgmtClient) GetKeyManagerObjectSet

func (client *GroupMgmtClient) GetKeyManagerObjectSet() *KeyManagerObjectSet

KeyManagerObjectSet returns a reference to the KeyManager object set

func (*GroupMgmtClient) GetLdapDomainObjectSet added in v1.1.0

func (client *GroupMgmtClient) GetLdapDomainObjectSet() *LdapDomainObjectSet

LdapDomainObjectSet returns a reference to the LdapDomain object set

func (*GroupMgmtClient) GetMasterKeyObjectSet

func (client *GroupMgmtClient) GetMasterKeyObjectSet() *MasterKeyObjectSet

MasterKeyObjectSet returns a reference to the MasterKey object set

func (*GroupMgmtClient) GetNetworkConfigObjectSet

func (client *GroupMgmtClient) GetNetworkConfigObjectSet() *NetworkConfigObjectSet

NetworkConfigObjectSet returns a reference to the NetworkConfig object set

func (*GroupMgmtClient) GetNetworkInterfaceObjectSet

func (client *GroupMgmtClient) GetNetworkInterfaceObjectSet() *NetworkInterfaceObjectSet

NetworkInterfaceObjectSet returns a reference to the NetworkInterface object set

func (*GroupMgmtClient) GetPerformancePolicyObjectSet

func (client *GroupMgmtClient) GetPerformancePolicyObjectSet() *PerformancePolicyObjectSet

PerformancePolicyObjectSet returns a reference to the PerformancePolicy object set

func (*GroupMgmtClient) GetPoolObjectSet

func (client *GroupMgmtClient) GetPoolObjectSet() *PoolObjectSet

PoolObjectSet returns a reference to the Pool object set

func (*GroupMgmtClient) GetProtectionScheduleObjectSet

func (client *GroupMgmtClient) GetProtectionScheduleObjectSet() *ProtectionScheduleObjectSet

ProtectionScheduleObjectSet returns a reference to the ProtectionSchedule object set

func (*GroupMgmtClient) GetProtectionTemplateObjectSet

func (client *GroupMgmtClient) GetProtectionTemplateObjectSet() *ProtectionTemplateObjectSet

ProtectionTemplateObjectSet returns a reference to the ProtectionTemplate object set

func (*GroupMgmtClient) GetProtocolEndpointObjectSet

func (client *GroupMgmtClient) GetProtocolEndpointObjectSet() *ProtocolEndpointObjectSet

ProtocolEndpointObjectSet returns a reference to the ProtocolEndpoint object set

func (*GroupMgmtClient) GetReplicationPartnerObjectSet

func (client *GroupMgmtClient) GetReplicationPartnerObjectSet() *ReplicationPartnerObjectSet

ReplicationPartnerObjectSet returns a reference to the ReplicationPartner object set

func (*GroupMgmtClient) GetShelfObjectSet

func (client *GroupMgmtClient) GetShelfObjectSet() *ShelfObjectSet

ShelfObjectSet returns a reference to the Shelf object set

func (*GroupMgmtClient) GetSnapshotCollectionObjectSet

func (client *GroupMgmtClient) GetSnapshotCollectionObjectSet() *SnapshotCollectionObjectSet

SnapshotCollectionObjectSet returns a reference to the SnapshotCollection object set

func (*GroupMgmtClient) GetSnapshotObjectSet

func (client *GroupMgmtClient) GetSnapshotObjectSet() *SnapshotObjectSet

SnapshotObjectSet returns a reference to the Snapshot object set

func (*GroupMgmtClient) GetSoftwareVersionObjectSet

func (client *GroupMgmtClient) GetSoftwareVersionObjectSet() *SoftwareVersionObjectSet

SoftwareVersionObjectSet returns a reference to the SoftwareVersion object set

func (*GroupMgmtClient) GetSpaceDomainObjectSet

func (client *GroupMgmtClient) GetSpaceDomainObjectSet() *SpaceDomainObjectSet

SpaceDomainObjectSet returns a reference to the SpaceDomain object set

func (*GroupMgmtClient) GetSubnetObjectSet

func (client *GroupMgmtClient) GetSubnetObjectSet() *SubnetObjectSet

SubnetObjectSet returns a reference to the Subnet object set

func (*GroupMgmtClient) GetSubscriberObjectSet added in v1.1.0

func (client *GroupMgmtClient) GetSubscriberObjectSet() *SubscriberObjectSet

SubscriberObjectSet returns a reference to the Subscriber object set

func (*GroupMgmtClient) GetSubscriptionObjectSet added in v1.1.0

func (client *GroupMgmtClient) GetSubscriptionObjectSet() *SubscriptionObjectSet

SubscriptionObjectSet returns a reference to the Subscription object set

func (*GroupMgmtClient) GetTokenObjectSet

func (client *GroupMgmtClient) GetTokenObjectSet() *TokenObjectSet

TokenObjectSet returns a reference to the Token object set

func (*GroupMgmtClient) GetTrustedOauthIssuerObjectSet added in v1.2.0

func (client *GroupMgmtClient) GetTrustedOauthIssuerObjectSet() *TrustedOauthIssuerObjectSet

TrustedOauthIssuerObjectSet returns a reference to the TrustedOauthIssuer object set

func (*GroupMgmtClient) GetUserGroupObjectSet

func (client *GroupMgmtClient) GetUserGroupObjectSet() *UserGroupObjectSet

UserGroupObjectSet returns a reference to the UserGroup object set

func (*GroupMgmtClient) GetUserObjectSet

func (client *GroupMgmtClient) GetUserObjectSet() *UserObjectSet

UserObjectSet returns a reference to the User object set

func (*GroupMgmtClient) GetUserPolicyObjectSet

func (client *GroupMgmtClient) GetUserPolicyObjectSet() *UserPolicyObjectSet

UserPolicyObjectSet returns a reference to the UserPolicy object set

func (*GroupMgmtClient) GetVersionObjectSet

func (client *GroupMgmtClient) GetVersionObjectSet() *VersionObjectSet

VersionObjectSet returns a reference to the Version object set

func (*GroupMgmtClient) GetVolumeCollectionObjectSet

func (client *GroupMgmtClient) GetVolumeCollectionObjectSet() *VolumeCollectionObjectSet

VolumeCollectionObjectSet returns a reference to the VolumeCollection object set

func (*GroupMgmtClient) GetVolumeObjectSet

func (client *GroupMgmtClient) GetVolumeObjectSet() *VolumeObjectSet

VolumeObjectSet returns a reference to the Volume object set

func (*GroupMgmtClient) GetWitnessObjectSet

func (client *GroupMgmtClient) GetWitnessObjectSet() *WitnessObjectSet

WitnessObjectSet returns a reference to the Witness object set

func (*GroupMgmtClient) List

func (client *GroupMgmtClient) List(path string) (interface{}, error)

List without any params

func (*GroupMgmtClient) ListFromParams

func (client *GroupMgmtClient) ListFromParams(path string, params *param.GetParams) (interface{}, error)

ListFromParams :

func (*GroupMgmtClient) Post

func (client *GroupMgmtClient) Post(path string, payload interface{}, respHolder interface{}) (interface{}, error)

Post :

func (*GroupMgmtClient) Put

func (client *GroupMgmtClient) Put(path, id string, payload interface{}, respHolder interface{}) (interface{}, error)

Put

type GroupObjectSet

type GroupObjectSet struct {
	Client *GroupMgmtClient
}

GroupObjectSet

func (*GroupObjectSet) CheckMigrate

func (objectSet *GroupObjectSet) CheckMigrate(id *string) error

CheckMigrate - Check if the group Management Service can be migrated to the group Management Service backup array.

func (*GroupObjectSet) CreateObject

func (objectSet *GroupObjectSet) CreateObject(payload *nimbleos.Group) (*nimbleos.Group, error)

CreateObject creates a new Group object

func (*GroupObjectSet) DeleteObject

func (objectSet *GroupObjectSet) DeleteObject(id string) error

DeleteObject deletes the Group object with the specified ID

func (*GroupObjectSet) GetEula

func (objectSet *GroupObjectSet) GetEula(id *string, locale *nimbleos.NsEulaLocale, format *nimbleos.NsEulaFormat, phase *nimbleos.NsEulaPhase, force *bool) (*nimbleos.NsEulaReturn, error)

GetEula - Get URL to download EULA contents.

func (*GroupObjectSet) GetGroupDiscoveredList

func (objectSet *GroupObjectSet) GetGroupDiscoveredList(id *string, groupName *string) (*nimbleos.NsDiscoveredGroupListReturn, error)

GetGroupDiscoveredList - Get list of discovered groups with arrays that are initialized.

func (*GroupObjectSet) GetObject

func (objectSet *GroupObjectSet) GetObject(id string) (*nimbleos.Group, error)

GetObject returns a Group object with the given ID

func (*GroupObjectSet) GetObjectList

func (objectSet *GroupObjectSet) GetObjectList() ([]*nimbleos.Group, error)

GetObjectList returns the list of Group objects

func (*GroupObjectSet) GetObjectListFromParams

func (objectSet *GroupObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.Group, error)

GetObjectListFromParams returns the list of Group objects using the given params query info

func (*GroupObjectSet) GetTimezoneList

func (objectSet *GroupObjectSet) GetTimezoneList(id *string) (*nimbleos.NsTimezonesReturn, error)

GetTimezoneList - Get list of group timezones.

func (*GroupObjectSet) Halt

func (objectSet *GroupObjectSet) Halt(id *string, force *bool) error

Halt - Halt all arrays in the group.

func (*GroupObjectSet) Merge

func (objectSet *GroupObjectSet) Merge(id *string, srcGroupName *string, srcGroupIp *string, srcUsername *string, srcPassword *string, srcPassphrase *string, force *bool, skipSecondaryMgmtIp *bool) (*nimbleos.NsGroupMergeReturn, error)

Merge - Perform group merge with the specified group.

func (*GroupObjectSet) Migrate

func (objectSet *GroupObjectSet) Migrate(id *string) error

Migrate - Migrate the group Management Service to the current group Management Service backup array.

func (*GroupObjectSet) Reboot

func (objectSet *GroupObjectSet) Reboot(id *string) error

Reboot - Reboot all arrays in the group.

func (*GroupObjectSet) SoftwareCancelDownload

func (objectSet *GroupObjectSet) SoftwareCancelDownload(id *string) error

SoftwareCancelDownload - Cancel ongoing download of software.

func (*GroupObjectSet) SoftwareDownload

func (objectSet *GroupObjectSet) SoftwareDownload(id *string, version *string, force *bool) error

SoftwareDownload - Download software update package.

func (*GroupObjectSet) SoftwareUpdatePrecheck

func (objectSet *GroupObjectSet) SoftwareUpdatePrecheck(id *string, skipPrecheckMask *uint64) (*nimbleos.NsSoftwareUpdateReturn, error)

SoftwareUpdatePrecheck - Run software update precheck.

func (*GroupObjectSet) SoftwareUpdateResume

func (objectSet *GroupObjectSet) SoftwareUpdateResume(id *string) error

SoftwareUpdateResume - Resume stopped software update.

func (*GroupObjectSet) SoftwareUpdateStart

func (objectSet *GroupObjectSet) SoftwareUpdateStart(id *string, skipStartCheckMask *uint64) (*nimbleos.NsSoftwareUpdateReturn, error)

SoftwareUpdateStart - Update the group software to the downloaded version.

func (*GroupObjectSet) TestAlert

func (objectSet *GroupObjectSet) TestAlert(id *string, level *nimbleos.NsSeverityLevel) error

TestAlert - Generate a test alert.

func (*GroupObjectSet) UpdateObject

func (objectSet *GroupObjectSet) UpdateObject(id string, payload *nimbleos.Group) (*nimbleos.Group, error)

UpdateObject Modify existing Group object

func (*GroupObjectSet) ValidateMerge

func (objectSet *GroupObjectSet) ValidateMerge(id *string, srcGroupName *string, srcGroupIp *string, srcUsername *string, srcPassword *string, srcPassphrase *string, skipSecondaryMgmtIp *bool) (*nimbleos.NsGroupMergeReturn, error)

ValidateMerge - Perform group merge validation.

type InitiatorGroupObjectSet

type InitiatorGroupObjectSet struct {
	Client *GroupMgmtClient
}

InitiatorGroupObjectSet

func (*InitiatorGroupObjectSet) CreateObject

func (objectSet *InitiatorGroupObjectSet) CreateObject(payload *nimbleos.InitiatorGroup) (*nimbleos.InitiatorGroup, error)

CreateObject creates a new InitiatorGroup object

func (*InitiatorGroupObjectSet) DeleteObject

func (objectSet *InitiatorGroupObjectSet) DeleteObject(id string) error

DeleteObject deletes the InitiatorGroup object with the specified ID

func (*InitiatorGroupObjectSet) GetObject

func (objectSet *InitiatorGroupObjectSet) GetObject(id string) (*nimbleos.InitiatorGroup, error)

GetObject returns a InitiatorGroup object with the given ID

func (*InitiatorGroupObjectSet) GetObjectList

func (objectSet *InitiatorGroupObjectSet) GetObjectList() ([]*nimbleos.InitiatorGroup, error)

GetObjectList returns the list of InitiatorGroup objects

func (*InitiatorGroupObjectSet) GetObjectListFromParams

func (objectSet *InitiatorGroupObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.InitiatorGroup, error)

GetObjectListFromParams returns the list of InitiatorGroup objects using the given params query info

func (*InitiatorGroupObjectSet) SuggestLun

func (objectSet *InitiatorGroupObjectSet) SuggestLun(id *string, volId *string) (*nimbleos.NsLunReturn, error)

SuggestLun - Suggest an LU number for the volume and initiator group combination.

func (*InitiatorGroupObjectSet) UpdateObject

func (objectSet *InitiatorGroupObjectSet) UpdateObject(id string, payload *nimbleos.InitiatorGroup) (*nimbleos.InitiatorGroup, error)

UpdateObject Modify existing InitiatorGroup object

func (*InitiatorGroupObjectSet) ValidateLun

func (objectSet *InitiatorGroupObjectSet) ValidateLun(id *string, volId *string, lun *uint64) error

ValidateLun - Validate an LU number for the volume and initiator group combination.

type InitiatorObjectSet

type InitiatorObjectSet struct {
	Client *GroupMgmtClient
}

InitiatorObjectSet

func (*InitiatorObjectSet) CreateObject

func (objectSet *InitiatorObjectSet) CreateObject(payload *nimbleos.Initiator) (*nimbleos.Initiator, error)

CreateObject creates a new Initiator object

func (*InitiatorObjectSet) DeleteObject

func (objectSet *InitiatorObjectSet) DeleteObject(id string) error

DeleteObject deletes the Initiator object with the specified ID

func (*InitiatorObjectSet) GetObject

func (objectSet *InitiatorObjectSet) GetObject(id string) (*nimbleos.Initiator, error)

GetObject returns a Initiator object with the given ID

func (*InitiatorObjectSet) GetObjectList

func (objectSet *InitiatorObjectSet) GetObjectList() ([]*nimbleos.Initiator, error)

GetObjectList returns the list of Initiator objects

func (*InitiatorObjectSet) GetObjectListFromParams

func (objectSet *InitiatorObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.Initiator, error)

GetObjectListFromParams returns the list of Initiator objects using the given params query info

func (*InitiatorObjectSet) UpdateObject

func (objectSet *InitiatorObjectSet) UpdateObject(id string, payload *nimbleos.Initiator) (*nimbleos.Initiator, error)

UpdateObject Modify existing Initiator object

type JobObjectSet

type JobObjectSet struct {
	Client *GroupMgmtClient
}

JobObjectSet

func (*JobObjectSet) CreateObject

func (objectSet *JobObjectSet) CreateObject(payload *nimbleos.Job) (*nimbleos.Job, error)

CreateObject creates a new Job object

func (*JobObjectSet) DeleteObject

func (objectSet *JobObjectSet) DeleteObject(id string) error

DeleteObject deletes the Job object with the specified ID

func (*JobObjectSet) GetObject

func (objectSet *JobObjectSet) GetObject(id string) (*nimbleos.Job, error)

GetObject returns a Job object with the given ID

func (*JobObjectSet) GetObjectList

func (objectSet *JobObjectSet) GetObjectList() ([]*nimbleos.Job, error)

GetObjectList returns the list of Job objects

func (*JobObjectSet) GetObjectListFromParams

func (objectSet *JobObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.Job, error)

GetObjectListFromParams returns the list of Job objects using the given params query info

func (*JobObjectSet) UpdateObject

func (objectSet *JobObjectSet) UpdateObject(id string, payload *nimbleos.Job) (*nimbleos.Job, error)

UpdateObject Modify existing Job object

type KeyManagerObjectSet

type KeyManagerObjectSet struct {
	Client *GroupMgmtClient
}

KeyManagerObjectSet

func (*KeyManagerObjectSet) CreateObject

func (objectSet *KeyManagerObjectSet) CreateObject(payload *nimbleos.KeyManager) (*nimbleos.KeyManager, error)

CreateObject creates a new KeyManager object

func (*KeyManagerObjectSet) DeleteObject

func (objectSet *KeyManagerObjectSet) DeleteObject(id string) error

DeleteObject deletes the KeyManager object with the specified ID

func (*KeyManagerObjectSet) GetObject

func (objectSet *KeyManagerObjectSet) GetObject(id string) (*nimbleos.KeyManager, error)

GetObject returns a KeyManager object with the given ID

func (*KeyManagerObjectSet) GetObjectList

func (objectSet *KeyManagerObjectSet) GetObjectList() ([]*nimbleos.KeyManager, error)

GetObjectList returns the list of KeyManager objects

func (*KeyManagerObjectSet) GetObjectListFromParams

func (objectSet *KeyManagerObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.KeyManager, error)

GetObjectListFromParams returns the list of KeyManager objects using the given params query info

func (*KeyManagerObjectSet) MigrateKeys

func (objectSet *KeyManagerObjectSet) MigrateKeys(id *string) error

MigrateKeys - Migrate volume encryption keys from the active key manager to the destination id given in the input. After successfully migrating the encryption keys, the destination key manager is made the active key manager.

func (*KeyManagerObjectSet) Remove

func (objectSet *KeyManagerObjectSet) Remove(id *string, passphrase *string) error

Remove - Remove external key manager. You must migrate the keys to an inactive external key manager before removing the active key manager. If you remove the active external key manager the passphrase is used to enable the internal key manager.

func (*KeyManagerObjectSet) UpdateObject

func (objectSet *KeyManagerObjectSet) UpdateObject(id string, payload *nimbleos.KeyManager) (*nimbleos.KeyManager, error)

UpdateObject Modify existing KeyManager object

type LdapDomainObjectSet added in v1.1.0

type LdapDomainObjectSet struct {
	Client *GroupMgmtClient
}

LdapDomainObjectSet

func (*LdapDomainObjectSet) CreateObject added in v1.1.0

func (objectSet *LdapDomainObjectSet) CreateObject(payload *nimbleos.LdapDomain) (*nimbleos.LdapDomain, error)

CreateObject creates a new LdapDomain object

func (*LdapDomainObjectSet) DeleteObject added in v1.1.0

func (objectSet *LdapDomainObjectSet) DeleteObject(id string) error

DeleteObject deletes the LdapDomain object with the specified ID

func (*LdapDomainObjectSet) GetObject added in v1.1.0

func (objectSet *LdapDomainObjectSet) GetObject(id string) (*nimbleos.LdapDomain, error)

GetObject returns a LdapDomain object with the given ID

func (*LdapDomainObjectSet) GetObjectList added in v1.1.0

func (objectSet *LdapDomainObjectSet) GetObjectList() ([]*nimbleos.LdapDomain, error)

GetObjectList returns the list of LdapDomain objects

func (*LdapDomainObjectSet) GetObjectListFromParams added in v1.1.0

func (objectSet *LdapDomainObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.LdapDomain, error)

GetObjectListFromParams returns the list of LdapDomain objects using the given params query info

func (*LdapDomainObjectSet) ReportStatus added in v1.1.0

func (objectSet *LdapDomainObjectSet) ReportStatus(id *string) (*nimbleos.NsLdapReportStatusReturn, error)

ReportStatus - Reports the LDAP connectivity status of the given LDAP ID.

func (*LdapDomainObjectSet) TestGroup added in v1.1.0

func (objectSet *LdapDomainObjectSet) TestGroup(id *string, group *string) error

TestGroup - Tests whether the user group exist in the given LDAP Domain.

func (*LdapDomainObjectSet) TestUser added in v1.1.0

func (objectSet *LdapDomainObjectSet) TestUser(id *string, user *string) (*nimbleos.NsLdapUser, error)

TestUser - Tests whether the user exist in the given LDAP Domain.

func (*LdapDomainObjectSet) UpdateObject added in v1.1.0

func (objectSet *LdapDomainObjectSet) UpdateObject(id string, payload *nimbleos.LdapDomain) (*nimbleos.LdapDomain, error)

UpdateObject Modify existing LdapDomain object

type MasterKeyObjectSet

type MasterKeyObjectSet struct {
	Client *GroupMgmtClient
}

MasterKeyObjectSet

func (*MasterKeyObjectSet) CreateObject

func (objectSet *MasterKeyObjectSet) CreateObject(payload *nimbleos.MasterKey) (*nimbleos.MasterKey, error)

CreateObject creates a new MasterKey object

func (*MasterKeyObjectSet) DeleteObject

func (objectSet *MasterKeyObjectSet) DeleteObject(id string) error

DeleteObject deletes the MasterKey object with the specified ID

func (*MasterKeyObjectSet) GetObject

func (objectSet *MasterKeyObjectSet) GetObject(id string) (*nimbleos.MasterKey, error)

GetObject returns a MasterKey object with the given ID

func (*MasterKeyObjectSet) GetObjectList

func (objectSet *MasterKeyObjectSet) GetObjectList() ([]*nimbleos.MasterKey, error)

GetObjectList returns the list of MasterKey objects

func (*MasterKeyObjectSet) GetObjectListFromParams

func (objectSet *MasterKeyObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.MasterKey, error)

GetObjectListFromParams returns the list of MasterKey objects using the given params query info

func (*MasterKeyObjectSet) PurgeInactive

func (objectSet *MasterKeyObjectSet) PurgeInactive(id *string, age *int) error

PurgeInactive - Purges encryption keys that have been inactive for the age or longer. If you do not specify an age, the keys will be purged immediately.

func (*MasterKeyObjectSet) UpdateObject

func (objectSet *MasterKeyObjectSet) UpdateObject(id string, payload *nimbleos.MasterKey) (*nimbleos.MasterKey, error)

UpdateObject Modify existing MasterKey object

type Message

type Message struct {
	Code      string   `json:"code,omitempty"`
	Text      string   `json:"text,omitempty"`
	Severity  string   `json:"severity,omitempty"`
	Arguments Argument `json:"arguments,omitempty"`
}

Message is an `Error` implementation as well as an implementation of the JSON API error object.

type NetworkConfigObjectSet

type NetworkConfigObjectSet struct {
	Client *GroupMgmtClient
}

NetworkConfigObjectSet

func (*NetworkConfigObjectSet) ActivateNetconfig

func (objectSet *NetworkConfigObjectSet) ActivateNetconfig(id *string, ignoreValidationMask *uint64) error

ActivateNetconfig - Activate a network configuration.

func (*NetworkConfigObjectSet) CreateObject

func (objectSet *NetworkConfigObjectSet) CreateObject(payload *nimbleos.NetworkConfig) (*nimbleos.NetworkConfig, error)

CreateObject creates a new NetworkConfig object

func (*NetworkConfigObjectSet) DeleteObject

func (objectSet *NetworkConfigObjectSet) DeleteObject(id string) error

DeleteObject deletes the NetworkConfig object with the specified ID

func (*NetworkConfigObjectSet) GetObject

func (objectSet *NetworkConfigObjectSet) GetObject(id string) (*nimbleos.NetworkConfig, error)

GetObject returns a NetworkConfig object with the given ID

func (*NetworkConfigObjectSet) GetObjectList

func (objectSet *NetworkConfigObjectSet) GetObjectList() ([]*nimbleos.NetworkConfig, error)

GetObjectList returns the list of NetworkConfig objects

func (*NetworkConfigObjectSet) GetObjectListFromParams

func (objectSet *NetworkConfigObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.NetworkConfig, error)

GetObjectListFromParams returns the list of NetworkConfig objects using the given params query info

func (*NetworkConfigObjectSet) UpdateObject

func (objectSet *NetworkConfigObjectSet) UpdateObject(id string, payload *nimbleos.NetworkConfig) (*nimbleos.NetworkConfig, error)

UpdateObject Modify existing NetworkConfig object

func (*NetworkConfigObjectSet) ValidateNetconfig

func (objectSet *NetworkConfigObjectSet) ValidateNetconfig(id *string, ignoreValidationMask *uint64) error

ValidateNetconfig - Validate a network configuration.

type NetworkInterfaceObjectSet

type NetworkInterfaceObjectSet struct {
	Client *GroupMgmtClient
}

NetworkInterfaceObjectSet

func (*NetworkInterfaceObjectSet) CreateObject

func (objectSet *NetworkInterfaceObjectSet) CreateObject(payload *nimbleos.NetworkInterface) (*nimbleos.NetworkInterface, error)

CreateObject creates a new NetworkInterface object

func (*NetworkInterfaceObjectSet) DeleteObject

func (objectSet *NetworkInterfaceObjectSet) DeleteObject(id string) error

DeleteObject deletes the NetworkInterface object with the specified ID

func (*NetworkInterfaceObjectSet) GetObject

func (objectSet *NetworkInterfaceObjectSet) GetObject(id string) (*nimbleos.NetworkInterface, error)

GetObject returns a NetworkInterface object with the given ID

func (*NetworkInterfaceObjectSet) GetObjectList

func (objectSet *NetworkInterfaceObjectSet) GetObjectList() ([]*nimbleos.NetworkInterface, error)

GetObjectList returns the list of NetworkInterface objects

func (*NetworkInterfaceObjectSet) GetObjectListFromParams

func (objectSet *NetworkInterfaceObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.NetworkInterface, error)

GetObjectListFromParams returns the list of NetworkInterface objects using the given params query info

func (*NetworkInterfaceObjectSet) UpdateObject

func (objectSet *NetworkInterfaceObjectSet) UpdateObject(id string, payload *nimbleos.NetworkInterface) (*nimbleos.NetworkInterface, error)

UpdateObject Modify existing NetworkInterface object

type PerformancePolicyObjectSet

type PerformancePolicyObjectSet struct {
	Client *GroupMgmtClient
}

PerformancePolicyObjectSet

func (*PerformancePolicyObjectSet) CreateObject

CreateObject creates a new PerformancePolicy object

func (*PerformancePolicyObjectSet) DeleteObject

func (objectSet *PerformancePolicyObjectSet) DeleteObject(id string) error

DeleteObject deletes the PerformancePolicy object with the specified ID

func (*PerformancePolicyObjectSet) GetObject

func (objectSet *PerformancePolicyObjectSet) GetObject(id string) (*nimbleos.PerformancePolicy, error)

GetObject returns a PerformancePolicy object with the given ID

func (*PerformancePolicyObjectSet) GetObjectList

func (objectSet *PerformancePolicyObjectSet) GetObjectList() ([]*nimbleos.PerformancePolicy, error)

GetObjectList returns the list of PerformancePolicy objects

func (*PerformancePolicyObjectSet) GetObjectListFromParams

func (objectSet *PerformancePolicyObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.PerformancePolicy, error)

GetObjectListFromParams returns the list of PerformancePolicy objects using the given params query info

func (*PerformancePolicyObjectSet) UpdateObject

UpdateObject Modify existing PerformancePolicy object

type PoolObjectSet

type PoolObjectSet struct {
	Client *GroupMgmtClient
}

PoolObjectSet

func (*PoolObjectSet) CreateObject

func (objectSet *PoolObjectSet) CreateObject(payload *nimbleos.Pool) (*nimbleos.Pool, error)

CreateObject creates a new Pool object

func (*PoolObjectSet) DeleteObject

func (objectSet *PoolObjectSet) DeleteObject(id string) error

DeleteObject deletes the Pool object with the specified ID

func (*PoolObjectSet) GetObject

func (objectSet *PoolObjectSet) GetObject(id string) (*nimbleos.Pool, error)

GetObject returns a Pool object with the given ID

func (*PoolObjectSet) GetObjectList

func (objectSet *PoolObjectSet) GetObjectList() ([]*nimbleos.Pool, error)

GetObjectList returns the list of Pool objects

func (*PoolObjectSet) GetObjectListFromParams

func (objectSet *PoolObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.Pool, error)

GetObjectListFromParams returns the list of Pool objects using the given params query info

func (*PoolObjectSet) Merge

func (objectSet *PoolObjectSet) Merge(id *string, targetPoolId *string, force *bool) (*nimbleos.NsPoolMergeReturn, error)

Merge - Merge the specified pool into the target pool. All volumes on the specified pool are moved to the target pool and the specified pool is then deleted. All the arrays in the pool are assigned to the target pool.

func (*PoolObjectSet) UpdateObject

func (objectSet *PoolObjectSet) UpdateObject(id string, payload *nimbleos.Pool) (*nimbleos.Pool, error)

UpdateObject Modify existing Pool object

type ProtectionScheduleObjectSet

type ProtectionScheduleObjectSet struct {
	Client *GroupMgmtClient
}

ProtectionScheduleObjectSet

func (*ProtectionScheduleObjectSet) CreateObject

CreateObject creates a new ProtectionSchedule object

func (*ProtectionScheduleObjectSet) DeleteObject

func (objectSet *ProtectionScheduleObjectSet) DeleteObject(id string) error

DeleteObject deletes the ProtectionSchedule object with the specified ID

func (*ProtectionScheduleObjectSet) GetObject

GetObject returns a ProtectionSchedule object with the given ID

func (*ProtectionScheduleObjectSet) GetObjectList

func (objectSet *ProtectionScheduleObjectSet) GetObjectList() ([]*nimbleos.ProtectionSchedule, error)

GetObjectList returns the list of ProtectionSchedule objects

func (*ProtectionScheduleObjectSet) GetObjectListFromParams

func (objectSet *ProtectionScheduleObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.ProtectionSchedule, error)

GetObjectListFromParams returns the list of ProtectionSchedule objects using the given params query info

func (*ProtectionScheduleObjectSet) UpdateObject

UpdateObject Modify existing ProtectionSchedule object

type ProtectionTemplateObjectSet

type ProtectionTemplateObjectSet struct {
	Client *GroupMgmtClient
}

ProtectionTemplateObjectSet

func (*ProtectionTemplateObjectSet) CreateObject

CreateObject creates a new ProtectionTemplate object

func (*ProtectionTemplateObjectSet) DeleteObject

func (objectSet *ProtectionTemplateObjectSet) DeleteObject(id string) error

DeleteObject deletes the ProtectionTemplate object with the specified ID

func (*ProtectionTemplateObjectSet) GetObject

GetObject returns a ProtectionTemplate object with the given ID

func (*ProtectionTemplateObjectSet) GetObjectList

func (objectSet *ProtectionTemplateObjectSet) GetObjectList() ([]*nimbleos.ProtectionTemplate, error)

GetObjectList returns the list of ProtectionTemplate objects

func (*ProtectionTemplateObjectSet) GetObjectListFromParams

func (objectSet *ProtectionTemplateObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.ProtectionTemplate, error)

GetObjectListFromParams returns the list of ProtectionTemplate objects using the given params query info

func (*ProtectionTemplateObjectSet) UpdateObject

UpdateObject Modify existing ProtectionTemplate object

type ProtocolEndpointObjectSet

type ProtocolEndpointObjectSet struct {
	Client *GroupMgmtClient
}

ProtocolEndpointObjectSet

func (*ProtocolEndpointObjectSet) CreateObject

func (objectSet *ProtocolEndpointObjectSet) CreateObject(payload *nimbleos.ProtocolEndpoint) (*nimbleos.ProtocolEndpoint, error)

CreateObject creates a new ProtocolEndpoint object

func (*ProtocolEndpointObjectSet) DeleteObject

func (objectSet *ProtocolEndpointObjectSet) DeleteObject(id string) error

DeleteObject deletes the ProtocolEndpoint object with the specified ID

func (*ProtocolEndpointObjectSet) GetObject

func (objectSet *ProtocolEndpointObjectSet) GetObject(id string) (*nimbleos.ProtocolEndpoint, error)

GetObject returns a ProtocolEndpoint object with the given ID

func (*ProtocolEndpointObjectSet) GetObjectList

func (objectSet *ProtocolEndpointObjectSet) GetObjectList() ([]*nimbleos.ProtocolEndpoint, error)

GetObjectList returns the list of ProtocolEndpoint objects

func (*ProtocolEndpointObjectSet) GetObjectListFromParams

func (objectSet *ProtocolEndpointObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.ProtocolEndpoint, error)

GetObjectListFromParams returns the list of ProtocolEndpoint objects using the given params query info

func (*ProtocolEndpointObjectSet) UpdateObject

func (objectSet *ProtocolEndpointObjectSet) UpdateObject(id string, payload *nimbleos.ProtocolEndpoint) (*nimbleos.ProtocolEndpoint, error)

UpdateObject Modify existing ProtocolEndpoint object

type ReplicationPartnerObjectSet

type ReplicationPartnerObjectSet struct {
	Client *GroupMgmtClient
}

ReplicationPartnerObjectSet

func (*ReplicationPartnerObjectSet) CreateObject

CreateObject creates a new ReplicationPartner object

func (*ReplicationPartnerObjectSet) DeleteObject

func (objectSet *ReplicationPartnerObjectSet) DeleteObject(id string) error

DeleteObject deletes the ReplicationPartner object with the specified ID

func (*ReplicationPartnerObjectSet) GetObject

GetObject returns a ReplicationPartner object with the given ID

func (*ReplicationPartnerObjectSet) GetObjectList

func (objectSet *ReplicationPartnerObjectSet) GetObjectList() ([]*nimbleos.ReplicationPartner, error)

GetObjectList returns the list of ReplicationPartner objects

func (*ReplicationPartnerObjectSet) GetObjectListFromParams

func (objectSet *ReplicationPartnerObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.ReplicationPartner, error)

GetObjectListFromParams returns the list of ReplicationPartner objects using the given params query info

func (*ReplicationPartnerObjectSet) Pause

func (objectSet *ReplicationPartnerObjectSet) Pause(id *string) error

Pause - Pause replication for the specified partner.

func (*ReplicationPartnerObjectSet) Resume

func (objectSet *ReplicationPartnerObjectSet) Resume(id *string) error

Resume - Resume replication for the specified partner.

func (*ReplicationPartnerObjectSet) Test

func (objectSet *ReplicationPartnerObjectSet) Test(id *string) error

Test - Test connectivity to the specified partner.

func (*ReplicationPartnerObjectSet) UpdateObject

UpdateObject Modify existing ReplicationPartner object

type ShelfObjectSet

type ShelfObjectSet struct {
	Client *GroupMgmtClient
}

ShelfObjectSet

func (*ShelfObjectSet) CreateObject

func (objectSet *ShelfObjectSet) CreateObject(payload *nimbleos.Shelf) (*nimbleos.Shelf, error)

CreateObject creates a new Shelf object

func (*ShelfObjectSet) DeleteObject

func (objectSet *ShelfObjectSet) DeleteObject(id string) error

DeleteObject deletes the Shelf object with the specified ID

func (*ShelfObjectSet) Evacuate

func (objectSet *ShelfObjectSet) Evacuate(id *string, driveset *uint64, dryRun *bool, start *bool, cancel *bool, pause *bool, resume *bool) error

Evacuate - Perform shelf evacuation.

func (*ShelfObjectSet) GetObject

func (objectSet *ShelfObjectSet) GetObject(id string) (*nimbleos.Shelf, error)

GetObject returns a Shelf object with the given ID

func (*ShelfObjectSet) GetObjectList

func (objectSet *ShelfObjectSet) GetObjectList() ([]*nimbleos.Shelf, error)

GetObjectList returns the list of Shelf objects

func (*ShelfObjectSet) GetObjectListFromParams

func (objectSet *ShelfObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.Shelf, error)

GetObjectListFromParams returns the list of Shelf objects using the given params query info

func (*ShelfObjectSet) Identify

func (objectSet *ShelfObjectSet) Identify(id *string, cid *nimbleos.NsControllerId, status *bool) (*nimbleos.NsShelfIdentifyStatusReturn, error)

Identify - Turn on chassis identifier for a controller.

func (*ShelfObjectSet) UpdateObject

func (objectSet *ShelfObjectSet) UpdateObject(id string, payload *nimbleos.Shelf) (*nimbleos.Shelf, error)

UpdateObject Modify existing Shelf object

type SnapshotCollectionObjectSet

type SnapshotCollectionObjectSet struct {
	Client *GroupMgmtClient
}

SnapshotCollectionObjectSet

func (*SnapshotCollectionObjectSet) CreateObject

CreateObject creates a new SnapshotCollection object

func (*SnapshotCollectionObjectSet) DeleteObject

func (objectSet *SnapshotCollectionObjectSet) DeleteObject(id string) error

DeleteObject deletes the SnapshotCollection object with the specified ID

func (*SnapshotCollectionObjectSet) GetObject

GetObject returns a SnapshotCollection object with the given ID

func (*SnapshotCollectionObjectSet) GetObjectList

func (objectSet *SnapshotCollectionObjectSet) GetObjectList() ([]*nimbleos.SnapshotCollection, error)

GetObjectList returns the list of SnapshotCollection objects

func (*SnapshotCollectionObjectSet) GetObjectListFromParams

func (objectSet *SnapshotCollectionObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.SnapshotCollection, error)

GetObjectListFromParams returns the list of SnapshotCollection objects using the given params query info

func (*SnapshotCollectionObjectSet) UpdateObject

UpdateObject Modify existing SnapshotCollection object

type SnapshotObjectSet

type SnapshotObjectSet struct {
	Client *GroupMgmtClient
}

SnapshotObjectSet

func (*SnapshotObjectSet) BulkCreate

func (objectSet *SnapshotObjectSet) BulkCreate(snapVolList []*nimbleos.NsSnapVol, replicate *bool, vssSnap *bool) (*nimbleos.NsSnapVolListReturn, error)

BulkCreate - Create snapshots on the given set of volumes.

func (*SnapshotObjectSet) CreateObject

func (objectSet *SnapshotObjectSet) CreateObject(payload *nimbleos.Snapshot) (*nimbleos.Snapshot, error)

CreateObject creates a new Snapshot object

func (*SnapshotObjectSet) DeleteObject

func (objectSet *SnapshotObjectSet) DeleteObject(id string) error

DeleteObject deletes the Snapshot object with the specified ID

func (*SnapshotObjectSet) GetObject

func (objectSet *SnapshotObjectSet) GetObject(id string) (*nimbleos.Snapshot, error)

GetObject returns a Snapshot object with the given ID

func (*SnapshotObjectSet) GetObjectList

func (objectSet *SnapshotObjectSet) GetObjectList() ([]*nimbleos.Snapshot, error)

GetObjectList returns the list of Snapshot objects

func (*SnapshotObjectSet) GetObjectListFromParams

func (objectSet *SnapshotObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.Snapshot, error)

GetObjectListFromParams returns the list of Snapshot objects using the given params query info

func (*SnapshotObjectSet) UpdateObject

func (objectSet *SnapshotObjectSet) UpdateObject(id string, payload *nimbleos.Snapshot) (*nimbleos.Snapshot, error)

UpdateObject Modify existing Snapshot object

type SoftwareVersionObjectSet

type SoftwareVersionObjectSet struct {
	Client *GroupMgmtClient
}

SoftwareVersionObjectSet

func (*SoftwareVersionObjectSet) CreateObject

func (objectSet *SoftwareVersionObjectSet) CreateObject(payload *nimbleos.SoftwareVersion) (*nimbleos.SoftwareVersion, error)

CreateObject creates a new SoftwareVersion object

func (*SoftwareVersionObjectSet) DeleteObject

func (objectSet *SoftwareVersionObjectSet) DeleteObject(id string) error

DeleteObject deletes the SoftwareVersion object with the specified ID

func (*SoftwareVersionObjectSet) GetObject

func (objectSet *SoftwareVersionObjectSet) GetObject(id string) (*nimbleos.SoftwareVersion, error)

GetObject returns a SoftwareVersion object with the given ID

func (*SoftwareVersionObjectSet) GetObjectList

func (objectSet *SoftwareVersionObjectSet) GetObjectList() ([]*nimbleos.SoftwareVersion, error)

GetObjectList returns the list of SoftwareVersion objects

func (*SoftwareVersionObjectSet) GetObjectListFromParams

func (objectSet *SoftwareVersionObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.SoftwareVersion, error)

GetObjectListFromParams returns the list of SoftwareVersion objects using the given params query info

func (*SoftwareVersionObjectSet) UpdateObject

func (objectSet *SoftwareVersionObjectSet) UpdateObject(id string, payload *nimbleos.SoftwareVersion) (*nimbleos.SoftwareVersion, error)

UpdateObject Modify existing SoftwareVersion object

type SpaceDomainObjectSet

type SpaceDomainObjectSet struct {
	Client *GroupMgmtClient
}

SpaceDomainObjectSet

func (*SpaceDomainObjectSet) CreateObject

func (objectSet *SpaceDomainObjectSet) CreateObject(payload *nimbleos.SpaceDomain) (*nimbleos.SpaceDomain, error)

CreateObject creates a new SpaceDomain object

func (*SpaceDomainObjectSet) DeleteObject

func (objectSet *SpaceDomainObjectSet) DeleteObject(id string) error

DeleteObject deletes the SpaceDomain object with the specified ID

func (*SpaceDomainObjectSet) GetObject

func (objectSet *SpaceDomainObjectSet) GetObject(id string) (*nimbleos.SpaceDomain, error)

GetObject returns a SpaceDomain object with the given ID

func (*SpaceDomainObjectSet) GetObjectList

func (objectSet *SpaceDomainObjectSet) GetObjectList() ([]*nimbleos.SpaceDomain, error)

GetObjectList returns the list of SpaceDomain objects

func (*SpaceDomainObjectSet) GetObjectListFromParams

func (objectSet *SpaceDomainObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.SpaceDomain, error)

GetObjectListFromParams returns the list of SpaceDomain objects using the given params query info

func (*SpaceDomainObjectSet) UpdateObject

func (objectSet *SpaceDomainObjectSet) UpdateObject(id string, payload *nimbleos.SpaceDomain) (*nimbleos.SpaceDomain, error)

UpdateObject Modify existing SpaceDomain object

type SubnetObjectSet

type SubnetObjectSet struct {
	Client *GroupMgmtClient
}

SubnetObjectSet

func (*SubnetObjectSet) CreateObject

func (objectSet *SubnetObjectSet) CreateObject(payload *nimbleos.Subnet) (*nimbleos.Subnet, error)

CreateObject creates a new Subnet object

func (*SubnetObjectSet) DeleteObject

func (objectSet *SubnetObjectSet) DeleteObject(id string) error

DeleteObject deletes the Subnet object with the specified ID

func (*SubnetObjectSet) GetObject

func (objectSet *SubnetObjectSet) GetObject(id string) (*nimbleos.Subnet, error)

GetObject returns a Subnet object with the given ID

func (*SubnetObjectSet) GetObjectList

func (objectSet *SubnetObjectSet) GetObjectList() ([]*nimbleos.Subnet, error)

GetObjectList returns the list of Subnet objects

func (*SubnetObjectSet) GetObjectListFromParams

func (objectSet *SubnetObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.Subnet, error)

GetObjectListFromParams returns the list of Subnet objects using the given params query info

func (*SubnetObjectSet) UpdateObject

func (objectSet *SubnetObjectSet) UpdateObject(id string, payload *nimbleos.Subnet) (*nimbleos.Subnet, error)

UpdateObject Modify existing Subnet object

type SubscriberObjectSet added in v1.1.0

type SubscriberObjectSet struct {
	Client *GroupMgmtClient
}

SubscriberObjectSet

func (*SubscriberObjectSet) CreateObject added in v1.1.0

func (objectSet *SubscriberObjectSet) CreateObject(payload *nimbleos.Subscriber) (*nimbleos.Subscriber, error)

CreateObject creates a new Subscriber object

func (*SubscriberObjectSet) DeleteObject added in v1.1.0

func (objectSet *SubscriberObjectSet) DeleteObject(id string) error

DeleteObject deletes the Subscriber object with the specified ID

func (*SubscriberObjectSet) GetObject added in v1.1.0

func (objectSet *SubscriberObjectSet) GetObject(id string) (*nimbleos.Subscriber, error)

GetObject returns a Subscriber object with the given ID

func (*SubscriberObjectSet) GetObjectList added in v1.1.0

func (objectSet *SubscriberObjectSet) GetObjectList() ([]*nimbleos.Subscriber, error)

GetObjectList returns the list of Subscriber objects

func (*SubscriberObjectSet) GetObjectListFromParams added in v1.1.0

func (objectSet *SubscriberObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.Subscriber, error)

GetObjectListFromParams returns the list of Subscriber objects using the given params query info

func (*SubscriberObjectSet) UpdateObject added in v1.1.0

func (objectSet *SubscriberObjectSet) UpdateObject(id string, payload *nimbleos.Subscriber) (*nimbleos.Subscriber, error)

UpdateObject Modify existing Subscriber object

type SubscriptionObjectSet added in v1.1.0

type SubscriptionObjectSet struct {
	Client *GroupMgmtClient
}

SubscriptionObjectSet

func (*SubscriptionObjectSet) CreateObject added in v1.1.0

func (objectSet *SubscriptionObjectSet) CreateObject(payload *nimbleos.Subscription) (*nimbleos.Subscription, error)

CreateObject creates a new Subscription object

func (*SubscriptionObjectSet) DeleteObject added in v1.1.0

func (objectSet *SubscriptionObjectSet) DeleteObject(id string) error

DeleteObject deletes the Subscription object with the specified ID

func (*SubscriptionObjectSet) GetObject added in v1.1.0

func (objectSet *SubscriptionObjectSet) GetObject(id string) (*nimbleos.Subscription, error)

GetObject returns a Subscription object with the given ID

func (*SubscriptionObjectSet) GetObjectList added in v1.1.0

func (objectSet *SubscriptionObjectSet) GetObjectList() ([]*nimbleos.Subscription, error)

GetObjectList returns the list of Subscription objects

func (*SubscriptionObjectSet) GetObjectListFromParams added in v1.1.0

func (objectSet *SubscriptionObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.Subscription, error)

GetObjectListFromParams returns the list of Subscription objects using the given params query info

func (*SubscriptionObjectSet) UpdateObject added in v1.1.0

func (objectSet *SubscriptionObjectSet) UpdateObject(id string, payload *nimbleos.Subscription) (*nimbleos.Subscription, error)

UpdateObject Modify existing Subscription object

type TokenObjectSet

type TokenObjectSet struct {
	Client *GroupMgmtClient
}

TokenObjectSet

func (*TokenObjectSet) CreateObject

func (objectSet *TokenObjectSet) CreateObject(payload *nimbleos.Token) (*nimbleos.Token, error)

CreateObject creates a new Token object

func (*TokenObjectSet) DeleteObject

func (objectSet *TokenObjectSet) DeleteObject(id string) error

DeleteObject deletes the Token object with the specified ID

func (*TokenObjectSet) GetObject

func (objectSet *TokenObjectSet) GetObject(id string) (*nimbleos.Token, error)

GetObject returns a Token object with the given ID

func (*TokenObjectSet) GetObjectList

func (objectSet *TokenObjectSet) GetObjectList() ([]*nimbleos.Token, error)

GetObjectList returns the list of Token objects

func (*TokenObjectSet) GetObjectListFromParams

func (objectSet *TokenObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.Token, error)

GetObjectListFromParams returns the list of Token objects using the given params query info

func (*TokenObjectSet) ReportUserDetails

func (objectSet *TokenObjectSet) ReportUserDetails(id *string) (*nimbleos.NsTokenReportUserDetailsReturn, error)

ReportUserDetails - Reports the user details for this token.

func (*TokenObjectSet) UpdateObject

func (objectSet *TokenObjectSet) UpdateObject(id string, payload *nimbleos.Token) (*nimbleos.Token, error)

UpdateObject Modify existing Token object

type TrustedOauthIssuerObjectSet added in v1.2.0

type TrustedOauthIssuerObjectSet struct {
	Client *GroupMgmtClient
}

TrustedOauthIssuerObjectSet

func (*TrustedOauthIssuerObjectSet) CreateObject added in v1.2.0

CreateObject creates a new TrustedOauthIssuer object

func (*TrustedOauthIssuerObjectSet) DeleteObject added in v1.2.0

func (objectSet *TrustedOauthIssuerObjectSet) DeleteObject(id string) error

DeleteObject deletes the TrustedOauthIssuer object with the specified ID

func (*TrustedOauthIssuerObjectSet) GetObject added in v1.2.0

GetObject returns a TrustedOauthIssuer object with the given ID

func (*TrustedOauthIssuerObjectSet) GetObjectList added in v1.2.0

func (objectSet *TrustedOauthIssuerObjectSet) GetObjectList() ([]*nimbleos.TrustedOauthIssuer, error)

GetObjectList returns the list of TrustedOauthIssuer objects

func (*TrustedOauthIssuerObjectSet) GetObjectListFromParams added in v1.2.0

func (objectSet *TrustedOauthIssuerObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.TrustedOauthIssuer, error)

GetObjectListFromParams returns the list of TrustedOauthIssuer objects using the given params query info

func (*TrustedOauthIssuerObjectSet) UpdateObject added in v1.2.0

UpdateObject Modify existing TrustedOauthIssuer object

type UserGroupObjectSet

type UserGroupObjectSet struct {
	Client *GroupMgmtClient
}

UserGroupObjectSet

func (*UserGroupObjectSet) CreateObject

func (objectSet *UserGroupObjectSet) CreateObject(payload *nimbleos.UserGroup) (*nimbleos.UserGroup, error)

CreateObject creates a new UserGroup object

func (*UserGroupObjectSet) DeleteObject

func (objectSet *UserGroupObjectSet) DeleteObject(id string) error

DeleteObject deletes the UserGroup object with the specified ID

func (*UserGroupObjectSet) GetObject

func (objectSet *UserGroupObjectSet) GetObject(id string) (*nimbleos.UserGroup, error)

GetObject returns a UserGroup object with the given ID

func (*UserGroupObjectSet) GetObjectList

func (objectSet *UserGroupObjectSet) GetObjectList() ([]*nimbleos.UserGroup, error)

GetObjectList returns the list of UserGroup objects

func (*UserGroupObjectSet) GetObjectListFromParams

func (objectSet *UserGroupObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.UserGroup, error)

GetObjectListFromParams returns the list of UserGroup objects using the given params query info

func (*UserGroupObjectSet) UpdateObject

func (objectSet *UserGroupObjectSet) UpdateObject(id string, payload *nimbleos.UserGroup) (*nimbleos.UserGroup, error)

UpdateObject Modify existing UserGroup object

type UserObjectSet

type UserObjectSet struct {
	Client *GroupMgmtClient
}

UserObjectSet

func (*UserObjectSet) CreateObject

func (objectSet *UserObjectSet) CreateObject(payload *nimbleos.User) (*nimbleos.User, error)

CreateObject creates a new User object

func (*UserObjectSet) DeleteObject

func (objectSet *UserObjectSet) DeleteObject(id string) error

DeleteObject deletes the User object with the specified ID

func (*UserObjectSet) GetObject

func (objectSet *UserObjectSet) GetObject(id string) (*nimbleos.User, error)

GetObject returns a User object with the given ID

func (*UserObjectSet) GetObjectList

func (objectSet *UserObjectSet) GetObjectList() ([]*nimbleos.User, error)

GetObjectList returns the list of User objects

func (*UserObjectSet) GetObjectListFromParams

func (objectSet *UserObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.User, error)

GetObjectListFromParams returns the list of User objects using the given params query info

func (*UserObjectSet) Unlock

func (objectSet *UserObjectSet) Unlock(id *string) (*nimbleos.NsUserLockStatus, error)

Unlock - Unlocks user account locked due to failed logins.

func (*UserObjectSet) UpdateObject

func (objectSet *UserObjectSet) UpdateObject(id string, payload *nimbleos.User) (*nimbleos.User, error)

UpdateObject Modify existing User object

type UserPolicyObjectSet

type UserPolicyObjectSet struct {
	Client *GroupMgmtClient
}

UserPolicyObjectSet

func (*UserPolicyObjectSet) CreateObject

func (objectSet *UserPolicyObjectSet) CreateObject(payload *nimbleos.UserPolicy) (*nimbleos.UserPolicy, error)

CreateObject creates a new UserPolicy object

func (*UserPolicyObjectSet) DeleteObject

func (objectSet *UserPolicyObjectSet) DeleteObject(id string) error

DeleteObject deletes the UserPolicy object with the specified ID

func (*UserPolicyObjectSet) GetObject

func (objectSet *UserPolicyObjectSet) GetObject(id string) (*nimbleos.UserPolicy, error)

GetObject returns a UserPolicy object with the given ID

func (*UserPolicyObjectSet) GetObjectList

func (objectSet *UserPolicyObjectSet) GetObjectList() ([]*nimbleos.UserPolicy, error)

GetObjectList returns the list of UserPolicy objects

func (*UserPolicyObjectSet) GetObjectListFromParams

func (objectSet *UserPolicyObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.UserPolicy, error)

GetObjectListFromParams returns the list of UserPolicy objects using the given params query info

func (*UserPolicyObjectSet) UpdateObject

func (objectSet *UserPolicyObjectSet) UpdateObject(id string, payload *nimbleos.UserPolicy) (*nimbleos.UserPolicy, error)

UpdateObject Modify existing UserPolicy object

type VersionObjectSet

type VersionObjectSet struct {
	Client *GroupMgmtClient
}

VersionObjectSet

func (*VersionObjectSet) CreateObject

func (objectSet *VersionObjectSet) CreateObject(payload *nimbleos.Version) (*nimbleos.Version, error)

CreateObject creates a new Version object

func (*VersionObjectSet) DeleteObject

func (objectSet *VersionObjectSet) DeleteObject(id string) error

DeleteObject deletes the Version object with the specified ID

func (*VersionObjectSet) GetObject

func (objectSet *VersionObjectSet) GetObject(id string) (*nimbleos.Version, error)

GetObject returns a Version object with the given ID

func (*VersionObjectSet) GetObjectList

func (objectSet *VersionObjectSet) GetObjectList() ([]*nimbleos.Version, error)

GetObjectList returns the list of Version objects

func (*VersionObjectSet) GetObjectListFromParams

func (objectSet *VersionObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.Version, error)

GetObjectListFromParams returns the list of Version objects using the given params query info

func (*VersionObjectSet) UpdateObject

func (objectSet *VersionObjectSet) UpdateObject(id string, payload *nimbleos.Version) (*nimbleos.Version, error)

UpdateObject Modify existing Version object

type VolumeCollectionObjectSet

type VolumeCollectionObjectSet struct {
	Client *GroupMgmtClient
}

VolumeCollectionObjectSet

func (*VolumeCollectionObjectSet) AbortHandover

func (objectSet *VolumeCollectionObjectSet) AbortHandover(id *string) error

AbortHandover - Abort in-progress handover. If for some reason a previously invoked handover request is unable to complete, this action can be used to cancel it. This operation is not supported for synchronous replication volume collections.

func (*VolumeCollectionObjectSet) CreateObject

func (objectSet *VolumeCollectionObjectSet) CreateObject(payload *nimbleos.VolumeCollection) (*nimbleos.VolumeCollection, error)

CreateObject creates a new VolumeCollection object

func (*VolumeCollectionObjectSet) DeleteObject

func (objectSet *VolumeCollectionObjectSet) DeleteObject(id string) error

DeleteObject deletes the VolumeCollection object with the specified ID

func (*VolumeCollectionObjectSet) Demote

func (objectSet *VolumeCollectionObjectSet) Demote(id *string, replicationPartnerId *string, invokeOnUpstreamPartner *bool) error

Demote - Release ownership of the specified volume collection. The volumes associated with the volume collection will set to offline and a snapshot will be created, then full control over the volume collection will be transferred to the new owner. This option can be used following a promote to revert the volume collection back to its prior configured state. This operation does not alter the configuration on the new owner itself, but does require the new owner to be running in order to obtain its identity information. This operation is not supported for synchronous replication volume collections.

func (*VolumeCollectionObjectSet) GetObject

func (objectSet *VolumeCollectionObjectSet) GetObject(id string) (*nimbleos.VolumeCollection, error)

GetObject returns a VolumeCollection object with the given ID

func (*VolumeCollectionObjectSet) GetObjectList

func (objectSet *VolumeCollectionObjectSet) GetObjectList() ([]*nimbleos.VolumeCollection, error)

GetObjectList returns the list of VolumeCollection objects

func (*VolumeCollectionObjectSet) GetObjectListFromParams

func (objectSet *VolumeCollectionObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.VolumeCollection, error)

GetObjectListFromParams returns the list of VolumeCollection objects using the given params query info

func (*VolumeCollectionObjectSet) Handover

func (objectSet *VolumeCollectionObjectSet) Handover(id *string, replicationPartnerId *string, noReverse *bool, invokeOnUpstreamPartner *bool, overrideUpstreamDown *bool) error

Handover - Gracefully transfer ownership of the specified volume collection. This action can be used to pass control of the volume collection to the downstream replication partner. Ownership and full control over the volume collection will be given to the downstream replication partner. The volumes associated with the volume collection will be set to offline prior to the final snapshot being taken and replicated, thus ensuring full data synchronization as part of the transfer. By default, the new owner will automatically begin replicating the volume collection back to this node when the handover completes.

func (*VolumeCollectionObjectSet) Promote

func (objectSet *VolumeCollectionObjectSet) Promote(id *string) error

Promote - Take ownership of the specified volume collection. The volumes associated with the volume collection will be set to online and be available for reading and writing. Replication will be disabled on the affected schedules and must be re-configured if desired. Snapshot retention for the affected schedules will be set to the greater of the current local or replica retention values. This operation is not supported for synchronous replication volume collections.

func (*VolumeCollectionObjectSet) UpdateObject

func (objectSet *VolumeCollectionObjectSet) UpdateObject(id string, payload *nimbleos.VolumeCollection) (*nimbleos.VolumeCollection, error)

UpdateObject Modify existing VolumeCollection object

func (*VolumeCollectionObjectSet) Validate

func (objectSet *VolumeCollectionObjectSet) Validate(id *string) (*nimbleos.NsAppServerResp, error)

Validate - Validate a volume collection with either Microsoft VSS or VMware application synchronization.

type VolumeObjectSet

type VolumeObjectSet struct {
	Client *GroupMgmtClient
}

VolumeObjectSet

func (*VolumeObjectSet) AbortMove

func (objectSet *VolumeObjectSet) AbortMove(id *string) error

AbortMove - Abort the in-progress move of the specified volume to another pool.

func (*VolumeObjectSet) BulkMove

func (objectSet *VolumeObjectSet) BulkMove(volIds []*string, destPoolId *string, forceVvol *bool) (*nimbleos.NsVolumeListReturn, error)

BulkMove - Move volumes and their related volumes to another pool. To change a single volume's folder assignment (while remaining in the same pool), use a volume update operation to change the folder_id attribute.

func (*VolumeObjectSet) BulkSetDedupe

func (objectSet *VolumeObjectSet) BulkSetDedupe(volIds []*string, dedupeEnabled *bool) error

BulkSetDedupe - Enable or disable dedupe on a list of volumes. If the volumes are not dedupe capable, the operation will fail for the specified volume.

func (*VolumeObjectSet) BulkSetOnlineAndOffline

func (objectSet *VolumeObjectSet) BulkSetOnlineAndOffline(volIds []*string, online *bool) error

BulkSetOnlineAndOffline - Bring a list of volumes online or offline.

func (*VolumeObjectSet) CreateObject

func (objectSet *VolumeObjectSet) CreateObject(payload *nimbleos.Volume) (*nimbleos.Volume, error)

CreateObject creates a new Volume object

func (*VolumeObjectSet) DeleteObject

func (objectSet *VolumeObjectSet) DeleteObject(id string) error

DeleteObject deletes the Volume object with the specified ID

func (*VolumeObjectSet) GetObject

func (objectSet *VolumeObjectSet) GetObject(id string) (*nimbleos.Volume, error)

GetObject returns a Volume object with the given ID

func (*VolumeObjectSet) GetObjectList

func (objectSet *VolumeObjectSet) GetObjectList() ([]*nimbleos.Volume, error)

GetObjectList returns the list of Volume objects

func (*VolumeObjectSet) GetObjectListFromParams

func (objectSet *VolumeObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.Volume, error)

GetObjectListFromParams returns the list of Volume objects using the given params query info

func (*VolumeObjectSet) Move

func (objectSet *VolumeObjectSet) Move(id *string, destPoolId *string, forceVvol *bool) (*nimbleos.NsVolumeListReturn, error)

Move - Move a volume and its related volumes to another pool. To change a single volume's folder assignment (while remaining in the same pool), use a volume update operation to change the folder_id attribute.

func (*VolumeObjectSet) Restore

func (objectSet *VolumeObjectSet) Restore(id *string, baseSnapId *string) error

Restore - Restore volume data from a previous snapshot.

func (*VolumeObjectSet) UpdateObject

func (objectSet *VolumeObjectSet) UpdateObject(id string, payload *nimbleos.Volume) (*nimbleos.Volume, error)

UpdateObject Modify existing Volume object

type WitnessObjectSet

type WitnessObjectSet struct {
	Client *GroupMgmtClient
}

WitnessObjectSet

func (*WitnessObjectSet) CreateObject

func (objectSet *WitnessObjectSet) CreateObject(payload *nimbleos.Witness) (*nimbleos.Witness, error)

CreateObject creates a new Witness object

func (*WitnessObjectSet) DeleteObject

func (objectSet *WitnessObjectSet) DeleteObject(id string) error

DeleteObject deletes the Witness object with the specified ID

func (*WitnessObjectSet) GetObject

func (objectSet *WitnessObjectSet) GetObject(id string) (*nimbleos.Witness, error)

GetObject returns a Witness object with the given ID

func (*WitnessObjectSet) GetObjectList

func (objectSet *WitnessObjectSet) GetObjectList() ([]*nimbleos.Witness, error)

GetObjectList returns the list of Witness objects

func (*WitnessObjectSet) GetObjectListFromParams

func (objectSet *WitnessObjectSet) GetObjectListFromParams(params *param.GetParams) ([]*nimbleos.Witness, error)

GetObjectListFromParams returns the list of Witness objects using the given params query info

func (*WitnessObjectSet) Test

func (objectSet *WitnessObjectSet) Test(id *string) (*[]nimbleos.NsWitnessTestResponse, error)

Test - Tests and validates witness configuration between the array and the witness.

func (*WitnessObjectSet) UpdateObject

func (objectSet *WitnessObjectSet) UpdateObject(id string, payload *nimbleos.Witness) (*nimbleos.Witness, error)

UpdateObject Modify existing Witness object

Directories

Path Synopsis
v1

Jump to

Keyboard shortcuts

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