Versions in this module Expand all Collapse all v1 v1.0.4 Dec 12, 2025 Changes in this version + type AccessKeyInventoryView struct + AccessKeyID string + AccessKeySecret string + AccountUUID string + Description string + State string + UUID string + UserUUID string v1.0.3 Sep 23, 2025 Changes in this version + type AccountInventoryView struct + Name string + Type string + UUID string + type IMA2ProjectInventoryView struct + LinkedAccountUuid string + State string v1.0.2 Sep 22, 2025 Changes in this version + type AccountResourceRefInventoryView struct + AccountUuid string + ConcreteResourceType string + ResourceType string + ResourceUuid string v1.0.1 Sep 17, 2025 Changes in this version + const Flat + const SecurityGroup + const VirtualRouter + const Vrouter + func GetIpFromUsedIps(usedIps []UsedIp) (ip string, ip6 string) + type AttachTagToResourceResult struct + Results []AttachTagToResourceResultItem + Success bool + type AttachTagToResourceResultItem struct + Inventory TagInventory + Success bool + type BackupStorageInventoryView struct + AttachedZoneUuids []string + AvailableCapacity int64 + Fsid string + Hostname string + Mons []CephMon + PoolAvailableCapacity int64 + PoolName string + PoolReplicatedSize int + PoolUsedCapacity int64 + SshPort int + State string + Status string + TotalCapacity int64 + Type string + Url string + Username string + type BaseExecTimeView struct + EndTime time.Time + StartTime time.Time + type BaseInfoView struct + Description string + Name string + UUID string + type BaseTimeView struct + CreateDate time.Time + LastOpDate time.Time + type CdpPolicyInventoryView struct + DailyRpSinceDay int64 + ExpireTimeInDay int64 + FullBackupIntervalInDay int64 + HourlyRpSinceDay int64 + RecoveryPointPerSecond int64 + RetentionTimePerDay int64 + State param.CdpPolicyState + type CdpTaskInventoryView struct + BackupBandwidth int64 + BackupStorageUuid string + LastLatency int64 + MaxCapacity int64 + MaxLatency int64 + PolicyUuid string + ResourceRefs []CdpTaskResourceRefsView + State param.CdpTaskState + Status param.CdpTaskStatus + TaskType param.CdpTaskType + UsedCapacity int64 + type CdpTaskResourceRefsView struct + ResourceType string + ResourceUuid string + TaskUuid string + type CephMon struct + BackupStorageUuid string + CreateDate string + Hostname string + LastOpDate string + MonAddr string + MonPort int + MonUuid string + SshPassword string + SshPort int + SshUsername string + Status string + type CephPrimaryStorageMonsView struct + CreateDate string + Hostname string + LastOpDate string + MonAddr string + MonPort int + MonUuid string + PrimaryStorageUuid string + SshPassword string + SshPort int + SshUsername string + Status string + type CephPrimaryStoragePoolInventoryView struct + AliasName string + AvailableCapacity int64 + Description string + DiskUtilization float64 + PoolName string + PrimaryStorageUuid string + ReplicatedSize int + SecurityPolicy string + TotalCapacity int64 + Type string + UsedCapacity int64 + Uuid string + type CheckIpView struct + Available bool + type CloneVmInstanceInventory struct + Error *ErrorCodeView + Inventory VmInstanceInventoryView + type CloneVmInstanceResult struct + Inventories []CloneVmInstanceInventory + NumberOfClonedVm int + type ClusterHostNetworkFactsView struct + Bondings []HostBondings + Nics []HostNics + Success bool + type ClusterInventoryView struct + Architecture string + CreateDate string + HypervisorType string + LastOpDate string + Name string + State string + Type string + Uuid string + ZoneUuid string + type ConsoleInventoryView struct + Hostname string + Port int + Scheme string + Token string + type DhcpIpAddressView struct + Ip string + Ip6 string + type DiskOfferingInventoryView struct + AllocatorStrategy string + DiskSize int + SortKey int + State string + Type string + type Dns struct + CreateDate string + Dns string + LastOpDate string + VpcRouterUuid string + type DnsInventoryView struct + Dns []string + L2NetworkUuid string + Name string + type EipInventoryView struct + GuestIp string + State string + VipIp string + VipUuid string + VmNicUuid string + type ErrorCodeView struct + Cause *ErrorCodeView + Code string + Cost string + Description string + Details string + Elaboration string + Location string + Opaque map[string]interface{} + type ExistingJobDetails struct + ImageUploadUrl string + ImageUuid string + LongJobState string + LongJobUuid string + Offset int64 + type ExportImageFromBackupStorageResultView struct + Error string + ExportMd5Sum string + ImageUrl string + Success bool + type FreeIpInventoryView struct + Gateway string + Ip string + IpRangeUuid string + Netmask string + type GcResultView struct + FreedSpaceInBytes int64 + type GetCandidatePrimaryStoragesForCreatingVmView struct + DataVolumePrimaryStorages map[string][]PrimaryStorageInventoryView + RootVolumePrimaryStorages []PrimaryStorageInventoryView + type GetImageQgaView struct + Enable bool + type GetUploadImageJobDetailsResponse struct + ExistingJobDetails ExistingJobDetails + Success bool + type GetVmConsolePasswordView struct + ConsolePassword string + type GlobalConfigView struct + Category string + DefaultValue string + Value string + type GuestOsNameView struct + Name string + type GuestOsTypeView struct + Children []PlatformView + Platform string + type HostBondings struct + AllSlavesActive bool + BondingName string + CreateDate string + HostUuid string + LastOpDate string + Mac string + MiiStatus string + Miimon int + Mode string + Slaves []struct{ ... } + Uuid string + XmitHashPolicy string + type HostInventoryView struct + Architecture string + AvailableCpuCapacity int64 + AvailableMemoryCapacity int64 + ClusterUuid string + CpuNum int + CpuSockets int + HypervisorType string + ManagementIp string + SshPort int + State string + Status string + TotalCpuCapacity int64 + TotalMemoryCapacity int64 + Username string + ZoneUuid string + type HostNetworkBondingInventoryView struct + AllSlavesActive bool + BondingName string + HostUuid string + IpAddresses []string + Mac string + MiiStatus string + Miimon int64 + Mode string + Slaves []HostNetworkInterfaceInventoryView + XmitHashPolicy string + type HostNetworkInterfaceInventoryView struct + BondingUuid string + CarrierActive bool + HostUuid string + InterfaceName string + InterfaceType string + IpAddresses []string + Mac string + PciDeviceAddress string + SlaveActive bool + Speed int64 + UUID string + type HostNics struct + CarrierActive bool + CreateDate string + HostUuid string + InterfaceName string + InterfaceType string + LastOpDate string + Mac string + PciDeviceAddress string + SlaveActive bool + Speed int + Uuid string + type HostRefs struct + BondMode string + HostUuid string + LacpMode string + Netmask string + NicDrivers string + NicPciAddresses string + SdnControllerUuid string + VSwitchType string + VtepIp string + type HostRoute struct + CreateDate string + Id string + L3NetworkUuid string + LastOpDate string + Nexthop string + Prefix string + type ImageBackupStorageRefs struct + BackupStorageUuid string + CreateDate string + ExportMd5Sum string + ExportUrl string + ImageUuid string + InstallPath string + LastOpDate string + State string + type ImageView struct + ActualSize int64 + Architecture param.Architecture + BackupStorageRefs []ImageBackupStorageRefs + Format string + GuestOsType string + Md5Sum string + MediaType string + Platform string + Size int64 + State string + Status string + System string + SystemTags []string + Type string + Url string + Virtio bool + type InstanceOfferingInventoryView struct + AllocatorStrategy string + CpuNum int + CpuSpeed int + MemorySize int64 + SortKey int + State string + Type string + type IpAddressCapacityView struct + AvailableCapacity int64 + CapacityData []IpCapacityData + Ipv4AvailableCapacity int64 + Ipv4TotalCapacity int64 + Ipv4UsedIpAddressNumber int64 + Ipv6AvailableCapacity int64 + Ipv6TotalCapacity int64 + Ipv6UsedIpAddressNumber int64 + ResourceType string + Success bool + TotalCapacity int64 + UsedIpAddressNumber int64 + type IpAddressInventoryView struct + Gateway string + Ip string + IpInLong float64 + IpRangeUuid string + IpVersion float64 + L3NetworkUuid string + Netmask string + Uuid string + VmNicUuid string + type IpCapacityData struct + AvailableCapacity int64 + Ipv4AvailableCapacity int64 + Ipv4TotalCapacity int64 + Ipv4UsedIpAddressNumber int64 + Ipv6AvailableCapacity int64 + Ipv6TotalCapacity int64 + Ipv6UsedIpAddressNumber int64 + ResourceUuid string + TotalCapacity int64 + UsedIpAddressNumber int64 + type IpRangeInventory struct + AddressMode string + CreateDate string + Description string + EndIp string + Gateway string + IpRangeType string + IpVersion string + L3NetworkUuid string + LastOpDate string + Name string + Netmask string + NetworkCidr string + PrefixLen string + StartIp string + UUID string + type IpRangeInventoryView struct + AddressMode string + CreateDate string + EndIp string + Gateway string + IpVersion int + L3NetworkUuid string + LastOpDate string + Name string + Netmask string + NetworkCidr string + PrefixLen int + StartIp string + Uuid string + type IpStatisticView struct + Ip string + ResourceTypes []string + VmInstanceName string + VmInstanceType string + VmInstanceUuid string + type L2NetworkInventoryView struct + AttachedClusterUuids []string + PhysicalInterface string + Type string + Vlan int + ZoneUuid string + type L3NetworkInventoryView struct + Category string + Dns []string + DnsDomain string + EnableIPAM bool + HostRoute []HostRoute + IpRanges []IpRangeInventory + IpVersion int + L2NetworkUuid string + NetworkServices []NetworkServices + State string + System bool + Type string + ZoneUuid string + type LatestGuestToolsView struct + AgentType interface{} + Architecture string + HypervisorType string + ManagementNodeUuid string + Version interface{} + type LicenseAddOnInventoryView struct + Modules []string + Name string + type LicenseInventoryView struct + AvailableCpuNum int + AvailableHostNum int + AvailableVmNum int + CpuNum int + Expired bool + ExpiredDate time.Time + HostNum int + IssuedDate time.Time + LicenseRequest string + LicenseType string + ManagementNodeUuid string + ProdInfo string + Source string + UUID string + UploadDate time.Time + User string + VmNum int + type LongJobInventoryView struct + ApiId string + ExecuteTime int64 + JobData string + JobName string + JobResult string + ManagementNodeUuid string + State param.LongJobState + TargetResourceUuid string + type ManagementNodeInventoryView struct + HeartBeat time.Time + HostName string + JoinDate time.Time + UUID string + type MetricDataView struct + Labels map[string]interface{} + Time int64 + Value float64 + type MetricMetadataView struct + Description string + Driver string + LabelNames []string + Name string + Namespace string + type MountVmInstanceRecoveryPointView struct + ResourcePath string + type MtuView struct + Mtu int64 + type NetworkServiceProviderInventoryView struct + AttachedL2NetworkUuids []string + CreateDate string + Description string + LastOpDate string + Name string + NetworkServiceTypes []string + Type string + Uuid string + type NetworkServices struct + L3NetworkUuid string + NetworkServiceProviderUuid string + NetworkServiceType string + type NicSimpleView struct + Ip string + IpVersion string + Uuid string + VmNic VmNicView + VmNicUuid string + type OvfCdDriver struct + AutoAllocation bool + DriverType string + Name string + SubType string + type OvfCpuInfo struct + CoresPerSocket int + InstanceId string + Quantity int + type OvfDisk struct + Capacity int64 + DiskId string + FileName string + FileRef string + Format string + Index int + PopulatedSize int64 + type OvfInfo struct + CdDrivers []OvfCdDriver + Cpu OvfCpuInfo + Disks []OvfDisk + Memory OvfMemoryInfo + Networks []OvfNetwork + Nics []OvfNic + Os OvfOsInfo + SystemInfo OvfSystemInfo + VmName string + Volumes []OvfVolume + type OvfMemoryInfo struct + InstanceId string + Quantity int64 + type OvfNetwork struct + Name string + type OvfNic struct + AutoAllocation bool + NetworkName string + NicModel string + NicName string + type OvfOsInfo struct + Description string + Id int + OsType string + Version string + type OvfSystemInfo struct + FirmwareType string + VirtualSystemType string + type OvfVolume struct + DiskId string + DriverType string + Name string + type PlatformView struct + Children []ReleaseView + GuestName string + type PointResourceInfoView struct + RealSizes map[string]interface{} + Timestamp time.Time + VirtualSizes map[string]interface{} + type PrimaryStorageInventoryView struct + AttachedClusterUuids []string + AvailableCapacity int64 + AvailablePhysicalCapacity int64 + Mons []CephPrimaryStorageMonsView + Pools []CephPrimaryStoragePoolInventoryView + State string + Status string + SystemUsedCapacity int64 + TotalCapacity int64 + TotalPhysicalCapacity int64 + Type string + Url string + ZoneUuid string + type ProtectRecoveryPointRespView RecoveryPointRespView + type RecoveryPointRespView map[string][]RecoveryPointView + type RecoveryPointView struct + Desc string + GrpId int64 + Id int64 + Size int64 + Ts string + VolId string + type ReleaseView struct + Name string + OsRelease string + Platform string + Uuid string + Version string + type ReservedIpRangeInventoryView struct + EndIp string + IpVersion int + L3NetworkUuid string + Name string + StartIp string + Uuid string + type ResourceConfigView struct + Category string + ResourceType string + ResourceUuid string + Value string + type SdnControllerInventoryView struct + HostRefs []HostRefs + Ip string + Passwordd string + Status string + UserName string + VendorType string + VniRanges []VniRanges + VxlanPools []VxlanPools + type SecurityGroupInventoryView struct + AttachedL3NetworkUuids []string + IpVersion int32 + Rules []SecurityGroupRuleInventoryView + State string + VSwitchType string + type SecurityGroupRuleInventoryView struct + Action string + AllowedCidr string + Description string + DstIpRange string + DstPortRange string + EndPort int64 + IpVersion int + Priority int + Protocol string + RemoteSecurityGroupUuid string + SecurityGroupUuid string + SrcIpRange string + StartPort int64 + State string + Type string + UUID string + type ServicesRefs struct + CreateDate string + LastOpDate string + ServiceType string + UUID string + VipUuid string + type SessionView struct + AccountUuid string + CreateDate time.Time + ExpiredDate time.Time + UUID string + UserUuid string + type SystemTagView struct + Inherent bool + ResourceType string + ResourceUuid string + Tag string + type T struct + State string + Status string + TotalCapacity int64 + Type string + Url string + Uuid string + type TagInventory struct + CreateDate string + LastOpDate string + ResourceType string + ResourceUuid string + Tag string + TagPattern TagPatternView + TagPatternUuid string + Type string + Uuid string + type TagInventoryView struct + Color string + Type string + type TagPatternView struct + Color string + CreateDate string + LastOpDate string + Name string + Type string + Uuid string + Value string + type TaskProgressInventoryView struct + Content string + Opaque interface{} + ParentUuid string + SubTasks []TaskProgressInventoryView + TaskName string + TaskUuid string + Time int64 + Type string + type UnmountVmInstanceRecoveryPointView MountVmInstanceRecoveryPointView + type UsbDeviceView struct + AttachType string + BusNum string + DevNum string + HostUuid string + IManufacturer string + IProduct string + ISerial string + IdProduct string + IdVendor string + State string + UsbVersion string + VmInstanceUuid string + type UsedIp struct + CreateDate time.Time + Gateway string + Ip string + IpInLong int64 + IpRangeUuid string + IpVersion int + L3NetworkUuid string + LastOpDate time.Time + Netmask string + UsedFor string + Uuid string + VmNicUuid string + type UserTagInventoryView struct + CreateDate string + LastOpDate string + ResourceType string + ResourceUuid string + Tag string + Type string + Uuid string + type VMCDRomView struct + DeviceId float64 + IsoInstallPath string + IsoUuid string + VmInstanceUuid string + type VMConsoleAddressView struct + HostIp string + Port string + Protocol string + Success bool + VdiPortInfo VdiPortInfo + type VMQgaView struct + Enable bool + UUID string + type VMSshKeyView struct + SshKey string + type VdiPortInfo struct + SpicePort int + SpiceTlsPort int + VncPort int + type VipInventoryView struct + Gateway string + Ip string + L3NetworkUUID string + Netmask string + PeerL3NetworkUuids string + PrefixLen string + ServiceProvider string + ServicesRefs []ServicesRefs + State string + System bool + UseFor string + type VirtualRouterInventoryView struct + AgentPort int + AllVolumes []VolumeView + AllocatorStrategy string + ApplianceVmType string + Architecture string + CPUNum int + CPUSpeed int64 + ClusterUUID string + DefaultL3NetworkUuid string + DefaultRouteL3NetworkUuid string + HaStatus string + HostUuid string + HypervisorType string + ImageUUID string + InstanceOfferingUUID string + LastHostUUID string + ManagementNetworkUuid string + MemorySize int64 + Platform string + RootVolumeUuid string + State string + Status string + Type string + VMNics []VmNicInventoryView + ZoneUuid string + type VirtualRouterOfferingInventoryView struct + AllocatorStrategy string + CpuNum int + CpuSpeed int + ImageUuid string + IsDefault bool + ManagementNetworkUuid string + MemorySize int64 + PublicNetworkUuid string + ReservedMemorySize string + SortKey int + State string + Type string + ZoneUuid string + type VmCdRom struct + DeviceId int + VmInstanceUuid string + type VmGuestToolsInfoView struct + Status string + Version string + type VmInstanceInventoryView struct + AllVolumes []VolumeView + AllocatorStrategy string + Architecture string + CPUNum int + CPUSpeed int64 + ClusterUUID string + DefaultL3NetworkUUID string + GuestOsType string + HostUUID string + HypervisorType string + ImageUUID string + InstanceOfferingUUID string + LastHostUUID string + MemorySize int64 + Platform string + RootVolumeUUID string + State string + Type string + VMNics []VmNicInventoryView + VmCdRoms []VmCdRom + ZoneUUID string + type VmInstanceScriptInventoryView struct + EncodingType string + Platform string + RenderParams string + ScriptContent string + ScriptTimeout int + ScriptType string + type VmInstanceScriptResultDetailInventoryView struct + ErrCause string + ExitCode int + RecordUuid string + Status string + Stderr string + Stdout string + VmInstanceUuid string + VmName string + type VmInstanceScriptResultInventoryView struct + ExecutionCount int + Executor string + RecordName string + RenderParams string + ScriptContent string + ScriptTimeout int + ScriptUUID string + Status string + Version int + type VmNicInventoryView struct + CreateDate string + DeviceID int + DriverType string + Gateway string + HypervisorType string + IP string + InternalName string + IpVersion int + L3NetworkUUID string + LastOpDate string + Mac string + MetaData string + Netmask string + Type string + UUID string + UsedIps []UsedIp + VMInstanceUUID string + type VmNicView struct + InternalName string + Mac string + Uuid string + type VniRanges struct + EndVni string + StartVni string + type VolumeCapabilitiesView struct + MigrationInCurrentPrimaryStorage bool + MigrationToOtherPrimaryStorage bool + type VolumeFormatView struct + Format string + MasterHypervisorType string + SupportingHypervisorTypes []string + type VolumeQoSView struct + IopsRead int32 + IopsReadUpthreshold int32 + IopsTotal int32 + IopsTotalUpthreshold int32 + IopsWrite int32 + IopsWriteUpthreshold int32 + VolumeBandwidth int32 + VolumeBandwidthRead int32 + VolumeBandwidthReadUpthreshold int32 + VolumeBandwidthUpthreshold int32 + VolumeBandwidthWrite int32 + VolumeBandwidthWriteUpthreshold int32 + VolumeUuid string + type VolumeSnapshotGroupAvailabilityView struct + Available bool + Reason string + UUID string + type VolumeSnapshotGroupView struct + SnapshotCount int + VmInstanceUuid string + VolumeSnapshotRefs []VolumeSnapshotRefView + type VolumeSnapshotRefView struct + DeviceId int + SnapshotDeleted bool + VolumeName string + VolumeSnapshotGroupUuid string + VolumeSnapshotInstallPath string + VolumeSnapshotName string + VolumeSnapshotUuid string + VolumeType string + VolumeUuid string + type VolumeSnapshotShrinkResultView struct + Result struct{ ... } + type VolumeSnapshotSizeView struct + ActualSize int64 + Size int64 + Success bool + type VolumeSnapshotTreeNodeView struct + Children []VolumeSnapshotTreeNodeView + Inventory VolumeSnapshotView + type VolumeSnapshotTreeView struct + Current bool + Status string + Tree VolumeSnapshotTreeNodeView + VolumeUUID string + type VolumeSnapshotView struct + Distance int + Format string + GroupUuid string + Latest bool + ParentUUID string + PrimaryStorageInstallPath string + PrimaryStorageUUID string + Size int64 + State string + Status string + TreeUUID string + Type string + VolumeType string + VolumeUUID string + type VolumeView struct + ActualSize int + DeviceID float32 + DiskOfferingUUID string + Format string + InstallPath string + IsShareable bool + LastDetachDate time.Time + LastVmInstanceUuid string + PrimaryStorageUUID string + RootImageUUID string + Size int + State string + Status string + Type string + VMInstanceUUID string + type VpcRouterVmInventoryView struct + AgentPort int + AllVolumes []VolumeView + AllocatorStrategy string + ApplianceVmType string + CPUNum int + CPUSpeed int64 + ClusterUUID string + DefaultL3NetworkUuid string + DefaultRouteL3NetworkUuid string + Dns []Dns + HostUuid string + HypervisorType string + ImageUUID string + InstanceOfferingUUID string + LastHostUUID string + ManagementNetworkUuid string + MemorySize int64 + Platform string + PublicNetworkUuid string + RootVolumeUuid string + Status string + Type string + VMNics []VmNicInventoryView + VirtualRouterVips []string + ZoneUuid string + type VxlanPools struct + type WebUISessionView struct + AccountUuid string + CurrentIdentity string + LoginType string + SessionId string + UserName string + UserUuid string + ZSVersion string + type ZoneView struct + State string + Type string v1.0.0 Jun 17, 2025