nutanix

package
v0.3.10-0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2022 License: Apache-2.0 Imports: 26 Imported by: 3

Documentation

Index

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 Boot

type Boot struct {
	UefiBoot bool `json:"uefi_boot"`
}

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 DiskAddress struct {
	DeviceBus    string `json:"device_bus"`
	DeviceIndex  int    `json:"device_index"`
	DiskLabel    string `json:"disk_label"`
	NdfsFilepath string `json:"ndfs_filepath"`
	VmdiskUUID   string `json:"vmdisk_uuid"`
	DeviceUUID   string `json:"device_uuid"`
}

type DiskHardwareConfigs

type DiskHardwareConfigs struct {
	Num1 Num1 `json:"1"`
	Num2 Num2 `json:"2"`
}

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 DownMigrateTimesInSecs struct {
	SSDSATA int `json:"SSD-SATA"`
	SSDPCIe int `json:"SSD-PCIe"`
	DASSATA int `json:"DAS-SATA"`
}

type EntityList

type EntityList struct {
	EntityID   string      `json:"entity_id"`
	EntityType string      `json:"entity_type"`
	EntityName interface{} `json:"entity_name"`
}

type HypervisorLldpConfig

type HypervisorLldpConfig struct {
	EnableLldpTx bool `json:"enable_lldp_tx"`
}

type HypervisorSecurityComplianceConfig

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

type IPConfig

type IPConfig struct {
	NetworkAddress    string      `json:"network_address"`
	PrefixLength      int         `json:"prefix_length"`
	DefaultGateway    string      `json:"default_gateway"`
	DhcpOptions       DhcpOptions `json:"dhcp_options"`
	Pool              []SPool     `json:"pool"`
	DhcpServerAddress string      `json:"dhcp_server_address"`
}

type KeyManagementDeviceToCertificateStatus

type KeyManagementDeviceToCertificateStatus struct {
}

type MappedRemoteContainers

type MappedRemoteContainers struct {
}

type MetaRequest

type MetaRequest struct {
	MethodName string `json:"method_name"`
}

type MetaResponse

type MetaResponse struct {
	ErrorCode   int    `json:"error_code"`
	ErrorDetail string `json:"error_detail"`
}

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 (*NutanixClientConfig) Debug

func (cfg *NutanixClientConfig) Debug(debug bool) *NutanixClientConfig

type Position

type Position struct {
	Ordinal          int    `json:"ordinal"`
	Name             string `json:"name"`
	PhysicalPosition string `json:"physical_position"`
}

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 RedundancyStatus struct {
	KCassandraPrepareDone bool `json:"kCassandraPrepareDone"`
	KZookeeperPrepareDone bool `json:"kZookeeperPrepareDone"`
}

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) Delete

func (self *SDisk) Delete(ctx context.Context) error

func (*SDisk) GetAccessPath

func (self *SDisk) GetAccessPath() string

func (*SDisk) GetCacheMode

func (self *SDisk) GetCacheMode() string

func (*SDisk) GetDiskFormat

func (self *SDisk) GetDiskFormat() string

func (*SDisk) GetDiskSizeMB

func (self *SDisk) GetDiskSizeMB() int

func (*SDisk) GetDiskType

func (self *SDisk) GetDiskType() string

func (*SDisk) GetDriver

func (self *SDisk) GetDriver() string

func (*SDisk) GetFsFormat

func (self *SDisk) GetFsFormat() string

func (*SDisk) GetGlobalId

func (self *SDisk) GetGlobalId() string

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) GetId

func (self *SDisk) GetId() string

func (*SDisk) GetIsAutoDelete

func (self *SDisk) GetIsAutoDelete() bool

func (*SDisk) GetIsNonPersistent

func (self *SDisk) GetIsNonPersistent() bool

func (*SDisk) GetMountpoint

func (self *SDisk) GetMountpoint() string

func (*SDisk) GetName

func (self *SDisk) GetName() string

func (*SDisk) GetStatus

func (self *SDisk) GetStatus() string

func (*SDisk) GetTemplateId

func (self *SDisk) GetTemplateId() string

func (*SDisk) Rebuild

func (self *SDisk) Rebuild(ctx context.Context) error

func (*SDisk) Reset

func (self *SDisk) Reset(ctx context.Context, snapshotId string) (string, error)

func (*SDisk) Resize

func (self *SDisk) Resize(ctx context.Context, sizeMb int64) error

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 (*SHost) GetAccessIp

func (self *SHost) GetAccessIp() string

func (*SHost) GetAccessMac

func (self *SHost) GetAccessMac() string

func (*SHost) GetCpuCmtbound

func (self *SHost) GetCpuCmtbound() float32

func (*SHost) GetCpuCount

func (self *SHost) GetCpuCount() int

func (*SHost) GetCpuDesc

func (self *SHost) GetCpuDesc() string

func (*SHost) GetCpuMhz

func (self *SHost) GetCpuMhz() int

func (*SHost) GetEnabled

func (self *SHost) GetEnabled() bool

func (*SHost) GetGlobalId

func (self *SHost) GetGlobalId() string

func (*SHost) GetHostStatus

func (self *SHost) GetHostStatus() string

func (*SHost) GetHostType

func (self *SHost) GetHostType() string

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) GetIVMs

func (self *SHost) GetIVMs() ([]cloudprovider.ICloudVM, error)

func (*SHost) GetIWires

func (self *SHost) GetIWires() ([]cloudprovider.ICloudWire, error)

func (*SHost) GetId

func (self *SHost) GetId() string

func (*SHost) GetIsMaintenance

func (self *SHost) GetIsMaintenance() bool

func (*SHost) GetMemCmtbound

func (self *SHost) GetMemCmtbound() float32

func (*SHost) GetMemSizeMB

func (self *SHost) GetMemSizeMB() int

func (*SHost) GetName

func (self *SHost) GetName() string

func (*SHost) GetNodeCount

func (self *SHost) GetNodeCount() int8

func (*SHost) GetSN

func (self *SHost) GetSN() string

func (*SHost) GetStatus

func (self *SHost) GetStatus() string

func (*SHost) GetStorageSizeMB

func (self *SHost) GetStorageSizeMB() int

func (*SHost) GetStorageType

func (self *SHost) GetStorageType() string

func (*SHost) GetSysInfo

func (self *SHost) GetSysInfo() jsonutils.JSONObject

func (*SHost) GetVersion

func (self *SHost) GetVersion() string

func (*SHost) IsEmulated

func (self *SHost) IsEmulated() bool

func (*SHost) Refresh

func (self *SHost) Refresh() error

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) Delete

func (self *SImage) Delete(ctx context.Context) error

func (*SImage) GetBios

func (ins *SImage) GetBios() cloudprovider.TBiosType

func (*SImage) GetCreatedAt

func (self *SImage) GetCreatedAt() time.Time

func (*SImage) GetFullOsName

func (img *SImage) GetFullOsName() string

func (*SImage) GetGlobalId

func (self *SImage) GetGlobalId() string

func (*SImage) GetIStoragecache

func (self *SImage) GetIStoragecache() cloudprovider.ICloudStoragecache

func (*SImage) GetId

func (self *SImage) GetId() string

func (*SImage) GetImageFormat

func (self *SImage) GetImageFormat() string

func (*SImage) GetImageStatus

func (self *SImage) GetImageStatus() string

func (*SImage) GetImageType

func (self *SImage) GetImageType() cloudprovider.TImageType

func (*SImage) GetMinOsDiskSizeGb

func (self *SImage) GetMinOsDiskSizeGb() int

func (*SImage) GetMinRamSizeMb

func (self *SImage) GetMinRamSizeMb() int

func (*SImage) GetName

func (self *SImage) GetName() string

func (*SImage) GetOsArch

func (ins *SImage) GetOsArch() string

func (*SImage) GetOsDist

func (ins *SImage) GetOsDist() string

func (*SImage) GetOsLang

func (ins *SImage) GetOsLang() string

func (*SImage) GetOsType

func (ins *SImage) GetOsType() cloudprovider.TOsType

func (*SImage) GetOsVersion

func (ins *SImage) GetOsVersion() string

func (*SImage) GetSizeByte

func (self *SImage) GetSizeByte() int64

func (*SImage) GetStatus

func (self *SImage) GetStatus() string

func (*SImage) Refresh

func (self *SImage) Refresh() error

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 (self *SInstance) AssignSecurityGroup(id string) error

func (*SInstance) AttachDisk

func (self *SInstance) AttachDisk(ctx context.Context, diskId string) error

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) DeleteVM

func (self *SInstance) DeleteVM(ctx context.Context) error

func (*SInstance) DeployVM

func (self *SInstance) DeployVM(ctx context.Context, name string, username string, password string, publicKey string, deleteKeypair bool, description string) error

func (*SInstance) DetachDisk

func (self *SInstance) DetachDisk(ctx context.Context, diskId string) error

func (*SInstance) GetBios

func (self *SInstance) GetBios() cloudprovider.TBiosType

func (*SInstance) GetBootOrder

func (self *SInstance) GetBootOrder() string

func (*SInstance) GetError

func (self *SInstance) GetError() error

func (*SInstance) GetFullOsName

func (self *SInstance) GetFullOsName() string

func (*SInstance) GetGlobalId

func (self *SInstance) GetGlobalId() string

func (*SInstance) GetHostname

func (self *SInstance) GetHostname() string

func (*SInstance) GetHypervisor

func (self *SInstance) GetHypervisor() string

func (*SInstance) GetIDisks

func (self *SInstance) GetIDisks() ([]cloudprovider.ICloudDisk, error)

func (*SInstance) GetIEIP

func (self *SInstance) GetIEIP() (cloudprovider.ICloudEIP, error)

func (*SInstance) GetIHost

func (self *SInstance) GetIHost() cloudprovider.ICloudHost

func (*SInstance) GetINics

func (self *SInstance) GetINics() ([]cloudprovider.ICloudNic, error)

func (*SInstance) GetId

func (self *SInstance) GetId() string

func (*SInstance) GetInstanceType

func (self *SInstance) GetInstanceType() string

func (*SInstance) GetMachine

func (self *SInstance) GetMachine() string

func (*SInstance) GetName

func (self *SInstance) GetName() string

func (*SInstance) GetOsArch

func (ins *SInstance) GetOsArch() string

func (*SInstance) GetOsDist

func (ins *SInstance) GetOsDist() string

func (*SInstance) GetOsLang

func (ins *SInstance) GetOsLang() string

func (*SInstance) GetOsType

func (self *SInstance) GetOsType() cloudprovider.TOsType

func (*SInstance) GetOsVersion

func (ins *SInstance) GetOsVersion() string

func (*SInstance) GetProjectId

func (self *SInstance) GetProjectId() string

func (*SInstance) GetSecurityGroupIds

func (self *SInstance) GetSecurityGroupIds() ([]string, error)

func (*SInstance) GetStatus

func (self *SInstance) GetStatus() string

"UNKNOWN", "OFF", "POWERING_ON", "ON", "SHUTTING_DOWN", "POWERING_OFF", "PAUSING", "PAUSED", "SUSPENDING", "SUSPENDED", "RESUMING", "RESETTING", "MIGRATING"

func (*SInstance) GetVNCInfo

func (*SInstance) GetVcpuCount

func (self *SInstance) GetVcpuCount() int

func (*SInstance) GetVdi

func (self *SInstance) GetVdi() string

func (*SInstance) GetVga

func (self *SInstance) GetVga() string

func (*SInstance) GetVmemSizeMB

func (self *SInstance) GetVmemSizeMB() int

func (*SInstance) RebuildRoot

func (*SInstance) Refresh

func (self *SInstance) Refresh() error

func (*SInstance) SetSecurityGroups

func (self *SInstance) SetSecurityGroups(secgroupIds []string) error

func (*SInstance) StartVM

func (self *SInstance) StartVM(ctx context.Context) error

func (*SInstance) StopVM

func (self *SInstance) StopVM(ctx context.Context, opts *cloudprovider.ServerStopOptions) error

func (*SInstance) UpdateUserData

func (self *SInstance) UpdateUserData(userData string) error

func (*SInstance) UpdateVM

func (self *SInstance) UpdateVM(ctx context.Context, name string) error

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) Contains

func (self *SNetwork) Contains(_ip string) bool

func (*SNetwork) Delete

func (self *SNetwork) Delete() error

func (*SNetwork) GetAllocTimeoutSeconds

func (self *SNetwork) GetAllocTimeoutSeconds() int

func (*SNetwork) GetGateway

func (self *SNetwork) GetGateway() string

func (*SNetwork) GetGlobalId

func (self *SNetwork) GetGlobalId() string

func (*SNetwork) GetIWire

func (self *SNetwork) GetIWire() cloudprovider.ICloudWire

func (*SNetwork) GetId

func (self *SNetwork) GetId() string

func (*SNetwork) GetIpEnd

func (self *SNetwork) GetIpEnd() string

func (*SNetwork) GetIpMask

func (self *SNetwork) GetIpMask() int8

func (*SNetwork) GetIpStart

func (self *SNetwork) GetIpStart() string

func (*SNetwork) GetName

func (self *SNetwork) GetName() string

func (*SNetwork) GetProjectId

func (self *SNetwork) GetProjectId() string

func (*SNetwork) GetPublicScope

func (self *SNetwork) GetPublicScope() rbacutils.TRbacScope

func (*SNetwork) GetServerType

func (self *SNetwork) GetServerType() string

func (*SNetwork) GetStatus

func (self *SNetwork) GetStatus() string

func (*SNetwork) IsEmulated

func (self *SNetwork) IsEmulated() bool

func (*SNetwork) Refresh

func (self *SNetwork) Refresh() error

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 SPool

type SPool struct {
	Range string `json:"range"`
}

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 (*SRegion) CreateIVpc

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 (self *SRegion) DeleteNetwork(vpcId string, _range string) error

func (*SRegion) DeleteVM

func (self *SRegion) DeleteVM(id string) error

func (*SRegion) DeleteVpc

func (self *SRegion) DeleteVpc(id string) error

func (*SRegion) GetCapabilities

func (self *SRegion) GetCapabilities() []string

func (*SRegion) GetCloudEnv

func (self *SRegion) GetCloudEnv() string

func (*SRegion) GetCluster

func (self *SRegion) GetCluster(id string) (*SCluster, error)

func (*SRegion) GetClusters

func (self *SRegion) GetClusters() ([]SCluster, error)

func (*SRegion) GetDisk

func (self *SRegion) GetDisk(id string) (*SDisk, error)

func (*SRegion) GetDisks

func (self *SRegion) GetDisks(storageId, vmId string) ([]SDisk, error)

func (*SRegion) GetGeographicInfo

func (self *SRegion) GetGeographicInfo() cloudprovider.SGeographicInfo

func (*SRegion) GetGlobalId

func (self *SRegion) GetGlobalId() string

func (*SRegion) GetHost

func (self *SRegion) GetHost(id string) (*SHost, error)

func (*SRegion) GetHosts

func (self *SRegion) GetHosts() ([]SHost, error)

func (*SRegion) GetI18n

func (self *SRegion) GetI18n() cloudprovider.SModelI18nTable

func (*SRegion) GetIEipById

func (self *SRegion) GetIEipById(id string) (cloudprovider.ICloudEIP, error)

func (*SRegion) GetIEips

func (self *SRegion) GetIEips() ([]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 (*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) GetIVpcs

func (self *SRegion) GetIVpcs() ([]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) GetId

func (self *SRegion) GetId() string

func (*SRegion) GetImage

func (self *SRegion) GetImage(id string) (*SImage, error)

func (*SRegion) GetImages

func (self *SRegion) GetImages() ([]SImage, error)

func (*SRegion) GetInstance

func (self *SRegion) GetInstance(id string) (*SInstance, error)

func (*SRegion) GetInstanceNics

func (self *SRegion) GetInstanceNics(id string) ([]SInstanceNic, error)

func (*SRegion) GetInstances

func (self *SRegion) GetInstances() ([]SInstance, error)

func (*SRegion) GetName

func (self *SRegion) GetName() string

func (*SRegion) GetProvider

func (self *SRegion) GetProvider() string

func (*SRegion) GetStatus

func (self *SRegion) GetStatus() string

func (*SRegion) GetStorage

func (self *SRegion) GetStorage(id string) (*SStorage, error)

func (*SRegion) GetStorages

func (self *SRegion) GetStorages() ([]SStorage, error)

func (*SRegion) GetTask

func (self *SRegion) GetTask(id string) (*STask, error)

func (*SRegion) GetTasks

func (self *SRegion) GetTasks() ([]STask, error)

func (*SRegion) GetVpc

func (self *SRegion) GetVpc(id string) (*SVpc, error)

func (*SRegion) GetVpcs

func (self *SRegion) GetVpcs() ([]SVpc, error)

func (*SRegion) SetInstancePowerState

func (self *SRegion) SetInstancePowerState(id string, state string) error

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 (*SStorage) GetCapacityMB

func (self *SStorage) GetCapacityMB() int64

func (*SStorage) GetCapacityUsedMB

func (self *SStorage) GetCapacityUsedMB() int64

func (*SStorage) GetEnabled

func (self *SStorage) GetEnabled() bool

func (*SStorage) GetGlobalId

func (self *SStorage) GetGlobalId() string

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) GetId

func (self *SStorage) GetId() string

func (*SStorage) GetMediumType

func (self *SStorage) GetMediumType() string

func (*SStorage) GetMountPoint

func (self *SStorage) GetMountPoint() string

func (*SStorage) GetName

func (self *SStorage) GetName() string

func (*SStorage) GetStatus

func (self *SStorage) GetStatus() string

func (*SStorage) GetStorageConf

func (self *SStorage) GetStorageConf() jsonutils.JSONObject

func (*SStorage) GetStorageType

func (self *SStorage) GetStorageType() string

func (*SStorage) IsSysDiskStore

func (self *SStorage) IsSysDiskStore() bool

func (*SStorage) Refresh

func (self *SStorage) Refresh() error

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) Delete

func (self *SVpc) Delete() error

func (*SVpc) GetCidrBlock

func (self *SVpc) GetCidrBlock() string

func (*SVpc) GetGlobalId

func (self *SVpc) GetGlobalId() string

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) GetId

func (self *SVpc) GetId() string

func (*SVpc) GetIsDefault

func (self *SVpc) GetIsDefault() bool

func (*SVpc) GetName

func (self *SVpc) GetName() string

func (*SVpc) GetRegion

func (self *SVpc) GetRegion() cloudprovider.ICloudRegion

func (*SVpc) GetStatus

func (self *SVpc) GetStatus() string

type SWire

type SWire struct {
	multicloud.SResourceBase
	multicloud.STagBase
	// contains filtered or unexported fields
}

func (*SWire) CreateINetwork

func (*SWire) GetBandwidth

func (self *SWire) GetBandwidth() int

func (*SWire) GetGlobalId

func (self *SWire) GetGlobalId() string

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) GetId

func (self *SWire) GetId() string

func (*SWire) GetName

func (self *SWire) GetName() string

func (*SWire) GetStatus

func (self *SWire) GetStatus() string

func (*SWire) IsEmulated

func (self *SWire) IsEmulated() bool

type SZone

type SZone struct {
	multicloud.STagBase
	multicloud.SResourceBase

	SCluster
	// contains filtered or unexported fields
}

func (*SZone) GetGlobalId

func (self *SZone) GetGlobalId() string

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)

func (*SZone) GetId

func (self *SZone) GetId() string

func (*SZone) GetName

func (self *SZone) GetName() string

func (*SZone) GetStatus

func (self *SZone) GetStatus() string

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"`
	StorageUserUnreservedSharedUsageBytes            string `json:"storage.user_unreserved_shared_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"`
	Shared               bool              `json:"shared"`
	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

type VMFeatures struct {
	VGACONSOLE bool `json:"VGA_CONSOLE"`
	AGENTVM    bool `json:"AGENT_VM"`
}

type VMNics

type VMNics struct {
	MacAddress  string `json:"mac_address"`
	NetworkUUID string `json:"network_uuid"`
	NicUUID     string `json:"nic_uuid"`
	Model       string `json:"model"`
	VlanMode    string `json:"vlan_mode"`
	IsConnected bool   `json:"is_connected"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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