Documentation
¶
Overview ¶
Configure Acropolis hypervisor based Virtual Machines, Disks, Nics etc
Index ¶
- type ACPIPowerOptions
- type ADSFDiskMigrationPlan
- type ADSFVmStorageConfig
- type ADSFVolumeGroupReference
- type AssignIp
- type AssignIpResponse
- type AttachVmCategoryResponse
- type AvailabilityZoneReference
- type BootDeviceDisk
- type BootDeviceNic
- type BootDeviceType
- type CategoryReference
- type Cdrom
- type CdromAddress
- type CdromBusType
- type CdromInsert
- type CloneOverride
- type CloneVmResponse
- type CloudInit
- type CloudInitDataSourceType
- type ClusterReference
- type CpuFeature
- type CreateCdromResponse
- type CreateDiskResponse
- type CreateGpuResponse
- type CreateNicResponse
- type CreateSerialPortResponse
- type CreateVmResponse
- type Credential
- type CustomKeyValues
- type CustomizeGuestVmResponse
- type DataSource
- type DeleteCdromResponse
- type DeleteDiskResponse
- type DeleteGpuResponse
- type DeleteNicResponse
- type DeleteSerialPortResponse
- type DeleteVmResponse
- type DetachVmCategoryResponse
- type Disk
- type DiskAddress
- type DiskBusType
- type EjectCdromResponse
- type EmulatedNic
- type EmulatedNicModel
- type EnforcementMode
- type GetCdromResponse
- type GetDiskResponse
- type GetGpuResponse
- type GetGuestToolsResponse
- type GetNicResponse
- type GetSerialPortResponse
- type GetVmCategoriesResponse
- type GetVmOwnershipInfoResponse
- type GetVmResponse
- type Gpu
- type GpuMode
- type GpuVendor
- type GuestCustomization
- type GuestPowerOptions
- type GuestPowerStateTransitionConfig
- type GuestTools
- type GuestToolsInsertConfig
- type GuestToolsInstallConfig
- type GuestToolsUpgradeConfig
- type HostReference
- type ImageReference
- type InsertCdromResponse
- type InsertVmGuestToolsResponse
- type InstallType
- type InstallVmGuestToolsResponse
- type Ipv4Config
- type Ipv4Info
- type LegacyBoot
- type ListCdromsResponse
- type ListDisksResponse
- type ListGpusResponse
- type ListNicsResponse
- type ListSerialPortsResponse
- type ListVmsResponse
- type MachineType
- type MigrateNicConfig
- type MigrateNicResponse
- type MigrateNicType
- type NetworkFunctionChainReference
- type NetworkFunctionNicType
- type NgtCapability
- type Nic
- type NicNetworkInfo
- type NicType
- type NvramDevice
- type OneOfAssignIpResponseData
- type OneOfAttachVmCategoryResponseData
- type OneOfCloneOverrideBootConfig
- type OneOfCloneVmResponseData
- type OneOfCloudInitCloudInitScript
- type OneOfCreateCdromResponseData
- type OneOfCreateDiskResponseData
- type OneOfCreateGpuResponseData
- type OneOfCreateNicResponseData
- type OneOfCreateSerialPortResponseData
- type OneOfCreateVmResponseData
- type OneOfCustomizeGuestVmResponseData
- type OneOfDataSourceReference
- type OneOfDeleteCdromResponseData
- type OneOfDeleteDiskResponseData
- type OneOfDeleteGpuResponseData
- type OneOfDeleteNicResponseData
- type OneOfDeleteSerialPortResponseData
- type OneOfDeleteVmResponseData
- type OneOfDetachVmCategoryResponseData
- type OneOfDiskBackingInfo
- type OneOfEjectCdromResponseData
- type OneOfGetCdromResponseData
- type OneOfGetDiskResponseData
- type OneOfGetGpuResponseData
- type OneOfGetGuestToolsResponseData
- type OneOfGetNicResponseData
- type OneOfGetSerialPortResponseData
- type OneOfGetVmCategoriesResponseData
- type OneOfGetVmOwnershipInfoResponseData
- type OneOfGetVmResponseData
- type OneOfGuestCustomizationConfig
- type OneOfInsertCdromResponseData
- type OneOfInsertVmGuestToolsResponseData
- type OneOfInstallVmGuestToolsResponseData
- func (p *OneOfInstallVmGuestToolsResponseData) GetValue() interface{}
- func (p *OneOfInstallVmGuestToolsResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfInstallVmGuestToolsResponseData) SetValue(v interface{}) error
- func (p *OneOfInstallVmGuestToolsResponseData) UnmarshalJSON(b []byte) error
- type OneOfLegacyBootBootDevice
- type OneOfListCdromsResponseData
- type OneOfListDisksResponseData
- type OneOfListGpusResponseData
- type OneOfListNicsResponseData
- type OneOfListSerialPortsResponseData
- type OneOfListVmsResponseData
- type OneOfMigrateNicResponseData
- type OneOfPowerCycleVmResponseData
- type OneOfPowerOffVmResponseData
- type OneOfPowerOnVmResponseData
- type OneOfRebootVmResponseData
- type OneOfReleaseIpResponseData
- type OneOfResetVmResponseData
- type OneOfRevertVmResponseData
- type OneOfShutdownVmResponseData
- type OneOfSysprepSysprepScript
- type OneOfUninstallVmGuestToolsResponseData
- func (p *OneOfUninstallVmGuestToolsResponseData) GetValue() interface{}
- func (p *OneOfUninstallVmGuestToolsResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfUninstallVmGuestToolsResponseData) SetValue(v interface{}) error
- func (p *OneOfUninstallVmGuestToolsResponseData) UnmarshalJSON(b []byte) error
- type OneOfUpdateCdromResponseData
- type OneOfUpdateDiskResponseData
- type OneOfUpdateGuestToolsResponseData
- type OneOfUpdateNicResponseData
- type OneOfUpdateSerialPortResponseData
- type OneOfUpdateVmCategoriesResponseData
- type OneOfUpdateVmOwnershipInfoResponseData
- func (p *OneOfUpdateVmOwnershipInfoResponseData) GetValue() interface{}
- func (p *OneOfUpdateVmOwnershipInfoResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfUpdateVmOwnershipInfoResponseData) SetValue(v interface{}) error
- func (p *OneOfUpdateVmOwnershipInfoResponseData) UnmarshalJSON(b []byte) error
- type OneOfUpdateVmResponseData
- type OneOfUpgradeVmGuestToolsResponseData
- func (p *OneOfUpgradeVmGuestToolsResponseData) GetValue() interface{}
- func (p *OneOfUpgradeVmGuestToolsResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfUpgradeVmGuestToolsResponseData) SetValue(v interface{}) error
- func (p *OneOfUpgradeVmGuestToolsResponseData) UnmarshalJSON(b []byte) error
- type OneOfVmBootConfig
- type OneOfVmCrossClusterMigrateWithStorageResponseData
- func (p *OneOfVmCrossClusterMigrateWithStorageResponseData) GetValue() interface{}
- func (p *OneOfVmCrossClusterMigrateWithStorageResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfVmCrossClusterMigrateWithStorageResponseData) SetValue(v interface{}) error
- func (p *OneOfVmCrossClusterMigrateWithStorageResponseData) UnmarshalJSON(b []byte) error
- type OwnerReference
- type OwnershipInfo
- type PolicyComplianceState
- type PolicyReference
- type PowerCycleVmResponse
- type PowerOffVmResponse
- type PowerOnVmResponse
- type PowerState
- type ProtectionInfo
- type ProtectionInfoReplicationStatus
- type ProtectionPolicyState
- type ProtectionType
- type QosConfig
- type RebootPreference
- type RebootPreferenceSchedule
- type RebootVmResponse
- type RecoveryPlanState
- type ReleaseIpResponse
- type ResetVmResponse
- type RevertVmResponse
- type SBDF
- type ScheduleType
- type SerialPort
- type ShutdownVmResponse
- type SubnetReference
- type Sysprep
- type UefiBoot
- type Unattendxml
- type UninstallVmGuestToolsResponse
- type UpdateCdromResponse
- type UpdateDiskResponse
- type UpdateGuestToolsResponse
- type UpdateNicResponse
- type UpdateSerialPortResponse
- type UpdateVmCategoriesResponse
- type UpdateVmOwnershipInfoResponse
- type UpdateVmResponse
- type UpgradeVmGuestToolsResponse
- type Userdata
- type VlanMode
- type Vm
- type VmCrossClusterMigrateOverrides
- type VmCrossClusterMigrateParams
- type VmCrossClusterMigrateWithStorageResponse
- type VmDisk
- type VmDiskContainerReference
- type VmDiskReference
- type VmDiskStorageConfig
- type VmRecoveryPoint
- type VmReference
- type VmRevert
- type VmSourceReference
- type VmSourceReferenceEntityType
- type VtpmConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ACPIPowerOptions ¶
type ACPIPowerOptions struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` }
* ACPI shutdown mode options.
func NewACPIPowerOptions ¶
func NewACPIPowerOptions() *ACPIPowerOptions
type ADSFDiskMigrationPlan ¶
type ADSFDiskMigrationPlan struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** The disks included in the migration plan. */ Disks []VmDiskReference `json:"disks,omitempty"` StorageContainer *VmDiskContainerReference `json:"storageContainer,omitempty"` }
* The disk migration plan defines how disks are migrated.
func NewADSFDiskMigrationPlan ¶
func NewADSFDiskMigrationPlan() *ADSFDiskMigrationPlan
type ADSFVmStorageConfig ¶
type ADSFVmStorageConfig struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** Indicates whether the virtual disk is pinned to the hot tier or not. */ FlashModeEnabled *bool `json:"flashModeEnabled,omitempty"` QosConfig *QosConfig `json:"qosConfig,omitempty"` }
* Storage configuration for VM.
func NewADSFVmStorageConfig ¶
func NewADSFVmStorageConfig() *ADSFVmStorageConfig
type ADSFVolumeGroupReference ¶
type ADSFVolumeGroupReference struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** Globally unique identifier of an ADSF volume group. It should be of type UUID. */ VolumeGroupExtId *string `json:"volumeGroupExtId,omitempty"` }
* Reference to an ADSF Volume Group.
func NewADSFVolumeGroupReference ¶
func NewADSFVolumeGroupReference() *ADSFVolumeGroupReference
type AssignIp ¶
type AssignIp struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` IpAddress *import1.IPv4Address `json:"ipAddress,omitempty"` }
* IP address assignment to a VM NIC.
func NewAssignIp ¶
func NewAssignIp() *AssignIp
type AssignIpResponse ¶
type AssignIpResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfAssignIpResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{vmExtId}/nics/{extId}/$actions/assign-ip Post operation
func NewAssignIpResponse ¶
func NewAssignIpResponse() *AssignIpResponse
func (*AssignIpResponse) GetData ¶
func (p *AssignIpResponse) GetData() interface{}
func (*AssignIpResponse) SetData ¶
func (p *AssignIpResponse) SetData(v interface{}) error
type AttachVmCategoryResponse ¶
type AttachVmCategoryResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfAttachVmCategoryResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{extId}/categories/$actions/attach Post operation
func NewAttachVmCategoryResponse ¶
func NewAttachVmCategoryResponse() *AttachVmCategoryResponse
func (*AttachVmCategoryResponse) GetData ¶
func (p *AttachVmCategoryResponse) GetData() interface{}
func (*AttachVmCategoryResponse) SetData ¶
func (p *AttachVmCategoryResponse) SetData(v interface{}) error
type AvailabilityZoneReference ¶
type AvailabilityZoneReference struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** Globally unique identifier of an availability zone. It should be of type UUID. */ ExtId *string `json:"extId,omitempty"` }
* Reference to an availability zone.
func NewAvailabilityZoneReference ¶
func NewAvailabilityZoneReference() *AvailabilityZoneReference
type BootDeviceDisk ¶
type BootDeviceDisk struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` DiskAddress *DiskAddress `json:"diskAddress,omitempty"` }
* The disk that will be used to boot the VM.
func NewBootDeviceDisk ¶
func NewBootDeviceDisk() *BootDeviceDisk
type BootDeviceNic ¶
type BootDeviceNic struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` MacAddress *string `json:"macAddress,omitempty"` }
* The NIC that will be used to boot the VM.
func NewBootDeviceNic ¶
func NewBootDeviceNic() *BootDeviceNic
type BootDeviceType ¶
type BootDeviceType int
* The type of boot device. Valid values are CDROM, NIC, and DISK.
const ( BOOTDEVICETYPE_UNKNOWN BootDeviceType = 0 BOOTDEVICETYPE_REDACTED BootDeviceType = 1 BOOTDEVICETYPE_CDROM BootDeviceType = 2 BOOTDEVICETYPE_DISK BootDeviceType = 3 BOOTDEVICETYPE_NETWORK BootDeviceType = 4 )
func (*BootDeviceType) MarshalJSON ¶
func (e *BootDeviceType) MarshalJSON() ([]byte, error)
func (BootDeviceType) Ref ¶
func (e BootDeviceType) Ref() *BootDeviceType
func (*BootDeviceType) UnmarshalJSON ¶
func (e *BootDeviceType) UnmarshalJSON(b []byte) error
type CategoryReference ¶
type CategoryReference struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** Globally unique identifier of a VM category. It should be of type UUID. */ ExtId *string `json:"extId,omitempty"` }
* Reference to a category.
func NewCategoryReference ¶
func NewCategoryReference() *CategoryReference
type Cdrom ¶
type Cdrom struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` BackingInfo *VmDisk `json:"backingInfo,omitempty"` DiskAddress *CdromAddress `json:"diskAddress,omitempty"` /** A globally unique identifier of an instance that is suitable for external consumption. */ ExtId *string `json:"extId,omitempty"` /** A HATEOAS style link for the response. Each link contains a user friendly name identifying the link and an address for retrieving the particular resource. */ Links []import4.ApiLink `json:"links,omitempty"` /** A globally unique identifier that represents the tenant that owns this entity. It is automatically assigned by the system and is immutable from an API consumer perspective (some use cases may cause this Id to change - for instance a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server). */ TenantId *string `json:"tenantId,omitempty"` }
* Virtual Machine CD-ROM.
type CdromAddress ¶
type CdromAddress struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` BusType *CdromBusType `json:"busType,omitempty"` /** Device index on the bus. This field is ignored unless the bus details are specified. */ Index *int `json:"index,omitempty"` }
* Virtual Machine disk (VM disk).
func NewCdromAddress ¶
func NewCdromAddress() *CdromAddress
type CdromBusType ¶
type CdromBusType int
* Bus type for the device. The acceptable values are: IDE, SATA.
const ( CDROMBUSTYPE_UNKNOWN CdromBusType = 0 CDROMBUSTYPE_REDACTED CdromBusType = 1 CDROMBUSTYPE_IDE CdromBusType = 2 CDROMBUSTYPE_SATA CdromBusType = 3 )
func (*CdromBusType) MarshalJSON ¶
func (e *CdromBusType) MarshalJSON() ([]byte, error)
func (CdromBusType) Ref ¶
func (e CdromBusType) Ref() *CdromBusType
func (*CdromBusType) UnmarshalJSON ¶
func (e *CdromBusType) UnmarshalJSON(b []byte) error
type CdromInsert ¶
type CdromInsert struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` BackingInfo *VmDisk `json:"backingInfo,omitempty"` }
* Virtual Machine CD-ROM.
func NewCdromInsert ¶
func NewCdromInsert() *CdromInsert
type CloneOverride ¶
type CloneOverride struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ BootConfigItemDiscriminator_ *string `json:"$bootConfigItemDiscriminator,omitempty"` /** Indicates the order of device types in which the VM should try to boot from. If the boot device order is not provided the system will decide an appropriate boot device order. */ BootConfig *OneOfCloneOverrideBootConfig `json:"bootConfig,omitempty"` GuestCustomization *GuestCustomization `json:"guestCustomization,omitempty"` /** Memory size in bytes. */ MemorySizeBytes *int64 `json:"memorySizeBytes,omitempty"` /** VM name. */ Name *string `json:"name,omitempty"` /** NICs attached to the VM. */ Nics []Nic `json:"nics,omitempty"` /** Number of cores per socket. */ NumCoresPerSocket *int `json:"numCoresPerSocket,omitempty"` /** Number of vCPU sockets. */ NumSockets *int `json:"numSockets,omitempty"` /** Number of cores per socket. */ NumThreadsPerCore *int `json:"numThreadsPerCore,omitempty"` }
* VM clone override specification.
func NewCloneOverride ¶
func NewCloneOverride() *CloneOverride
func (*CloneOverride) GetBootConfig ¶
func (p *CloneOverride) GetBootConfig() interface{}
func (*CloneOverride) SetBootConfig ¶
func (p *CloneOverride) SetBootConfig(v interface{}) error
type CloneVmResponse ¶
type CloneVmResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfCloneVmResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{extId}/$actions/clone Post operation
func NewCloneVmResponse ¶
func NewCloneVmResponse() *CloneVmResponse
func (*CloneVmResponse) GetData ¶
func (p *CloneVmResponse) GetData() interface{}
func (*CloneVmResponse) SetData ¶
func (p *CloneVmResponse) SetData(v interface{}) error
type CloudInit ¶
type CloudInit struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ CloudInitScriptItemDiscriminator_ *string `json:"$cloudInitScriptItemDiscriminator,omitempty"` /** The script to use for cloud-init. */ CloudInitScript *OneOfCloudInitCloudInitScript `json:"cloudInitScript,omitempty"` DatasourceType *CloudInitDataSourceType `json:"datasourceType,omitempty"` /** The contents of the meta_data configuration for cloud-init. This can be formatted as YAML or JSON. The value must be base64 encoded. */ Metadata *string `json:"metadata,omitempty"` }
* If this field is set, the guest will be customized using cloud-init. Either user_data or custom_key_values should be provided. If custom_key_ves are provided then the user data will be generated using these key-value pairs.
func NewCloudInit ¶
func NewCloudInit() *CloudInit
func (*CloudInit) GetCloudInitScript ¶
func (p *CloudInit) GetCloudInitScript() interface{}
func (*CloudInit) SetCloudInitScript ¶
type CloudInitDataSourceType ¶
type CloudInitDataSourceType int
* Type of datasource. Default: CONFIG_DRIVE_V2
const ( CLOUDINITDATASOURCETYPE_UNKNOWN CloudInitDataSourceType = 0 CLOUDINITDATASOURCETYPE_REDACTED CloudInitDataSourceType = 1 CLOUDINITDATASOURCETYPE_CONFIG_DRIVE_V2 CloudInitDataSourceType = 2 )
func (*CloudInitDataSourceType) MarshalJSON ¶
func (e *CloudInitDataSourceType) MarshalJSON() ([]byte, error)
func (CloudInitDataSourceType) Ref ¶
func (e CloudInitDataSourceType) Ref() *CloudInitDataSourceType
func (*CloudInitDataSourceType) UnmarshalJSON ¶
func (e *CloudInitDataSourceType) UnmarshalJSON(b []byte) error
type ClusterReference ¶
type ClusterReference struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** Globally unique identifier of a cluster. It should be of type UUID. */ ExtId *string `json:"extId,omitempty"` }
* Reference to a cluster.
func NewClusterReference ¶
func NewClusterReference() *ClusterReference
type CpuFeature ¶
type CpuFeature int
* The list of additional CPU features to be enabled. HardwareVirtualization: Indicates whether hardware assisted virtualization should be enabled for the Guest OS or not. Once enabled, the Guest OS can deploy a nested hypervisor.
const ( CPUFEATURE_UNKNOWN CpuFeature = 0 CPUFEATURE_REDACTED CpuFeature = 1 CPUFEATURE_HARDWARE_VIRTUALIZATION CpuFeature = 2 )
func (*CpuFeature) MarshalJSON ¶
func (e *CpuFeature) MarshalJSON() ([]byte, error)
func (CpuFeature) Ref ¶
func (e CpuFeature) Ref() *CpuFeature
func (*CpuFeature) UnmarshalJSON ¶
func (e *CpuFeature) UnmarshalJSON(b []byte) error
type CreateCdromResponse ¶
type CreateCdromResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfCreateCdromResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{vmExtId}/cdroms Post operation
func NewCreateCdromResponse ¶
func NewCreateCdromResponse() *CreateCdromResponse
func (*CreateCdromResponse) GetData ¶
func (p *CreateCdromResponse) GetData() interface{}
func (*CreateCdromResponse) SetData ¶
func (p *CreateCdromResponse) SetData(v interface{}) error
type CreateDiskResponse ¶
type CreateDiskResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfCreateDiskResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{vmExtId}/disks Post operation
func NewCreateDiskResponse ¶
func NewCreateDiskResponse() *CreateDiskResponse
func (*CreateDiskResponse) GetData ¶
func (p *CreateDiskResponse) GetData() interface{}
func (*CreateDiskResponse) SetData ¶
func (p *CreateDiskResponse) SetData(v interface{}) error
type CreateGpuResponse ¶
type CreateGpuResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfCreateGpuResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{vmExtId}/gpus Post operation
func NewCreateGpuResponse ¶
func NewCreateGpuResponse() *CreateGpuResponse
func (*CreateGpuResponse) GetData ¶
func (p *CreateGpuResponse) GetData() interface{}
func (*CreateGpuResponse) SetData ¶
func (p *CreateGpuResponse) SetData(v interface{}) error
type CreateNicResponse ¶
type CreateNicResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfCreateNicResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{vmExtId}/nics Post operation
func NewCreateNicResponse ¶
func NewCreateNicResponse() *CreateNicResponse
func (*CreateNicResponse) GetData ¶
func (p *CreateNicResponse) GetData() interface{}
func (*CreateNicResponse) SetData ¶
func (p *CreateNicResponse) SetData(v interface{}) error
type CreateSerialPortResponse ¶
type CreateSerialPortResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfCreateSerialPortResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{vmExtId}/serial-ports Post operation
func NewCreateSerialPortResponse ¶
func NewCreateSerialPortResponse() *CreateSerialPortResponse
func (*CreateSerialPortResponse) GetData ¶
func (p *CreateSerialPortResponse) GetData() interface{}
func (*CreateSerialPortResponse) SetData ¶
func (p *CreateSerialPortResponse) SetData(v interface{}) error
type CreateVmResponse ¶
type CreateVmResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfCreateVmResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms Post operation
func NewCreateVmResponse ¶
func NewCreateVmResponse() *CreateVmResponse
func (*CreateVmResponse) GetData ¶
func (p *CreateVmResponse) GetData() interface{}
func (*CreateVmResponse) SetData ¶
func (p *CreateVmResponse) SetData(v interface{}) error
type Credential ¶
type Credential struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` Password *string `json:"password,omitempty"` Username *string `json:"username,omitempty"` }
* Sign in credentials for the server.
func NewCredential ¶
func NewCredential() *Credential
type CustomKeyValues ¶
type CustomKeyValues struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** The list of the individual KeyValuePair elements. */ KeyValuePairs []import1.KVPair `json:"keyValuePairs,omitempty"` }
* A collection of key/value pairs.
func NewCustomKeyValues ¶
func NewCustomKeyValues() *CustomKeyValues
type CustomizeGuestVmResponse ¶
type CustomizeGuestVmResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfCustomizeGuestVmResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{extId}/$actions/customize-guest Post operation
func NewCustomizeGuestVmResponse ¶
func NewCustomizeGuestVmResponse() *CustomizeGuestVmResponse
func (*CustomizeGuestVmResponse) GetData ¶
func (p *CustomizeGuestVmResponse) GetData() interface{}
func (*CustomizeGuestVmResponse) SetData ¶
func (p *CustomizeGuestVmResponse) SetData(v interface{}) error
type DataSource ¶
type DataSource struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ ReferenceItemDiscriminator_ *string `json:"$referenceItemDiscriminator,omitempty"` Reference *OneOfDataSourceReference `json:"reference,omitempty"` }
* A reference to a disk or image that contains the contents of a disk.
func NewDataSource ¶
func NewDataSource() *DataSource
func (*DataSource) GetReference ¶
func (p *DataSource) GetReference() interface{}
func (*DataSource) SetReference ¶
func (p *DataSource) SetReference(v interface{}) error
type DeleteCdromResponse ¶
type DeleteCdromResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfDeleteCdromResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{vmExtId}/cdroms/{extId} Delete operation
func NewDeleteCdromResponse ¶
func NewDeleteCdromResponse() *DeleteCdromResponse
func (*DeleteCdromResponse) GetData ¶
func (p *DeleteCdromResponse) GetData() interface{}
func (*DeleteCdromResponse) SetData ¶
func (p *DeleteCdromResponse) SetData(v interface{}) error
type DeleteDiskResponse ¶
type DeleteDiskResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfDeleteDiskResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{vmExtId}/disks/{extId} Delete operation
func NewDeleteDiskResponse ¶
func NewDeleteDiskResponse() *DeleteDiskResponse
func (*DeleteDiskResponse) GetData ¶
func (p *DeleteDiskResponse) GetData() interface{}
func (*DeleteDiskResponse) SetData ¶
func (p *DeleteDiskResponse) SetData(v interface{}) error
type DeleteGpuResponse ¶
type DeleteGpuResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfDeleteGpuResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{vmExtId}/gpus/{extId} Delete operation
func NewDeleteGpuResponse ¶
func NewDeleteGpuResponse() *DeleteGpuResponse
func (*DeleteGpuResponse) GetData ¶
func (p *DeleteGpuResponse) GetData() interface{}
func (*DeleteGpuResponse) SetData ¶
func (p *DeleteGpuResponse) SetData(v interface{}) error
type DeleteNicResponse ¶
type DeleteNicResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfDeleteNicResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{vmExtId}/nics/{extId} Delete operation
func NewDeleteNicResponse ¶
func NewDeleteNicResponse() *DeleteNicResponse
func (*DeleteNicResponse) GetData ¶
func (p *DeleteNicResponse) GetData() interface{}
func (*DeleteNicResponse) SetData ¶
func (p *DeleteNicResponse) SetData(v interface{}) error
type DeleteSerialPortResponse ¶
type DeleteSerialPortResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfDeleteSerialPortResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{vmExtId}/serial-ports/{extId} Delete operation
func NewDeleteSerialPortResponse ¶
func NewDeleteSerialPortResponse() *DeleteSerialPortResponse
func (*DeleteSerialPortResponse) GetData ¶
func (p *DeleteSerialPortResponse) GetData() interface{}
func (*DeleteSerialPortResponse) SetData ¶
func (p *DeleteSerialPortResponse) SetData(v interface{}) error
type DeleteVmResponse ¶
type DeleteVmResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfDeleteVmResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{extId} Delete operation
func NewDeleteVmResponse ¶
func NewDeleteVmResponse() *DeleteVmResponse
func (*DeleteVmResponse) GetData ¶
func (p *DeleteVmResponse) GetData() interface{}
func (*DeleteVmResponse) SetData ¶
func (p *DeleteVmResponse) SetData(v interface{}) error
type DetachVmCategoryResponse ¶
type DetachVmCategoryResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfDetachVmCategoryResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{extId}/categories/$actions/detach Post operation
func NewDetachVmCategoryResponse ¶
func NewDetachVmCategoryResponse() *DetachVmCategoryResponse
func (*DetachVmCategoryResponse) GetData ¶
func (p *DetachVmCategoryResponse) GetData() interface{}
func (*DetachVmCategoryResponse) SetData ¶
func (p *DetachVmCategoryResponse) SetData(v interface{}) error
type Disk ¶
type Disk struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ BackingInfoItemDiscriminator_ *string `json:"$backingInfoItemDiscriminator,omitempty"` /** Supporting storage to create virtual disk on. */ BackingInfo *OneOfDiskBackingInfo `json:"backingInfo,omitempty"` DiskAddress *DiskAddress `json:"diskAddress,omitempty"` /** A globally unique identifier of an instance that is suitable for external consumption. */ ExtId *string `json:"extId,omitempty"` /** A HATEOAS style link for the response. Each link contains a user friendly name identifying the link and an address for retrieving the particular resource. */ Links []import4.ApiLink `json:"links,omitempty"` /** Indicates whether the SCSI passthrough (true) is used or not (false). */ ScsiPassthroughEnabled *bool `json:"scsiPassthroughEnabled,omitempty"` /** A globally unique identifier that represents the tenant that owns this entity. It is automatically assigned by the system and is immutable from an API consumer perspective (some use cases may cause this Id to change - for instance a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server). */ TenantId *string `json:"tenantId,omitempty"` }
* Virtual Machine disk (VM disk).
type DiskAddress ¶
type DiskAddress struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` BusType *DiskBusType `json:"busType,omitempty"` /** Device index on the bus. This field is ignored unless the bus details are specified. */ Index *int `json:"index,omitempty"` }
* Disk address.
func NewDiskAddress ¶
func NewDiskAddress() *DiskAddress
type DiskBusType ¶
type DiskBusType int
* Bus type for the device. The acceptable values are: SCSI, IDE, PCI, SATA, SPAPR (only PPC).
const ( DISKBUSTYPE_UNKNOWN DiskBusType = 0 DISKBUSTYPE_REDACTED DiskBusType = 1 DISKBUSTYPE_SCSI DiskBusType = 2 DISKBUSTYPE_IDE DiskBusType = 3 DISKBUSTYPE_PCI DiskBusType = 4 DISKBUSTYPE_SATA DiskBusType = 5 DISKBUSTYPE_SPAPR DiskBusType = 6 )
func (*DiskBusType) MarshalJSON ¶
func (e *DiskBusType) MarshalJSON() ([]byte, error)
func (DiskBusType) Ref ¶
func (e DiskBusType) Ref() *DiskBusType
func (*DiskBusType) UnmarshalJSON ¶
func (e *DiskBusType) UnmarshalJSON(b []byte) error
type EjectCdromResponse ¶
type EjectCdromResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfEjectCdromResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{vmExtId}/cdroms/{extId}/$actions/eject Post operation
func NewEjectCdromResponse ¶
func NewEjectCdromResponse() *EjectCdromResponse
func (*EjectCdromResponse) GetData ¶
func (p *EjectCdromResponse) GetData() interface{}
func (*EjectCdromResponse) SetData ¶
func (p *EjectCdromResponse) SetData(v interface{}) error
type EmulatedNic ¶
type EmulatedNic struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** Indicates whether the NIC is connected or not. Default is True. */ IsConnected *bool `json:"isConnected,omitempty"` /** MAC address of the emulated NIC. */ MacAddress *string `json:"macAddress,omitempty"` Model *EmulatedNicModel `json:"model,omitempty"` /** The number of Tx/Rx queue pairs for this NIC. */ NumQueues *int `json:"numQueues,omitempty"` }
* Defines a NIC emulated by the hypervisor
func NewEmulatedNic ¶
func NewEmulatedNic() *EmulatedNic
type EmulatedNicModel ¶
type EmulatedNicModel int
* Options for the NIC emulation.
const ( EMULATEDNICMODEL_UNKNOWN EmulatedNicModel = 0 EMULATEDNICMODEL_REDACTED EmulatedNicModel = 1 EMULATEDNICMODEL_VIRTIO EmulatedNicModel = 2 EMULATEDNICMODEL_E1000 EmulatedNicModel = 3 )
func (*EmulatedNicModel) MarshalJSON ¶
func (e *EmulatedNicModel) MarshalJSON() ([]byte, error)
func (EmulatedNicModel) Ref ¶
func (e EmulatedNicModel) Ref() *EmulatedNicModel
func (*EmulatedNicModel) UnmarshalJSON ¶
func (e *EmulatedNicModel) UnmarshalJSON(b []byte) error
type EnforcementMode ¶
type EnforcementMode int
* Policy enforcement mode informs us about what the policy engine is currently doing to enforce the policy on the entity. Monitoring indicates that the policy engine is simply monitoring the entity state. Enforcing means that the policy engine is currently trying to enforce the policy on the entity. Enforcement failed indicates that the policy engine encountered a non-transient error and requires user intervention to fix the problem, the error message gives the reason for the error in this case.
const ( ENFORCEMENTMODE_UNKNOWN EnforcementMode = 0 ENFORCEMENTMODE_REDACTED EnforcementMode = 1 ENFORCEMENTMODE_MONITORING EnforcementMode = 2 ENFORCEMENTMODE_ENFORCING EnforcementMode = 3 ENFORCEMENTMODE_ENFORCEMENT_FAILED EnforcementMode = 4 )
func (*EnforcementMode) MarshalJSON ¶
func (e *EnforcementMode) MarshalJSON() ([]byte, error)
func (EnforcementMode) Ref ¶
func (e EnforcementMode) Ref() *EnforcementMode
func (*EnforcementMode) UnmarshalJSON ¶
func (e *EnforcementMode) UnmarshalJSON(b []byte) error
type GetCdromResponse ¶
type GetCdromResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfGetCdromResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{vmExtId}/cdroms/{extId} Get operation
func NewGetCdromResponse ¶
func NewGetCdromResponse() *GetCdromResponse
func (*GetCdromResponse) GetData ¶
func (p *GetCdromResponse) GetData() interface{}
func (*GetCdromResponse) SetData ¶
func (p *GetCdromResponse) SetData(v interface{}) error
type GetDiskResponse ¶
type GetDiskResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfGetDiskResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{vmExtId}/disks/{extId} Get operation
func NewGetDiskResponse ¶
func NewGetDiskResponse() *GetDiskResponse
func (*GetDiskResponse) GetData ¶
func (p *GetDiskResponse) GetData() interface{}
func (*GetDiskResponse) SetData ¶
func (p *GetDiskResponse) SetData(v interface{}) error
type GetGpuResponse ¶
type GetGpuResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfGetGpuResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{vmExtId}/gpus/{extId} Get operation
func NewGetGpuResponse ¶
func NewGetGpuResponse() *GetGpuResponse
func (*GetGpuResponse) GetData ¶
func (p *GetGpuResponse) GetData() interface{}
func (*GetGpuResponse) SetData ¶
func (p *GetGpuResponse) SetData(v interface{}) error
type GetGuestToolsResponse ¶
type GetGuestToolsResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfGetGuestToolsResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{extId}/guest-tools-config Get operation
func NewGetGuestToolsResponse ¶
func NewGetGuestToolsResponse() *GetGuestToolsResponse
func (*GetGuestToolsResponse) GetData ¶
func (p *GetGuestToolsResponse) GetData() interface{}
func (*GetGuestToolsResponse) SetData ¶
func (p *GetGuestToolsResponse) SetData(v interface{}) error
type GetNicResponse ¶
type GetNicResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfGetNicResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{vmExtId}/nics/{extId} Get operation
func NewGetNicResponse ¶
func NewGetNicResponse() *GetNicResponse
func (*GetNicResponse) GetData ¶
func (p *GetNicResponse) GetData() interface{}
func (*GetNicResponse) SetData ¶
func (p *GetNicResponse) SetData(v interface{}) error
type GetSerialPortResponse ¶
type GetSerialPortResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfGetSerialPortResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{vmExtId}/serial-ports/{extId} Get operation
func NewGetSerialPortResponse ¶
func NewGetSerialPortResponse() *GetSerialPortResponse
func (*GetSerialPortResponse) GetData ¶
func (p *GetSerialPortResponse) GetData() interface{}
func (*GetSerialPortResponse) SetData ¶
func (p *GetSerialPortResponse) SetData(v interface{}) error
type GetVmCategoriesResponse ¶
type GetVmCategoriesResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfGetVmCategoriesResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{extId}/categories Get operation
func NewGetVmCategoriesResponse ¶
func NewGetVmCategoriesResponse() *GetVmCategoriesResponse
func (*GetVmCategoriesResponse) GetData ¶
func (p *GetVmCategoriesResponse) GetData() interface{}
func (*GetVmCategoriesResponse) SetData ¶
func (p *GetVmCategoriesResponse) SetData(v interface{}) error
type GetVmOwnershipInfoResponse ¶
type GetVmOwnershipInfoResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfGetVmOwnershipInfoResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{extId}/ownership-info Get operation
func NewGetVmOwnershipInfoResponse ¶
func NewGetVmOwnershipInfoResponse() *GetVmOwnershipInfoResponse
func (*GetVmOwnershipInfoResponse) GetData ¶
func (p *GetVmOwnershipInfoResponse) GetData() interface{}
func (*GetVmOwnershipInfoResponse) SetData ¶
func (p *GetVmOwnershipInfoResponse) SetData(v interface{}) error
type GetVmResponse ¶
type GetVmResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfGetVmResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{extId} Get operation
func NewGetVmResponse ¶
func NewGetVmResponse() *GetVmResponse
func (*GetVmResponse) GetData ¶
func (p *GetVmResponse) GetData() interface{}
func (*GetVmResponse) SetData ¶
func (p *GetVmResponse) SetData(v interface{}) error
type Gpu ¶
type Gpu struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** The device Id of the GPU. */ DeviceId *int `json:"deviceId,omitempty"` /** A globally unique identifier of an instance that is suitable for external consumption. */ ExtId *string `json:"extId,omitempty"` /** Fraction of the physical GPU assigned. */ Fraction *int `json:"fraction,omitempty"` /** GPU frame buffer size in bytes. */ FrameBufferSizeBytes *int64 `json:"frameBufferSizeBytes,omitempty"` /** Last determined guest driver version. */ GuestDriverVersion *string `json:"guestDriverVersion,omitempty"` /** A HATEOAS style link for the response. Each link contains a user friendly name identifying the link and an address for retrieving the particular resource. */ Links []import4.ApiLink `json:"links,omitempty"` Mode *GpuMode `json:"mode,omitempty"` /** Name of the GPU resource. */ Name *string `json:"name,omitempty"` /** Number of supported virtual display heads. */ NumVirtualDisplayHeads *int `json:"numVirtualDisplayHeads,omitempty"` PciAddress *SBDF `json:"pciAddress,omitempty"` /** A globally unique identifier that represents the tenant that owns this entity. It is automatically assigned by the system and is immutable from an API consumer perspective (some use cases may cause this Id to change - for instance a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server). */ TenantId *string `json:"tenantId,omitempty"` Vendor *GpuVendor `json:"vendor,omitempty"` }
* Graphics resource information for the Virtual Machine.
type GpuMode ¶
type GpuMode int
* The mode of this GPU.
func (*GpuMode) MarshalJSON ¶
func (*GpuMode) UnmarshalJSON ¶
type GpuVendor ¶
type GpuVendor int
* The vendor of the GPU.
func (*GpuVendor) MarshalJSON ¶
func (*GpuVendor) UnmarshalJSON ¶
type GuestCustomization ¶
type GuestCustomization struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ ConfigItemDiscriminator_ *string `json:"$configItemDiscriminator,omitempty"` /** The Nutanix Guest Tools customization settings. */ Config *OneOfGuestCustomizationConfig `json:"config,omitempty"` }
* Customize a guest VM.
func NewGuestCustomization ¶
func NewGuestCustomization() *GuestCustomization
func (*GuestCustomization) GetConfig ¶
func (p *GuestCustomization) GetConfig() interface{}
func (*GuestCustomization) SetConfig ¶
func (p *GuestCustomization) SetConfig(v interface{}) error
type GuestPowerOptions ¶
type GuestPowerOptions struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` GuestPowerStateTransitionConfig *GuestPowerStateTransitionConfig `json:"guestPowerStateTransitionConfig,omitempty"` }
* Nutanix Guest Tools shutdown mode options.
func NewGuestPowerOptions ¶
func NewGuestPowerOptions() *GuestPowerOptions
type GuestPowerStateTransitionConfig ¶
type GuestPowerStateTransitionConfig struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** Indicates whether to run the set script before the VM shutdowns/restarts. */ EnableScriptExec *bool `json:"enableScriptExec,omitempty"` /** Indicates whether to abort VM shutdown/restart if the script fails. */ ShouldFailOnScriptFailure *bool `json:"shouldFailOnScriptFailure,omitempty"` }
* Additional configuration for Nutanix Gust Tools power state transition.
func NewGuestPowerStateTransitionConfig ¶
func NewGuestPowerStateTransitionConfig() *GuestPowerStateTransitionConfig
type GuestTools ¶
type GuestTools struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** Version of Nutanix Guest Tools available on the cluster. */ AvailableVersion *string `json:"availableVersion,omitempty"` /** The list of the application names that are enabled on the guest VM. */ Capabilities []NgtCapability `json:"capabilities,omitempty"` /** Version of the operating system on the VM. */ GuestOsVersion *string `json:"guestOsVersion,omitempty"` /** Indicates whether Nutanix Guest Tools is enabled or not. */ IsEnabled *bool `json:"isEnabled,omitempty"` /** Indicates whether Nutanix Guest Tools is installed on the VM or not. */ IsInstalled *bool `json:"isInstalled,omitempty"` /** Indicates whether Nutanix Guest Tools ISO is inserted or not. */ IsIsoInserted *bool `json:"isIsoInserted,omitempty"` /** Indicates whether the communication from VM to CVM is active or not. */ IsReachable *bool `json:"isReachable,omitempty"` /** Indicates whether the VM mobility drivers are installed on the VM or not. */ IsVmMobilityDriversInstalled *bool `json:"isVmMobilityDriversInstalled,omitempty"` /** Indicates whether the VM is configured to take VSS snapshots through NGT or not. */ IsVssSnapshotCapable *bool `json:"isVssSnapshotCapable,omitempty"` /** Version of Nutanix Guest Tools installed on the VM. */ Version *string `json:"version,omitempty"` }
* The details about Nutanix Guest Tools for a VM.
func NewGuestTools ¶
func NewGuestTools() *GuestTools
type GuestToolsInsertConfig ¶
type GuestToolsInsertConfig struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** The list of the application names that are enabled on the guest VM. */ Capabilities []NgtCapability `json:"capabilities,omitempty"` }
* Argument for inserting a Nutanix Guest Tools ISO into an available slot.
func NewGuestToolsInsertConfig ¶
func NewGuestToolsInsertConfig() *GuestToolsInsertConfig
type GuestToolsInstallConfig ¶
type GuestToolsInstallConfig struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** The list of the application names that are enabled on the guest VM. */ Capabilities []NgtCapability `json:"capabilities,omitempty"` Credential *Credential `json:"credential,omitempty"` RebootPreference *RebootPreference `json:"rebootPreference,omitempty"` }
* Arguments for installing Nutanix Guest Tools.
func NewGuestToolsInstallConfig ¶
func NewGuestToolsInstallConfig() *GuestToolsInstallConfig
type GuestToolsUpgradeConfig ¶
type GuestToolsUpgradeConfig struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` RebootPreference *RebootPreference `json:"rebootPreference,omitempty"` }
* Arguments for upgrading Nutanix Guest Tools.
func NewGuestToolsUpgradeConfig ¶
func NewGuestToolsUpgradeConfig() *GuestToolsUpgradeConfig
type HostReference ¶
type HostReference struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** Globally unique identifier of a host. It should be of type UUID. */ ExtId *string `json:"extId,omitempty"` }
* Reference to the host, the VM is running on.
func NewHostReference ¶
func NewHostReference() *HostReference
type ImageReference ¶
type ImageReference struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** Globally unique identifier of an image. It should be of type UUID. */ ImageExtId *string `json:"imageExtId,omitempty"` }
* Clone a disk from an image.
func NewImageReference ¶
func NewImageReference() *ImageReference
type InsertCdromResponse ¶
type InsertCdromResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfInsertCdromResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{vmExtId}/cdroms/{extId}/$actions/insert Post operation
func NewInsertCdromResponse ¶
func NewInsertCdromResponse() *InsertCdromResponse
func (*InsertCdromResponse) GetData ¶
func (p *InsertCdromResponse) GetData() interface{}
func (*InsertCdromResponse) SetData ¶
func (p *InsertCdromResponse) SetData(v interface{}) error
type InsertVmGuestToolsResponse ¶
type InsertVmGuestToolsResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfInsertVmGuestToolsResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{extId}/guest-tools/$actions/insert-iso Post operation
func NewInsertVmGuestToolsResponse ¶
func NewInsertVmGuestToolsResponse() *InsertVmGuestToolsResponse
func (*InsertVmGuestToolsResponse) GetData ¶
func (p *InsertVmGuestToolsResponse) GetData() interface{}
func (*InsertVmGuestToolsResponse) SetData ¶
func (p *InsertVmGuestToolsResponse) SetData(v interface{}) error
type InstallType ¶
type InstallType int
* Indicates whether the guest will be freshly installed using this unattend configuration, or this unattend configuration will be applied to a pre-prepared image. Default is 'PREPARED'.
const ( INSTALLTYPE_UNKNOWN InstallType = 0 INSTALLTYPE_REDACTED InstallType = 1 INSTALLTYPE_FRESH InstallType = 2 INSTALLTYPE_PREPARED InstallType = 3 )
func (*InstallType) MarshalJSON ¶
func (e *InstallType) MarshalJSON() ([]byte, error)
func (InstallType) Ref ¶
func (e InstallType) Ref() *InstallType
func (*InstallType) UnmarshalJSON ¶
func (e *InstallType) UnmarshalJSON(b []byte) error
type InstallVmGuestToolsResponse ¶
type InstallVmGuestToolsResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfInstallVmGuestToolsResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{extId}/guest-tools/$actions/install Post operation
func NewInstallVmGuestToolsResponse ¶
func NewInstallVmGuestToolsResponse() *InstallVmGuestToolsResponse
func (*InstallVmGuestToolsResponse) GetData ¶
func (p *InstallVmGuestToolsResponse) GetData() interface{}
func (*InstallVmGuestToolsResponse) SetData ¶
func (p *InstallVmGuestToolsResponse) SetData(v interface{}) error
type Ipv4Config ¶
type Ipv4Config struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` IpAddress *import1.IPv4Address `json:"ipAddress,omitempty"` /** Secondary IP addresses for the NIC. */ SecondaryIpAddressList []import1.IPv4Address `json:"secondaryIpAddressList,omitempty"` /** If set to true (default value), an IP address must be assigned to the VM NIC - either the one explicitly specified by the user or allocated automatically by the IPAM service by not specifying the IP address. If false, then no IP assignment is required for this VM NIC. */ ShouldAssignIp *bool `json:"shouldAssignIp,omitempty"` }
* The IP address configurations.
func NewIpv4Config ¶
func NewIpv4Config() *Ipv4Config
type Ipv4Info ¶
type Ipv4Info struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** The IP addresses as found on the guest VM for the NIC. */ LearnedIpAddresses []import1.IPv4Address `json:"learnedIpAddresses,omitempty"` }
* The runtime IP address information of the NIC.
func NewIpv4Info ¶
func NewIpv4Info() *Ipv4Info
type LegacyBoot ¶
type LegacyBoot struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ BootDeviceItemDiscriminator_ *string `json:"$bootDeviceItemDiscriminator,omitempty"` BootDevice *OneOfLegacyBootBootDevice `json:"bootDevice,omitempty"` /** Indicates the order of device types in which the VM should try to boot from. If the boot device order is not provided the system will decide an appropriate boot device order. */ BootOrder []BootDeviceType `json:"bootOrder,omitempty"` }
* Legacy boot mode and its associated configuration.
func NewLegacyBoot ¶
func NewLegacyBoot() *LegacyBoot
func (*LegacyBoot) GetBootDevice ¶
func (p *LegacyBoot) GetBootDevice() interface{}
func (*LegacyBoot) SetBootDevice ¶
func (p *LegacyBoot) SetBootDevice(v interface{}) error
type ListCdromsResponse ¶
type ListCdromsResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfListCdromsResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{vmExtId}/cdroms Get operation
func NewListCdromsResponse ¶
func NewListCdromsResponse() *ListCdromsResponse
func (*ListCdromsResponse) GetData ¶
func (p *ListCdromsResponse) GetData() interface{}
func (*ListCdromsResponse) SetData ¶
func (p *ListCdromsResponse) SetData(v interface{}) error
type ListDisksResponse ¶
type ListDisksResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfListDisksResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{vmExtId}/disks Get operation
func NewListDisksResponse ¶
func NewListDisksResponse() *ListDisksResponse
func (*ListDisksResponse) GetData ¶
func (p *ListDisksResponse) GetData() interface{}
func (*ListDisksResponse) SetData ¶
func (p *ListDisksResponse) SetData(v interface{}) error
type ListGpusResponse ¶
type ListGpusResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfListGpusResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{vmExtId}/gpus Get operation
func NewListGpusResponse ¶
func NewListGpusResponse() *ListGpusResponse
func (*ListGpusResponse) GetData ¶
func (p *ListGpusResponse) GetData() interface{}
func (*ListGpusResponse) SetData ¶
func (p *ListGpusResponse) SetData(v interface{}) error
type ListNicsResponse ¶
type ListNicsResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfListNicsResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{vmExtId}/nics Get operation
func NewListNicsResponse ¶
func NewListNicsResponse() *ListNicsResponse
func (*ListNicsResponse) GetData ¶
func (p *ListNicsResponse) GetData() interface{}
func (*ListNicsResponse) SetData ¶
func (p *ListNicsResponse) SetData(v interface{}) error
type ListSerialPortsResponse ¶
type ListSerialPortsResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfListSerialPortsResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{vmExtId}/serial-ports Get operation
func NewListSerialPortsResponse ¶
func NewListSerialPortsResponse() *ListSerialPortsResponse
func (*ListSerialPortsResponse) GetData ¶
func (p *ListSerialPortsResponse) GetData() interface{}
func (*ListSerialPortsResponse) SetData ¶
func (p *ListSerialPortsResponse) SetData(v interface{}) error
type ListVmsResponse ¶
type ListVmsResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfListVmsResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms Get operation
func NewListVmsResponse ¶
func NewListVmsResponse() *ListVmsResponse
func (*ListVmsResponse) GetData ¶
func (p *ListVmsResponse) GetData() interface{}
func (*ListVmsResponse) SetData ¶
func (p *ListVmsResponse) SetData(v interface{}) error
type MachineType ¶
type MachineType int
* Machine type for the VM. Machine type Q35 is required for secure boot and does not support IDE disks.
const ( MACHINETYPE_UNKNOWN MachineType = 0 MACHINETYPE_REDACTED MachineType = 1 MACHINETYPE_PC MachineType = 2 MACHINETYPE_PSERIES MachineType = 3 MACHINETYPE_Q35 MachineType = 4 )
func (*MachineType) MarshalJSON ¶
func (e *MachineType) MarshalJSON() ([]byte, error)
func (MachineType) Ref ¶
func (e MachineType) Ref() *MachineType
func (*MachineType) UnmarshalJSON ¶
func (e *MachineType) UnmarshalJSON(b []byte) error
type MigrateNicConfig ¶
type MigrateNicConfig struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` IpAddress *import1.IPv4Address `json:"ipAddress,omitempty"` MigrateType *MigrateNicType `json:"migrateType"` Subnet *SubnetReference `json:"subnet"` }
* Configurations for migrating a VM NIC.
func NewMigrateNicConfig ¶
func NewMigrateNicConfig() *MigrateNicConfig
func (*MigrateNicConfig) MarshalJSON ¶
func (p *MigrateNicConfig) MarshalJSON() ([]byte, error)
type MigrateNicResponse ¶
type MigrateNicResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfMigrateNicResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{vmExtId}/nics/{extId}/$actions/migrate Post operation
func NewMigrateNicResponse ¶
func NewMigrateNicResponse() *MigrateNicResponse
func (*MigrateNicResponse) GetData ¶
func (p *MigrateNicResponse) GetData() interface{}
func (*MigrateNicResponse) SetData ¶
func (p *MigrateNicResponse) SetData(v interface{}) error
type MigrateNicType ¶
type MigrateNicType int
* The type of IP address management for NIC migration.
const ( MIGRATENICTYPE_UNKNOWN MigrateNicType = 0 MIGRATENICTYPE_REDACTED MigrateNicType = 1 MIGRATENICTYPE_ASSIGN_IP MigrateNicType = 2 MIGRATENICTYPE_RELEASE_IP MigrateNicType = 3 )
func (*MigrateNicType) MarshalJSON ¶
func (e *MigrateNicType) MarshalJSON() ([]byte, error)
func (MigrateNicType) Ref ¶
func (e MigrateNicType) Ref() *MigrateNicType
func (*MigrateNicType) UnmarshalJSON ¶
func (e *MigrateNicType) UnmarshalJSON(b []byte) error
type NetworkFunctionChainReference ¶
type NetworkFunctionChainReference struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** Globally unique identifier of a network function chain. It should be of type UUID. */ ExtId *string `json:"extId,omitempty"` }
* The network function chain associates with the NIC. Only valid if nic_type is NORMAL_NIC.
func NewNetworkFunctionChainReference ¶
func NewNetworkFunctionChainReference() *NetworkFunctionChainReference
type NetworkFunctionNicType ¶
type NetworkFunctionNicType int
* The type of this Network function NIC. Defaults to INGRESS.
const ( NETWORKFUNCTIONNICTYPE_UNKNOWN NetworkFunctionNicType = 0 NETWORKFUNCTIONNICTYPE_REDACTED NetworkFunctionNicType = 1 NETWORKFUNCTIONNICTYPE_INGRESS NetworkFunctionNicType = 2 NETWORKFUNCTIONNICTYPE_EGRESS NetworkFunctionNicType = 3 NETWORKFUNCTIONNICTYPE_TAP NetworkFunctionNicType = 4 )
func (*NetworkFunctionNicType) MarshalJSON ¶
func (e *NetworkFunctionNicType) MarshalJSON() ([]byte, error)
func (NetworkFunctionNicType) Ref ¶
func (e NetworkFunctionNicType) Ref() *NetworkFunctionNicType
func (*NetworkFunctionNicType) UnmarshalJSON ¶
func (e *NetworkFunctionNicType) UnmarshalJSON(b []byte) error
type NgtCapability ¶
type NgtCapability int
* The capabilities of the Nutanix Guest Tools in the VM.
const ( NGTCAPABILITY_UNKNOWN NgtCapability = 0 NGTCAPABILITY_REDACTED NgtCapability = 1 NGTCAPABILITY_SELF_SERVICE_RESTORE NgtCapability = 2 NGTCAPABILITY_VSS_SNAPSHOT NgtCapability = 3 )
func (*NgtCapability) MarshalJSON ¶
func (e *NgtCapability) MarshalJSON() ([]byte, error)
func (NgtCapability) Ref ¶
func (e NgtCapability) Ref() *NgtCapability
func (*NgtCapability) UnmarshalJSON ¶
func (e *NgtCapability) UnmarshalJSON(b []byte) error
type Nic ¶
type Nic struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` BackingInfo *EmulatedNic `json:"backingInfo,omitempty"` /** A globally unique identifier of an instance that is suitable for external consumption. */ ExtId *string `json:"extId,omitempty"` /** A HATEOAS style link for the response. Each link contains a user friendly name identifying the link and an address for retrieving the particular resource. */ Links []import4.ApiLink `json:"links,omitempty"` NetworkInfo *NicNetworkInfo `json:"networkInfo,omitempty"` /** A globally unique identifier that represents the tenant that owns this entity. It is automatically assigned by the system and is immutable from an API consumer perspective (some use cases may cause this Id to change - for instance a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server). */ TenantId *string `json:"tenantId,omitempty"` }
* Virtual Machine NIC.
type NicNetworkInfo ¶
type NicNetworkInfo struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** Indicates whether an unknown unicast traffic is forwarded to this NIC or not. This is applicable only for the NICs on the overlay subnets. */ AllowUnknownMacs *bool `json:"allowUnknownMacs,omitempty"` Ipv4Config *Ipv4Config `json:"ipv4Config,omitempty"` Ipv4Info *Ipv4Info `json:"ipv4Info,omitempty"` NetworkFunctionChain *NetworkFunctionChainReference `json:"networkFunctionChain,omitempty"` NetworkFunctionNicType *NetworkFunctionNicType `json:"networkFunctionNicType,omitempty"` NicType *NicType `json:"nicType,omitempty"` Subnet *SubnetReference `json:"subnet,omitempty"` /** List of networks to trunk if VLAN mode is marked as TRUNKED. If empty and VLAN mode is set to TRUNKED, all the VLANs are trunked. */ TrunkedVlans []int `json:"trunkedVlans,omitempty"` VlanMode *VlanMode `json:"vlanMode,omitempty"` }
* Network information for a NIC.
func NewNicNetworkInfo ¶
func NewNicNetworkInfo() *NicNetworkInfo
type NicType ¶
type NicType int
* NIC type. Defaults to NORMAL_NIC.
func (*NicType) MarshalJSON ¶
func (*NicType) UnmarshalJSON ¶
type NvramDevice ¶
type NvramDevice struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` BackingStorageInfo *VmDisk `json:"backingStorageInfo,omitempty"` }
* Configuration for NVRAM to be presented to the VM.
func NewNvramDevice ¶
func NewNvramDevice() *NvramDevice
type OneOfAssignIpResponseData ¶
type OneOfAssignIpResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfAssignIpResponseData ¶
func NewOneOfAssignIpResponseData() *OneOfAssignIpResponseData
func (*OneOfAssignIpResponseData) GetValue ¶
func (p *OneOfAssignIpResponseData) GetValue() interface{}
func (*OneOfAssignIpResponseData) MarshalJSON ¶
func (p *OneOfAssignIpResponseData) MarshalJSON() ([]byte, error)
func (*OneOfAssignIpResponseData) SetValue ¶
func (p *OneOfAssignIpResponseData) SetValue(v interface{}) error
func (*OneOfAssignIpResponseData) UnmarshalJSON ¶
func (p *OneOfAssignIpResponseData) UnmarshalJSON(b []byte) error
type OneOfAttachVmCategoryResponseData ¶
type OneOfAttachVmCategoryResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfAttachVmCategoryResponseData ¶
func NewOneOfAttachVmCategoryResponseData() *OneOfAttachVmCategoryResponseData
func (*OneOfAttachVmCategoryResponseData) GetValue ¶
func (p *OneOfAttachVmCategoryResponseData) GetValue() interface{}
func (*OneOfAttachVmCategoryResponseData) MarshalJSON ¶
func (p *OneOfAttachVmCategoryResponseData) MarshalJSON() ([]byte, error)
func (*OneOfAttachVmCategoryResponseData) SetValue ¶
func (p *OneOfAttachVmCategoryResponseData) SetValue(v interface{}) error
func (*OneOfAttachVmCategoryResponseData) UnmarshalJSON ¶
func (p *OneOfAttachVmCategoryResponseData) UnmarshalJSON(b []byte) error
type OneOfCloneOverrideBootConfig ¶
type OneOfCloneOverrideBootConfig struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfCloneOverrideBootConfig ¶
func NewOneOfCloneOverrideBootConfig() *OneOfCloneOverrideBootConfig
func (*OneOfCloneOverrideBootConfig) GetValue ¶
func (p *OneOfCloneOverrideBootConfig) GetValue() interface{}
func (*OneOfCloneOverrideBootConfig) MarshalJSON ¶
func (p *OneOfCloneOverrideBootConfig) MarshalJSON() ([]byte, error)
func (*OneOfCloneOverrideBootConfig) SetValue ¶
func (p *OneOfCloneOverrideBootConfig) SetValue(v interface{}) error
func (*OneOfCloneOverrideBootConfig) UnmarshalJSON ¶
func (p *OneOfCloneOverrideBootConfig) UnmarshalJSON(b []byte) error
type OneOfCloneVmResponseData ¶
type OneOfCloneVmResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfCloneVmResponseData ¶
func NewOneOfCloneVmResponseData() *OneOfCloneVmResponseData
func (*OneOfCloneVmResponseData) GetValue ¶
func (p *OneOfCloneVmResponseData) GetValue() interface{}
func (*OneOfCloneVmResponseData) MarshalJSON ¶
func (p *OneOfCloneVmResponseData) MarshalJSON() ([]byte, error)
func (*OneOfCloneVmResponseData) SetValue ¶
func (p *OneOfCloneVmResponseData) SetValue(v interface{}) error
func (*OneOfCloneVmResponseData) UnmarshalJSON ¶
func (p *OneOfCloneVmResponseData) UnmarshalJSON(b []byte) error
type OneOfCloudInitCloudInitScript ¶
type OneOfCloudInitCloudInitScript struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfCloudInitCloudInitScript ¶
func NewOneOfCloudInitCloudInitScript() *OneOfCloudInitCloudInitScript
func (*OneOfCloudInitCloudInitScript) GetValue ¶
func (p *OneOfCloudInitCloudInitScript) GetValue() interface{}
func (*OneOfCloudInitCloudInitScript) MarshalJSON ¶
func (p *OneOfCloudInitCloudInitScript) MarshalJSON() ([]byte, error)
func (*OneOfCloudInitCloudInitScript) SetValue ¶
func (p *OneOfCloudInitCloudInitScript) SetValue(v interface{}) error
func (*OneOfCloudInitCloudInitScript) UnmarshalJSON ¶
func (p *OneOfCloudInitCloudInitScript) UnmarshalJSON(b []byte) error
type OneOfCreateCdromResponseData ¶
type OneOfCreateCdromResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfCreateCdromResponseData ¶
func NewOneOfCreateCdromResponseData() *OneOfCreateCdromResponseData
func (*OneOfCreateCdromResponseData) GetValue ¶
func (p *OneOfCreateCdromResponseData) GetValue() interface{}
func (*OneOfCreateCdromResponseData) MarshalJSON ¶
func (p *OneOfCreateCdromResponseData) MarshalJSON() ([]byte, error)
func (*OneOfCreateCdromResponseData) SetValue ¶
func (p *OneOfCreateCdromResponseData) SetValue(v interface{}) error
func (*OneOfCreateCdromResponseData) UnmarshalJSON ¶
func (p *OneOfCreateCdromResponseData) UnmarshalJSON(b []byte) error
type OneOfCreateDiskResponseData ¶
type OneOfCreateDiskResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfCreateDiskResponseData ¶
func NewOneOfCreateDiskResponseData() *OneOfCreateDiskResponseData
func (*OneOfCreateDiskResponseData) GetValue ¶
func (p *OneOfCreateDiskResponseData) GetValue() interface{}
func (*OneOfCreateDiskResponseData) MarshalJSON ¶
func (p *OneOfCreateDiskResponseData) MarshalJSON() ([]byte, error)
func (*OneOfCreateDiskResponseData) SetValue ¶
func (p *OneOfCreateDiskResponseData) SetValue(v interface{}) error
func (*OneOfCreateDiskResponseData) UnmarshalJSON ¶
func (p *OneOfCreateDiskResponseData) UnmarshalJSON(b []byte) error
type OneOfCreateGpuResponseData ¶
type OneOfCreateGpuResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfCreateGpuResponseData ¶
func NewOneOfCreateGpuResponseData() *OneOfCreateGpuResponseData
func (*OneOfCreateGpuResponseData) GetValue ¶
func (p *OneOfCreateGpuResponseData) GetValue() interface{}
func (*OneOfCreateGpuResponseData) MarshalJSON ¶
func (p *OneOfCreateGpuResponseData) MarshalJSON() ([]byte, error)
func (*OneOfCreateGpuResponseData) SetValue ¶
func (p *OneOfCreateGpuResponseData) SetValue(v interface{}) error
func (*OneOfCreateGpuResponseData) UnmarshalJSON ¶
func (p *OneOfCreateGpuResponseData) UnmarshalJSON(b []byte) error
type OneOfCreateNicResponseData ¶
type OneOfCreateNicResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfCreateNicResponseData ¶
func NewOneOfCreateNicResponseData() *OneOfCreateNicResponseData
func (*OneOfCreateNicResponseData) GetValue ¶
func (p *OneOfCreateNicResponseData) GetValue() interface{}
func (*OneOfCreateNicResponseData) MarshalJSON ¶
func (p *OneOfCreateNicResponseData) MarshalJSON() ([]byte, error)
func (*OneOfCreateNicResponseData) SetValue ¶
func (p *OneOfCreateNicResponseData) SetValue(v interface{}) error
func (*OneOfCreateNicResponseData) UnmarshalJSON ¶
func (p *OneOfCreateNicResponseData) UnmarshalJSON(b []byte) error
type OneOfCreateSerialPortResponseData ¶
type OneOfCreateSerialPortResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfCreateSerialPortResponseData ¶
func NewOneOfCreateSerialPortResponseData() *OneOfCreateSerialPortResponseData
func (*OneOfCreateSerialPortResponseData) GetValue ¶
func (p *OneOfCreateSerialPortResponseData) GetValue() interface{}
func (*OneOfCreateSerialPortResponseData) MarshalJSON ¶
func (p *OneOfCreateSerialPortResponseData) MarshalJSON() ([]byte, error)
func (*OneOfCreateSerialPortResponseData) SetValue ¶
func (p *OneOfCreateSerialPortResponseData) SetValue(v interface{}) error
func (*OneOfCreateSerialPortResponseData) UnmarshalJSON ¶
func (p *OneOfCreateSerialPortResponseData) UnmarshalJSON(b []byte) error
type OneOfCreateVmResponseData ¶
type OneOfCreateVmResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfCreateVmResponseData ¶
func NewOneOfCreateVmResponseData() *OneOfCreateVmResponseData
func (*OneOfCreateVmResponseData) GetValue ¶
func (p *OneOfCreateVmResponseData) GetValue() interface{}
func (*OneOfCreateVmResponseData) MarshalJSON ¶
func (p *OneOfCreateVmResponseData) MarshalJSON() ([]byte, error)
func (*OneOfCreateVmResponseData) SetValue ¶
func (p *OneOfCreateVmResponseData) SetValue(v interface{}) error
func (*OneOfCreateVmResponseData) UnmarshalJSON ¶
func (p *OneOfCreateVmResponseData) UnmarshalJSON(b []byte) error
type OneOfCustomizeGuestVmResponseData ¶
type OneOfCustomizeGuestVmResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfCustomizeGuestVmResponseData ¶
func NewOneOfCustomizeGuestVmResponseData() *OneOfCustomizeGuestVmResponseData
func (*OneOfCustomizeGuestVmResponseData) GetValue ¶
func (p *OneOfCustomizeGuestVmResponseData) GetValue() interface{}
func (*OneOfCustomizeGuestVmResponseData) MarshalJSON ¶
func (p *OneOfCustomizeGuestVmResponseData) MarshalJSON() ([]byte, error)
func (*OneOfCustomizeGuestVmResponseData) SetValue ¶
func (p *OneOfCustomizeGuestVmResponseData) SetValue(v interface{}) error
func (*OneOfCustomizeGuestVmResponseData) UnmarshalJSON ¶
func (p *OneOfCustomizeGuestVmResponseData) UnmarshalJSON(b []byte) error
type OneOfDataSourceReference ¶
type OneOfDataSourceReference struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfDataSourceReference ¶
func NewOneOfDataSourceReference() *OneOfDataSourceReference
func (*OneOfDataSourceReference) GetValue ¶
func (p *OneOfDataSourceReference) GetValue() interface{}
func (*OneOfDataSourceReference) MarshalJSON ¶
func (p *OneOfDataSourceReference) MarshalJSON() ([]byte, error)
func (*OneOfDataSourceReference) SetValue ¶
func (p *OneOfDataSourceReference) SetValue(v interface{}) error
func (*OneOfDataSourceReference) UnmarshalJSON ¶
func (p *OneOfDataSourceReference) UnmarshalJSON(b []byte) error
type OneOfDeleteCdromResponseData ¶
type OneOfDeleteCdromResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfDeleteCdromResponseData ¶
func NewOneOfDeleteCdromResponseData() *OneOfDeleteCdromResponseData
func (*OneOfDeleteCdromResponseData) GetValue ¶
func (p *OneOfDeleteCdromResponseData) GetValue() interface{}
func (*OneOfDeleteCdromResponseData) MarshalJSON ¶
func (p *OneOfDeleteCdromResponseData) MarshalJSON() ([]byte, error)
func (*OneOfDeleteCdromResponseData) SetValue ¶
func (p *OneOfDeleteCdromResponseData) SetValue(v interface{}) error
func (*OneOfDeleteCdromResponseData) UnmarshalJSON ¶
func (p *OneOfDeleteCdromResponseData) UnmarshalJSON(b []byte) error
type OneOfDeleteDiskResponseData ¶
type OneOfDeleteDiskResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfDeleteDiskResponseData ¶
func NewOneOfDeleteDiskResponseData() *OneOfDeleteDiskResponseData
func (*OneOfDeleteDiskResponseData) GetValue ¶
func (p *OneOfDeleteDiskResponseData) GetValue() interface{}
func (*OneOfDeleteDiskResponseData) MarshalJSON ¶
func (p *OneOfDeleteDiskResponseData) MarshalJSON() ([]byte, error)
func (*OneOfDeleteDiskResponseData) SetValue ¶
func (p *OneOfDeleteDiskResponseData) SetValue(v interface{}) error
func (*OneOfDeleteDiskResponseData) UnmarshalJSON ¶
func (p *OneOfDeleteDiskResponseData) UnmarshalJSON(b []byte) error
type OneOfDeleteGpuResponseData ¶
type OneOfDeleteGpuResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfDeleteGpuResponseData ¶
func NewOneOfDeleteGpuResponseData() *OneOfDeleteGpuResponseData
func (*OneOfDeleteGpuResponseData) GetValue ¶
func (p *OneOfDeleteGpuResponseData) GetValue() interface{}
func (*OneOfDeleteGpuResponseData) MarshalJSON ¶
func (p *OneOfDeleteGpuResponseData) MarshalJSON() ([]byte, error)
func (*OneOfDeleteGpuResponseData) SetValue ¶
func (p *OneOfDeleteGpuResponseData) SetValue(v interface{}) error
func (*OneOfDeleteGpuResponseData) UnmarshalJSON ¶
func (p *OneOfDeleteGpuResponseData) UnmarshalJSON(b []byte) error
type OneOfDeleteNicResponseData ¶
type OneOfDeleteNicResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfDeleteNicResponseData ¶
func NewOneOfDeleteNicResponseData() *OneOfDeleteNicResponseData
func (*OneOfDeleteNicResponseData) GetValue ¶
func (p *OneOfDeleteNicResponseData) GetValue() interface{}
func (*OneOfDeleteNicResponseData) MarshalJSON ¶
func (p *OneOfDeleteNicResponseData) MarshalJSON() ([]byte, error)
func (*OneOfDeleteNicResponseData) SetValue ¶
func (p *OneOfDeleteNicResponseData) SetValue(v interface{}) error
func (*OneOfDeleteNicResponseData) UnmarshalJSON ¶
func (p *OneOfDeleteNicResponseData) UnmarshalJSON(b []byte) error
type OneOfDeleteSerialPortResponseData ¶
type OneOfDeleteSerialPortResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfDeleteSerialPortResponseData ¶
func NewOneOfDeleteSerialPortResponseData() *OneOfDeleteSerialPortResponseData
func (*OneOfDeleteSerialPortResponseData) GetValue ¶
func (p *OneOfDeleteSerialPortResponseData) GetValue() interface{}
func (*OneOfDeleteSerialPortResponseData) MarshalJSON ¶
func (p *OneOfDeleteSerialPortResponseData) MarshalJSON() ([]byte, error)
func (*OneOfDeleteSerialPortResponseData) SetValue ¶
func (p *OneOfDeleteSerialPortResponseData) SetValue(v interface{}) error
func (*OneOfDeleteSerialPortResponseData) UnmarshalJSON ¶
func (p *OneOfDeleteSerialPortResponseData) UnmarshalJSON(b []byte) error
type OneOfDeleteVmResponseData ¶
type OneOfDeleteVmResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfDeleteVmResponseData ¶
func NewOneOfDeleteVmResponseData() *OneOfDeleteVmResponseData
func (*OneOfDeleteVmResponseData) GetValue ¶
func (p *OneOfDeleteVmResponseData) GetValue() interface{}
func (*OneOfDeleteVmResponseData) MarshalJSON ¶
func (p *OneOfDeleteVmResponseData) MarshalJSON() ([]byte, error)
func (*OneOfDeleteVmResponseData) SetValue ¶
func (p *OneOfDeleteVmResponseData) SetValue(v interface{}) error
func (*OneOfDeleteVmResponseData) UnmarshalJSON ¶
func (p *OneOfDeleteVmResponseData) UnmarshalJSON(b []byte) error
type OneOfDetachVmCategoryResponseData ¶
type OneOfDetachVmCategoryResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfDetachVmCategoryResponseData ¶
func NewOneOfDetachVmCategoryResponseData() *OneOfDetachVmCategoryResponseData
func (*OneOfDetachVmCategoryResponseData) GetValue ¶
func (p *OneOfDetachVmCategoryResponseData) GetValue() interface{}
func (*OneOfDetachVmCategoryResponseData) MarshalJSON ¶
func (p *OneOfDetachVmCategoryResponseData) MarshalJSON() ([]byte, error)
func (*OneOfDetachVmCategoryResponseData) SetValue ¶
func (p *OneOfDetachVmCategoryResponseData) SetValue(v interface{}) error
func (*OneOfDetachVmCategoryResponseData) UnmarshalJSON ¶
func (p *OneOfDetachVmCategoryResponseData) UnmarshalJSON(b []byte) error
type OneOfDiskBackingInfo ¶
type OneOfDiskBackingInfo struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfDiskBackingInfo ¶
func NewOneOfDiskBackingInfo() *OneOfDiskBackingInfo
func (*OneOfDiskBackingInfo) GetValue ¶
func (p *OneOfDiskBackingInfo) GetValue() interface{}
func (*OneOfDiskBackingInfo) MarshalJSON ¶
func (p *OneOfDiskBackingInfo) MarshalJSON() ([]byte, error)
func (*OneOfDiskBackingInfo) SetValue ¶
func (p *OneOfDiskBackingInfo) SetValue(v interface{}) error
func (*OneOfDiskBackingInfo) UnmarshalJSON ¶
func (p *OneOfDiskBackingInfo) UnmarshalJSON(b []byte) error
type OneOfEjectCdromResponseData ¶
type OneOfEjectCdromResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfEjectCdromResponseData ¶
func NewOneOfEjectCdromResponseData() *OneOfEjectCdromResponseData
func (*OneOfEjectCdromResponseData) GetValue ¶
func (p *OneOfEjectCdromResponseData) GetValue() interface{}
func (*OneOfEjectCdromResponseData) MarshalJSON ¶
func (p *OneOfEjectCdromResponseData) MarshalJSON() ([]byte, error)
func (*OneOfEjectCdromResponseData) SetValue ¶
func (p *OneOfEjectCdromResponseData) SetValue(v interface{}) error
func (*OneOfEjectCdromResponseData) UnmarshalJSON ¶
func (p *OneOfEjectCdromResponseData) UnmarshalJSON(b []byte) error
type OneOfGetCdromResponseData ¶
type OneOfGetCdromResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetCdromResponseData ¶
func NewOneOfGetCdromResponseData() *OneOfGetCdromResponseData
func (*OneOfGetCdromResponseData) GetValue ¶
func (p *OneOfGetCdromResponseData) GetValue() interface{}
func (*OneOfGetCdromResponseData) MarshalJSON ¶
func (p *OneOfGetCdromResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetCdromResponseData) SetValue ¶
func (p *OneOfGetCdromResponseData) SetValue(v interface{}) error
func (*OneOfGetCdromResponseData) UnmarshalJSON ¶
func (p *OneOfGetCdromResponseData) UnmarshalJSON(b []byte) error
type OneOfGetDiskResponseData ¶
type OneOfGetDiskResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetDiskResponseData ¶
func NewOneOfGetDiskResponseData() *OneOfGetDiskResponseData
func (*OneOfGetDiskResponseData) GetValue ¶
func (p *OneOfGetDiskResponseData) GetValue() interface{}
func (*OneOfGetDiskResponseData) MarshalJSON ¶
func (p *OneOfGetDiskResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetDiskResponseData) SetValue ¶
func (p *OneOfGetDiskResponseData) SetValue(v interface{}) error
func (*OneOfGetDiskResponseData) UnmarshalJSON ¶
func (p *OneOfGetDiskResponseData) UnmarshalJSON(b []byte) error
type OneOfGetGpuResponseData ¶
type OneOfGetGpuResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetGpuResponseData ¶
func NewOneOfGetGpuResponseData() *OneOfGetGpuResponseData
func (*OneOfGetGpuResponseData) GetValue ¶
func (p *OneOfGetGpuResponseData) GetValue() interface{}
func (*OneOfGetGpuResponseData) MarshalJSON ¶
func (p *OneOfGetGpuResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetGpuResponseData) SetValue ¶
func (p *OneOfGetGpuResponseData) SetValue(v interface{}) error
func (*OneOfGetGpuResponseData) UnmarshalJSON ¶
func (p *OneOfGetGpuResponseData) UnmarshalJSON(b []byte) error
type OneOfGetGuestToolsResponseData ¶
type OneOfGetGuestToolsResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetGuestToolsResponseData ¶
func NewOneOfGetGuestToolsResponseData() *OneOfGetGuestToolsResponseData
func (*OneOfGetGuestToolsResponseData) GetValue ¶
func (p *OneOfGetGuestToolsResponseData) GetValue() interface{}
func (*OneOfGetGuestToolsResponseData) MarshalJSON ¶
func (p *OneOfGetGuestToolsResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetGuestToolsResponseData) SetValue ¶
func (p *OneOfGetGuestToolsResponseData) SetValue(v interface{}) error
func (*OneOfGetGuestToolsResponseData) UnmarshalJSON ¶
func (p *OneOfGetGuestToolsResponseData) UnmarshalJSON(b []byte) error
type OneOfGetNicResponseData ¶
type OneOfGetNicResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetNicResponseData ¶
func NewOneOfGetNicResponseData() *OneOfGetNicResponseData
func (*OneOfGetNicResponseData) GetValue ¶
func (p *OneOfGetNicResponseData) GetValue() interface{}
func (*OneOfGetNicResponseData) MarshalJSON ¶
func (p *OneOfGetNicResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetNicResponseData) SetValue ¶
func (p *OneOfGetNicResponseData) SetValue(v interface{}) error
func (*OneOfGetNicResponseData) UnmarshalJSON ¶
func (p *OneOfGetNicResponseData) UnmarshalJSON(b []byte) error
type OneOfGetSerialPortResponseData ¶
type OneOfGetSerialPortResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetSerialPortResponseData ¶
func NewOneOfGetSerialPortResponseData() *OneOfGetSerialPortResponseData
func (*OneOfGetSerialPortResponseData) GetValue ¶
func (p *OneOfGetSerialPortResponseData) GetValue() interface{}
func (*OneOfGetSerialPortResponseData) MarshalJSON ¶
func (p *OneOfGetSerialPortResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetSerialPortResponseData) SetValue ¶
func (p *OneOfGetSerialPortResponseData) SetValue(v interface{}) error
func (*OneOfGetSerialPortResponseData) UnmarshalJSON ¶
func (p *OneOfGetSerialPortResponseData) UnmarshalJSON(b []byte) error
type OneOfGetVmCategoriesResponseData ¶
type OneOfGetVmCategoriesResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetVmCategoriesResponseData ¶
func NewOneOfGetVmCategoriesResponseData() *OneOfGetVmCategoriesResponseData
func (*OneOfGetVmCategoriesResponseData) GetValue ¶
func (p *OneOfGetVmCategoriesResponseData) GetValue() interface{}
func (*OneOfGetVmCategoriesResponseData) MarshalJSON ¶
func (p *OneOfGetVmCategoriesResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetVmCategoriesResponseData) SetValue ¶
func (p *OneOfGetVmCategoriesResponseData) SetValue(v interface{}) error
func (*OneOfGetVmCategoriesResponseData) UnmarshalJSON ¶
func (p *OneOfGetVmCategoriesResponseData) UnmarshalJSON(b []byte) error
type OneOfGetVmOwnershipInfoResponseData ¶
type OneOfGetVmOwnershipInfoResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetVmOwnershipInfoResponseData ¶
func NewOneOfGetVmOwnershipInfoResponseData() *OneOfGetVmOwnershipInfoResponseData
func (*OneOfGetVmOwnershipInfoResponseData) GetValue ¶
func (p *OneOfGetVmOwnershipInfoResponseData) GetValue() interface{}
func (*OneOfGetVmOwnershipInfoResponseData) MarshalJSON ¶
func (p *OneOfGetVmOwnershipInfoResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetVmOwnershipInfoResponseData) SetValue ¶
func (p *OneOfGetVmOwnershipInfoResponseData) SetValue(v interface{}) error
func (*OneOfGetVmOwnershipInfoResponseData) UnmarshalJSON ¶
func (p *OneOfGetVmOwnershipInfoResponseData) UnmarshalJSON(b []byte) error
type OneOfGetVmResponseData ¶
type OneOfGetVmResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetVmResponseData ¶
func NewOneOfGetVmResponseData() *OneOfGetVmResponseData
func (*OneOfGetVmResponseData) GetValue ¶
func (p *OneOfGetVmResponseData) GetValue() interface{}
func (*OneOfGetVmResponseData) MarshalJSON ¶
func (p *OneOfGetVmResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetVmResponseData) SetValue ¶
func (p *OneOfGetVmResponseData) SetValue(v interface{}) error
func (*OneOfGetVmResponseData) UnmarshalJSON ¶
func (p *OneOfGetVmResponseData) UnmarshalJSON(b []byte) error
type OneOfGuestCustomizationConfig ¶
type OneOfGuestCustomizationConfig struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGuestCustomizationConfig ¶
func NewOneOfGuestCustomizationConfig() *OneOfGuestCustomizationConfig
func (*OneOfGuestCustomizationConfig) GetValue ¶
func (p *OneOfGuestCustomizationConfig) GetValue() interface{}
func (*OneOfGuestCustomizationConfig) MarshalJSON ¶
func (p *OneOfGuestCustomizationConfig) MarshalJSON() ([]byte, error)
func (*OneOfGuestCustomizationConfig) SetValue ¶
func (p *OneOfGuestCustomizationConfig) SetValue(v interface{}) error
func (*OneOfGuestCustomizationConfig) UnmarshalJSON ¶
func (p *OneOfGuestCustomizationConfig) UnmarshalJSON(b []byte) error
type OneOfInsertCdromResponseData ¶
type OneOfInsertCdromResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfInsertCdromResponseData ¶
func NewOneOfInsertCdromResponseData() *OneOfInsertCdromResponseData
func (*OneOfInsertCdromResponseData) GetValue ¶
func (p *OneOfInsertCdromResponseData) GetValue() interface{}
func (*OneOfInsertCdromResponseData) MarshalJSON ¶
func (p *OneOfInsertCdromResponseData) MarshalJSON() ([]byte, error)
func (*OneOfInsertCdromResponseData) SetValue ¶
func (p *OneOfInsertCdromResponseData) SetValue(v interface{}) error
func (*OneOfInsertCdromResponseData) UnmarshalJSON ¶
func (p *OneOfInsertCdromResponseData) UnmarshalJSON(b []byte) error
type OneOfInsertVmGuestToolsResponseData ¶
type OneOfInsertVmGuestToolsResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfInsertVmGuestToolsResponseData ¶
func NewOneOfInsertVmGuestToolsResponseData() *OneOfInsertVmGuestToolsResponseData
func (*OneOfInsertVmGuestToolsResponseData) GetValue ¶
func (p *OneOfInsertVmGuestToolsResponseData) GetValue() interface{}
func (*OneOfInsertVmGuestToolsResponseData) MarshalJSON ¶
func (p *OneOfInsertVmGuestToolsResponseData) MarshalJSON() ([]byte, error)
func (*OneOfInsertVmGuestToolsResponseData) SetValue ¶
func (p *OneOfInsertVmGuestToolsResponseData) SetValue(v interface{}) error
func (*OneOfInsertVmGuestToolsResponseData) UnmarshalJSON ¶
func (p *OneOfInsertVmGuestToolsResponseData) UnmarshalJSON(b []byte) error
type OneOfInstallVmGuestToolsResponseData ¶
type OneOfInstallVmGuestToolsResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfInstallVmGuestToolsResponseData ¶
func NewOneOfInstallVmGuestToolsResponseData() *OneOfInstallVmGuestToolsResponseData
func (*OneOfInstallVmGuestToolsResponseData) GetValue ¶
func (p *OneOfInstallVmGuestToolsResponseData) GetValue() interface{}
func (*OneOfInstallVmGuestToolsResponseData) MarshalJSON ¶
func (p *OneOfInstallVmGuestToolsResponseData) MarshalJSON() ([]byte, error)
func (*OneOfInstallVmGuestToolsResponseData) SetValue ¶
func (p *OneOfInstallVmGuestToolsResponseData) SetValue(v interface{}) error
func (*OneOfInstallVmGuestToolsResponseData) UnmarshalJSON ¶
func (p *OneOfInstallVmGuestToolsResponseData) UnmarshalJSON(b []byte) error
type OneOfLegacyBootBootDevice ¶
type OneOfLegacyBootBootDevice struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfLegacyBootBootDevice ¶
func NewOneOfLegacyBootBootDevice() *OneOfLegacyBootBootDevice
func (*OneOfLegacyBootBootDevice) GetValue ¶
func (p *OneOfLegacyBootBootDevice) GetValue() interface{}
func (*OneOfLegacyBootBootDevice) MarshalJSON ¶
func (p *OneOfLegacyBootBootDevice) MarshalJSON() ([]byte, error)
func (*OneOfLegacyBootBootDevice) SetValue ¶
func (p *OneOfLegacyBootBootDevice) SetValue(v interface{}) error
func (*OneOfLegacyBootBootDevice) UnmarshalJSON ¶
func (p *OneOfLegacyBootBootDevice) UnmarshalJSON(b []byte) error
type OneOfListCdromsResponseData ¶
type OneOfListCdromsResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfListCdromsResponseData ¶
func NewOneOfListCdromsResponseData() *OneOfListCdromsResponseData
func (*OneOfListCdromsResponseData) GetValue ¶
func (p *OneOfListCdromsResponseData) GetValue() interface{}
func (*OneOfListCdromsResponseData) MarshalJSON ¶
func (p *OneOfListCdromsResponseData) MarshalJSON() ([]byte, error)
func (*OneOfListCdromsResponseData) SetValue ¶
func (p *OneOfListCdromsResponseData) SetValue(v interface{}) error
func (*OneOfListCdromsResponseData) UnmarshalJSON ¶
func (p *OneOfListCdromsResponseData) UnmarshalJSON(b []byte) error
type OneOfListDisksResponseData ¶
type OneOfListDisksResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfListDisksResponseData ¶
func NewOneOfListDisksResponseData() *OneOfListDisksResponseData
func (*OneOfListDisksResponseData) GetValue ¶
func (p *OneOfListDisksResponseData) GetValue() interface{}
func (*OneOfListDisksResponseData) MarshalJSON ¶
func (p *OneOfListDisksResponseData) MarshalJSON() ([]byte, error)
func (*OneOfListDisksResponseData) SetValue ¶
func (p *OneOfListDisksResponseData) SetValue(v interface{}) error
func (*OneOfListDisksResponseData) UnmarshalJSON ¶
func (p *OneOfListDisksResponseData) UnmarshalJSON(b []byte) error
type OneOfListGpusResponseData ¶
type OneOfListGpusResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfListGpusResponseData ¶
func NewOneOfListGpusResponseData() *OneOfListGpusResponseData
func (*OneOfListGpusResponseData) GetValue ¶
func (p *OneOfListGpusResponseData) GetValue() interface{}
func (*OneOfListGpusResponseData) MarshalJSON ¶
func (p *OneOfListGpusResponseData) MarshalJSON() ([]byte, error)
func (*OneOfListGpusResponseData) SetValue ¶
func (p *OneOfListGpusResponseData) SetValue(v interface{}) error
func (*OneOfListGpusResponseData) UnmarshalJSON ¶
func (p *OneOfListGpusResponseData) UnmarshalJSON(b []byte) error
type OneOfListNicsResponseData ¶
type OneOfListNicsResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfListNicsResponseData ¶
func NewOneOfListNicsResponseData() *OneOfListNicsResponseData
func (*OneOfListNicsResponseData) GetValue ¶
func (p *OneOfListNicsResponseData) GetValue() interface{}
func (*OneOfListNicsResponseData) MarshalJSON ¶
func (p *OneOfListNicsResponseData) MarshalJSON() ([]byte, error)
func (*OneOfListNicsResponseData) SetValue ¶
func (p *OneOfListNicsResponseData) SetValue(v interface{}) error
func (*OneOfListNicsResponseData) UnmarshalJSON ¶
func (p *OneOfListNicsResponseData) UnmarshalJSON(b []byte) error
type OneOfListSerialPortsResponseData ¶
type OneOfListSerialPortsResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfListSerialPortsResponseData ¶
func NewOneOfListSerialPortsResponseData() *OneOfListSerialPortsResponseData
func (*OneOfListSerialPortsResponseData) GetValue ¶
func (p *OneOfListSerialPortsResponseData) GetValue() interface{}
func (*OneOfListSerialPortsResponseData) MarshalJSON ¶
func (p *OneOfListSerialPortsResponseData) MarshalJSON() ([]byte, error)
func (*OneOfListSerialPortsResponseData) SetValue ¶
func (p *OneOfListSerialPortsResponseData) SetValue(v interface{}) error
func (*OneOfListSerialPortsResponseData) UnmarshalJSON ¶
func (p *OneOfListSerialPortsResponseData) UnmarshalJSON(b []byte) error
type OneOfListVmsResponseData ¶
type OneOfListVmsResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfListVmsResponseData ¶
func NewOneOfListVmsResponseData() *OneOfListVmsResponseData
func (*OneOfListVmsResponseData) GetValue ¶
func (p *OneOfListVmsResponseData) GetValue() interface{}
func (*OneOfListVmsResponseData) MarshalJSON ¶
func (p *OneOfListVmsResponseData) MarshalJSON() ([]byte, error)
func (*OneOfListVmsResponseData) SetValue ¶
func (p *OneOfListVmsResponseData) SetValue(v interface{}) error
func (*OneOfListVmsResponseData) UnmarshalJSON ¶
func (p *OneOfListVmsResponseData) UnmarshalJSON(b []byte) error
type OneOfMigrateNicResponseData ¶
type OneOfMigrateNicResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfMigrateNicResponseData ¶
func NewOneOfMigrateNicResponseData() *OneOfMigrateNicResponseData
func (*OneOfMigrateNicResponseData) GetValue ¶
func (p *OneOfMigrateNicResponseData) GetValue() interface{}
func (*OneOfMigrateNicResponseData) MarshalJSON ¶
func (p *OneOfMigrateNicResponseData) MarshalJSON() ([]byte, error)
func (*OneOfMigrateNicResponseData) SetValue ¶
func (p *OneOfMigrateNicResponseData) SetValue(v interface{}) error
func (*OneOfMigrateNicResponseData) UnmarshalJSON ¶
func (p *OneOfMigrateNicResponseData) UnmarshalJSON(b []byte) error
type OneOfPowerCycleVmResponseData ¶
type OneOfPowerCycleVmResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfPowerCycleVmResponseData ¶
func NewOneOfPowerCycleVmResponseData() *OneOfPowerCycleVmResponseData
func (*OneOfPowerCycleVmResponseData) GetValue ¶
func (p *OneOfPowerCycleVmResponseData) GetValue() interface{}
func (*OneOfPowerCycleVmResponseData) MarshalJSON ¶
func (p *OneOfPowerCycleVmResponseData) MarshalJSON() ([]byte, error)
func (*OneOfPowerCycleVmResponseData) SetValue ¶
func (p *OneOfPowerCycleVmResponseData) SetValue(v interface{}) error
func (*OneOfPowerCycleVmResponseData) UnmarshalJSON ¶
func (p *OneOfPowerCycleVmResponseData) UnmarshalJSON(b []byte) error
type OneOfPowerOffVmResponseData ¶
type OneOfPowerOffVmResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfPowerOffVmResponseData ¶
func NewOneOfPowerOffVmResponseData() *OneOfPowerOffVmResponseData
func (*OneOfPowerOffVmResponseData) GetValue ¶
func (p *OneOfPowerOffVmResponseData) GetValue() interface{}
func (*OneOfPowerOffVmResponseData) MarshalJSON ¶
func (p *OneOfPowerOffVmResponseData) MarshalJSON() ([]byte, error)
func (*OneOfPowerOffVmResponseData) SetValue ¶
func (p *OneOfPowerOffVmResponseData) SetValue(v interface{}) error
func (*OneOfPowerOffVmResponseData) UnmarshalJSON ¶
func (p *OneOfPowerOffVmResponseData) UnmarshalJSON(b []byte) error
type OneOfPowerOnVmResponseData ¶
type OneOfPowerOnVmResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfPowerOnVmResponseData ¶
func NewOneOfPowerOnVmResponseData() *OneOfPowerOnVmResponseData
func (*OneOfPowerOnVmResponseData) GetValue ¶
func (p *OneOfPowerOnVmResponseData) GetValue() interface{}
func (*OneOfPowerOnVmResponseData) MarshalJSON ¶
func (p *OneOfPowerOnVmResponseData) MarshalJSON() ([]byte, error)
func (*OneOfPowerOnVmResponseData) SetValue ¶
func (p *OneOfPowerOnVmResponseData) SetValue(v interface{}) error
func (*OneOfPowerOnVmResponseData) UnmarshalJSON ¶
func (p *OneOfPowerOnVmResponseData) UnmarshalJSON(b []byte) error
type OneOfRebootVmResponseData ¶
type OneOfRebootVmResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfRebootVmResponseData ¶
func NewOneOfRebootVmResponseData() *OneOfRebootVmResponseData
func (*OneOfRebootVmResponseData) GetValue ¶
func (p *OneOfRebootVmResponseData) GetValue() interface{}
func (*OneOfRebootVmResponseData) MarshalJSON ¶
func (p *OneOfRebootVmResponseData) MarshalJSON() ([]byte, error)
func (*OneOfRebootVmResponseData) SetValue ¶
func (p *OneOfRebootVmResponseData) SetValue(v interface{}) error
func (*OneOfRebootVmResponseData) UnmarshalJSON ¶
func (p *OneOfRebootVmResponseData) UnmarshalJSON(b []byte) error
type OneOfReleaseIpResponseData ¶
type OneOfReleaseIpResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfReleaseIpResponseData ¶
func NewOneOfReleaseIpResponseData() *OneOfReleaseIpResponseData
func (*OneOfReleaseIpResponseData) GetValue ¶
func (p *OneOfReleaseIpResponseData) GetValue() interface{}
func (*OneOfReleaseIpResponseData) MarshalJSON ¶
func (p *OneOfReleaseIpResponseData) MarshalJSON() ([]byte, error)
func (*OneOfReleaseIpResponseData) SetValue ¶
func (p *OneOfReleaseIpResponseData) SetValue(v interface{}) error
func (*OneOfReleaseIpResponseData) UnmarshalJSON ¶
func (p *OneOfReleaseIpResponseData) UnmarshalJSON(b []byte) error
type OneOfResetVmResponseData ¶
type OneOfResetVmResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfResetVmResponseData ¶
func NewOneOfResetVmResponseData() *OneOfResetVmResponseData
func (*OneOfResetVmResponseData) GetValue ¶
func (p *OneOfResetVmResponseData) GetValue() interface{}
func (*OneOfResetVmResponseData) MarshalJSON ¶
func (p *OneOfResetVmResponseData) MarshalJSON() ([]byte, error)
func (*OneOfResetVmResponseData) SetValue ¶
func (p *OneOfResetVmResponseData) SetValue(v interface{}) error
func (*OneOfResetVmResponseData) UnmarshalJSON ¶
func (p *OneOfResetVmResponseData) UnmarshalJSON(b []byte) error
type OneOfRevertVmResponseData ¶
type OneOfRevertVmResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfRevertVmResponseData ¶
func NewOneOfRevertVmResponseData() *OneOfRevertVmResponseData
func (*OneOfRevertVmResponseData) GetValue ¶
func (p *OneOfRevertVmResponseData) GetValue() interface{}
func (*OneOfRevertVmResponseData) MarshalJSON ¶
func (p *OneOfRevertVmResponseData) MarshalJSON() ([]byte, error)
func (*OneOfRevertVmResponseData) SetValue ¶
func (p *OneOfRevertVmResponseData) SetValue(v interface{}) error
func (*OneOfRevertVmResponseData) UnmarshalJSON ¶
func (p *OneOfRevertVmResponseData) UnmarshalJSON(b []byte) error
type OneOfShutdownVmResponseData ¶
type OneOfShutdownVmResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfShutdownVmResponseData ¶
func NewOneOfShutdownVmResponseData() *OneOfShutdownVmResponseData
func (*OneOfShutdownVmResponseData) GetValue ¶
func (p *OneOfShutdownVmResponseData) GetValue() interface{}
func (*OneOfShutdownVmResponseData) MarshalJSON ¶
func (p *OneOfShutdownVmResponseData) MarshalJSON() ([]byte, error)
func (*OneOfShutdownVmResponseData) SetValue ¶
func (p *OneOfShutdownVmResponseData) SetValue(v interface{}) error
func (*OneOfShutdownVmResponseData) UnmarshalJSON ¶
func (p *OneOfShutdownVmResponseData) UnmarshalJSON(b []byte) error
type OneOfSysprepSysprepScript ¶
type OneOfSysprepSysprepScript struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfSysprepSysprepScript ¶
func NewOneOfSysprepSysprepScript() *OneOfSysprepSysprepScript
func (*OneOfSysprepSysprepScript) GetValue ¶
func (p *OneOfSysprepSysprepScript) GetValue() interface{}
func (*OneOfSysprepSysprepScript) MarshalJSON ¶
func (p *OneOfSysprepSysprepScript) MarshalJSON() ([]byte, error)
func (*OneOfSysprepSysprepScript) SetValue ¶
func (p *OneOfSysprepSysprepScript) SetValue(v interface{}) error
func (*OneOfSysprepSysprepScript) UnmarshalJSON ¶
func (p *OneOfSysprepSysprepScript) UnmarshalJSON(b []byte) error
type OneOfUninstallVmGuestToolsResponseData ¶
type OneOfUninstallVmGuestToolsResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfUninstallVmGuestToolsResponseData ¶
func NewOneOfUninstallVmGuestToolsResponseData() *OneOfUninstallVmGuestToolsResponseData
func (*OneOfUninstallVmGuestToolsResponseData) GetValue ¶
func (p *OneOfUninstallVmGuestToolsResponseData) GetValue() interface{}
func (*OneOfUninstallVmGuestToolsResponseData) MarshalJSON ¶
func (p *OneOfUninstallVmGuestToolsResponseData) MarshalJSON() ([]byte, error)
func (*OneOfUninstallVmGuestToolsResponseData) SetValue ¶
func (p *OneOfUninstallVmGuestToolsResponseData) SetValue(v interface{}) error
func (*OneOfUninstallVmGuestToolsResponseData) UnmarshalJSON ¶
func (p *OneOfUninstallVmGuestToolsResponseData) UnmarshalJSON(b []byte) error
type OneOfUpdateCdromResponseData ¶
type OneOfUpdateCdromResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfUpdateCdromResponseData ¶
func NewOneOfUpdateCdromResponseData() *OneOfUpdateCdromResponseData
func (*OneOfUpdateCdromResponseData) GetValue ¶
func (p *OneOfUpdateCdromResponseData) GetValue() interface{}
func (*OneOfUpdateCdromResponseData) MarshalJSON ¶
func (p *OneOfUpdateCdromResponseData) MarshalJSON() ([]byte, error)
func (*OneOfUpdateCdromResponseData) SetValue ¶
func (p *OneOfUpdateCdromResponseData) SetValue(v interface{}) error
func (*OneOfUpdateCdromResponseData) UnmarshalJSON ¶
func (p *OneOfUpdateCdromResponseData) UnmarshalJSON(b []byte) error
type OneOfUpdateDiskResponseData ¶
type OneOfUpdateDiskResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfUpdateDiskResponseData ¶
func NewOneOfUpdateDiskResponseData() *OneOfUpdateDiskResponseData
func (*OneOfUpdateDiskResponseData) GetValue ¶
func (p *OneOfUpdateDiskResponseData) GetValue() interface{}
func (*OneOfUpdateDiskResponseData) MarshalJSON ¶
func (p *OneOfUpdateDiskResponseData) MarshalJSON() ([]byte, error)
func (*OneOfUpdateDiskResponseData) SetValue ¶
func (p *OneOfUpdateDiskResponseData) SetValue(v interface{}) error
func (*OneOfUpdateDiskResponseData) UnmarshalJSON ¶
func (p *OneOfUpdateDiskResponseData) UnmarshalJSON(b []byte) error
type OneOfUpdateGuestToolsResponseData ¶
type OneOfUpdateGuestToolsResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfUpdateGuestToolsResponseData ¶
func NewOneOfUpdateGuestToolsResponseData() *OneOfUpdateGuestToolsResponseData
func (*OneOfUpdateGuestToolsResponseData) GetValue ¶
func (p *OneOfUpdateGuestToolsResponseData) GetValue() interface{}
func (*OneOfUpdateGuestToolsResponseData) MarshalJSON ¶
func (p *OneOfUpdateGuestToolsResponseData) MarshalJSON() ([]byte, error)
func (*OneOfUpdateGuestToolsResponseData) SetValue ¶
func (p *OneOfUpdateGuestToolsResponseData) SetValue(v interface{}) error
func (*OneOfUpdateGuestToolsResponseData) UnmarshalJSON ¶
func (p *OneOfUpdateGuestToolsResponseData) UnmarshalJSON(b []byte) error
type OneOfUpdateNicResponseData ¶
type OneOfUpdateNicResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfUpdateNicResponseData ¶
func NewOneOfUpdateNicResponseData() *OneOfUpdateNicResponseData
func (*OneOfUpdateNicResponseData) GetValue ¶
func (p *OneOfUpdateNicResponseData) GetValue() interface{}
func (*OneOfUpdateNicResponseData) MarshalJSON ¶
func (p *OneOfUpdateNicResponseData) MarshalJSON() ([]byte, error)
func (*OneOfUpdateNicResponseData) SetValue ¶
func (p *OneOfUpdateNicResponseData) SetValue(v interface{}) error
func (*OneOfUpdateNicResponseData) UnmarshalJSON ¶
func (p *OneOfUpdateNicResponseData) UnmarshalJSON(b []byte) error
type OneOfUpdateSerialPortResponseData ¶
type OneOfUpdateSerialPortResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfUpdateSerialPortResponseData ¶
func NewOneOfUpdateSerialPortResponseData() *OneOfUpdateSerialPortResponseData
func (*OneOfUpdateSerialPortResponseData) GetValue ¶
func (p *OneOfUpdateSerialPortResponseData) GetValue() interface{}
func (*OneOfUpdateSerialPortResponseData) MarshalJSON ¶
func (p *OneOfUpdateSerialPortResponseData) MarshalJSON() ([]byte, error)
func (*OneOfUpdateSerialPortResponseData) SetValue ¶
func (p *OneOfUpdateSerialPortResponseData) SetValue(v interface{}) error
func (*OneOfUpdateSerialPortResponseData) UnmarshalJSON ¶
func (p *OneOfUpdateSerialPortResponseData) UnmarshalJSON(b []byte) error
type OneOfUpdateVmCategoriesResponseData ¶
type OneOfUpdateVmCategoriesResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfUpdateVmCategoriesResponseData ¶
func NewOneOfUpdateVmCategoriesResponseData() *OneOfUpdateVmCategoriesResponseData
func (*OneOfUpdateVmCategoriesResponseData) GetValue ¶
func (p *OneOfUpdateVmCategoriesResponseData) GetValue() interface{}
func (*OneOfUpdateVmCategoriesResponseData) MarshalJSON ¶
func (p *OneOfUpdateVmCategoriesResponseData) MarshalJSON() ([]byte, error)
func (*OneOfUpdateVmCategoriesResponseData) SetValue ¶
func (p *OneOfUpdateVmCategoriesResponseData) SetValue(v interface{}) error
func (*OneOfUpdateVmCategoriesResponseData) UnmarshalJSON ¶
func (p *OneOfUpdateVmCategoriesResponseData) UnmarshalJSON(b []byte) error
type OneOfUpdateVmOwnershipInfoResponseData ¶
type OneOfUpdateVmOwnershipInfoResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfUpdateVmOwnershipInfoResponseData ¶
func NewOneOfUpdateVmOwnershipInfoResponseData() *OneOfUpdateVmOwnershipInfoResponseData
func (*OneOfUpdateVmOwnershipInfoResponseData) GetValue ¶
func (p *OneOfUpdateVmOwnershipInfoResponseData) GetValue() interface{}
func (*OneOfUpdateVmOwnershipInfoResponseData) MarshalJSON ¶
func (p *OneOfUpdateVmOwnershipInfoResponseData) MarshalJSON() ([]byte, error)
func (*OneOfUpdateVmOwnershipInfoResponseData) SetValue ¶
func (p *OneOfUpdateVmOwnershipInfoResponseData) SetValue(v interface{}) error
func (*OneOfUpdateVmOwnershipInfoResponseData) UnmarshalJSON ¶
func (p *OneOfUpdateVmOwnershipInfoResponseData) UnmarshalJSON(b []byte) error
type OneOfUpdateVmResponseData ¶
type OneOfUpdateVmResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfUpdateVmResponseData ¶
func NewOneOfUpdateVmResponseData() *OneOfUpdateVmResponseData
func (*OneOfUpdateVmResponseData) GetValue ¶
func (p *OneOfUpdateVmResponseData) GetValue() interface{}
func (*OneOfUpdateVmResponseData) MarshalJSON ¶
func (p *OneOfUpdateVmResponseData) MarshalJSON() ([]byte, error)
func (*OneOfUpdateVmResponseData) SetValue ¶
func (p *OneOfUpdateVmResponseData) SetValue(v interface{}) error
func (*OneOfUpdateVmResponseData) UnmarshalJSON ¶
func (p *OneOfUpdateVmResponseData) UnmarshalJSON(b []byte) error
type OneOfUpgradeVmGuestToolsResponseData ¶
type OneOfUpgradeVmGuestToolsResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfUpgradeVmGuestToolsResponseData ¶
func NewOneOfUpgradeVmGuestToolsResponseData() *OneOfUpgradeVmGuestToolsResponseData
func (*OneOfUpgradeVmGuestToolsResponseData) GetValue ¶
func (p *OneOfUpgradeVmGuestToolsResponseData) GetValue() interface{}
func (*OneOfUpgradeVmGuestToolsResponseData) MarshalJSON ¶
func (p *OneOfUpgradeVmGuestToolsResponseData) MarshalJSON() ([]byte, error)
func (*OneOfUpgradeVmGuestToolsResponseData) SetValue ¶
func (p *OneOfUpgradeVmGuestToolsResponseData) SetValue(v interface{}) error
func (*OneOfUpgradeVmGuestToolsResponseData) UnmarshalJSON ¶
func (p *OneOfUpgradeVmGuestToolsResponseData) UnmarshalJSON(b []byte) error
type OneOfVmBootConfig ¶
type OneOfVmBootConfig struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfVmBootConfig ¶
func NewOneOfVmBootConfig() *OneOfVmBootConfig
func (*OneOfVmBootConfig) GetValue ¶
func (p *OneOfVmBootConfig) GetValue() interface{}
func (*OneOfVmBootConfig) MarshalJSON ¶
func (p *OneOfVmBootConfig) MarshalJSON() ([]byte, error)
func (*OneOfVmBootConfig) SetValue ¶
func (p *OneOfVmBootConfig) SetValue(v interface{}) error
func (*OneOfVmBootConfig) UnmarshalJSON ¶
func (p *OneOfVmBootConfig) UnmarshalJSON(b []byte) error
type OneOfVmCrossClusterMigrateWithStorageResponseData ¶
type OneOfVmCrossClusterMigrateWithStorageResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfVmCrossClusterMigrateWithStorageResponseData ¶
func NewOneOfVmCrossClusterMigrateWithStorageResponseData() *OneOfVmCrossClusterMigrateWithStorageResponseData
func (*OneOfVmCrossClusterMigrateWithStorageResponseData) GetValue ¶
func (p *OneOfVmCrossClusterMigrateWithStorageResponseData) GetValue() interface{}
func (*OneOfVmCrossClusterMigrateWithStorageResponseData) MarshalJSON ¶
func (p *OneOfVmCrossClusterMigrateWithStorageResponseData) MarshalJSON() ([]byte, error)
func (*OneOfVmCrossClusterMigrateWithStorageResponseData) SetValue ¶
func (p *OneOfVmCrossClusterMigrateWithStorageResponseData) SetValue(v interface{}) error
func (*OneOfVmCrossClusterMigrateWithStorageResponseData) UnmarshalJSON ¶
func (p *OneOfVmCrossClusterMigrateWithStorageResponseData) UnmarshalJSON(b []byte) error
type OwnerReference ¶
type OwnerReference struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** Globally unique identifier of a VM owner. It should be of type UUID. */ ExtId *string `json:"extId,omitempty"` }
* Owner reference.
func NewOwnerReference ¶
func NewOwnerReference() *OwnerReference
type OwnershipInfo ¶
type OwnershipInfo struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` Owner *OwnerReference `json:"owner,omitempty"` }
* Ownership information for the VM.
func NewOwnershipInfo ¶
func NewOwnershipInfo() *OwnershipInfo
type PolicyComplianceState ¶
type PolicyComplianceState int
* Compliance state enum.
const ( POLICYCOMPLIANCESTATE_UNKNOWN PolicyComplianceState = 0 POLICYCOMPLIANCESTATE_REDACTED PolicyComplianceState = 1 POLICYCOMPLIANCESTATE_COMPLIANT PolicyComplianceState = 2 POLICYCOMPLIANCESTATE_NON_COMPLIANT PolicyComplianceState = 3 POLICYCOMPLIANCESTATE_UNKNOWN_STATE PolicyComplianceState = 4 )
func (*PolicyComplianceState) MarshalJSON ¶
func (e *PolicyComplianceState) MarshalJSON() ([]byte, error)
func (PolicyComplianceState) Ref ¶
func (e PolicyComplianceState) Ref() *PolicyComplianceState
func (*PolicyComplianceState) UnmarshalJSON ¶
func (e *PolicyComplianceState) UnmarshalJSON(b []byte) error
type PolicyReference ¶
type PolicyReference struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** Globally unique identifier of an instance. It should be of type UUID. */ ExtId *string `json:"extId,omitempty"` }
* Reference to the policy object in use.
func NewPolicyReference ¶
func NewPolicyReference() *PolicyReference
type PowerCycleVmResponse ¶
type PowerCycleVmResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfPowerCycleVmResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{extId}/$actions/power-cycle Post operation
func NewPowerCycleVmResponse ¶
func NewPowerCycleVmResponse() *PowerCycleVmResponse
func (*PowerCycleVmResponse) GetData ¶
func (p *PowerCycleVmResponse) GetData() interface{}
func (*PowerCycleVmResponse) SetData ¶
func (p *PowerCycleVmResponse) SetData(v interface{}) error
type PowerOffVmResponse ¶
type PowerOffVmResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfPowerOffVmResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{extId}/$actions/power-off Post operation
func NewPowerOffVmResponse ¶
func NewPowerOffVmResponse() *PowerOffVmResponse
func (*PowerOffVmResponse) GetData ¶
func (p *PowerOffVmResponse) GetData() interface{}
func (*PowerOffVmResponse) SetData ¶
func (p *PowerOffVmResponse) SetData(v interface{}) error
type PowerOnVmResponse ¶
type PowerOnVmResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfPowerOnVmResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{extId}/$actions/power-on Post operation
func NewPowerOnVmResponse ¶
func NewPowerOnVmResponse() *PowerOnVmResponse
func (*PowerOnVmResponse) GetData ¶
func (p *PowerOnVmResponse) GetData() interface{}
func (*PowerOnVmResponse) SetData ¶
func (p *PowerOnVmResponse) SetData(v interface{}) error
type PowerState ¶
type PowerState int
* The current power state of the VM.
const ( POWERSTATE_UNKNOWN PowerState = 0 POWERSTATE_REDACTED PowerState = 1 POWERSTATE_TRUE PowerState = 2 POWERSTATE_FALSE PowerState = 3 POWERSTATE_PAUSED PowerState = 4 POWERSTATE_UNDETERMINED PowerState = 5 )
func (*PowerState) MarshalJSON ¶
func (e *PowerState) MarshalJSON() ([]byte, error)
func (PowerState) Ref ¶
func (e PowerState) Ref() *PowerState
func (*PowerState) UnmarshalJSON ¶
func (e *PowerState) UnmarshalJSON(b []byte) error
type ProtectionInfo ¶
type ProtectionInfo struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` ReplicationStatus *ProtectionInfoReplicationStatus `json:"replicationStatus,omitempty"` }
* Information about the state of the policy.
func NewProtectionInfo ¶
func NewProtectionInfo() *ProtectionInfo
type ProtectionInfoReplicationStatus ¶
type ProtectionInfoReplicationStatus int
* Replication status of the entity.
const ( PROTECTIONINFOREPLICATIONSTATUS_UNKNOWN ProtectionInfoReplicationStatus = 0 PROTECTIONINFOREPLICATIONSTATUS_REDACTED ProtectionInfoReplicationStatus = 1 PROTECTIONINFOREPLICATIONSTATUS_SYNCED ProtectionInfoReplicationStatus = 2 PROTECTIONINFOREPLICATIONSTATUS_SYNCING ProtectionInfoReplicationStatus = 3 PROTECTIONINFOREPLICATIONSTATUS_OUT_OF_SYNC ProtectionInfoReplicationStatus = 4 )
func (*ProtectionInfoReplicationStatus) MarshalJSON ¶
func (e *ProtectionInfoReplicationStatus) MarshalJSON() ([]byte, error)
func (ProtectionInfoReplicationStatus) Ref ¶
func (e ProtectionInfoReplicationStatus) Ref() *ProtectionInfoReplicationStatus
func (*ProtectionInfoReplicationStatus) UnmarshalJSON ¶
func (e *ProtectionInfoReplicationStatus) UnmarshalJSON(b []byte) error
type ProtectionPolicyState ¶
type ProtectionPolicyState struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` ComplianceStatus *PolicyComplianceState `json:"complianceStatus,omitempty"` EnforcementMode *EnforcementMode `json:"enforcementMode,omitempty"` Policy *PolicyReference `json:"policy,omitempty"` PolicyInfo *ProtectionInfo `json:"policyInfo,omitempty"` }
* Status of protection policy applied to this VM.
func NewProtectionPolicyState ¶
func NewProtectionPolicyState() *ProtectionPolicyState
type ProtectionType ¶
type ProtectionType int
* The type of protection applied on a VM. PD_PROTECTED indicates a VM is protected using the Prism Element. RULE_PROTECTED indicates a VM protection using the Prism Central.
const ( PROTECTIONTYPE_UNKNOWN ProtectionType = 0 PROTECTIONTYPE_REDACTED ProtectionType = 1 PROTECTIONTYPE_UNPROTECTED ProtectionType = 2 PROTECTIONTYPE_PD_PROTECTED ProtectionType = 3 PROTECTIONTYPE_RULE_PROTECTED ProtectionType = 4 )
func (*ProtectionType) MarshalJSON ¶
func (e *ProtectionType) MarshalJSON() ([]byte, error)
func (ProtectionType) Ref ¶
func (e ProtectionType) Ref() *ProtectionType
func (*ProtectionType) UnmarshalJSON ¶
func (e *ProtectionType) UnmarshalJSON(b []byte) error
type QosConfig ¶
type QosConfig struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** Throttled IOPS for the governed entities. The block size for the I/O is 32 kB. */ ThrottledIops *int `json:"throttledIops,omitempty"` }
* QoS parameters to be enforced.
func NewQosConfig ¶
func NewQosConfig() *QosConfig
type RebootPreference ¶
type RebootPreference struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` Schedule *RebootPreferenceSchedule `json:"schedule,omitempty"` ScheduleType *ScheduleType `json:"scheduleType,omitempty"` }
* The restart schedule after installing Nutanix Guest Tools.
func NewRebootPreference ¶
func NewRebootPreference() *RebootPreference
type RebootPreferenceSchedule ¶
type RebootPreferenceSchedule struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** The start time for a scheduled restart. */ StartTime *time.Time `json:"startTime,omitempty"` }
* Restart schedule.
func NewRebootPreferenceSchedule ¶
func NewRebootPreferenceSchedule() *RebootPreferenceSchedule
type RebootVmResponse ¶
type RebootVmResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfRebootVmResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{extId}/$actions/guest-reboot Post operation
func NewRebootVmResponse ¶
func NewRebootVmResponse() *RebootVmResponse
func (*RebootVmResponse) GetData ¶
func (p *RebootVmResponse) GetData() interface{}
func (*RebootVmResponse) SetData ¶
func (p *RebootVmResponse) SetData(v interface{}) error
type RecoveryPlanState ¶
type RecoveryPlanState struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` ComplianceStatus *PolicyComplianceState `json:"complianceStatus,omitempty"` EnforcementMode *EnforcementMode `json:"enforcementMode,omitempty"` Policy *PolicyReference `json:"policy,omitempty"` PolicyInfo *ProtectionInfo `json:"policyInfo,omitempty"` }
* Status of a recovery plan.
func NewRecoveryPlanState ¶
func NewRecoveryPlanState() *RecoveryPlanState
type ReleaseIpResponse ¶
type ReleaseIpResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfReleaseIpResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{vmExtId}/nics/{extId}/$actions/release-ip Post operation
func NewReleaseIpResponse ¶
func NewReleaseIpResponse() *ReleaseIpResponse
func (*ReleaseIpResponse) GetData ¶
func (p *ReleaseIpResponse) GetData() interface{}
func (*ReleaseIpResponse) SetData ¶
func (p *ReleaseIpResponse) SetData(v interface{}) error
type ResetVmResponse ¶
type ResetVmResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfResetVmResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{extId}/$actions/reset Post operation
func NewResetVmResponse ¶
func NewResetVmResponse() *ResetVmResponse
func (*ResetVmResponse) GetData ¶
func (p *ResetVmResponse) GetData() interface{}
func (*ResetVmResponse) SetData ¶
func (p *ResetVmResponse) SetData(v interface{}) error
type RevertVmResponse ¶
type RevertVmResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfRevertVmResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{extId}/$actions/revert Post operation
func NewRevertVmResponse ¶
func NewRevertVmResponse() *RevertVmResponse
func (*RevertVmResponse) GetData ¶
func (p *RevertVmResponse) GetData() interface{}
func (*RevertVmResponse) SetData ¶
func (p *RevertVmResponse) SetData(v interface{}) error
type SBDF ¶
type SBDF struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` Bus *int `json:"bus,omitempty"` Device *int `json:"device,omitempty"` Func *int `json:"func,omitempty"` Segment *int `json:"segment,omitempty"` }
* The (S)egment:(B)us:(D)evice.(F)unction hardware address. See https://wiki.xen.org/wiki/Bus:Device.Function_(BDF)_Notation for more details.
type ScheduleType ¶
type ScheduleType int
* Schedule type. One of SKIP, IMMEDIATE, or LATER.
const ( SCHEDULETYPE_UNKNOWN ScheduleType = 0 SCHEDULETYPE_REDACTED ScheduleType = 1 SCHEDULETYPE_SKIP ScheduleType = 2 SCHEDULETYPE_IMMEDIATE ScheduleType = 3 SCHEDULETYPE_LATER ScheduleType = 4 )
func (*ScheduleType) MarshalJSON ¶
func (e *ScheduleType) MarshalJSON() ([]byte, error)
func (ScheduleType) Ref ¶
func (e ScheduleType) Ref() *ScheduleType
func (*ScheduleType) UnmarshalJSON ¶
func (e *ScheduleType) UnmarshalJSON(b []byte) error
type SerialPort ¶
type SerialPort struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** A globally unique identifier of an instance that is suitable for external consumption. */ ExtId *string `json:"extId,omitempty"` /** Index of the serial port. */ Index *int `json:"index,omitempty"` /** Indicates whether the serial port is connected or not. */ IsConnected *bool `json:"isConnected,omitempty"` /** A HATEOAS style link for the response. Each link contains a user friendly name identifying the link and an address for retrieving the particular resource. */ Links []import4.ApiLink `json:"links,omitempty"` /** A globally unique identifier that represents the tenant that owns this entity. It is automatically assigned by the system and is immutable from an API consumer perspective (some use cases may cause this Id to change - for instance a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server). */ TenantId *string `json:"tenantId,omitempty"` }
* Indicates the configuration of serial ports of the VM.
func NewSerialPort ¶
func NewSerialPort() *SerialPort
type ShutdownVmResponse ¶
type ShutdownVmResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfShutdownVmResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{extId}/$actions/guest-shutdown Post operation
func NewShutdownVmResponse ¶
func NewShutdownVmResponse() *ShutdownVmResponse
func (*ShutdownVmResponse) GetData ¶
func (p *ShutdownVmResponse) GetData() interface{}
func (*ShutdownVmResponse) SetData ¶
func (p *ShutdownVmResponse) SetData(v interface{}) error
type SubnetReference ¶
type SubnetReference struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** Globally unique identifier of a subnet. It should be of type UUID. */ ExtId *string `json:"extId,omitempty"` }
* Network identifier for this adapter. Only valid if nic_type is NORMAL_NIC or DIRECT_NIC.
func NewSubnetReference ¶
func NewSubnetReference() *SubnetReference
type Sysprep ¶
type Sysprep struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` InstallType *InstallType `json:"installType,omitempty"` /** */ SysprepScriptItemDiscriminator_ *string `json:"$sysprepScriptItemDiscriminator,omitempty"` SysprepScript *OneOfSysprepSysprepScript `json:"sysprepScript,omitempty"` }
* If this field is set, the guest will be customized using Sysprep. Either unattend_xml or custom_key_values should be provided. If custom_key_values are provided then the unattended answer file will be generated using these key-value pairs.
func NewSysprep ¶
func NewSysprep() *Sysprep
func (*Sysprep) GetSysprepScript ¶
func (p *Sysprep) GetSysprepScript() interface{}
func (*Sysprep) SetSysprepScript ¶
type UefiBoot ¶
type UefiBoot struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` NvramDevice *NvramDevice `json:"nvramDevice,omitempty"` /** Indicate whether to enable secure boot or not. */ SecureBootEnabled *bool `json:"secureBootEnabled,omitempty"` }
* UEFI boot mode and its associated configuration.
func NewUefiBoot ¶
func NewUefiBoot() *UefiBoot
type Unattendxml ¶
type Unattendxml struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` Value *string `json:"value,omitempty"` }
* This field contains a Sysprep unattend xml definition, as a string. The value must be base64 encoded.
func NewUnattendxml ¶
func NewUnattendxml() *Unattendxml
type UninstallVmGuestToolsResponse ¶
type UninstallVmGuestToolsResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfUninstallVmGuestToolsResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{extId}/guest-tools/$actions/uninstall Post operation
func NewUninstallVmGuestToolsResponse ¶
func NewUninstallVmGuestToolsResponse() *UninstallVmGuestToolsResponse
func (*UninstallVmGuestToolsResponse) GetData ¶
func (p *UninstallVmGuestToolsResponse) GetData() interface{}
func (*UninstallVmGuestToolsResponse) SetData ¶
func (p *UninstallVmGuestToolsResponse) SetData(v interface{}) error
type UpdateCdromResponse ¶
type UpdateCdromResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfUpdateCdromResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{vmExtId}/cdroms/{extId} Put operation
func NewUpdateCdromResponse ¶
func NewUpdateCdromResponse() *UpdateCdromResponse
func (*UpdateCdromResponse) GetData ¶
func (p *UpdateCdromResponse) GetData() interface{}
func (*UpdateCdromResponse) SetData ¶
func (p *UpdateCdromResponse) SetData(v interface{}) error
type UpdateDiskResponse ¶
type UpdateDiskResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfUpdateDiskResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{vmExtId}/disks/{extId} Put operation
func NewUpdateDiskResponse ¶
func NewUpdateDiskResponse() *UpdateDiskResponse
func (*UpdateDiskResponse) GetData ¶
func (p *UpdateDiskResponse) GetData() interface{}
func (*UpdateDiskResponse) SetData ¶
func (p *UpdateDiskResponse) SetData(v interface{}) error
type UpdateGuestToolsResponse ¶
type UpdateGuestToolsResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfUpdateGuestToolsResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{extId}/guest-tools-config Put operation
func NewUpdateGuestToolsResponse ¶
func NewUpdateGuestToolsResponse() *UpdateGuestToolsResponse
func (*UpdateGuestToolsResponse) GetData ¶
func (p *UpdateGuestToolsResponse) GetData() interface{}
func (*UpdateGuestToolsResponse) SetData ¶
func (p *UpdateGuestToolsResponse) SetData(v interface{}) error
type UpdateNicResponse ¶
type UpdateNicResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfUpdateNicResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{vmExtId}/nics/{extId} Put operation
func NewUpdateNicResponse ¶
func NewUpdateNicResponse() *UpdateNicResponse
func (*UpdateNicResponse) GetData ¶
func (p *UpdateNicResponse) GetData() interface{}
func (*UpdateNicResponse) SetData ¶
func (p *UpdateNicResponse) SetData(v interface{}) error
type UpdateSerialPortResponse ¶
type UpdateSerialPortResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfUpdateSerialPortResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{vmExtId}/serial-ports/{extId} Put operation
func NewUpdateSerialPortResponse ¶
func NewUpdateSerialPortResponse() *UpdateSerialPortResponse
func (*UpdateSerialPortResponse) GetData ¶
func (p *UpdateSerialPortResponse) GetData() interface{}
func (*UpdateSerialPortResponse) SetData ¶
func (p *UpdateSerialPortResponse) SetData(v interface{}) error
type UpdateVmCategoriesResponse ¶
type UpdateVmCategoriesResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfUpdateVmCategoriesResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{extId}/categories Put operation
func NewUpdateVmCategoriesResponse ¶
func NewUpdateVmCategoriesResponse() *UpdateVmCategoriesResponse
func (*UpdateVmCategoriesResponse) GetData ¶
func (p *UpdateVmCategoriesResponse) GetData() interface{}
func (*UpdateVmCategoriesResponse) SetData ¶
func (p *UpdateVmCategoriesResponse) SetData(v interface{}) error
type UpdateVmOwnershipInfoResponse ¶
type UpdateVmOwnershipInfoResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfUpdateVmOwnershipInfoResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{extId}/ownership-info Put operation
func NewUpdateVmOwnershipInfoResponse ¶
func NewUpdateVmOwnershipInfoResponse() *UpdateVmOwnershipInfoResponse
func (*UpdateVmOwnershipInfoResponse) GetData ¶
func (p *UpdateVmOwnershipInfoResponse) GetData() interface{}
func (*UpdateVmOwnershipInfoResponse) SetData ¶
func (p *UpdateVmOwnershipInfoResponse) SetData(v interface{}) error
type UpdateVmResponse ¶
type UpdateVmResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfUpdateVmResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{extId} Put operation
func NewUpdateVmResponse ¶
func NewUpdateVmResponse() *UpdateVmResponse
func (*UpdateVmResponse) GetData ¶
func (p *UpdateVmResponse) GetData() interface{}
func (*UpdateVmResponse) SetData ¶
func (p *UpdateVmResponse) SetData(v interface{}) error
type UpgradeVmGuestToolsResponse ¶
type UpgradeVmGuestToolsResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfUpgradeVmGuestToolsResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{extId}/guest-tools/$actions/upgrade Post operation
func NewUpgradeVmGuestToolsResponse ¶
func NewUpgradeVmGuestToolsResponse() *UpgradeVmGuestToolsResponse
func (*UpgradeVmGuestToolsResponse) GetData ¶
func (p *UpgradeVmGuestToolsResponse) GetData() interface{}
func (*UpgradeVmGuestToolsResponse) SetData ¶
func (p *UpgradeVmGuestToolsResponse) SetData(v interface{}) error
type Userdata ¶
type Userdata struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** The value for the cloud-init user_data. */ Value *string `json:"value,omitempty"` }
* The contents of the user_data configuration for cloud-init. This can be formatted as YAML, JSON, or could be a shell script. The value must be base64 encoded.
func NewUserdata ¶
func NewUserdata() *Userdata
type VlanMode ¶
type VlanMode int
* By default, all the virtual NICs are created in ACCESS mode, which permits only one VLAN per virtual network. TRUNKED mode allows multiple VLANs on a single VM NIC for network-aware user VMs.
func (*VlanMode) MarshalJSON ¶
func (*VlanMode) UnmarshalJSON ¶
type Vm ¶
type Vm struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` AvailabilityZone *AvailabilityZoneReference `json:"availabilityZone,omitempty"` /** */ BootConfigItemDiscriminator_ *string `json:"$bootConfigItemDiscriminator,omitempty"` /** Indicates the order of device types in which the VM should try to boot from. If the boot device order is not provided the system will decide an appropriate boot device order. */ BootConfig *OneOfVmBootConfig `json:"bootConfig,omitempty"` /** Indicates whether to remove AHV branding from VM firmware tables or not. */ BrandingEnabled *bool `json:"brandingEnabled,omitempty"` /** Categories for the VM. */ Categories []CategoryReference `json:"categories,omitempty"` /** CD-ROMs attached to the VM. */ Cdroms []Cdrom `json:"cdroms,omitempty"` Cluster *ClusterReference `json:"cluster,omitempty"` /** Indicates whether to passthrough the host CPU features to the guest or not. Enabling this will make VM incapable of live migration. */ CpuPassthroughEnabled *bool `json:"cpuPassthroughEnabled,omitempty"` /** VM creation time. */ CreateTime *time.Time `json:"createTime,omitempty"` /** VM description. */ Description *string `json:"description,omitempty"` /** Disks attached to the VM. */ Disks []Disk `json:"disks,omitempty"` /** The list of additional CPU features to be enabled. HardwareVirtualization: Indicates whether hardware assisted virtualization should be enabled for the Guest OS or not. Once enabled, the Guest OS can deploy a nested hypervisor. */ EnabledCpuFeatures []CpuFeature `json:"enabledCpuFeatures,omitempty"` /** A globally unique identifier of an instance that is suitable for external consumption. */ ExtId *string `json:"extId,omitempty"` /** Indicates whether the vGPU console is enabled or not. */ GpuConsoleEnabled *bool `json:"gpuConsoleEnabled,omitempty"` /** GPUs attached to the VM. */ Gpus []Gpu `json:"gpus,omitempty"` GuestCustomization *GuestCustomization `json:"guestCustomization,omitempty"` GuestTools *GuestTools `json:"guestTools,omitempty"` /** VM hardware clock timezone in IANA TZDB format (America/Los_Angeles). */ HardwareClockTimezone *string `json:"hardwareClockTimezone,omitempty"` Host *HostReference `json:"host,omitempty"` /** Indicates whether the VM is an agent VM or not. When their host enters maintenance mode, once the normal VMs are evacuated, the agent VMs are powered off. When the host is restored, agent VMs are powered on before the normal VMs are restored. In other words, agent VMs cannot be HA-protected or live migrated. */ IsAgentVm *bool `json:"isAgentVm,omitempty"` /** A HATEOAS style link for the response. Each link contains a user friendly name identifying the link and an address for retrieving the particular resource. */ Links []import4.ApiLink `json:"links,omitempty"` /** Indicates whether the VM is capable of live migrating to another host or not, based on its configuration. */ LiveMigrateCapable *bool `json:"liveMigrateCapable,omitempty"` MachineType *MachineType `json:"machineType,omitempty"` /** Indicates whether the memory overcommit feature should be enabled for the VM or not. If enabled, parts of the VM memory may reside outside of the hypervisor physical memory. Once enabled, it should be expected that the VM may suffer performance degradation. */ MemoryOvercommitEnabled *bool `json:"memoryOvercommitEnabled,omitempty"` /** Memory size in bytes. */ MemorySizeBytes *int64 `json:"memorySizeBytes,omitempty"` /** VM name. */ Name *string `json:"name,omitempty"` /** NICs attached to the VM. */ Nics []Nic `json:"nics,omitempty"` /** Number of cores per socket. */ NumCoresPerSocket *int `json:"numCoresPerSocket,omitempty"` /** Number of vCPU sockets. */ NumSockets *int `json:"numSockets,omitempty"` /** Number of threads per core. */ NumThreadsPerCore *int `json:"numThreadsPerCore,omitempty"` /** Number of vNUMA nodes. 0 means vNUMA is disabled. */ NumVnumaNodes *int `json:"numVnumaNodes,omitempty"` OwnershipInfo *OwnershipInfo `json:"ownershipInfo,omitempty"` PowerState *PowerState `json:"powerState,omitempty"` ProtectionPolicyState *ProtectionPolicyState `json:"protectionPolicyState,omitempty"` ProtectionType *ProtectionType `json:"protectionType,omitempty"` /** Status of the recovery plans associated with the VM. */ RecoveryPlanStates []RecoveryPlanState `json:"recoveryPlanStates,omitempty"` /** Serial ports configured on the VM. */ SerialPorts []SerialPort `json:"serialPorts,omitempty"` Source *VmSourceReference `json:"source,omitempty"` StorageConfig *ADSFVmStorageConfig `json:"storageConfig,omitempty"` /** A globally unique identifier that represents the tenant that owns this entity. It is automatically assigned by the system and is immutable from an API consumer perspective (some use cases may cause this Id to change - for instance a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server). */ TenantId *string `json:"tenantId,omitempty"` /** VM last updated time. */ UpdateTime *time.Time `json:"updateTime,omitempty"` /** Indicates whether the vCPUs should be hard pinned to specific pCPUs or not. */ VcpuHardPinningEnabled *bool `json:"vcpuHardPinningEnabled,omitempty"` /** Indicates whether the VGA console should be disabled or not. */ VgaConsoleEnabled *bool `json:"vgaConsoleEnabled,omitempty"` VtpmConfig *VtpmConfig `json:"vtpmConfig,omitempty"` }
* VM configuration.
type VmCrossClusterMigrateOverrides ¶
type VmCrossClusterMigrateOverrides struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** The NIC configuration to apply on the destination cluster when migrating a VM from one cluster to another. */ OverrideNicList []Nic `json:"overrideNicList,omitempty"` }
* Cross cluster migration overrides the VM configuration.
func NewVmCrossClusterMigrateOverrides ¶
func NewVmCrossClusterMigrateOverrides() *VmCrossClusterMigrateOverrides
type VmCrossClusterMigrateParams ¶
type VmCrossClusterMigrateParams struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** Indicates if the migration is performed with a running VM. */ IsLiveMigration *bool `json:"isLiveMigration,omitempty"` Overrides *VmCrossClusterMigrateOverrides `json:"overrides,omitempty"` TargetAvailabilityZone *AvailabilityZoneReference `json:"targetAvailabilityZone,omitempty"` TargetCluster *ClusterReference `json:"targetCluster,omitempty"` }
* Input on how to migrate a VM across cluster
func NewVmCrossClusterMigrateParams ¶
func NewVmCrossClusterMigrateParams() *VmCrossClusterMigrateParams
type VmCrossClusterMigrateWithStorageResponse ¶
type VmCrossClusterMigrateWithStorageResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfVmCrossClusterMigrateWithStorageResponseData `json:"data,omitempty"` Metadata *import4.ApiResponseMetadata `json:"metadata,omitempty"` }
* REST response for all response codes in api path /vmm/v4.0.a1/ahv/config/vms/{extId}/$actions/migrate Post operation
func NewVmCrossClusterMigrateWithStorageResponse ¶
func NewVmCrossClusterMigrateWithStorageResponse() *VmCrossClusterMigrateWithStorageResponse
func (*VmCrossClusterMigrateWithStorageResponse) GetData ¶
func (p *VmCrossClusterMigrateWithStorageResponse) GetData() interface{}
func (*VmCrossClusterMigrateWithStorageResponse) SetData ¶
func (p *VmCrossClusterMigrateWithStorageResponse) SetData(v interface{}) error
type VmDisk ¶
type VmDisk struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` DataSource *DataSource `json:"dataSource,omitempty"` /** Globally unique identifier of a VM disk. It should be of type UUID. */ DiskExtId *string `json:"diskExtId,omitempty"` /** Size of the disk in Bytes */ DiskSizeBytes *int64 `json:"diskSizeBytes,omitempty"` StorageConfig *VmDiskStorageConfig `json:"storageConfig,omitempty"` StorageContainer *VmDiskContainerReference `json:"storageContainer,omitempty"` }
* Storage provided by Nutanix ADSF
type VmDiskContainerReference ¶
type VmDiskContainerReference struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** Globally unique identifier of a VM disk container. It should be of type UUID. */ ExtId *string `json:"extId,omitempty"` }
* This reference is for disk level storage container preference. This preference specifies the storage container to which this disk belongs.
func NewVmDiskContainerReference ¶
func NewVmDiskContainerReference() *VmDiskContainerReference
type VmDiskReference ¶
type VmDiskReference struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` DiskAddress *DiskAddress `json:"diskAddress,omitempty"` /** Globally unique identifier of a VM disk. It should be of type UUID. */ DiskExtId *string `json:"diskExtId,omitempty"` VmReference *VmReference `json:"vmReference,omitempty"` }
* Reference to an existing VM disk.
func NewVmDiskReference ¶
func NewVmDiskReference() *VmDiskReference
type VmDiskStorageConfig ¶
type VmDiskStorageConfig struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** Indicates whether the virtual disk is pinned to the hot tier or not. */ FlashModeEnabled *bool `json:"flashModeEnabled,omitempty"` }
* Storage configuration for VM disks.
func NewVmDiskStorageConfig ¶
func NewVmDiskStorageConfig() *VmDiskStorageConfig
type VmRecoveryPoint ¶
type VmRecoveryPoint struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** The external identifier that can be used to retrieve the consistency group using its URL. */ ConsistencyGroupExtId *string `json:"consistencyGroupExtId,omitempty"` /** Name of the Consistency group. */ ConsistencyGroupName *string `json:"consistencyGroupName,omitempty"` /** The UTC date and time in ISO-8601 format when the Recovery point is created. */ CreationTime *time.Time `json:"creationTime,omitempty"` /** The UTC date and time in ISO-8601 format when the current Recovery point expires and will be garbage collected. */ ExpirationTime *time.Time `json:"expirationTime,omitempty"` /** A globally unique identifier of an instance that is suitable for external consumption. */ ExtId *string `json:"extId,omitempty"` /** A HATEOAS style link for the response. Each link contains a user friendly name identifying the link and an address for retrieving the particular resource. */ Links []import4.ApiLink `json:"links,omitempty"` /** Location agnostic identifier of the Recovery point. */ LocationAgnosticId *string `json:"locationAgnosticId,omitempty"` /** The name of the Recovery point. */ Name *string `json:"name,omitempty"` RecoveryPointType *import5.RecoveryPointType `json:"recoveryPointType,omitempty"` Status *import5.RecoveryPointStatus `json:"status,omitempty"` /** A globally unique identifier that represents the tenant that owns this entity. It is automatically assigned by the system and is immutable from an API consumer perspective (some use cases may cause this Id to change - for instance a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server). */ TenantId *string `json:"tenantId,omitempty"` /** List of additional metadata provided by the client at the time of Recovery point creation. */ VendorSpecificProperties []import5.VendorSpecificProperty `json:"vendorSpecificProperties,omitempty"` Vm *Vm `json:"vm,omitempty"` }
* A model that represents VM Recovery Point properties
func NewVmRecoveryPoint ¶
func NewVmRecoveryPoint() *VmRecoveryPoint
type VmReference ¶
type VmReference struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** Globally unique identifier of a VM. It should be of type UUID. */ ExtId *string `json:"extId,omitempty"` }
* This is a reference to a VM.
func NewVmReference ¶
func NewVmReference() *VmReference
type VmRevert ¶
type VmRevert struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** The external identifier of the VM Recovery Point. */ VmRecoveryPointExtId *string `json:"vmRecoveryPointExtId"` }
* Specify the VM Recovery Point Id to which the VM would be reverted.
func NewVmRevert ¶
func NewVmRevert() *VmRevert
func (*VmRevert) MarshalJSON ¶
type VmSourceReference ¶
type VmSourceReference struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` EntityType *VmSourceReferenceEntityType `json:"entityType,omitempty"` /** Globally unique identifier of a VM. It should be of type UUID. */ ExtId *string `json:"extId,omitempty"` }
* Reference to an entity that the VM should be cloned or created from.
func NewVmSourceReference ¶
func NewVmSourceReference() *VmSourceReference
type VmSourceReferenceEntityType ¶
type VmSourceReferenceEntityType int
const ( VMSOURCEREFERENCEENTITYTYPE_UNKNOWN VmSourceReferenceEntityType = 0 VMSOURCEREFERENCEENTITYTYPE_REDACTED VmSourceReferenceEntityType = 1 VMSOURCEREFERENCEENTITYTYPE_VM VmSourceReferenceEntityType = 2 VMSOURCEREFERENCEENTITYTYPE_VM_RECOVERY_POINT VmSourceReferenceEntityType = 3 )
func (*VmSourceReferenceEntityType) MarshalJSON ¶
func (e *VmSourceReferenceEntityType) MarshalJSON() ([]byte, error)
func (VmSourceReferenceEntityType) Ref ¶
func (e VmSourceReferenceEntityType) Ref() *VmSourceReferenceEntityType
func (*VmSourceReferenceEntityType) UnmarshalJSON ¶
func (e *VmSourceReferenceEntityType) UnmarshalJSON(b []byte) error
type VtpmConfig ¶
type VtpmConfig struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /** Virtual trusted platform module version. */ Version *string `json:"version,omitempty"` /** Indicates whether the virtual trusted platform module is enabled for the Guest OS or not. */ VtpmEnabled *bool `json:"vtpmEnabled,omitempty"` }
* Indicates how the vTPM for the VM should be configured.
func NewVtpmConfig ¶
func NewVtpmConfig() *VtpmConfig