Documentation ¶
Index ¶
- Constants
- type Boot
- type ClusterRedundancyState
- type ClusterStats
- type ClusterUsageStats
- type DhcpOptions
- type DiskAddress
- type DiskHardwareConfigs
- type DiskStats
- type DownMigrateTimesInSecs
- type EntityList
- type HypervisorLldpConfig
- type HypervisorSecurityComplianceConfig
- type IPConfig
- type KeyManagementDeviceToCertificateStatus
- type MappedRemoteContainers
- type MetaRequest
- type MetaResponse
- type Num1
- type Num2
- type NutanixClientConfig
- type Position
- type RackableUnits
- type RedundancyStatus
- type SCluster
- type SDisk
- func (self *SDisk) CreateISnapshot(ctx context.Context, name, desc string) (cloudprovider.ICloudSnapshot, error)
- func (self *SDisk) Delete(ctx context.Context) error
- func (self *SDisk) GetAccessPath() string
- func (self *SDisk) GetCacheMode() string
- func (self *SDisk) GetDiskFormat() string
- func (self *SDisk) GetDiskSizeMB() int
- func (self *SDisk) GetDiskType() string
- func (self *SDisk) GetDriver() string
- func (self *SDisk) GetFsFormat() string
- func (self *SDisk) GetGlobalId() string
- func (self *SDisk) GetISnapshot(snapshotId string) (cloudprovider.ICloudSnapshot, error)
- func (self *SDisk) GetISnapshots() ([]cloudprovider.ICloudSnapshot, error)
- func (self *SDisk) GetIStorage() (cloudprovider.ICloudStorage, error)
- func (self *SDisk) GetId() string
- func (self *SDisk) GetIsAutoDelete() bool
- func (self *SDisk) GetIsNonPersistent() bool
- func (self *SDisk) GetMountpoint() string
- func (self *SDisk) GetName() string
- func (self *SDisk) GetStatus() string
- func (self *SDisk) GetTemplateId() string
- func (self *SDisk) Rebuild(ctx context.Context) error
- func (self *SDisk) Reset(ctx context.Context, snapshotId string) (string, error)
- func (self *SDisk) Resize(ctx context.Context, sizeMb int64) error
- type SHost
- func (self *SHost) CreateVM(opts *cloudprovider.SManagedVMCreateConfig) (cloudprovider.ICloudVM, error)
- func (self *SHost) GetAccessIp() string
- func (self *SHost) GetAccessMac() string
- func (self *SHost) GetCpuCmtbound() float32
- func (self *SHost) GetCpuCount() int
- func (self *SHost) GetCpuDesc() string
- func (self *SHost) GetCpuMhz() int
- func (self *SHost) GetEnabled() bool
- func (self *SHost) GetGlobalId() string
- func (self *SHost) GetHostStatus() string
- func (self *SHost) GetHostType() string
- func (self *SHost) GetIHostNics() ([]cloudprovider.ICloudHostNetInterface, error)
- func (self *SHost) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
- func (self *SHost) GetIStorages() ([]cloudprovider.ICloudStorage, error)
- func (self *SHost) GetIVMById(id string) (cloudprovider.ICloudVM, error)
- func (self *SHost) GetIVMs() ([]cloudprovider.ICloudVM, error)
- func (self *SHost) GetIWires() ([]cloudprovider.ICloudWire, error)
- func (self *SHost) GetId() string
- func (self *SHost) GetIsMaintenance() bool
- func (self *SHost) GetMemCmtbound() float32
- func (self *SHost) GetMemSizeMB() int
- func (self *SHost) GetName() string
- func (self *SHost) GetNodeCount() int8
- func (self *SHost) GetSN() string
- func (self *SHost) GetStatus() string
- func (self *SHost) GetStorageSizeMB() int
- func (self *SHost) GetStorageType() string
- func (self *SHost) GetSysInfo() jsonutils.JSONObject
- func (self *SHost) GetVersion() string
- func (self *SHost) IsEmulated() bool
- func (self *SHost) Refresh() error
- type SImage
- func (self *SImage) Delete(ctx context.Context) error
- func (ins *SImage) GetBios() cloudprovider.TBiosType
- func (self *SImage) GetCreatedAt() time.Time
- func (img *SImage) GetFullOsName() string
- func (self *SImage) GetGlobalId() string
- func (self *SImage) GetIStoragecache() cloudprovider.ICloudStoragecache
- func (self *SImage) GetId() string
- func (self *SImage) GetImageFormat() string
- func (self *SImage) GetImageStatus() string
- func (self *SImage) GetImageType() cloudprovider.TImageType
- func (self *SImage) GetMinOsDiskSizeGb() int
- func (self *SImage) GetMinRamSizeMb() int
- func (self *SImage) GetName() string
- func (ins *SImage) GetOsArch() string
- func (ins *SImage) GetOsDist() string
- func (ins *SImage) GetOsLang() string
- func (ins *SImage) GetOsType() cloudprovider.TOsType
- func (ins *SImage) GetOsVersion() string
- func (self *SImage) GetSizeByte() int64
- func (self *SImage) GetStatus() string
- func (self *SImage) Refresh() error
- type SInstance
- func (self *SInstance) AssignSecurityGroup(id string) error
- func (self *SInstance) AttachDisk(ctx context.Context, diskId string) error
- func (self *SInstance) ChangeConfig(ctx context.Context, opts *cloudprovider.SManagedVMChangeConfig) error
- func (self *SInstance) CreateDisk(ctx context.Context, opts *cloudprovider.GuestDiskCreateOptions) (string, error)
- func (self *SInstance) DeleteVM(ctx context.Context) error
- func (self *SInstance) DeployVM(ctx context.Context, name string, username string, password string, ...) error
- func (self *SInstance) DetachDisk(ctx context.Context, diskId string) error
- func (self *SInstance) GetBios() cloudprovider.TBiosType
- func (self *SInstance) GetBootOrder() string
- func (self *SInstance) GetError() error
- func (self *SInstance) GetFullOsName() string
- func (self *SInstance) GetGlobalId() string
- func (self *SInstance) GetHostname() string
- func (self *SInstance) GetHypervisor() string
- func (self *SInstance) GetIDisks() ([]cloudprovider.ICloudDisk, error)
- func (self *SInstance) GetIEIP() (cloudprovider.ICloudEIP, error)
- func (self *SInstance) GetIHost() cloudprovider.ICloudHost
- func (self *SInstance) GetINics() ([]cloudprovider.ICloudNic, error)
- func (self *SInstance) GetId() string
- func (self *SInstance) GetInstanceType() string
- func (self *SInstance) GetMachine() string
- func (self *SInstance) GetName() string
- func (ins *SInstance) GetOsArch() string
- func (ins *SInstance) GetOsDist() string
- func (ins *SInstance) GetOsLang() string
- func (self *SInstance) GetOsType() cloudprovider.TOsType
- func (ins *SInstance) GetOsVersion() string
- func (self *SInstance) GetProjectId() string
- func (self *SInstance) GetSecurityGroupIds() ([]string, error)
- func (self *SInstance) GetStatus() string
- func (self *SInstance) GetVNCInfo(input *cloudprovider.ServerVncInput) (*cloudprovider.ServerVncOutput, error)
- func (self *SInstance) GetVcpuCount() int
- func (self *SInstance) GetVdi() string
- func (self *SInstance) GetVga() string
- func (self *SInstance) GetVmemSizeMB() int
- func (self *SInstance) RebuildRoot(ctx context.Context, desc *cloudprovider.SManagedVMRebuildRootConfig) (string, error)
- func (self *SInstance) Refresh() error
- func (self *SInstance) SetSecurityGroups(secgroupIds []string) error
- func (self *SInstance) StartVM(ctx context.Context) error
- func (self *SInstance) StopVM(ctx context.Context, opts *cloudprovider.ServerStopOptions) error
- func (self *SInstance) UpdateUserData(userData string) error
- func (self *SInstance) UpdateVM(ctx context.Context, name string) error
- type SInstanceNic
- func (self *SInstanceNic) AssignAddress(ipAddrs []string) error
- func (self *SInstanceNic) GetDriver() string
- func (self *SInstanceNic) GetINetworkId() string
- func (self *SInstanceNic) GetIP() string
- func (self *SInstanceNic) GetId() string
- func (self *SInstanceNic) GetMAC() string
- func (self *SInstanceNic) GetSubAddress() ([]string, error)
- func (self *SInstanceNic) InClassicNetwork() bool
- type SNetwork
- func (self *SNetwork) Contains(_ip string) bool
- func (self *SNetwork) Delete() error
- func (self *SNetwork) GetAllocTimeoutSeconds() int
- func (self *SNetwork) GetGateway() string
- func (self *SNetwork) GetGlobalId() string
- func (self *SNetwork) GetIWire() cloudprovider.ICloudWire
- func (self *SNetwork) GetId() string
- func (self *SNetwork) GetIpEnd() string
- func (self *SNetwork) GetIpMask() int8
- func (self *SNetwork) GetIpStart() string
- func (self *SNetwork) GetName() string
- func (self *SNetwork) GetProjectId() string
- func (self *SNetwork) GetPublicScope() rbacutils.TRbacScope
- func (self *SNetwork) GetServerType() string
- func (self *SNetwork) GetStatus() string
- func (self *SNetwork) IsEmulated() bool
- func (self *SNetwork) Refresh() error
- type SNutanixClient
- func (self *SNutanixClient) GetAccountId() string
- func (self *SNutanixClient) GetCapabilities() []string
- func (self *SNutanixClient) GetIRegions() []cloudprovider.ICloudRegion
- func (self *SNutanixClient) GetRegion() (*SRegion, error)
- func (self *SNutanixClient) GetSubAccounts() ([]cloudprovider.SSubAccount, error)
- type SPool
- type SRegion
- func (self *SRegion) CreateEIP(opts *cloudprovider.SEip) (cloudprovider.ICloudEIP, error)
- func (self *SRegion) CreateISecurityGroup(conf *cloudprovider.SecurityGroupCreateInput) (cloudprovider.ICloudSecurityGroup, error)
- func (self *SRegion) CreateIVpc(opts *cloudprovider.VpcCreateOptions) (cloudprovider.ICloudVpc, error)
- func (self *SRegion) CreateImage(storageId string, opts *cloudprovider.SImageCreateOption, sizeBytes int64, ...) (*SImage, error)
- func (self *SRegion) CreateNetwork(vpcId string, opts *cloudprovider.SNetworkCreateOptions) (*SNetwork, error)
- func (self *SRegion) CreateVpc(opts *cloudprovider.VpcCreateOptions) (*SVpc, error)
- func (self *SRegion) DeleteNetwork(vpcId string, _range string) error
- func (self *SRegion) DeleteVM(id string) error
- func (self *SRegion) DeleteVpc(id string) error
- func (self *SRegion) GetCapabilities() []string
- func (self *SRegion) GetCloudEnv() string
- func (self *SRegion) GetCluster(id string) (*SCluster, error)
- func (self *SRegion) GetClusters() ([]SCluster, error)
- func (self *SRegion) GetDisk(id string) (*SDisk, error)
- func (self *SRegion) GetDisks(storageId, vmId string) ([]SDisk, error)
- func (self *SRegion) GetGeographicInfo() cloudprovider.SGeographicInfo
- func (self *SRegion) GetGlobalId() string
- func (self *SRegion) GetHost(id string) (*SHost, error)
- func (self *SRegion) GetHosts() ([]SHost, error)
- func (self *SRegion) GetI18n() cloudprovider.SModelI18nTable
- func (self *SRegion) GetIEipById(id string) (cloudprovider.ICloudEIP, error)
- func (self *SRegion) GetIEips() ([]cloudprovider.ICloudEIP, error)
- func (self *SRegion) GetIHostById(id string) (cloudprovider.ICloudHost, error)
- func (self *SRegion) GetIHosts() ([]cloudprovider.ICloudHost, error)
- func (self *SRegion) GetISecurityGroupById(secgroupId string) (cloudprovider.ICloudSecurityGroup, error)
- func (self *SRegion) GetISecurityGroupByName(opts *cloudprovider.SecurityGroupFilterOptions) (cloudprovider.ICloudSecurityGroup, error)
- func (self *SRegion) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
- func (self *SRegion) GetIStoragecacheById(id string) (cloudprovider.ICloudStoragecache, error)
- func (self *SRegion) GetIStoragecaches() ([]cloudprovider.ICloudStoragecache, error)
- func (self *SRegion) GetIVMById(id string) (cloudprovider.ICloudVM, error)
- func (self *SRegion) GetIVpcById(id string) (cloudprovider.ICloudVpc, error)
- func (self *SRegion) GetIVpcs() ([]cloudprovider.ICloudVpc, error)
- func (self *SRegion) GetIZoneById(id string) (cloudprovider.ICloudZone, error)
- func (self *SRegion) GetIZones() ([]cloudprovider.ICloudZone, error)
- func (self *SRegion) GetId() string
- func (self *SRegion) GetImage(id string) (*SImage, error)
- func (self *SRegion) GetImages() ([]SImage, error)
- func (self *SRegion) GetInstance(id string) (*SInstance, error)
- func (self *SRegion) GetInstanceNics(id string) ([]SInstanceNic, error)
- func (self *SRegion) GetInstances() ([]SInstance, error)
- func (self *SRegion) GetName() string
- func (self *SRegion) GetProvider() string
- func (self *SRegion) GetStatus() string
- func (self *SRegion) GetStorage(id string) (*SStorage, error)
- func (self *SRegion) GetStorages() ([]SStorage, error)
- func (self *SRegion) GetTask(id string) (*STask, error)
- func (self *SRegion) GetTasks() ([]STask, error)
- func (self *SRegion) GetVpc(id string) (*SVpc, error)
- func (self *SRegion) GetVpcs() ([]SVpc, error)
- func (self *SRegion) SetInstancePowerState(id string, state string) error
- type SStorage
- func (self *SStorage) CreateIDisk(conf *cloudprovider.DiskCreateConfig) (cloudprovider.ICloudDisk, error)
- func (self *SStorage) GetCapacityMB() int64
- func (self *SStorage) GetCapacityUsedMB() int64
- func (self *SStorage) GetEnabled() bool
- func (self *SStorage) GetGlobalId() string
- func (self *SStorage) GetIDiskById(id string) (cloudprovider.ICloudDisk, error)
- func (self *SStorage) GetIDisks() ([]cloudprovider.ICloudDisk, error)
- func (self *SStorage) GetIStoragecache() cloudprovider.ICloudStoragecache
- func (self *SStorage) GetIZone() cloudprovider.ICloudZone
- func (self *SStorage) GetId() string
- func (self *SStorage) GetMediumType() string
- func (self *SStorage) GetMountPoint() string
- func (self *SStorage) GetName() string
- func (self *SStorage) GetStatus() string
- func (self *SStorage) GetStorageConf() jsonutils.JSONObject
- func (self *SStorage) GetStorageType() string
- func (self *SStorage) IsSysDiskStore() bool
- func (self *SStorage) Refresh() error
- type SStoragecache
- func (self *SStoragecache) CreateIImage(snapshotId, imageName, osType, imageDesc string) (cloudprovider.ICloudImage, error)
- func (self *SStoragecache) DownloadImage(userCred mcclient.TokenCredential, imageId string, extId string, path string) (jsonutils.JSONObject, error)
- func (self *SStoragecache) GetGlobalId() string
- func (self *SStoragecache) GetICloudImages() ([]cloudprovider.ICloudImage, error)
- func (self *SStoragecache) GetICustomizedCloudImages() ([]cloudprovider.ICloudImage, error)
- func (self *SStoragecache) GetIImageById(id string) (cloudprovider.ICloudImage, error)
- func (self *SStoragecache) GetId() string
- func (self *SStoragecache) GetName() string
- func (self *SStoragecache) GetPath() string
- func (self *SStoragecache) GetStatus() string
- func (self *SStoragecache) UploadImage(ctx context.Context, userCred mcclient.TokenCredential, ...) (string, error)
- type STask
- type SVpc
- func (self *SVpc) Delete() error
- func (self *SVpc) GetCidrBlock() string
- func (self *SVpc) GetGlobalId() string
- func (self *SVpc) GetIRouteTableById(routeTableId string) (cloudprovider.ICloudRouteTable, error)
- func (self *SVpc) GetIRouteTables() ([]cloudprovider.ICloudRouteTable, error)
- func (self *SVpc) GetISecurityGroups() ([]cloudprovider.ICloudSecurityGroup, error)
- func (self *SVpc) GetIWireById(wireId string) (cloudprovider.ICloudWire, error)
- func (self *SVpc) GetIWires() ([]cloudprovider.ICloudWire, error)
- func (self *SVpc) GetId() string
- func (self *SVpc) GetIsDefault() bool
- func (self *SVpc) GetName() string
- func (self *SVpc) GetRegion() cloudprovider.ICloudRegion
- func (self *SVpc) GetStatus() string
- type SWire
- func (self *SWire) CreateINetwork(opts *cloudprovider.SNetworkCreateOptions) (cloudprovider.ICloudNetwork, error)
- func (self *SWire) GetBandwidth() int
- func (self *SWire) GetGlobalId() string
- func (self *SWire) GetINetworkById(netid string) (cloudprovider.ICloudNetwork, error)
- func (self *SWire) GetINetworks() ([]cloudprovider.ICloudNetwork, error)
- func (self *SWire) GetIVpc() cloudprovider.ICloudVpc
- func (self *SWire) GetIZone() cloudprovider.ICloudZone
- func (self *SWire) GetId() string
- func (self *SWire) GetName() string
- func (self *SWire) GetStatus() string
- func (self *SWire) IsEmulated() bool
- type SZone
- func (self *SZone) GetGlobalId() string
- func (self *SZone) GetI18n() cloudprovider.SModelI18nTable
- func (self *SZone) GetIHostById(id string) (cloudprovider.ICloudHost, error)
- func (self *SZone) GetIHosts() ([]cloudprovider.ICloudHost, error)
- func (self *SZone) GetIRegion() cloudprovider.ICloudRegion
- func (self *SZone) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
- func (self *SZone) GetIStorages() ([]cloudprovider.ICloudStorage, error)
- func (self *SZone) GetId() string
- func (self *SZone) GetName() string
- func (self *SZone) GetStatus() string
- type SecurityComplianceConfig
- type SourceDiskAddress
- type Stats
- type StorageStats
- type StorageUsageStats
- type UsageStats
- type VMDiskInfo
- type VMFeatures
- type VMNics
Constants ¶
View Source
const ( NUTANIX_VERSION_V2 = "v2.0" NUTANIX_VERSION_V0_8 = "v0.8" NUTANIX_VERSION_V3 = "v3" CLOUD_PROVIDER_NUTANIX = api.CLOUD_PROVIDER_NUTANIX )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterRedundancyState ¶
type ClusterRedundancyState struct { CurrentRedundancyFactor int `json:"current_redundancy_factor"` DesiredRedundancyFactor int `json:"desired_redundancy_factor"` RedundancyStatus RedundancyStatus `json:"redundancy_status"` }
type ClusterStats ¶
type ClusterStats struct { HypervisorAvgIoLatencyUsecs string `json:"hypervisor_avg_io_latency_usecs"` NumReadIops string `json:"num_read_iops"` HypervisorWriteIoBandwidthKBps string `json:"hypervisor_write_io_bandwidth_kBps"` TimespanUsecs string `json:"timespan_usecs"` ControllerNumReadIops string `json:"controller_num_read_iops"` ReadIoPpm string `json:"read_io_ppm"` ControllerNumIops string `json:"controller_num_iops"` TotalReadIoTimeUsecs string `json:"total_read_io_time_usecs"` ControllerTotalReadIoTimeUsecs string `json:"controller_total_read_io_time_usecs"` ReplicationTransmittedBandwidthKBps string `json:"replication_transmitted_bandwidth_kBps"` HypervisorNumIo string `json:"hypervisor_num_io"` ControllerTotalTransformedUsageBytes string `json:"controller_total_transformed_usage_bytes"` HypervisorCPUUsagePpm string `json:"hypervisor_cpu_usage_ppm"` ControllerNumWriteIo string `json:"controller_num_write_io"` AvgReadIoLatencyUsecs string `json:"avg_read_io_latency_usecs"` ContentCacheLogicalSsdUsageBytes string `json:"content_cache_logical_ssd_usage_bytes"` ControllerTotalIoTimeUsecs string `json:"controller_total_io_time_usecs"` ControllerTotalReadIoSizeKbytes string `json:"controller_total_read_io_size_kbytes"` ControllerNumSeqIo string `json:"controller_num_seq_io"` ControllerReadIoPpm string `json:"controller_read_io_ppm"` ContentCacheNumLookups string `json:"content_cache_num_lookups"` ControllerTotalIoSizeKbytes string `json:"controller_total_io_size_kbytes"` ContentCacheHitPpm string `json:"content_cache_hit_ppm"` ControllerNumIo string `json:"controller_num_io"` HypervisorAvgReadIoLatencyUsecs string `json:"hypervisor_avg_read_io_latency_usecs"` ContentCacheNumDedupRefCountPph string `json:"content_cache_num_dedup_ref_count_pph"` NumWriteIops string `json:"num_write_iops"` ControllerNumRandomIo string `json:"controller_num_random_io"` NumIops string `json:"num_iops"` ReplicationReceivedBandwidthKBps string `json:"replication_received_bandwidth_kBps"` HypervisorNumReadIo string `json:"hypervisor_num_read_io"` HypervisorTotalReadIoTimeUsecs string `json:"hypervisor_total_read_io_time_usecs"` ControllerAvgIoLatencyUsecs string `json:"controller_avg_io_latency_usecs"` HypervisorHypervCPUUsagePpm string `json:"hypervisor_hyperv_cpu_usage_ppm"` NumIo string `json:"num_io"` ControllerNumReadIo string `json:"controller_num_read_io"` HypervisorNumWriteIo string `json:"hypervisor_num_write_io"` ControllerSeqIoPpm string `json:"controller_seq_io_ppm"` ControllerReadIoBandwidthKBps string `json:"controller_read_io_bandwidth_kBps"` ControllerIoBandwidthKBps string `json:"controller_io_bandwidth_kBps"` HypervisorHypervMemoryUsagePpm string `json:"hypervisor_hyperv_memory_usage_ppm"` HypervisorTimespanUsecs string `json:"hypervisor_timespan_usecs"` HypervisorNumWriteIops string `json:"hypervisor_num_write_iops"` ReplicationNumTransmittedBytes string `json:"replication_num_transmitted_bytes"` TotalReadIoSizeKbytes string `json:"total_read_io_size_kbytes"` HypervisorTotalIoSizeKbytes string `json:"hypervisor_total_io_size_kbytes"` AvgIoLatencyUsecs string `json:"avg_io_latency_usecs"` HypervisorNumReadIops string `json:"hypervisor_num_read_iops"` ContentCacheSavedSsdUsageBytes string `json:"content_cache_saved_ssd_usage_bytes"` ControllerWriteIoBandwidthKBps string `json:"controller_write_io_bandwidth_kBps"` ControllerWriteIoPpm string `json:"controller_write_io_ppm"` HypervisorAvgWriteIoLatencyUsecs string `json:"hypervisor_avg_write_io_latency_usecs"` HypervisorTotalReadIoSizeKbytes string `json:"hypervisor_total_read_io_size_kbytes"` ReadIoBandwidthKBps string `json:"read_io_bandwidth_kBps"` HypervisorEsxMemoryUsagePpm string `json:"hypervisor_esx_memory_usage_ppm"` HypervisorMemoryUsagePpm string `json:"hypervisor_memory_usage_ppm"` HypervisorNumIops string `json:"hypervisor_num_iops"` HypervisorIoBandwidthKBps string `json:"hypervisor_io_bandwidth_kBps"` ControllerNumWriteIops string `json:"controller_num_write_iops"` TotalIoTimeUsecs string `json:"total_io_time_usecs"` HypervisorKvmCPUUsagePpm string `json:"hypervisor_kvm_cpu_usage_ppm"` ContentCachePhysicalSsdUsageBytes string `json:"content_cache_physical_ssd_usage_bytes"` ControllerRandomIoPpm string `json:"controller_random_io_ppm"` ControllerAvgReadIoSizeKbytes string `json:"controller_avg_read_io_size_kbytes"` TotalTransformedUsageBytes string `json:"total_transformed_usage_bytes"` AvgWriteIoLatencyUsecs string `json:"avg_write_io_latency_usecs"` NumReadIo string `json:"num_read_io"` WriteIoBandwidthKBps string `json:"write_io_bandwidth_kBps"` HypervisorReadIoBandwidthKBps string `json:"hypervisor_read_io_bandwidth_kBps"` RandomIoPpm string `json:"random_io_ppm"` ContentCacheNumHits string `json:"content_cache_num_hits"` TotalUntransformedUsageBytes string `json:"total_untransformed_usage_bytes"` HypervisorTotalIoTimeUsecs string `json:"hypervisor_total_io_time_usecs"` NumRandomIo string `json:"num_random_io"` HypervisorKvmMemoryUsagePpm string `json:"hypervisor_kvm_memory_usage_ppm"` ControllerAvgWriteIoSizeKbytes string `json:"controller_avg_write_io_size_kbytes"` ControllerAvgReadIoLatencyUsecs string `json:"controller_avg_read_io_latency_usecs"` NumWriteIo string `json:"num_write_io"` HypervisorEsxCPUUsagePpm string `json:"hypervisor_esx_cpu_usage_ppm"` TotalIoSizeKbytes string `json:"total_io_size_kbytes"` IoBandwidthKBps string `json:"io_bandwidth_kBps"` ContentCachePhysicalMemoryUsageBytes string `json:"content_cache_physical_memory_usage_bytes"` ReplicationNumReceivedBytes string `json:"replication_num_received_bytes"` ControllerTimespanUsecs string `json:"controller_timespan_usecs"` NumSeqIo string `json:"num_seq_io"` ContentCacheSavedMemoryUsageBytes string `json:"content_cache_saved_memory_usage_bytes"` SeqIoPpm string `json:"seq_io_ppm"` WriteIoPpm string `json:"write_io_ppm"` ControllerAvgWriteIoLatencyUsecs string `json:"controller_avg_write_io_latency_usecs"` ContentCacheLogicalMemoryUsageBytes string `json:"content_cache_logical_memory_usage_bytes"` }
type ClusterUsageStats ¶
type ClusterUsageStats struct { DataReductionOverallSavingRatioPpm string `json:"data_reduction.overall.saving_ratio_ppm"` StorageReservedFreeBytes string `json:"storage.reserved_free_bytes"` StorageTierDasSataUsageBytes string `json:"storage_tier.das-sata.usage_bytes"` DataReductionCompressionSavedBytes string `json:"data_reduction.compression.saved_bytes"` DataReductionSavingRatioPpm string `json:"data_reduction.saving_ratio_ppm"` DataReductionErasureCodingPostReductionBytes string `json:"data_reduction.erasure_coding.post_reduction_bytes"` StorageTierSsdPinnedUsageBytes string `json:"storage_tier.ssd.pinned_usage_bytes"` StorageReservedUsageBytes string `json:"storage.reserved_usage_bytes"` DataReductionErasureCodingSavingRatioPpm string `json:"data_reduction.erasure_coding.saving_ratio_ppm"` DataReductionThinProvisionSavedBytes string `json:"data_reduction.thin_provision.saved_bytes"` StorageTierDasSataCapacityBytes string `json:"storage_tier.das-sata.capacity_bytes"` StorageTierDasSataFreeBytes string `json:"storage_tier.das-sata.free_bytes"` StorageUsageBytes string `json:"storage.usage_bytes"` DataReductionErasureCodingSavedBytes string `json:"data_reduction.erasure_coding.saved_bytes"` DataReductionCompressionPreReductionBytes string `json:"data_reduction.compression.pre_reduction_bytes"` StorageRebuildCapacityBytes string `json:"storage.rebuild_capacity_bytes"` StorageTierDasSataPinnedUsageBytes string `json:"storage_tier.das-sata.pinned_usage_bytes"` DataReductionPreReductionBytes string `json:"data_reduction.pre_reduction_bytes"` StorageTierSsdCapacityBytes string `json:"storage_tier.ssd.capacity_bytes"` DataReductionCloneSavedBytes string `json:"data_reduction.clone.saved_bytes"` StorageTierSsdFreeBytes string `json:"storage_tier.ssd.free_bytes"` DataReductionDedupPreReductionBytes string `json:"data_reduction.dedup.pre_reduction_bytes"` DataReductionErasureCodingPreReductionBytes string `json:"data_reduction.erasure_coding.pre_reduction_bytes"` StorageCapacityBytes string `json:"storage.capacity_bytes"` DataReductionDedupPostReductionBytes string `json:"data_reduction.dedup.post_reduction_bytes"` DataReductionCloneSavingRatioPpm string `json:"data_reduction.clone.saving_ratio_ppm"` StorageLogicalUsageBytes string `json:"storage.logical_usage_bytes"` DataReductionSavedBytes string `json:"data_reduction.saved_bytes"` StorageFreeBytes string `json:"storage.free_bytes"` StorageTierSsdUsageBytes string `json:"storage_tier.ssd.usage_bytes"` DataReductionCompressionPostReductionBytes string `json:"data_reduction.compression.post_reduction_bytes"` DataReductionPostReductionBytes string `json:"data_reduction.post_reduction_bytes"` DataReductionDedupSavedBytes string `json:"data_reduction.dedup.saved_bytes"` DataReductionOverallSavedBytes string `json:"data_reduction.overall.saved_bytes"` DataReductionThinProvisionPostReductionBytes string `json:"data_reduction.thin_provision.post_reduction_bytes"` DataReductionThinProvisionSavingRatioPpm string `json:"data_reduction.thin_provision.saving_ratio_ppm"` DataReductionCompressionSavingRatioPpm string `json:"data_reduction.compression.saving_ratio_ppm"` DataReductionDedupSavingRatioPpm string `json:"data_reduction.dedup.saving_ratio_ppm"` StorageTierSsdPinnedBytes string `json:"storage_tier.ssd.pinned_bytes"` StorageReservedCapacityBytes string `json:"storage.reserved_capacity_bytes"` DataReductionThinProvisionPreReductionBytes string `json:"data_reduction.thin_provision.pre_reduction_bytes"` }
type DhcpOptions ¶
type DhcpOptions struct { }
type DiskAddress ¶
type DiskHardwareConfigs ¶
type DiskStats ¶
type DiskStats struct { HypervisorAvgIoLatencyUsecs string `json:"hypervisor_avg_io_latency_usecs"` HypervisorWriteIoBandwidthKBps string `json:"hypervisor_write_io_bandwidth_kBps"` ControllerRandomOpsPpm string `json:"controller.random_ops_ppm"` ControllerStorageTierSsdUsageBytes string `json:"controller.storage_tier.ssd.usage_bytes"` ReadIoPpm string `json:"read_io_ppm"` ControllerFrontendReadLatencyHistogram1000Us string `json:"controller.frontend_read_latency_histogram_1000us"` ControllerNumIops string `json:"controller_num_iops"` ControllerFrontendWriteOps string `json:"controller.frontend_write_ops"` ControllerFrontendWriteLatencyHistogram10000Us string `json:"controller.frontend_write_latency_histogram_10000us"` ControllerReadSizeHistogram1024KB string `json:"controller.read_size_histogram_1024kB"` TotalReadIoTimeUsecs string `json:"total_read_io_time_usecs"` ControllerTotalReadIoTimeUsecs string `json:"controller_total_read_io_time_usecs"` ControllerWss3600SWriteMB string `json:"controller.wss_3600s_write_MB"` ControllerFrontendReadLatencyHistogram50000Us string `json:"controller.frontend_read_latency_histogram_50000us"` ControllerFrontendReadLatencyHistogram2000Us string `json:"controller.frontend_read_latency_histogram_2000us"` ControllerNumWriteIo string `json:"controller_num_write_io"` ControllerReadSourceCacheSsdBytes string `json:"controller.read_source_cache_ssd_bytes"` ControllerReadSourceOplogBytes string `json:"controller.read_source_oplog_bytes"` ControllerReadSourceCacheDramBytes string `json:"controller.read_source_cache_dram_bytes"` ControllerRandomReadOps string `json:"controller.random_read_ops"` ControllerTotalIoTimeUsecs string `json:"controller_total_io_time_usecs"` ControllerNumSeqIo string `json:"controller_num_seq_io"` ControllerTotalIoSizeKbytes string `json:"controller_total_io_size_kbytes"` ControllerWss120SWriteMB string `json:"controller.wss_120s_write_MB"` ControllerReadSourceBlockStoreBytes string `json:"controller.read_source_block_store_bytes"` ControllerNumIo string `json:"controller_num_io"` ControllerReadSourceEstoreZeroBytes string `json:"controller.read_source_estore_zero_bytes"` ControllerNumRandomIo string `json:"controller_num_random_io"` HypervisorNumReadIo string `json:"hypervisor_num_read_io"` HypervisorTotalReadIoTimeUsecs string `json:"hypervisor_total_read_io_time_usecs"` NumIo string `json:"num_io"` HypervisorNumWriteIo string `json:"hypervisor_num_write_io"` ControllerWriteSizeHistogram32KB string `json:"controller.write_size_histogram_32kB"` ControllerFrontendReadLatencyHistogram20000Us string `json:"controller.frontend_read_latency_histogram_20000us"` ControllerReadSizeHistogram32KB string `json:"controller.read_size_histogram_32kB"` HypervisorNumWriteIops string `json:"hypervisor_num_write_iops"` AvgIoLatencyUsecs string `json:"avg_io_latency_usecs"` ControllerWriteIoPpm string `json:"controller_write_io_ppm"` ControllerReadSourceEstoreSsdBytes string `json:"controller.read_source_estore_ssd_bytes"` HypervisorTotalReadIoSizeKbytes string `json:"hypervisor_total_read_io_size_kbytes"` ControllerNumWriteIops string `json:"controller_num_write_iops"` TotalIoTimeUsecs string `json:"total_io_time_usecs"` ControllerWss3600SReadMB string `json:"controller.wss_3600s_read_MB"` ControllerSummaryReadSourceSsdBytesPerSec string `json:"controller.summary_read_source_ssd_bytes_per_sec"` ControllerWriteSizeHistogram16KB string `json:"controller.write_size_histogram_16kB"` TotalTransformedUsageBytes string `json:"total_transformed_usage_bytes"` AvgWriteIoLatencyUsecs string `json:"avg_write_io_latency_usecs"` ControllerCseTarget90PercentWriteMB string `json:"controller.cse_target_90_percent_write_MB"` NumReadIo string `json:"num_read_io"` HypervisorReadIoBandwidthKBps string `json:"hypervisor_read_io_bandwidth_kBps"` HypervisorTotalIoTimeUsecs string `json:"hypervisor_total_io_time_usecs"` NumRandomIo string `json:"num_random_io"` ControllerWriteDestEstoreBytes string `json:"controller.write_dest_estore_bytes"` ControllerFrontendWriteLatencyHistogram5000Us string `json:"controller.frontend_write_latency_histogram_5000us"` ControllerStorageTierDasSataPinnedUsageBytes string `json:"controller.storage_tier.das-sata.pinned_usage_bytes"` NumWriteIo string `json:"num_write_io"` ControllerFrontendWriteLatencyHistogram2000Us string `json:"controller.frontend_write_latency_histogram_2000us"` ControllerRandomWriteOpsPerSec string `json:"controller.random_write_ops_per_sec"` ControllerFrontendWriteLatencyHistogram20000Us string `json:"controller.frontend_write_latency_histogram_20000us"` IoBandwidthKBps string `json:"io_bandwidth_kBps"` ControllerWriteSizeHistogram512KB string `json:"controller.write_size_histogram_512kB"` ControllerReadSizeHistogram16KB string `json:"controller.read_size_histogram_16kB"` WriteIoPpm string `json:"write_io_ppm"` ControllerAvgWriteIoLatencyUsecs string `json:"controller_avg_write_io_latency_usecs"` ControllerFrontendReadLatencyHistogram100000Us string `json:"controller.frontend_read_latency_histogram_100000us"` NumReadIops string `json:"num_read_iops"` ControllerSummaryReadSourceHddBytesPerSec string `json:"controller.summary_read_source_hdd_bytes_per_sec"` ControllerReadSourceExtentCacheBytes string `json:"controller.read_source_extent_cache_bytes"` TimespanUsecs string `json:"timespan_usecs"` ControllerNumReadIops string `json:"controller_num_read_iops"` ControllerFrontendReadLatencyHistogram10000Us string `json:"controller.frontend_read_latency_histogram_10000us"` ControllerWriteSizeHistogram64KB string `json:"controller.write_size_histogram_64kB"` ControllerFrontendWriteLatencyHistogram0Us string `json:"controller.frontend_write_latency_histogram_0us"` ControllerFrontendWriteLatencyHistogram100000Us string `json:"controller.frontend_write_latency_histogram_100000us"` HypervisorNumIo string `json:"hypervisor_num_io"` ControllerTotalTransformedUsageBytes string `json:"controller_total_transformed_usage_bytes"` AvgReadIoLatencyUsecs string `json:"avg_read_io_latency_usecs"` ControllerTotalReadIoSizeKbytes string `json:"controller_total_read_io_size_kbytes"` ControllerReadIoPpm string `json:"controller_read_io_ppm"` ControllerFrontendOps string `json:"controller.frontend_ops"` ControllerWss120SReadMB string `json:"controller.wss_120s_read_MB"` ControllerReadSizeHistogram512KB string `json:"controller.read_size_histogram_512kB"` HypervisorAvgReadIoLatencyUsecs string `json:"hypervisor_avg_read_io_latency_usecs"` ControllerWriteSizeHistogram1024KB string `json:"controller.write_size_histogram_1024kB"` ControllerWriteDestBlockStoreBytes string `json:"controller.write_dest_block_store_bytes"` ControllerReadSizeHistogram4KB string `json:"controller.read_size_histogram_4kB"` NumWriteIops string `json:"num_write_iops"` ControllerRandomOpsPerSec string `json:"controller.random_ops_per_sec"` NumIops string `json:"num_iops"` ControllerStorageTierCloudPinnedUsageBytes string `json:"controller.storage_tier.cloud.pinned_usage_bytes"` ControllerAvgIoLatencyUsecs string `json:"controller_avg_io_latency_usecs"` ControllerReadSizeHistogram8KB string `json:"controller.read_size_histogram_8kB"` ControllerNumReadIo string `json:"controller_num_read_io"` ControllerSeqIoPpm string `json:"controller_seq_io_ppm"` ControllerReadIoBandwidthKBps string `json:"controller_read_io_bandwidth_kBps"` ControllerIoBandwidthKBps string `json:"controller_io_bandwidth_kBps"` ControllerReadSizeHistogram0KB string `json:"controller.read_size_histogram_0kB"` ControllerRandomOps string `json:"controller.random_ops"` HypervisorTimespanUsecs string `json:"hypervisor_timespan_usecs"` TotalReadIoSizeKbytes string `json:"total_read_io_size_kbytes"` HypervisorTotalIoSizeKbytes string `json:"hypervisor_total_io_size_kbytes"` ControllerFrontendOpsPerSec string `json:"controller.frontend_ops_per_sec"` ControllerWriteDestOplogBytes string `json:"controller.write_dest_oplog_bytes"` ControllerFrontendWriteLatencyHistogram1000Us string `json:"controller.frontend_write_latency_histogram_1000us"` HypervisorNumReadIops string `json:"hypervisor_num_read_iops"` ControllerSummaryReadSourceCacheBytesPerSec string `json:"controller.summary_read_source_cache_bytes_per_sec"` ControllerWriteIoBandwidthKBps string `json:"controller_write_io_bandwidth_kBps"` ControllerUserBytes string `json:"controller_user_bytes"` HypervisorAvgWriteIoLatencyUsecs string `json:"hypervisor_avg_write_io_latency_usecs"` ControllerStorageTierSsdPinnedUsageBytes string `json:"controller.storage_tier.ssd.pinned_usage_bytes"` ReadIoBandwidthKBps string `json:"read_io_bandwidth_kBps"` ControllerFrontendReadOps string `json:"controller.frontend_read_ops"` HypervisorNumIops string `json:"hypervisor_num_iops"` HypervisorIoBandwidthKBps string `json:"hypervisor_io_bandwidth_kBps"` ControllerWss120SUnionMB string `json:"controller.wss_120s_union_MB"` ControllerReadSourceEstoreHddBytes string `json:"controller.read_source_estore_hdd_bytes"` ControllerRandomIoPpm string `json:"controller_random_io_ppm"` ControllerCseTarget90PercentReadMB string `json:"controller.cse_target_90_percent_read_MB"` ControllerStorageTierDasSataUsageBytes string `json:"controller.storage_tier.das-sata.usage_bytes"` ControllerFrontendReadLatencyHistogram5000Us string `json:"controller.frontend_read_latency_histogram_5000us"` ControllerAvgReadIoSizeKbytes string `json:"controller_avg_read_io_size_kbytes"` WriteIoBandwidthKBps string `json:"write_io_bandwidth_kBps"` ControllerRandomReadOpsPerSec string `json:"controller.random_read_ops_per_sec"` ControllerReadSizeHistogram64KB string `json:"controller.read_size_histogram_64kB"` ControllerWss3600SUnionMB string `json:"controller.wss_3600s_union_MB"` RandomIoPpm string `json:"random_io_ppm"` TotalUntransformedUsageBytes string `json:"total_untransformed_usage_bytes"` ControllerFrontendReadLatencyHistogram0Us string `json:"controller.frontend_read_latency_histogram_0us"` ControllerRandomWriteOps string `json:"controller.random_write_ops"` ControllerAvgWriteIoSizeKbytes string `json:"controller_avg_write_io_size_kbytes"` ControllerAvgReadIoLatencyUsecs string `json:"controller_avg_read_io_latency_usecs"` TotalIoSizeKbytes string `json:"total_io_size_kbytes"` ControllerStorageTierCloudUsageBytes string `json:"controller.storage_tier.cloud.usage_bytes"` ControllerFrontendWriteLatencyHistogram50000Us string `json:"controller.frontend_write_latency_histogram_50000us"` ControllerWriteSizeHistogram8KB string `json:"controller.write_size_histogram_8kB"` ControllerTimespanUsecs string `json:"controller_timespan_usecs"` NumSeqIo string `json:"num_seq_io"` ControllerWriteSizeHistogram4KB string `json:"controller.write_size_histogram_4kB"` SeqIoPpm string `json:"seq_io_ppm"` ControllerWriteSizeHistogram0KB string `json:"controller.write_size_histogram_0kB"` }
type DownMigrateTimesInSecs ¶
type EntityList ¶
type HypervisorLldpConfig ¶
type HypervisorLldpConfig struct {
EnableLldpTx bool `json:"enable_lldp_tx"`
}
type KeyManagementDeviceToCertificateStatus ¶
type KeyManagementDeviceToCertificateStatus struct { }
type MappedRemoteContainers ¶
type MappedRemoteContainers struct { }
type MetaRequest ¶
type MetaRequest struct {
MethodName string `json:"method_name"`
}
type MetaResponse ¶
type Num1 ¶
type Num1 struct { SerialNumber string `json:"serial_number"` DiskID string `json:"disk_id"` DiskUUID string `json:"disk_uuid"` Location int `json:"location"` Bad bool `json:"bad"` Mounted bool `json:"mounted"` MountPath string `json:"mount_path"` Model string `json:"model"` Vendor string `json:"vendor"` BootDisk bool `json:"boot_disk"` OnlyBootDisk bool `json:"only_boot_disk"` UnderDiagnosis bool `json:"under_diagnosis"` BackgroundOperation string `json:"background_operation"` CurrentFirmwareVersion string `json:"current_firmware_version"` TargetFirmwareVersion string `json:"target_firmware_version"` CanAddAsNewDisk bool `json:"can_add_as_new_disk"` CanAddAsOldDisk bool `json:"can_add_as_old_disk"` }
type Num2 ¶
type Num2 struct { SerialNumber string `json:"serial_number"` DiskID string `json:"disk_id"` DiskUUID string `json:"disk_uuid"` Location int `json:"location"` Bad bool `json:"bad"` Mounted bool `json:"mounted"` MountPath string `json:"mount_path"` Model string `json:"model"` Vendor string `json:"vendor"` BootDisk bool `json:"boot_disk"` OnlyBootDisk bool `json:"only_boot_disk"` UnderDiagnosis bool `json:"under_diagnosis"` BackgroundOperation string `json:"background_operation"` CurrentFirmwareVersion string `json:"current_firmware_version"` TargetFirmwareVersion string `json:"target_firmware_version"` CanAddAsNewDisk bool `json:"can_add_as_new_disk"` CanAddAsOldDisk bool `json:"can_add_as_old_disk"` }
type NutanixClientConfig ¶
type NutanixClientConfig struct {
// contains filtered or unexported fields
}
func NewNutanixClientConfig ¶
func NewNutanixClientConfig(host, username, password string, port int) *NutanixClientConfig
func (*NutanixClientConfig) CloudproviderConfig ¶
func (cfg *NutanixClientConfig) CloudproviderConfig(cpcfg cloudprovider.ProviderConfig) *NutanixClientConfig
func (NutanixClientConfig) Copy ¶
func (cfg NutanixClientConfig) Copy() NutanixClientConfig
func (*NutanixClientConfig) Debug ¶
func (cfg *NutanixClientConfig) Debug(debug bool) *NutanixClientConfig
type RackableUnits ¶
type RackableUnits struct { Id int `json:"id"` RackableUnitUUID string `json:"rackable_unit_uuid"` Model string `json:"model"` ModelName string `json:"model_name"` //Location interface{} `json:"location"` Serial string `json:"serial"` Positions []string `json:"positions"` Nodes []int `json:"nodes"` NodeUuids []string `json:"node_uuids"` }
type RedundancyStatus ¶
type SCluster ¶
type SCluster struct { Id string `json:"id"` UUID string `json:"uuid"` ClusterIncarnationId int64 `json:"cluster_incarnation_id"` ClusterUUID string `json:"cluster_uuid"` Name string `json:"name"` //ClusterExternalIpaddress interface{} `json:"cluster_external_ipaddress"` //ClusterFullyQualifiedDomainName interface{} `json:"cluster_fully_qualified_domain_name"` IsNsenabled bool `json:"is_nsenabled"` //ClusterExternalDataServicesIpaddress interface{} `json:"cluster_external_data_services_ipaddress"` //SegmentedIscsiDataServicesIpaddress interface{} `json:"segmented_iscsi_data_services_ipaddress"` //ClusterMasqueradingIpaddress interface{} `json:"cluster_masquerading_ipaddress"` //ClusterMasqueradingPort interface{} `json:"cluster_masquerading_port"` Timezone string `json:"timezone"` SupportVerbosityType string `json:"support_verbosity_type"` OperationMode string `json:"operation_mode"` Encrypted bool `json:"encrypted"` ClusterUsageWarningAlertThresholdPct int `json:"cluster_usage_warning_alert_threshold_pct"` ClusterUsageCriticalAlertThresholdPct int `json:"cluster_usage_critical_alert_threshold_pct"` StorageType string `json:"storage_type"` ClusterFunctions []string `json:"cluster_functions"` IsLts bool `json:"is_lts"` //IsRegisteredToPc interface{} `json:"is_registered_to_pc"` NumNodes int `json:"num_nodes"` BlockSerials []string `json:"block_serials"` Version string `json:"version"` FullVersion string `json:"full_version"` TargetVersion string `json:"target_version"` ExternalSubnet string `json:"external_subnet"` InternalSubnet string `json:"internal_subnet"` NccVersion string `json:"ncc_version"` EnableLockDown bool `json:"enable_lock_down"` EnablePasswordRemoteLoginToCluster bool `json:"enable_password_remote_login_to_cluster"` FingerprintContentCachePercentage int `json:"fingerprint_content_cache_percentage"` SsdPinningPercentageLimit int `json:"ssd_pinning_percentage_limit"` EnableShadowClones bool `json:"enable_shadow_clones"` //GlobalNfsWhiteList []interface{} `json:"global_nfs_white_list"` //NameServers []string `json:"name_servers"` //NtpServers []string `json:"ntp_servers"` //ServiceCenters []interface{} `json:"service_centers"` //HTTPProxies []interface{} `json:"http_proxies"` //RackableUnits []RackableUnits `json:"rackable_units"` //PublicKeys []interface{} `json:"public_keys"` //SMTPServer interface{} `json:"smtp_server"` HypervisorTypes []string `json:"hypervisor_types"` ClusterRedundancyState ClusterRedundancyState `json:"cluster_redundancy_state"` Multicluster bool `json:"multicluster"` Cloudcluster bool `json:"cloudcluster"` HasSelfEncryptingDrive bool `json:"has_self_encrypting_drive"` IsUpgradeInProgress bool `json:"is_upgrade_in_progress"` SecurityComplianceConfig SecurityComplianceConfig `json:"security_compliance_config"` HypervisorSecurityComplianceConfig HypervisorSecurityComplianceConfig `json:"hypervisor_security_compliance_config"` HypervisorLldpConfig HypervisorLldpConfig `json:"hypervisor_lldp_config"` ClusterArch string `json:"cluster_arch"` //IscsiConfig interface{} `json:"iscsi_config"` //Domain interface{} `json:"domain"` NosClusterAndHostsDomainJoined bool `json:"nos_cluster_and_hosts_domain_joined"` AllHypervNodesInFailoverCluster bool `json:"all_hyperv_nodes_in_failover_cluster"` //Credential interface{} `json:"credential"` Stats ClusterStats `json:"stats"` UsageStats ClusterUsageStats `json:"usage_stats"` EnforceRackableUnitAwarePlacement bool `json:"enforce_rackable_unit_aware_placement"` DisableDegradedNodeMonitoring bool `json:"disable_degraded_node_monitoring"` CommonCriteriaMode bool `json:"common_criteria_mode"` EnableOnDiskDedup bool `json:"enable_on_disk_dedup"` //ManagementServers interface{} `json:"management_servers"` FaultToleranceDomainType string `json:"fault_tolerance_domain_type"` }
type SDisk ¶
type SDisk struct { multicloud.STagBase multicloud.SDisk VirtualDiskID string `json:"virtual_disk_id"` UUID string `json:"uuid"` DeviceUUID string `json:"device_uuid"` NutanixNfsfilePath string `json:"nutanix_nfsfile_path"` DiskAddress string `json:"disk_address"` AttachedVMID string `json:"attached_vm_id"` AttachedVMUUID string `json:"attached_vm_uuid"` AttachedVmname string `json:"attached_vmname"` AttachedVolumeGroupID string `json:"attached_volume_group_id"` DiskCapacityInBytes int64 `json:"disk_capacity_in_bytes"` ClusterUUID string `json:"cluster_uuid"` StorageContainerID string `json:"storage_container_id"` StorageContainerUUID string `json:"storage_container_uuid"` FlashModeEnabled string `json:"flash_mode_enabled"` DataSourceURL string `json:"data_source_url"` Stats DiskStats `json:"stats"` // contains filtered or unexported fields }
func (*SDisk) CreateISnapshot ¶
func (self *SDisk) CreateISnapshot(ctx context.Context, name, desc string) (cloudprovider.ICloudSnapshot, error)
func (*SDisk) GetAccessPath ¶
func (*SDisk) GetCacheMode ¶
func (*SDisk) GetDiskFormat ¶
func (*SDisk) GetDiskSizeMB ¶
func (*SDisk) GetDiskType ¶
func (*SDisk) GetFsFormat ¶
func (*SDisk) GetGlobalId ¶
func (*SDisk) GetISnapshot ¶
func (self *SDisk) GetISnapshot(snapshotId string) (cloudprovider.ICloudSnapshot, error)
func (*SDisk) GetISnapshots ¶
func (self *SDisk) GetISnapshots() ([]cloudprovider.ICloudSnapshot, error)
func (*SDisk) GetIStorage ¶
func (self *SDisk) GetIStorage() (cloudprovider.ICloudStorage, error)
func (*SDisk) GetIsAutoDelete ¶
func (*SDisk) GetIsNonPersistent ¶
func (*SDisk) GetMountpoint ¶
func (*SDisk) GetTemplateId ¶
type SHost ¶
type SHost struct { multicloud.STagBase multicloud.SHostBase ServiceVmid string `json:"service_vmid"` UUID string `json:"uuid"` DiskHardwareConfigs DiskHardwareConfigs `json:"disk_hardware_configs"` Name string `json:"name"` ServiceVmexternalIP string `json:"service_vmexternal_ip"` ServiceVmnatIP string `json:"service_vmnat_ip"` ServiceVmnatPort string `json:"service_vmnat_port"` OplogDiskPct float64 `json:"oplog_disk_pct"` OplogDiskSize int64 `json:"oplog_disk_size"` HypervisorKey string `json:"hypervisor_key"` HypervisorAddress string `json:"hypervisor_address"` HypervisorUsername string `json:"hypervisor_username"` HypervisorPassword string `json:"hypervisor_password"` BackplaneIP string `json:"backplane_ip"` ControllerVMBackplaneIP string `json:"controller_vm_backplane_ip"` RdmaBackplaneIps string `json:"rdma_backplane_ips"` ManagementServerName string `json:"management_server_name"` IpmiAddress string `json:"ipmi_address"` IpmiUsername string `json:"ipmi_username"` IpmiPassword string `json:"ipmi_password"` Monitored bool `json:"monitored"` Position Position `json:"position"` Serial string `json:"serial"` BlockSerial string `json:"block_serial"` BlockModel string `json:"block_model"` BlockModelName string `json:"block_model_name"` BlockLocation string `json:"block_location"` HostMaintenanceModeReason string `json:"host_maintenance_mode_reason"` HypervisorState string `json:"hypervisor_state"` AcropolisConnectionState string `json:"acropolis_connection_state"` MetadataStoreStatus string `json:"metadata_store_status"` MetadataStoreStatusMessage string `json:"metadata_store_status_message"` State string `json:"state"` DynamicRingChangingNode string `json:"dynamic_ring_changing_node"` RemovalStatus []string `json:"removal_status"` VzoneName string `json:"vzone_name"` CPUModel string `json:"cpu_model"` NumCPUCores int `json:"num_cpu_cores"` NumCPUThreads int `json:"num_cpu_threads"` NumCPUSockets int `json:"num_cpu_sockets"` CPUFrequencyInHz int64 `json:"cpu_frequency_in_hz"` CPUCapacityInHz int64 `json:"cpu_capacity_in_hz"` MemoryCapacityInBytes int64 `json:"memory_capacity_in_bytes"` HypervisorFullName string `json:"hypervisor_full_name"` HypervisorType string `json:"hypervisor_type"` NumVms int `json:"num_vms"` BootTimeInUsecs int64 `json:"boot_time_in_usecs"` IsDegraded bool `json:"is_degraded"` IsSecureBooted bool `json:"is_secure_booted"` IsHardwareVirtualized bool `json:"is_hardware_virtualized"` FailoverClusterFqdn string `json:"failover_cluster_fqdn"` FailoverClusterNodeState string `json:"failover_cluster_node_state"` RebootPending bool `json:"reboot_pending"` DefaultVMLocation string `json:"default_vm_location"` DefaultVMStorageContainerID string `json:"default_vm_storage_container_id"` DefaultVMStorageContainerUUID string `json:"default_vm_storage_container_uuid"` DefaultVhdLocation string `json:"default_vhd_location"` DefaultVhdStorageContainerID string `json:"default_vhd_storage_container_id"` DefaultVhdStorageContainerUUID string `json:"default_vhd_storage_container_uuid"` BiosVersion string `json:"bios_version"` BiosModel string `json:"bios_model"` BmcVersion string `json:"bmc_version"` BmcModel string `json:"bmc_model"` HbaFirmwaresList string `json:"hba_firmwares_list"` ClusterUUID string `json:"cluster_uuid"` Stats Stats `json:"stats"` UsageStats UsageStats `json:"usage_stats"` HasCsr bool `json:"has_csr"` HostNicIds []string `json:"host_nic_ids"` HostGpus string `json:"host_gpus"` GpuDriverVersion string `json:"gpu_driver_version"` HostType string `json:"host_type"` KeyManagementDeviceToCertificateStatus KeyManagementDeviceToCertificateStatus `json:"key_management_device_to_certificate_status"` HostInMaintenanceMode string `json:"host_in_maintenance_mode"` // contains filtered or unexported fields }
func (*SHost) CreateVM ¶
func (self *SHost) CreateVM(opts *cloudprovider.SManagedVMCreateConfig) (cloudprovider.ICloudVM, error)
func (*SHost) GetAccessIp ¶
func (*SHost) GetAccessMac ¶
func (*SHost) GetCpuCmtbound ¶
func (*SHost) GetCpuCount ¶
func (*SHost) GetCpuDesc ¶
func (*SHost) GetEnabled ¶
func (*SHost) GetGlobalId ¶
func (*SHost) GetHostStatus ¶
func (*SHost) GetHostType ¶
func (*SHost) GetIHostNics ¶
func (self *SHost) GetIHostNics() ([]cloudprovider.ICloudHostNetInterface, error)
func (*SHost) GetIStorageById ¶
func (self *SHost) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
func (*SHost) GetIStorages ¶
func (self *SHost) GetIStorages() ([]cloudprovider.ICloudStorage, error)
func (*SHost) GetIVMById ¶
func (self *SHost) GetIVMById(id string) (cloudprovider.ICloudVM, error)
func (*SHost) GetIWires ¶
func (self *SHost) GetIWires() ([]cloudprovider.ICloudWire, error)
func (*SHost) GetIsMaintenance ¶
func (*SHost) GetMemCmtbound ¶
func (*SHost) GetMemSizeMB ¶
func (*SHost) GetNodeCount ¶
func (*SHost) GetStorageSizeMB ¶
func (*SHost) GetStorageType ¶
func (*SHost) GetSysInfo ¶
func (self *SHost) GetSysInfo() jsonutils.JSONObject
func (*SHost) GetVersion ¶
func (*SHost) IsEmulated ¶
type SImage ¶
type SImage struct { multicloud.STagBase multicloud.SImageBase UUID string `json:"uuid"` Name string `json:"name"` Deleted bool `json:"deleted"` StorageContainerID int `json:"storage_container_id"` StorageContainerUUID string `json:"storage_container_uuid"` LogicalTimestamp int `json:"logical_timestamp"` ImageType string `json:"image_type"` VMDiskID string `json:"vm_disk_id"` ImageState string `json:"image_state"` CreatedTimeInUsecs int64 `json:"created_time_in_usecs"` UpdatedTimeInUsecs int64 `json:"updated_time_in_usecs"` VMDiskSize int64 `json:"vm_disk_size"` // contains filtered or unexported fields }
func (*SImage) GetBios ¶
func (ins *SImage) GetBios() cloudprovider.TBiosType
func (*SImage) GetCreatedAt ¶
func (*SImage) GetFullOsName ¶
func (*SImage) GetGlobalId ¶
func (*SImage) GetIStoragecache ¶
func (self *SImage) GetIStoragecache() cloudprovider.ICloudStoragecache
func (*SImage) GetImageFormat ¶
func (*SImage) GetImageStatus ¶
func (*SImage) GetImageType ¶
func (self *SImage) GetImageType() cloudprovider.TImageType
func (*SImage) GetMinOsDiskSizeGb ¶
func (*SImage) GetMinRamSizeMb ¶
func (*SImage) GetOsType ¶
func (ins *SImage) GetOsType() cloudprovider.TOsType
func (*SImage) GetOsVersion ¶
func (*SImage) GetSizeByte ¶
type SInstance ¶
type SInstance struct { multicloud.STagBase multicloud.SInstanceBase AllowLiveMigrate bool `json:"allow_live_migrate"` GpusAssigned bool `json:"gpus_assigned"` Boot Boot `json:"boot"` HaPriority int `json:"ha_priority"` HostUUID string `json:"host_uuid"` MemoryMb int `json:"memory_mb"` Name string `json:"name"` NumCoresPerVcpu int `json:"num_cores_per_vcpu"` NumVcpus int `json:"num_vcpus"` PowerState string `json:"power_state"` Timezone string `json:"timezone"` UUID string `json:"uuid"` VMFeatures VMFeatures `json:"vm_features"` VMLogicalTimestamp int `json:"vm_logical_timestamp"` MachineType string `json:"machine_type"` VMDiskInfo []VMDiskInfo `json:"vm_disk_info"` VMNics []VMNics `json:"vm_nics"` // contains filtered or unexported fields }
func (*SInstance) AssignSecurityGroup ¶
func (*SInstance) AttachDisk ¶
func (*SInstance) ChangeConfig ¶
func (self *SInstance) ChangeConfig(ctx context.Context, opts *cloudprovider.SManagedVMChangeConfig) error
func (*SInstance) CreateDisk ¶
func (self *SInstance) CreateDisk(ctx context.Context, opts *cloudprovider.GuestDiskCreateOptions) (string, error)
func (*SInstance) DetachDisk ¶
func (*SInstance) GetBios ¶
func (self *SInstance) GetBios() cloudprovider.TBiosType
func (*SInstance) GetBootOrder ¶
func (*SInstance) GetFullOsName ¶
func (*SInstance) GetGlobalId ¶
func (*SInstance) GetHostname ¶
func (*SInstance) GetHypervisor ¶
func (*SInstance) GetIDisks ¶
func (self *SInstance) GetIDisks() ([]cloudprovider.ICloudDisk, error)
func (*SInstance) GetIHost ¶
func (self *SInstance) GetIHost() cloudprovider.ICloudHost
func (*SInstance) GetInstanceType ¶
func (*SInstance) GetMachine ¶
func (*SInstance) GetOsType ¶
func (self *SInstance) GetOsType() cloudprovider.TOsType
func (*SInstance) GetOsVersion ¶
func (*SInstance) GetProjectId ¶
func (*SInstance) GetSecurityGroupIds ¶
func (*SInstance) GetStatus ¶
"UNKNOWN", "OFF", "POWERING_ON", "ON", "SHUTTING_DOWN", "POWERING_OFF", "PAUSING", "PAUSED", "SUSPENDING", "SUSPENDED", "RESUMING", "RESETTING", "MIGRATING"
func (*SInstance) GetVNCInfo ¶
func (self *SInstance) GetVNCInfo(input *cloudprovider.ServerVncInput) (*cloudprovider.ServerVncOutput, error)
func (*SInstance) GetVcpuCount ¶
func (*SInstance) GetVmemSizeMB ¶
func (*SInstance) RebuildRoot ¶
func (self *SInstance) RebuildRoot(ctx context.Context, desc *cloudprovider.SManagedVMRebuildRootConfig) (string, error)
func (*SInstance) SetSecurityGroups ¶
func (*SInstance) StopVM ¶
func (self *SInstance) StopVM(ctx context.Context, opts *cloudprovider.ServerStopOptions) error
func (*SInstance) UpdateUserData ¶
type SInstanceNic ¶
type SInstanceNic struct { cloudprovider.DummyICloudNic MacAddress string `json:"mac_address"` NetworkUUID string `json:"network_uuid"` NicUUID string `json:"nic_uuid"` Model string `json:"model"` IPAddress string `json:"ip_address"` IPAddresses []string `json:"ip_addresses"` VlanMode string `json:"vlan_mode"` IsConnected bool `json:"is_connected"` // contains filtered or unexported fields }
func (*SInstanceNic) AssignAddress ¶
func (self *SInstanceNic) AssignAddress(ipAddrs []string) error
func (*SInstanceNic) GetDriver ¶
func (self *SInstanceNic) GetDriver() string
func (*SInstanceNic) GetINetworkId ¶
func (self *SInstanceNic) GetINetworkId() string
func (*SInstanceNic) GetIP ¶
func (self *SInstanceNic) GetIP() string
func (*SInstanceNic) GetId ¶
func (self *SInstanceNic) GetId() string
func (*SInstanceNic) GetMAC ¶
func (self *SInstanceNic) GetMAC() string
func (*SInstanceNic) GetSubAddress ¶
func (self *SInstanceNic) GetSubAddress() ([]string, error)
func (*SInstanceNic) InClassicNetwork ¶
func (self *SInstanceNic) InClassicNetwork() bool
type SNetwork ¶
type SNetwork struct { multicloud.SResourceBase multicloud.STagBase Range string // contains filtered or unexported fields }
func (*SNetwork) GetAllocTimeoutSeconds ¶
func (*SNetwork) GetGateway ¶
func (*SNetwork) GetGlobalId ¶
func (*SNetwork) GetIWire ¶
func (self *SNetwork) GetIWire() cloudprovider.ICloudWire
func (*SNetwork) GetIpStart ¶
func (*SNetwork) GetProjectId ¶
func (*SNetwork) GetPublicScope ¶
func (self *SNetwork) GetPublicScope() rbacutils.TRbacScope
func (*SNetwork) GetServerType ¶
func (*SNetwork) IsEmulated ¶
type SNutanixClient ¶
type SNutanixClient struct {
*NutanixClientConfig
}
func NewNutanixClient ¶
func NewNutanixClient(cfg *NutanixClientConfig) (*SNutanixClient, error)
func (*SNutanixClient) GetAccountId ¶
func (self *SNutanixClient) GetAccountId() string
func (*SNutanixClient) GetCapabilities ¶
func (self *SNutanixClient) GetCapabilities() []string
func (*SNutanixClient) GetIRegions ¶
func (self *SNutanixClient) GetIRegions() []cloudprovider.ICloudRegion
func (*SNutanixClient) GetRegion ¶
func (self *SNutanixClient) GetRegion() (*SRegion, error)
func (*SNutanixClient) GetSubAccounts ¶
func (self *SNutanixClient) GetSubAccounts() ([]cloudprovider.SSubAccount, error)
type SRegion ¶
type SRegion struct { multicloud.SRegion multicloud.SNoObjectStorageRegion multicloud.SNoLbRegion // contains filtered or unexported fields }
func (*SRegion) CreateEIP ¶
func (self *SRegion) CreateEIP(opts *cloudprovider.SEip) (cloudprovider.ICloudEIP, error)
func (*SRegion) CreateISecurityGroup ¶
func (self *SRegion) CreateISecurityGroup(conf *cloudprovider.SecurityGroupCreateInput) (cloudprovider.ICloudSecurityGroup, error)
func (*SRegion) CreateIVpc ¶
func (self *SRegion) CreateIVpc(opts *cloudprovider.VpcCreateOptions) (cloudprovider.ICloudVpc, error)
func (*SRegion) CreateImage ¶
func (self *SRegion) CreateImage(storageId string, opts *cloudprovider.SImageCreateOption, sizeBytes int64, body io.Reader, callback func(float32)) (*SImage, error)
func (*SRegion) CreateNetwork ¶
func (self *SRegion) CreateNetwork(vpcId string, opts *cloudprovider.SNetworkCreateOptions) (*SNetwork, error)
func (*SRegion) CreateVpc ¶
func (self *SRegion) CreateVpc(opts *cloudprovider.VpcCreateOptions) (*SVpc, error)
func (*SRegion) DeleteNetwork ¶
func (*SRegion) GetCapabilities ¶
func (*SRegion) GetCloudEnv ¶
func (*SRegion) GetClusters ¶
func (*SRegion) GetGeographicInfo ¶
func (self *SRegion) GetGeographicInfo() cloudprovider.SGeographicInfo
func (*SRegion) GetGlobalId ¶
func (*SRegion) GetI18n ¶
func (self *SRegion) GetI18n() cloudprovider.SModelI18nTable
func (*SRegion) GetIEipById ¶
func (self *SRegion) GetIEipById(id string) (cloudprovider.ICloudEIP, error)
func (*SRegion) GetIHostById ¶
func (self *SRegion) GetIHostById(id string) (cloudprovider.ICloudHost, error)
func (*SRegion) GetIHosts ¶
func (self *SRegion) GetIHosts() ([]cloudprovider.ICloudHost, error)
func (*SRegion) GetISecurityGroupById ¶
func (self *SRegion) GetISecurityGroupById(secgroupId string) (cloudprovider.ICloudSecurityGroup, error)
func (*SRegion) GetISecurityGroupByName ¶
func (self *SRegion) GetISecurityGroupByName(opts *cloudprovider.SecurityGroupFilterOptions) (cloudprovider.ICloudSecurityGroup, error)
func (*SRegion) GetIStorageById ¶
func (self *SRegion) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
func (*SRegion) GetIStoragecacheById ¶
func (self *SRegion) GetIStoragecacheById(id string) (cloudprovider.ICloudStoragecache, error)
func (*SRegion) GetIStoragecaches ¶
func (self *SRegion) GetIStoragecaches() ([]cloudprovider.ICloudStoragecache, error)
func (*SRegion) GetIVMById ¶
func (self *SRegion) GetIVMById(id string) (cloudprovider.ICloudVM, error)
func (*SRegion) GetIVpcById ¶
func (self *SRegion) GetIVpcById(id string) (cloudprovider.ICloudVpc, error)
func (*SRegion) GetIZoneById ¶
func (self *SRegion) GetIZoneById(id string) (cloudprovider.ICloudZone, error)
func (*SRegion) GetIZones ¶
func (self *SRegion) GetIZones() ([]cloudprovider.ICloudZone, error)
func (*SRegion) GetInstanceNics ¶
func (self *SRegion) GetInstanceNics(id string) ([]SInstanceNic, error)
func (*SRegion) GetInstances ¶
func (*SRegion) GetProvider ¶
func (*SRegion) GetStorages ¶
type SStorage ¶
type SStorage struct { multicloud.SStorageBase multicloud.STagBase StorageContainerUUID string `json:"storage_container_uuid"` Name string `json:"name"` ClusterUUID string `json:"cluster_uuid"` MarkedForRemoval bool `json:"marked_for_removal"` MaxCapacity int64 `json:"max_capacity"` TotalExplicitReservedCapacity int `json:"total_explicit_reserved_capacity"` TotalImplicitReservedCapacity int `json:"total_implicit_reserved_capacity"` AdvertisedCapacity interface{} `json:"advertised_capacity"` ReplicationFactor int `json:"replication_factor"` OplogReplicationFactor int `json:"oplog_replication_factor"` NfsWhitelist []interface{} `json:"nfs_whitelist"` NfsWhitelistInherited bool `json:"nfs_whitelist_inherited"` RandomIoPreference []string `json:"random_io_preference"` SeqIoPreference []string `json:"seq_io_preference"` IlmPolicy interface{} `json:"ilm_policy"` DownMigrateTimesInSecs DownMigrateTimesInSecs `json:"down_migrate_times_in_secs"` ErasureCode string `json:"erasure_code"` InlineEcEnabled interface{} `json:"inline_ec_enabled"` PreferHigherEcfaultDomain interface{} `json:"prefer_higher_ecfault_domain"` ErasureCodeDelaySecs interface{} `json:"erasure_code_delay_secs"` FingerPrintOnWrite string `json:"finger_print_on_write"` OnDiskDedup string `json:"on_disk_dedup"` CompressionEnabled bool `json:"compression_enabled"` CompressionDelayInSecs int `json:"compression_delay_in_secs"` IsNutanixManaged interface{} `json:"is_nutanix_managed"` EnableSoftwareEncryption bool `json:"enable_software_encryption"` VstoreNameList []string `json:"vstore_name_list"` MappedRemoteContainers MappedRemoteContainers `json:"mapped_remote_containers"` Stats StorageStats `json:"stats"` UsageStats StorageUsageStats `json:"usage_stats"` Encrypted interface{} `json:"encrypted"` // contains filtered or unexported fields }
func (*SStorage) CreateIDisk ¶
func (self *SStorage) CreateIDisk(conf *cloudprovider.DiskCreateConfig) (cloudprovider.ICloudDisk, error)
func (*SStorage) GetCapacityMB ¶
func (*SStorage) GetCapacityUsedMB ¶
func (*SStorage) GetEnabled ¶
func (*SStorage) GetGlobalId ¶
func (*SStorage) GetIDiskById ¶
func (self *SStorage) GetIDiskById(id string) (cloudprovider.ICloudDisk, error)
func (*SStorage) GetIDisks ¶
func (self *SStorage) GetIDisks() ([]cloudprovider.ICloudDisk, error)
func (*SStorage) GetIStoragecache ¶
func (self *SStorage) GetIStoragecache() cloudprovider.ICloudStoragecache
func (*SStorage) GetIZone ¶
func (self *SStorage) GetIZone() cloudprovider.ICloudZone
func (*SStorage) GetMediumType ¶
func (*SStorage) GetMountPoint ¶
func (*SStorage) GetStorageConf ¶
func (self *SStorage) GetStorageConf() jsonutils.JSONObject
func (*SStorage) GetStorageType ¶
func (*SStorage) IsSysDiskStore ¶
type SStoragecache ¶
type SStoragecache struct { multicloud.SResourceBase multicloud.STagBase // contains filtered or unexported fields }
func (*SStoragecache) CreateIImage ¶
func (self *SStoragecache) CreateIImage(snapshotId, imageName, osType, imageDesc string) (cloudprovider.ICloudImage, error)
func (*SStoragecache) DownloadImage ¶
func (self *SStoragecache) DownloadImage(userCred mcclient.TokenCredential, imageId string, extId string, path string) (jsonutils.JSONObject, error)
func (*SStoragecache) GetGlobalId ¶
func (self *SStoragecache) GetGlobalId() string
func (*SStoragecache) GetICloudImages ¶
func (self *SStoragecache) GetICloudImages() ([]cloudprovider.ICloudImage, error)
func (*SStoragecache) GetICustomizedCloudImages ¶
func (self *SStoragecache) GetICustomizedCloudImages() ([]cloudprovider.ICloudImage, error)
func (*SStoragecache) GetIImageById ¶
func (self *SStoragecache) GetIImageById(id string) (cloudprovider.ICloudImage, error)
func (*SStoragecache) GetId ¶
func (self *SStoragecache) GetId() string
func (*SStoragecache) GetName ¶
func (self *SStoragecache) GetName() string
func (*SStoragecache) GetPath ¶
func (self *SStoragecache) GetPath() string
func (*SStoragecache) GetStatus ¶
func (self *SStoragecache) GetStatus() string
func (*SStoragecache) UploadImage ¶
func (self *SStoragecache) UploadImage(ctx context.Context, userCred mcclient.TokenCredential, opts *cloudprovider.SImageCreateOption, callback func(float32)) (string, error)
type STask ¶
type STask struct { UUID string `json:"uuid"` MetaRequest MetaRequest `json:"meta_request"` MetaResponse MetaResponse `json:"meta_response,omitempty"` CreateTimeUsecs int64 `json:"create_time_usecs"` StartTimeUsecs int64 `json:"start_time_usecs"` CompleteTimeUsecs int64 `json:"complete_time_usecs"` LastUpdatedTimeUsecs int64 `json:"last_updated_time_usecs"` EntityList []EntityList `json:"entity_list,omitempty"` OperationType string `json:"operation_type"` Message string `json:"message"` PercentageComplete int `json:"percentage_complete"` ProgressStatus string `json:"progress_status"` ClusterUUID string `json:"cluster_uuid"` SubtaskUUIDList []string `json:"subtask_uuid_list,omitempty"` }
type SVpc ¶
type SVpc struct { multicloud.SVpc multicloud.STagBase LogicalTimestamp int `json:"logical_timestamp"` VlanID int `json:"vlan_id"` UUID string `json:"uuid"` Name string `json:"name"` IPConfig IPConfig `json:"ip_config,omitempty"` // contains filtered or unexported fields }
func (*SVpc) GetCidrBlock ¶
func (*SVpc) GetGlobalId ¶
func (*SVpc) GetIRouteTableById ¶
func (self *SVpc) GetIRouteTableById(routeTableId string) (cloudprovider.ICloudRouteTable, error)
func (*SVpc) GetIRouteTables ¶
func (self *SVpc) GetIRouteTables() ([]cloudprovider.ICloudRouteTable, error)
func (*SVpc) GetISecurityGroups ¶
func (self *SVpc) GetISecurityGroups() ([]cloudprovider.ICloudSecurityGroup, error)
func (*SVpc) GetIWireById ¶
func (self *SVpc) GetIWireById(wireId string) (cloudprovider.ICloudWire, error)
func (*SVpc) GetIWires ¶
func (self *SVpc) GetIWires() ([]cloudprovider.ICloudWire, error)
func (*SVpc) GetIsDefault ¶
func (*SVpc) GetRegion ¶
func (self *SVpc) GetRegion() cloudprovider.ICloudRegion
type SWire ¶
type SWire struct { multicloud.SResourceBase multicloud.STagBase // contains filtered or unexported fields }
func (*SWire) CreateINetwork ¶
func (self *SWire) CreateINetwork(opts *cloudprovider.SNetworkCreateOptions) (cloudprovider.ICloudNetwork, error)
func (*SWire) GetBandwidth ¶
func (*SWire) GetGlobalId ¶
func (*SWire) GetINetworkById ¶
func (self *SWire) GetINetworkById(netid string) (cloudprovider.ICloudNetwork, error)
func (*SWire) GetINetworks ¶
func (self *SWire) GetINetworks() ([]cloudprovider.ICloudNetwork, error)
func (*SWire) GetIVpc ¶
func (self *SWire) GetIVpc() cloudprovider.ICloudVpc
func (*SWire) GetIZone ¶
func (self *SWire) GetIZone() cloudprovider.ICloudZone
func (*SWire) IsEmulated ¶
type SZone ¶
type SZone struct { multicloud.STagBase multicloud.SResourceBase SCluster // contains filtered or unexported fields }
func (*SZone) GetGlobalId ¶
func (*SZone) GetI18n ¶
func (self *SZone) GetI18n() cloudprovider.SModelI18nTable
func (*SZone) GetIHostById ¶
func (self *SZone) GetIHostById(id string) (cloudprovider.ICloudHost, error)
func (*SZone) GetIHosts ¶
func (self *SZone) GetIHosts() ([]cloudprovider.ICloudHost, error)
func (*SZone) GetIRegion ¶
func (self *SZone) GetIRegion() cloudprovider.ICloudRegion
func (*SZone) GetIStorageById ¶
func (self *SZone) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)
func (*SZone) GetIStorages ¶
func (self *SZone) GetIStorages() ([]cloudprovider.ICloudStorage, error)
type SecurityComplianceConfig ¶
type SecurityComplianceConfig struct { Schedule string `json:"schedule"` EnableAide bool `json:"enable_aide"` EnableCore bool `json:"enable_core"` EnableHighStrengthPassword bool `json:"enable_high_strength_password"` EnableBanner bool `json:"enable_banner"` EnableSnmpv3Only bool `json:"enable_snmpv3_only"` }
type SourceDiskAddress ¶
type SourceDiskAddress struct {
VmdiskUUID string `json:"vmdisk_uuid"`
}
type Stats ¶
type Stats struct { HypervisorAvgIoLatencyUsecs string `json:"hypervisor_avg_io_latency_usecs"` NumReadIops string `json:"num_read_iops"` HypervisorWriteIoBandwidthKBps string `json:"hypervisor_write_io_bandwidth_kBps"` TimespanUsecs string `json:"timespan_usecs"` ControllerNumReadIops string `json:"controller_num_read_iops"` ReadIoPpm string `json:"read_io_ppm"` ControllerNumIops string `json:"controller_num_iops"` TotalReadIoTimeUsecs string `json:"total_read_io_time_usecs"` ControllerTotalReadIoTimeUsecs string `json:"controller_total_read_io_time_usecs"` HypervisorNumIo string `json:"hypervisor_num_io"` ControllerTotalTransformedUsageBytes string `json:"controller_total_transformed_usage_bytes"` HypervisorCPUUsagePpm string `json:"hypervisor_cpu_usage_ppm"` ControllerNumWriteIo string `json:"controller_num_write_io"` AvgReadIoLatencyUsecs string `json:"avg_read_io_latency_usecs"` ContentCacheLogicalSsdUsageBytes string `json:"content_cache_logical_ssd_usage_bytes"` ControllerTotalIoTimeUsecs string `json:"controller_total_io_time_usecs"` ControllerTotalReadIoSizeKbytes string `json:"controller_total_read_io_size_kbytes"` ControllerNumSeqIo string `json:"controller_num_seq_io"` ControllerReadIoPpm string `json:"controller_read_io_ppm"` ContentCacheNumLookups string `json:"content_cache_num_lookups"` ControllerTotalIoSizeKbytes string `json:"controller_total_io_size_kbytes"` ContentCacheHitPpm string `json:"content_cache_hit_ppm"` ControllerNumIo string `json:"controller_num_io"` HypervisorAvgReadIoLatencyUsecs string `json:"hypervisor_avg_read_io_latency_usecs"` ContentCacheNumDedupRefCountPph string `json:"content_cache_num_dedup_ref_count_pph"` NumWriteIops string `json:"num_write_iops"` ControllerNumRandomIo string `json:"controller_num_random_io"` NumIops string `json:"num_iops"` HypervisorNumReadIo string `json:"hypervisor_num_read_io"` HypervisorTotalReadIoTimeUsecs string `json:"hypervisor_total_read_io_time_usecs"` ControllerAvgIoLatencyUsecs string `json:"controller_avg_io_latency_usecs"` NumIo string `json:"num_io"` ControllerNumReadIo string `json:"controller_num_read_io"` HypervisorNumWriteIo string `json:"hypervisor_num_write_io"` ControllerSeqIoPpm string `json:"controller_seq_io_ppm"` ControllerReadIoBandwidthKBps string `json:"controller_read_io_bandwidth_kBps"` ControllerIoBandwidthKBps string `json:"controller_io_bandwidth_kBps"` HypervisorNumReceivedBytes string `json:"hypervisor_num_received_bytes"` HypervisorTimespanUsecs string `json:"hypervisor_timespan_usecs"` HypervisorNumWriteIops string `json:"hypervisor_num_write_iops"` TotalReadIoSizeKbytes string `json:"total_read_io_size_kbytes"` HypervisorTotalIoSizeKbytes string `json:"hypervisor_total_io_size_kbytes"` AvgIoLatencyUsecs string `json:"avg_io_latency_usecs"` HypervisorNumReadIops string `json:"hypervisor_num_read_iops"` ContentCacheSavedSsdUsageBytes string `json:"content_cache_saved_ssd_usage_bytes"` ControllerWriteIoBandwidthKBps string `json:"controller_write_io_bandwidth_kBps"` ControllerWriteIoPpm string `json:"controller_write_io_ppm"` HypervisorAvgWriteIoLatencyUsecs string `json:"hypervisor_avg_write_io_latency_usecs"` HypervisorNumTransmittedBytes string `json:"hypervisor_num_transmitted_bytes"` HypervisorTotalReadIoSizeKbytes string `json:"hypervisor_total_read_io_size_kbytes"` ReadIoBandwidthKBps string `json:"read_io_bandwidth_kBps"` HypervisorMemoryUsagePpm string `json:"hypervisor_memory_usage_ppm"` HypervisorNumIops string `json:"hypervisor_num_iops"` HypervisorIoBandwidthKBps string `json:"hypervisor_io_bandwidth_kBps"` ControllerNumWriteIops string `json:"controller_num_write_iops"` TotalIoTimeUsecs string `json:"total_io_time_usecs"` ContentCachePhysicalSsdUsageBytes string `json:"content_cache_physical_ssd_usage_bytes"` ControllerRandomIoPpm string `json:"controller_random_io_ppm"` ControllerAvgReadIoSizeKbytes string `json:"controller_avg_read_io_size_kbytes"` TotalTransformedUsageBytes string `json:"total_transformed_usage_bytes"` AvgWriteIoLatencyUsecs string `json:"avg_write_io_latency_usecs"` NumReadIo string `json:"num_read_io"` WriteIoBandwidthKBps string `json:"write_io_bandwidth_kBps"` HypervisorReadIoBandwidthKBps string `json:"hypervisor_read_io_bandwidth_kBps"` RandomIoPpm string `json:"random_io_ppm"` TotalUntransformedUsageBytes string `json:"total_untransformed_usage_bytes"` HypervisorTotalIoTimeUsecs string `json:"hypervisor_total_io_time_usecs"` NumRandomIo string `json:"num_random_io"` ControllerAvgWriteIoSizeKbytes string `json:"controller_avg_write_io_size_kbytes"` ControllerAvgReadIoLatencyUsecs string `json:"controller_avg_read_io_latency_usecs"` NumWriteIo string `json:"num_write_io"` TotalIoSizeKbytes string `json:"total_io_size_kbytes"` IoBandwidthKBps string `json:"io_bandwidth_kBps"` ContentCachePhysicalMemoryUsageBytes string `json:"content_cache_physical_memory_usage_bytes"` ControllerTimespanUsecs string `json:"controller_timespan_usecs"` NumSeqIo string `json:"num_seq_io"` ContentCacheSavedMemoryUsageBytes string `json:"content_cache_saved_memory_usage_bytes"` SeqIoPpm string `json:"seq_io_ppm"` WriteIoPpm string `json:"write_io_ppm"` ControllerAvgWriteIoLatencyUsecs string `json:"controller_avg_write_io_latency_usecs"` ContentCacheLogicalMemoryUsageBytes string `json:"content_cache_logical_memory_usage_bytes"` }
type StorageStats ¶
type StorageStats struct { HypervisorAvgIoLatencyUsecs string `json:"hypervisor_avg_io_latency_usecs"` NumReadIops string `json:"num_read_iops"` HypervisorWriteIoBandwidthKBps string `json:"hypervisor_write_io_bandwidth_kBps"` TimespanUsecs string `json:"timespan_usecs"` ControllerNumReadIops string `json:"controller_num_read_iops"` ReadIoPpm string `json:"read_io_ppm"` ControllerNumIops string `json:"controller_num_iops"` TotalReadIoTimeUsecs string `json:"total_read_io_time_usecs"` ControllerTotalReadIoTimeUsecs string `json:"controller_total_read_io_time_usecs"` HypervisorNumIo string `json:"hypervisor_num_io"` ControllerTotalTransformedUsageBytes string `json:"controller_total_transformed_usage_bytes"` ControllerNumWriteIo string `json:"controller_num_write_io"` AvgReadIoLatencyUsecs string `json:"avg_read_io_latency_usecs"` ControllerTotalIoTimeUsecs string `json:"controller_total_io_time_usecs"` ControllerTotalReadIoSizeKbytes string `json:"controller_total_read_io_size_kbytes"` ControllerNumSeqIo string `json:"controller_num_seq_io"` ControllerReadIoPpm string `json:"controller_read_io_ppm"` ControllerTotalIoSizeKbytes string `json:"controller_total_io_size_kbytes"` ControllerNumIo string `json:"controller_num_io"` HypervisorAvgReadIoLatencyUsecs string `json:"hypervisor_avg_read_io_latency_usecs"` NumWriteIops string `json:"num_write_iops"` ControllerNumRandomIo string `json:"controller_num_random_io"` NumIops string `json:"num_iops"` HypervisorNumReadIo string `json:"hypervisor_num_read_io"` HypervisorTotalReadIoTimeUsecs string `json:"hypervisor_total_read_io_time_usecs"` ControllerAvgIoLatencyUsecs string `json:"controller_avg_io_latency_usecs"` NumIo string `json:"num_io"` ControllerNumReadIo string `json:"controller_num_read_io"` HypervisorNumWriteIo string `json:"hypervisor_num_write_io"` ControllerSeqIoPpm string `json:"controller_seq_io_ppm"` ControllerReadIoBandwidthKBps string `json:"controller_read_io_bandwidth_kBps"` ControllerIoBandwidthKBps string `json:"controller_io_bandwidth_kBps"` HypervisorTimespanUsecs string `json:"hypervisor_timespan_usecs"` HypervisorNumWriteIops string `json:"hypervisor_num_write_iops"` TotalReadIoSizeKbytes string `json:"total_read_io_size_kbytes"` HypervisorTotalIoSizeKbytes string `json:"hypervisor_total_io_size_kbytes"` AvgIoLatencyUsecs string `json:"avg_io_latency_usecs"` HypervisorNumReadIops string `json:"hypervisor_num_read_iops"` ControllerWriteIoBandwidthKBps string `json:"controller_write_io_bandwidth_kBps"` ControllerWriteIoPpm string `json:"controller_write_io_ppm"` HypervisorAvgWriteIoLatencyUsecs string `json:"hypervisor_avg_write_io_latency_usecs"` HypervisorTotalReadIoSizeKbytes string `json:"hypervisor_total_read_io_size_kbytes"` ReadIoBandwidthKBps string `json:"read_io_bandwidth_kBps"` HypervisorNumIops string `json:"hypervisor_num_iops"` HypervisorIoBandwidthKBps string `json:"hypervisor_io_bandwidth_kBps"` ControllerNumWriteIops string `json:"controller_num_write_iops"` TotalIoTimeUsecs string `json:"total_io_time_usecs"` ControllerRandomIoPpm string `json:"controller_random_io_ppm"` ControllerAvgReadIoSizeKbytes string `json:"controller_avg_read_io_size_kbytes"` TotalTransformedUsageBytes string `json:"total_transformed_usage_bytes"` AvgWriteIoLatencyUsecs string `json:"avg_write_io_latency_usecs"` NumReadIo string `json:"num_read_io"` WriteIoBandwidthKBps string `json:"write_io_bandwidth_kBps"` HypervisorReadIoBandwidthKBps string `json:"hypervisor_read_io_bandwidth_kBps"` RandomIoPpm string `json:"random_io_ppm"` TotalUntransformedUsageBytes string `json:"total_untransformed_usage_bytes"` HypervisorTotalIoTimeUsecs string `json:"hypervisor_total_io_time_usecs"` NumRandomIo string `json:"num_random_io"` ControllerAvgWriteIoSizeKbytes string `json:"controller_avg_write_io_size_kbytes"` ControllerAvgReadIoLatencyUsecs string `json:"controller_avg_read_io_latency_usecs"` NumWriteIo string `json:"num_write_io"` TotalIoSizeKbytes string `json:"total_io_size_kbytes"` IoBandwidthKBps string `json:"io_bandwidth_kBps"` ControllerTimespanUsecs string `json:"controller_timespan_usecs"` NumSeqIo string `json:"num_seq_io"` SeqIoPpm string `json:"seq_io_ppm"` WriteIoPpm string `json:"write_io_ppm"` ControllerAvgWriteIoLatencyUsecs string `json:"controller_avg_write_io_latency_usecs"` }
type StorageUsageStats ¶
type StorageUsageStats struct { StorageUserUnreservedOwnUsageBytes string `json:"storage.user_unreserved_own_usage_bytes"` StorageReservedFreeBytes string `json:"storage.reserved_free_bytes"` DataReductionOverallSavingRatioPpm string `json:"data_reduction.overall.saving_ratio_ppm"` DataReductionUserSavedBytes string `json:"data_reduction.user_saved_bytes"` StorageTierDasSataUsageBytes string `json:"storage_tier.das-sata.usage_bytes"` DataReductionErasureCodingPostReductionBytes string `json:"data_reduction.erasure_coding.post_reduction_bytes"` StorageReservedUsageBytes string `json:"storage.reserved_usage_bytes"` StorageUserUnreservedUsageBytes int64 `json:"storage.user_unreserved_usage_bytes"` StorageUsageBytes string `json:"storage.usage_bytes"` DataReductionCompressionUserSavedBytes string `json:"data_reduction.compression.user_saved_bytes"` DataReductionErasureCodingUserPreReductionBytes string `json:"data_reduction.erasure_coding.user_pre_reduction_bytes"` StorageUserUnreservedCapacityBytes string `json:"storage.user_unreserved_capacity_bytes"` StorageUserCapacityBytes int64 `json:"storage.user_capacity_bytes"` StorageUserStoragePoolCapacityBytes string `json:"storage.user_storage_pool_capacity_bytes"` DataReductionPreReductionBytes string `json:"data_reduction.pre_reduction_bytes"` DataReductionUserPreReductionBytes string `json:"data_reduction.user_pre_reduction_bytes"` StorageUserOtherContainersReservedCapacityBytes string `json:"storage.user_other_containers_reserved_capacity_bytes"` DataReductionErasureCodingPreReductionBytes string `json:"data_reduction.erasure_coding.pre_reduction_bytes"` StorageCapacityBytes int64 `json:"storage.capacity_bytes"` StorageUserUnreservedFreeBytes string `json:"storage.user_unreserved_free_bytes"` DataReductionCloneUserSavedBytes string `json:"data_reduction.clone.user_saved_bytes"` DataReductionDedupPostReductionBytes string `json:"data_reduction.dedup.post_reduction_bytes"` DataReductionCloneSavingRatioPpm string `json:"data_reduction.clone.saving_ratio_ppm"` StorageLogicalUsageBytes string `json:"storage.logical_usage_bytes"` DataReductionSavedBytes string `json:"data_reduction.saved_bytes"` StorageUserDiskPhysicalUsageBytes string `json:"storage.user_disk_physical_usage_bytes"` StorageFreeBytes string `json:"storage.free_bytes"` DataReductionCompressionPostReductionBytes string `json:"data_reduction.compression.post_reduction_bytes"` DataReductionCompressionUserPostReductionBytes string `json:"data_reduction.compression.user_post_reduction_bytes"` StorageUserFreeBytes string `json:"storage.user_free_bytes"` StorageUnreservedFreeBytes string `json:"storage.unreserved_free_bytes"` StorageUserContainerOwnUsageBytes string `json:"storage.user_container_own_usage_bytes"` DataReductionCompressionSavingRatioPpm string `json:"data_reduction.compression.saving_ratio_ppm"` StorageUserUsageBytes int64 `json:"storage.user_usage_bytes"` DataReductionErasureCodingUserSavedBytes string `json:"data_reduction.erasure_coding.user_saved_bytes"` DataReductionDedupSavingRatioPpm string `json:"data_reduction.dedup.saving_ratio_ppm"` StorageUnreservedCapacityBytes string `json:"storage.unreserved_capacity_bytes"` StorageUserReservedUsageBytes string `json:"storage.user_reserved_usage_bytes"` DataReductionCompressionUserPreReductionBytes string `json:"data_reduction.compression.user_pre_reduction_bytes"` DataReductionUserPostReductionBytes string `json:"data_reduction.user_post_reduction_bytes"` DataReductionOverallUserSavedBytes string `json:"data_reduction.overall.user_saved_bytes"` DataReductionErasureCodingParityBytes string `json:"data_reduction.erasure_coding.parity_bytes"` DataReductionSavingRatioPpm string `json:"data_reduction.saving_ratio_ppm"` StorageUnreservedOwnUsageBytes string `json:"storage.unreserved_own_usage_bytes"` DataReductionErasureCodingSavingRatioPpm string `json:"data_reduction.erasure_coding.saving_ratio_ppm"` StorageUserReservedCapacityBytes string `json:"storage.user_reserved_capacity_bytes"` DataReductionThinProvisionUserSavedBytes string `json:"data_reduction.thin_provision.user_saved_bytes"` StorageDiskPhysicalUsageBytes string `json:"storage.disk_physical_usage_bytes"` DataReductionErasureCodingUserPostReductionBytes string `json:"data_reduction.erasure_coding.user_post_reduction_bytes"` DataReductionCompressionPreReductionBytes string `json:"data_reduction.compression.pre_reduction_bytes"` DataReductionDedupPreReductionBytes string `json:"data_reduction.dedup.pre_reduction_bytes"` DataReductionDedupUserSavedBytes string `json:"data_reduction.dedup.user_saved_bytes"` StorageUnreservedUsageBytes string `json:"storage.unreserved_usage_bytes"` StorageTierSsdUsageBytes string `json:"storage_tier.ssd.usage_bytes"` DataReductionPostReductionBytes string `json:"data_reduction.post_reduction_bytes"` DataReductionThinProvisionSavingRatioPpm string `json:"data_reduction.thin_provision.saving_ratio_ppm"` StorageReservedCapacityBytes string `json:"storage.reserved_capacity_bytes"` StorageUserReservedFreeBytes string `json:"storage.user_reserved_free_bytes"` }
type UsageStats ¶
type UsageStats struct { StorageTierDasSataUsageBytes string `json:"storage_tier.das-sata.usage_bytes"` StorageCapacityBytes string `json:"storage.capacity_bytes"` StorageLogicalUsageBytes string `json:"storage.logical_usage_bytes"` StorageTierDasSataCapacityBytes string `json:"storage_tier.das-sata.capacity_bytes"` StorageFreeBytes string `json:"storage.free_bytes"` StorageTierSsdUsageBytes string `json:"storage_tier.ssd.usage_bytes"` StorageTierSsdCapacityBytes string `json:"storage_tier.ssd.capacity_bytes"` StorageTierDasSataFreeBytes string `json:"storage_tier.das-sata.free_bytes"` StorageUsageBytes string `json:"storage.usage_bytes"` StorageTierSsdFreeBytes string `json:"storage_tier.ssd.free_bytes"` }
type VMDiskInfo ¶
type VMDiskInfo struct { IsCdrom bool `json:"is_cdrom"` IsEmpty bool `json:"is_empty"` FlashModeEnabled bool `json:"flash_mode_enabled"` IsScsiPassthrough bool `json:"is_scsi_passthrough"` IsHotRemoveEnabled bool `json:"is_hot_remove_enabled"` IsThinProvisioned bool `json:"is_thin_provisioned"` SourceDiskAddress SourceDiskAddress `json:"source_disk_address,omitempty"` StorageContainerUUID string `json:"storage_container_uuid,omitempty"` Size int64 `json:"size,omitempty"` DataSourceURL string `json:"data_source_url"` DiskAddress DiskAddress `json:"disk_address,omitempty"` }
type VMFeatures ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.