api

package
v4.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Overview

Api classes for volumes's golang SDK

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IscsiClientsApi

type IscsiClientsApi struct {
	ApiClient *client.ApiClient
	// contains filtered or unexported fields
}

func NewIscsiClientsApi

func NewIscsiClientsApi(apiClient *client.ApiClient) *IscsiClientsApi

func (*IscsiClientsApi) GetIscsiClientById

func (api *IscsiClientsApi) GetIscsiClientById(extId *string, args ...map[string]interface{}) (*import1.GetIscsiClientApiResponse, error)

Fetches the iSCSI client details identified by {extId}.

func (*IscsiClientsApi) ListIscsiClients

func (api *IscsiClientsApi) ListIscsiClients(page_ *int, limit_ *int, filter_ *string, orderby_ *string, expand_ *string, select_ *string, args ...map[string]interface{}) (*import1.ListIscsiClientsApiResponse, error)

Fetches the list of iSCSI clients.

func (*IscsiClientsApi) UpdateIscsiClientById

func (api *IscsiClientsApi) UpdateIscsiClientById(extId *string, body *import1.IscsiClient, args ...map[string]interface{}) (*import1.UpdateIscsiClientApiResponse, error)

Modifies the details of an existing iSCSI client configuration identified by {extId}.

type VolumeGroupsApi

type VolumeGroupsApi struct {
	ApiClient *client.ApiClient
	// contains filtered or unexported fields
}

func NewVolumeGroupsApi

func NewVolumeGroupsApi(apiClient *client.ApiClient) *VolumeGroupsApi

func (*VolumeGroupsApi) AssociateCategory

func (api *VolumeGroupsApi) AssociateCategory(extId *string, body *import1.CategoryEntityReferences, args ...map[string]interface{}) (*import1.AssociateCategoryApiResponse, error)

Associates a category to a Volume Group identified by {extId}.

func (*VolumeGroupsApi) AttachIscsiClient

func (api *VolumeGroupsApi) AttachIscsiClient(extId *string, body *import1.IscsiClient, args ...map[string]interface{}) (*import1.AttachIscsiClientApiResponse, error)

Attaches iSCSI initiator to a Volume Group identified by {extId}.

func (*VolumeGroupsApi) AttachVm

func (api *VolumeGroupsApi) AttachVm(extId *string, body *import1.VmAttachment, args ...map[string]interface{}) (*import1.AttachVmApiResponse, error)

Attaches VM to a Volume Group identified by {extId}.

func (*VolumeGroupsApi) CreateVolumeDisk

func (api *VolumeGroupsApi) CreateVolumeDisk(volumeGroupExtId *string, body *import1.VolumeDisk, args ...map[string]interface{}) (*import1.CreateVolumeDiskApiResponse, error)

Creates a new Volume Disk.

func (*VolumeGroupsApi) CreateVolumeGroup

func (api *VolumeGroupsApi) CreateVolumeGroup(body *import1.VolumeGroup, args ...map[string]interface{}) (*import1.CreateVolumeGroupApiResponse, error)

Creates a new Volume Group.

func (*VolumeGroupsApi) DeleteVolumeDiskById

func (api *VolumeGroupsApi) DeleteVolumeDiskById(volumeGroupExtId *string, extId *string, args ...map[string]interface{}) (*import1.DeleteVolumeDiskApiResponse, error)

Deletes a Volume Disk identified by {extId} in the Volume Group identified by {volumeGroupExtId}.

func (*VolumeGroupsApi) DeleteVolumeGroupById

func (api *VolumeGroupsApi) DeleteVolumeGroupById(extId *string, args ...map[string]interface{}) (*import1.DeleteVolumeGroupApiResponse, error)

Delete the Volume Group identified by {extId}.

func (*VolumeGroupsApi) DetachIscsiClient

func (api *VolumeGroupsApi) DetachIscsiClient(extId *string, body *import1.IscsiClientAttachment, args ...map[string]interface{}) (*import1.DetachIscsiClientApiResponse, error)

Detaches iSCSI initiator identified by {extId} from a Volume Group identified by {volumeGroupExtId}.

func (*VolumeGroupsApi) DetachVm

func (api *VolumeGroupsApi) DetachVm(extId *string, body *import1.VmAttachment, args ...map[string]interface{}) (*import1.DetachVmApiResponse, error)

Detaches VM identified by {extId} from a Volume Group identified by {volumeGroupExtId}.

func (*VolumeGroupsApi) DisassociateCategory

func (api *VolumeGroupsApi) DisassociateCategory(extId *string, body *import1.CategoryEntityReferences, args ...map[string]interface{}) (*import1.DisassociateCategoryApiResponse, error)

Disassociates a category from a Volume Group identified by {extId}.

func (*VolumeGroupsApi) GetVolumeDiskById

func (api *VolumeGroupsApi) GetVolumeDiskById(volumeGroupExtId *string, extId *string, args ...map[string]interface{}) (*import1.GetVolumeDiskApiResponse, error)

Query the Volume Disk identified by {extId} in the Volume Group identified by {volumeGroupExtId}.

func (*VolumeGroupsApi) GetVolumeDiskStats

func (api *VolumeGroupsApi) GetVolumeDiskStats(volumeGroupExtId *string, extId *string, startTime_ *time.Time, endTime_ *time.Time, samplingInterval_ *int, statType_ *import2.DownSamplingOperator, select_ *string, args ...map[string]interface{}) (*import3.GetVolumeDiskStatsApiResponse, error)

Query the Volume Disk stats identified by {diskExtId}.

func (*VolumeGroupsApi) GetVolumeGroupById

func (api *VolumeGroupsApi) GetVolumeGroupById(extId *string, args ...map[string]interface{}) (*import1.GetVolumeGroupApiResponse, error)

Query the Volume Group identified by {extId}.

func (*VolumeGroupsApi) GetVolumeGroupMetadataById deprecated

func (api *VolumeGroupsApi) GetVolumeGroupMetadataById(volumeGroupExtId *string, args ...map[string]interface{}) (*import1.GetVolumeGroupMetadataApiResponse, error)

Query for metadata information which is associated with the Volume Group identified by {extId}.

Deprecated: This API has been deprecated.

func (*VolumeGroupsApi) GetVolumeGroupStats

func (api *VolumeGroupsApi) GetVolumeGroupStats(extId *string, startTime_ *time.Time, endTime_ *time.Time, samplingInterval_ *int, statType_ *import2.DownSamplingOperator, select_ *string, args ...map[string]interface{}) (*import3.GetVolumeGroupStatsApiResponse, error)

Query the Volume Group stats identified by {extId}.

func (*VolumeGroupsApi) ListCategoryAssociationsByVolumeGroupId deprecated

func (api *VolumeGroupsApi) ListCategoryAssociationsByVolumeGroupId(volumeGroupExtId *string, page_ *int, limit_ *int, args ...map[string]interface{}) (*import1.ListCategoryAssociationsApiResponse, error)

Query the category details that are associated with the Volume Group identified by {volumeGroupExtId}.

Deprecated: This API has been deprecated.

func (*VolumeGroupsApi) ListExternalIscsiAttachmentsByVolumeGroupId deprecated

func (api *VolumeGroupsApi) ListExternalIscsiAttachmentsByVolumeGroupId(volumeGroupExtId *string, page_ *int, limit_ *int, filter_ *string, orderby_ *string, expand_ *string, select_ *string, args ...map[string]interface{}) (*import1.ListExternalIscsiAttachmentsApiResponse, error)

Query the list of external iSCSI attachments for a Volume Group identified by {extId}.

Deprecated: This API has been deprecated.

func (*VolumeGroupsApi) ListVmAttachmentsByVolumeGroupId deprecated

func (api *VolumeGroupsApi) ListVmAttachmentsByVolumeGroupId(volumeGroupExtId *string, page_ *int, limit_ *int, filter_ *string, orderby_ *string, args ...map[string]interface{}) (*import1.ListVmAttachmentsApiResponse, error)

Query the list of VM attachments for a Volume Group identified by {extId}.

Deprecated: This API has been deprecated.

func (*VolumeGroupsApi) ListVolumeDisksByVolumeGroupId

func (api *VolumeGroupsApi) ListVolumeDisksByVolumeGroupId(volumeGroupExtId *string, page_ *int, limit_ *int, filter_ *string, orderby_ *string, select_ *string, args ...map[string]interface{}) (*import1.ListVolumeDisksApiResponse, error)

Query the list of disks corresponding to a Volume Group identified by {volumeGroupExtId}.

func (*VolumeGroupsApi) ListVolumeGroups

func (api *VolumeGroupsApi) ListVolumeGroups(page_ *int, limit_ *int, filter_ *string, orderby_ *string, expand_ *string, select_ *string, args ...map[string]interface{}) (*import1.ListVolumeGroupsApiResponse, error)

Query the list of Volume Groups.

func (*VolumeGroupsApi) RevertVolumeGroup

func (api *VolumeGroupsApi) RevertVolumeGroup(extId *string, body *import1.RevertSpec, args ...map[string]interface{}) (*import1.RevertVolumeGroupApiResponse, error)

Reverts a Volume Group identified by Volume Group external identifier. This API performs an in-place restore from a specified Volume Group recovery point.

func (*VolumeGroupsApi) UpdateVolumeDiskById

func (api *VolumeGroupsApi) UpdateVolumeDiskById(volumeGroupExtId *string, extId *string, body *import1.VolumeDisk, args ...map[string]interface{}) (*import1.UpdateVolumeDiskApiResponse, error)

Updates a specific Volume Disk identified by {extId}.

func (*VolumeGroupsApi) UpdateVolumeGroupById

func (api *VolumeGroupsApi) UpdateVolumeGroupById(extId *string, body *import1.VolumeGroup, args ...map[string]interface{}) (*import1.UpdateVolumeGroupApiResponse, error)

Updates details of a specific Volume Group identified by {extId}.

Jump to

Keyboard shortcuts

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