config

package
v4.0.1-beta.1 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: UNKNOWN not legal advice Imports: 9 Imported by: 0

Documentation

Overview

Configure Acropolis hypervisor based Virtual Machines, Disks, Nics etc

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ADSFDiskMigrationPlan

type ADSFDiskMigrationPlan struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`

	StorageContainer *VmDiskContainerReference `json:"storageContainer,omitempty"`
	/*
	  The disks included in the migration plan.
	*/
	VmDisks []MigrateDiskReference `json:"vmDisks,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.
	*/
	IsFlashModeEnabled *bool `json:"isFlashModeEnabled,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"`
	/*
	  The 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 AllDisksMigrationPlan

type AllDisksMigrationPlan struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`

	StorageContainer *VmDiskContainerReference `json:"storageContainer,omitempty"`
}

Defines how all the disks of a VM are migrated to the same target storage container.

func NewAllDisksMigrationPlan

func NewAllDisksMigrationPlan() *AllDisksMigrationPlan

type ApcConfig

type ApcConfig struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`

	CpuModel *CpuModelReference `json:"cpuModel,omitempty"`
	/*
	  If enabled, the selected CPU model will be retained across live and cold migrations of the VM.
	*/
	IsApcEnabled *bool `json:"isApcEnabled,omitempty"`
}

Advanced Processor Compatibility configuration for the VM. Enabling this retains the CPU model for the VM across power cycles and migrations.

func NewApcConfig

func NewApcConfig() *ApcConfig

type AssignIpApiResponse

type AssignIpApiResponse 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 *OneOfAssignIpApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{vmExtId}/nics/{extId}/$actions/assign-ip Post operation

func NewAssignIpApiResponse

func NewAssignIpApiResponse() *AssignIpApiResponse

func (*AssignIpApiResponse) GetData

func (p *AssignIpApiResponse) GetData() interface{}

func (*AssignIpApiResponse) SetData

func (p *AssignIpApiResponse) SetData(v interface{}) error

type AssignIpParams

type AssignIpParams struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`

	IpAddress *import4.IPv4Address `json:"ipAddress,omitempty"`
}

Assigns a specific IP address to a network device attached to a managed network.

func NewAssignIpParams

func NewAssignIpParams() *AssignIpParams

type AssignVmOwnerApiResponse

type AssignVmOwnerApiResponse 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 *OneOfAssignVmOwnerApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{extId}/$actions/assign-owner Post operation

func NewAssignVmOwnerApiResponse

func NewAssignVmOwnerApiResponse() *AssignVmOwnerApiResponse

func (*AssignVmOwnerApiResponse) GetData

func (p *AssignVmOwnerApiResponse) GetData() interface{}

func (*AssignVmOwnerApiResponse) SetData

func (p *AssignVmOwnerApiResponse) SetData(v interface{}) error

type AssociateCategoriesApiResponse

type AssociateCategoriesApiResponse 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 *OneOfAssociateCategoriesApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{extId}/$actions/associate-categories Post operation

func NewAssociateCategoriesApiResponse

func NewAssociateCategoriesApiResponse() *AssociateCategoriesApiResponse

func (*AssociateCategoriesApiResponse) GetData

func (p *AssociateCategoriesApiResponse) GetData() interface{}

func (*AssociateCategoriesApiResponse) SetData

func (p *AssociateCategoriesApiResponse) SetData(v interface{}) error

type AssociateVmCategoriesParams

type AssociateVmCategoriesParams struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`

	Categories []CategoryReference `json:"categories,omitempty"`
}

List of categories to be associated to the VM.

func NewAssociateVmCategoriesParams

func NewAssociateVmCategoriesParams() *AssociateVmCategoriesParams

type AvailabilityZoneReference

type AvailabilityZoneReference struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  The 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) GetName

func (e BootDeviceType) GetName() string

Returns the name of the enum

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"`
	/*
	  The 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"`

	IsoType *IsoType `json:"isoType,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 []import3.ApiLink `json:"links,omitempty"`
	/*
	  A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it 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.

func NewCdRom

func NewCdRom() *CdRom

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

func (e CdRomBusType) GetName() string

Returns the name of the enum

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 CdRomInsertParams

type CdRomInsertParams 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 NewCdRomInsertParams

func NewCdRomInsertParams() *CdRomInsertParams

type CloneOverrideParams

type CloneOverrideParams 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 *OneOfCloneOverrideParamsBootConfig `json:"bootConfig,omitempty"`

	GuestCustomization *GuestCustomizationParams `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 NewCloneOverrideParams

func NewCloneOverrideParams() *CloneOverrideParams

func (*CloneOverrideParams) GetBootConfig

func (p *CloneOverrideParams) GetBootConfig() interface{}

func (*CloneOverrideParams) SetBootConfig

func (p *CloneOverrideParams) SetBootConfig(v interface{}) error

type CloneVmApiResponse

type CloneVmApiResponse 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 *OneOfCloneVmApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{extId}/$actions/clone Post operation

func NewCloneVmApiResponse

func NewCloneVmApiResponse() *CloneVmApiResponse

func (*CloneVmApiResponse) GetData

func (p *CloneVmApiResponse) GetData() interface{}

func (*CloneVmApiResponse) SetData

func (p *CloneVmApiResponse) 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

func (p *CloudInit) SetCloudInitScript(v interface{}) error

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

func (e CloudInitDataSourceType) GetName() string

Returns the name of the enum

func (*CloudInitDataSourceType) MarshalJSON

func (e *CloudInitDataSourceType) MarshalJSON() ([]byte, error)

func (CloudInitDataSourceType) Ref

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"`
	/*
	  The 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) GetName

func (e CpuFeature) GetName() string

Returns the name of the enum

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 CpuModelReference

type CpuModelReference struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  The globally unique identifier of the CPU model associated with the VM.
	*/
	ExtId *string `json:"extId,omitempty"`
	/*
	  Name of the CPU model associated with the VM.
	*/
	Name *string `json:"name,omitempty"`
}

CPU model associated with the VM if Advanced Processor Compatibility(APC) is enabled. If APC is enabled and no CPU model is explicitly set, a default baseline CPU model is picked by the system. See the APC documentation for more information

func NewCpuModelReference

func NewCpuModelReference() *CpuModelReference

type CreateCdRomApiResponse

type CreateCdRomApiResponse 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 *OneOfCreateCdRomApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{vmExtId}/cd-roms Post operation

func NewCreateCdRomApiResponse

func NewCreateCdRomApiResponse() *CreateCdRomApiResponse

func (*CreateCdRomApiResponse) GetData

func (p *CreateCdRomApiResponse) GetData() interface{}

func (*CreateCdRomApiResponse) SetData

func (p *CreateCdRomApiResponse) SetData(v interface{}) error

type CreateDiskApiResponse

type CreateDiskApiResponse 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 *OneOfCreateDiskApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{vmExtId}/disks Post operation

func NewCreateDiskApiResponse

func NewCreateDiskApiResponse() *CreateDiskApiResponse

func (*CreateDiskApiResponse) GetData

func (p *CreateDiskApiResponse) GetData() interface{}

func (*CreateDiskApiResponse) SetData

func (p *CreateDiskApiResponse) SetData(v interface{}) error

type CreateGpuApiResponse

type CreateGpuApiResponse 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 *OneOfCreateGpuApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{vmExtId}/gpus Post operation

func NewCreateGpuApiResponse

func NewCreateGpuApiResponse() *CreateGpuApiResponse

func (*CreateGpuApiResponse) GetData

func (p *CreateGpuApiResponse) GetData() interface{}

func (*CreateGpuApiResponse) SetData

func (p *CreateGpuApiResponse) SetData(v interface{}) error

type CreateNicApiResponse

type CreateNicApiResponse 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 *OneOfCreateNicApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{vmExtId}/nics Post operation

func NewCreateNicApiResponse

func NewCreateNicApiResponse() *CreateNicApiResponse

func (*CreateNicApiResponse) GetData

func (p *CreateNicApiResponse) GetData() interface{}

func (*CreateNicApiResponse) SetData

func (p *CreateNicApiResponse) SetData(v interface{}) error

type CreateSerialPortApiResponse

type CreateSerialPortApiResponse 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 *OneOfCreateSerialPortApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{vmExtId}/serial-ports Post operation

func NewCreateSerialPortApiResponse

func NewCreateSerialPortApiResponse() *CreateSerialPortApiResponse

func (*CreateSerialPortApiResponse) GetData

func (p *CreateSerialPortApiResponse) GetData() interface{}

func (*CreateSerialPortApiResponse) SetData

func (p *CreateSerialPortApiResponse) SetData(v interface{}) error

type CreateVmApiResponse

type CreateVmApiResponse 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 *OneOfCreateVmApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms Post operation

func NewCreateVmApiResponse

func NewCreateVmApiResponse() *CreateVmApiResponse

func (*CreateVmApiResponse) GetData

func (p *CreateVmApiResponse) GetData() interface{}

func (*CreateVmApiResponse) SetData

func (p *CreateVmApiResponse) 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 CrossClusterMigrateVmApiResponse

type CrossClusterMigrateVmApiResponse 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 *OneOfCrossClusterMigrateVmApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{extId}/$actions/migrate Post operation

func NewCrossClusterMigrateVmApiResponse

func NewCrossClusterMigrateVmApiResponse() *CrossClusterMigrateVmApiResponse

func (*CrossClusterMigrateVmApiResponse) GetData

func (p *CrossClusterMigrateVmApiResponse) GetData() interface{}

func (*CrossClusterMigrateVmApiResponse) SetData

func (p *CrossClusterMigrateVmApiResponse) SetData(v interface{}) error

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 []import4.KVPair `json:"keyValuePairs,omitempty"`
}

A collection of key/value pairs.

func NewCustomKeyValues

func NewCustomKeyValues() *CustomKeyValues

type CustomizeGuestVmApiResponse

type CustomizeGuestVmApiResponse 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 *OneOfCustomizeGuestVmApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{extId}/$actions/customize-guest Post operation

func NewCustomizeGuestVmApiResponse

func NewCustomizeGuestVmApiResponse() *CustomizeGuestVmApiResponse

func (*CustomizeGuestVmApiResponse) GetData

func (p *CustomizeGuestVmApiResponse) GetData() interface{}

func (*CustomizeGuestVmApiResponse) SetData

func (p *CustomizeGuestVmApiResponse) 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 DeleteCdRomApiResponse

type DeleteCdRomApiResponse 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 *OneOfDeleteCdRomApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{vmExtId}/cd-roms/{extId} Delete operation

func NewDeleteCdRomApiResponse

func NewDeleteCdRomApiResponse() *DeleteCdRomApiResponse

func (*DeleteCdRomApiResponse) GetData

func (p *DeleteCdRomApiResponse) GetData() interface{}

func (*DeleteCdRomApiResponse) SetData

func (p *DeleteCdRomApiResponse) SetData(v interface{}) error

type DeleteDiskApiResponse

type DeleteDiskApiResponse 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 *OneOfDeleteDiskApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{vmExtId}/disks/{extId} Delete operation

func NewDeleteDiskApiResponse

func NewDeleteDiskApiResponse() *DeleteDiskApiResponse

func (*DeleteDiskApiResponse) GetData

func (p *DeleteDiskApiResponse) GetData() interface{}

func (*DeleteDiskApiResponse) SetData

func (p *DeleteDiskApiResponse) SetData(v interface{}) error

type DeleteGpuApiResponse

type DeleteGpuApiResponse 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 *OneOfDeleteGpuApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{vmExtId}/gpus/{extId} Delete operation

func NewDeleteGpuApiResponse

func NewDeleteGpuApiResponse() *DeleteGpuApiResponse

func (*DeleteGpuApiResponse) GetData

func (p *DeleteGpuApiResponse) GetData() interface{}

func (*DeleteGpuApiResponse) SetData

func (p *DeleteGpuApiResponse) SetData(v interface{}) error

type DeleteNicApiResponse

type DeleteNicApiResponse 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 *OneOfDeleteNicApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{vmExtId}/nics/{extId} Delete operation

func NewDeleteNicApiResponse

func NewDeleteNicApiResponse() *DeleteNicApiResponse

func (*DeleteNicApiResponse) GetData

func (p *DeleteNicApiResponse) GetData() interface{}

func (*DeleteNicApiResponse) SetData

func (p *DeleteNicApiResponse) SetData(v interface{}) error

type DeleteSerialPortApiResponse

type DeleteSerialPortApiResponse 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 *OneOfDeleteSerialPortApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{vmExtId}/serial-ports/{extId} Delete operation

func NewDeleteSerialPortApiResponse

func NewDeleteSerialPortApiResponse() *DeleteSerialPortApiResponse

func (*DeleteSerialPortApiResponse) GetData

func (p *DeleteSerialPortApiResponse) GetData() interface{}

func (*DeleteSerialPortApiResponse) SetData

func (p *DeleteSerialPortApiResponse) SetData(v interface{}) error

type DeleteVmApiResponse

type DeleteVmApiResponse 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 *OneOfDeleteVmApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{extId} Delete operation

func NewDeleteVmApiResponse

func NewDeleteVmApiResponse() *DeleteVmApiResponse

func (*DeleteVmApiResponse) GetData

func (p *DeleteVmApiResponse) GetData() interface{}

func (*DeleteVmApiResponse) SetData

func (p *DeleteVmApiResponse) SetData(v interface{}) error

type DisassociateCategoriesApiResponse

type DisassociateCategoriesApiResponse 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 *OneOfDisassociateCategoriesApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{extId}/$actions/disassociate-categories Post operation

func NewDisassociateCategoriesApiResponse

func NewDisassociateCategoriesApiResponse() *DisassociateCategoriesApiResponse

func (*DisassociateCategoriesApiResponse) GetData

func (p *DisassociateCategoriesApiResponse) GetData() interface{}

func (*DisassociateCategoriesApiResponse) SetData

func (p *DisassociateCategoriesApiResponse) SetData(v interface{}) error

type DisassociateVmCategoriesParams

type DisassociateVmCategoriesParams struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`

	Categories []CategoryReference `json:"categories,omitempty"`
}

List of categories to be disassociated from the VM.

func NewDisassociateVmCategoriesParams

func NewDisassociateVmCategoriesParams() *DisassociateVmCategoriesParams

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 []import3.ApiLink `json:"links,omitempty"`
	/*
	  A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it 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).

func NewDisk

func NewDisk() *Disk

func (*Disk) GetBackingInfo

func (p *Disk) GetBackingInfo() interface{}

func (*Disk) SetBackingInfo

func (p *Disk) SetBackingInfo(v interface{}) error

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

func (e DiskBusType) GetName() string

Returns the name of the enum

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 DiskMigrationParams

type DiskMigrationParams struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*

	 */
	MigrateDisksItemDiscriminator_ *string `json:"$migrateDisksItemDiscriminator,omitempty"`

	MigrateDisks *OneOfDiskMigrationParamsMigrateDisks `json:"migrateDisks,omitempty"`
}

Specifies the VmDisks of a VM for migration and the migration plan for them. If all the disks of a VM need to be migrated to the same storage container, only a single migration plan with only the external ID of the destination storage container is needed. If the disks are being migrated to different containers, one plan per disk needs to be specified.

func NewDiskMigrationParams

func NewDiskMigrationParams() *DiskMigrationParams

func (*DiskMigrationParams) GetMigrateDisks

func (p *DiskMigrationParams) GetMigrateDisks() interface{}

func (*DiskMigrationParams) SetMigrateDisks

func (p *DiskMigrationParams) SetMigrateDisks(v interface{}) error

type EjectCdRomApiResponse

type EjectCdRomApiResponse 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 *OneOfEjectCdRomApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{vmExtId}/cd-roms/{extId}/$actions/eject Post operation

func NewEjectCdRomApiResponse

func NewEjectCdRomApiResponse() *EjectCdRomApiResponse

func (*EjectCdRomApiResponse) GetData

func (p *EjectCdRomApiResponse) GetData() interface{}

func (*EjectCdRomApiResponse) SetData

func (p *EjectCdRomApiResponse) 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) GetName

func (e EmulatedNicModel) GetName() string

Returns the name of the enum

func (*EmulatedNicModel) MarshalJSON

func (e *EmulatedNicModel) MarshalJSON() ([]byte, error)

func (EmulatedNicModel) Ref

func (*EmulatedNicModel) UnmarshalJSON

func (e *EmulatedNicModel) UnmarshalJSON(b []byte) error

type FileDetail

type FileDetail struct {
	Path        *string `json:"-"`
	ObjectType_ *string `json:"-"`
}

func NewFileDetail

func NewFileDetail() *FileDetail

type GetCdRomApiResponse

type GetCdRomApiResponse 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 *OneOfGetCdRomApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{vmExtId}/cd-roms/{extId} Get operation

func NewGetCdRomApiResponse

func NewGetCdRomApiResponse() *GetCdRomApiResponse

func (*GetCdRomApiResponse) GetData

func (p *GetCdRomApiResponse) GetData() interface{}

func (*GetCdRomApiResponse) SetData

func (p *GetCdRomApiResponse) SetData(v interface{}) error

type GetDiskApiResponse

type GetDiskApiResponse 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 *OneOfGetDiskApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{vmExtId}/disks/{extId} Get operation

func NewGetDiskApiResponse

func NewGetDiskApiResponse() *GetDiskApiResponse

func (*GetDiskApiResponse) GetData

func (p *GetDiskApiResponse) GetData() interface{}

func (*GetDiskApiResponse) SetData

func (p *GetDiskApiResponse) SetData(v interface{}) error

type GetGpuApiResponse

type GetGpuApiResponse 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 *OneOfGetGpuApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{vmExtId}/gpus/{extId} Get operation

func NewGetGpuApiResponse

func NewGetGpuApiResponse() *GetGpuApiResponse

func (*GetGpuApiResponse) GetData

func (p *GetGpuApiResponse) GetData() interface{}

func (*GetGpuApiResponse) SetData

func (p *GetGpuApiResponse) SetData(v interface{}) error

type GetGuestToolsApiResponse

type GetGuestToolsApiResponse 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 *OneOfGetGuestToolsApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{extId}/guest-tools Get operation

func NewGetGuestToolsApiResponse

func NewGetGuestToolsApiResponse() *GetGuestToolsApiResponse

func (*GetGuestToolsApiResponse) GetData

func (p *GetGuestToolsApiResponse) GetData() interface{}

func (*GetGuestToolsApiResponse) SetData

func (p *GetGuestToolsApiResponse) SetData(v interface{}) error

type GetNicApiResponse

type GetNicApiResponse 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 *OneOfGetNicApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{vmExtId}/nics/{extId} Get operation

func NewGetNicApiResponse

func NewGetNicApiResponse() *GetNicApiResponse

func (*GetNicApiResponse) GetData

func (p *GetNicApiResponse) GetData() interface{}

func (*GetNicApiResponse) SetData

func (p *GetNicApiResponse) SetData(v interface{}) error

type GetSerialPortApiResponse

type GetSerialPortApiResponse 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 *OneOfGetSerialPortApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{vmExtId}/serial-ports/{extId} Get operation

func NewGetSerialPortApiResponse

func NewGetSerialPortApiResponse() *GetSerialPortApiResponse

func (*GetSerialPortApiResponse) GetData

func (p *GetSerialPortApiResponse) GetData() interface{}

func (*GetSerialPortApiResponse) SetData

func (p *GetSerialPortApiResponse) SetData(v interface{}) error

type GetVmApiResponse

type GetVmApiResponse 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 *OneOfGetVmApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{extId} Get operation

func NewGetVmApiResponse

func NewGetVmApiResponse() *GetVmApiResponse

func (*GetVmApiResponse) GetData

func (p *GetVmApiResponse) GetData() interface{}

func (*GetVmApiResponse) SetData

func (p *GetVmApiResponse) 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 []import3.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. The system automatically assigns it, and it 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.

func NewGpu

func NewGpu() *Gpu

type GpuMode

type GpuMode int

The mode of this GPU.

const (
	GPUMODE_UNKNOWN              GpuMode = 0
	GPUMODE_REDACTED             GpuMode = 1
	GPUMODE_PASSTHROUGH_GRAPHICS GpuMode = 2
	GPUMODE_PASSTHROUGH_COMPUTE  GpuMode = 3
	GPUMODE_VIRTUAL              GpuMode = 4
)

func (GpuMode) GetName

func (e GpuMode) GetName() string

Returns the name of the enum

func (*GpuMode) MarshalJSON

func (e *GpuMode) MarshalJSON() ([]byte, error)

func (GpuMode) Ref

func (e GpuMode) Ref() *GpuMode

func (*GpuMode) UnmarshalJSON

func (e *GpuMode) UnmarshalJSON(b []byte) error

type GpuVendor

type GpuVendor int

The vendor of the GPU.

const (
	GPUVENDOR_UNKNOWN  GpuVendor = 0
	GPUVENDOR_REDACTED GpuVendor = 1
	GPUVENDOR_NVIDIA   GpuVendor = 2
	GPUVENDOR_INTEL    GpuVendor = 3
	GPUVENDOR_AMD      GpuVendor = 4
)

func (GpuVendor) GetName

func (e GpuVendor) GetName() string

Returns the name of the enum

func (*GpuVendor) MarshalJSON

func (e *GpuVendor) MarshalJSON() ([]byte, error)

func (GpuVendor) Ref

func (e GpuVendor) Ref() *GpuVendor

func (*GpuVendor) UnmarshalJSON

func (e *GpuVendor) UnmarshalJSON(b []byte) error

type GuestCustomizationParams

type GuestCustomizationParams 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 *OneOfGuestCustomizationParamsConfig `json:"config,omitempty"`
}

Stage a Sysprep or cloud-init configuration file to be used by the guest for the next boot. Note that the Sysprep command must be used to generalize the Windows VMs before triggering this API call.

func NewGuestCustomizationParams

func NewGuestCustomizationParams() *GuestCustomizationParams

func (*GuestCustomizationParams) GetConfig

func (p *GuestCustomizationParams) GetConfig() interface{}

func (*GuestCustomizationParams) SetConfig

func (p *GuestCustomizationParams) 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.
	*/
	ShouldEnableScriptExec *bool `json:"shouldEnableScriptExec,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"`
	/*
	  Indicates that the Nutanix Guest Tools are already installed on the guest VM, and the ISO is being inserted to update the configuration of these tools.
	*/
	IsConfigOnly *bool `json:"isConfigOnly,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"`
	/*
	  The 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"`
	/*
	  The 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 InsertCdRomApiResponse

type InsertCdRomApiResponse 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 *OneOfInsertCdRomApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{vmExtId}/cd-roms/{extId}/$actions/insert Post operation

func NewInsertCdRomApiResponse

func NewInsertCdRomApiResponse() *InsertCdRomApiResponse

func (*InsertCdRomApiResponse) GetData

func (p *InsertCdRomApiResponse) GetData() interface{}

func (*InsertCdRomApiResponse) SetData

func (p *InsertCdRomApiResponse) SetData(v interface{}) error

type InsertVmGuestToolsApiResponse

type InsertVmGuestToolsApiResponse 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 *OneOfInsertVmGuestToolsApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{extId}/guest-tools/$actions/insert-iso Post operation

func NewInsertVmGuestToolsApiResponse

func NewInsertVmGuestToolsApiResponse() *InsertVmGuestToolsApiResponse

func (*InsertVmGuestToolsApiResponse) GetData

func (p *InsertVmGuestToolsApiResponse) GetData() interface{}

func (*InsertVmGuestToolsApiResponse) SetData

func (p *InsertVmGuestToolsApiResponse) 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) GetName

func (e InstallType) GetName() string

Returns the name of the enum

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 InstallVmGuestToolsApiResponse

type InstallVmGuestToolsApiResponse 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 *OneOfInstallVmGuestToolsApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{extId}/guest-tools/$actions/install Post operation

func NewInstallVmGuestToolsApiResponse

func NewInstallVmGuestToolsApiResponse() *InstallVmGuestToolsApiResponse

func (*InstallVmGuestToolsApiResponse) GetData

func (p *InstallVmGuestToolsApiResponse) GetData() interface{}

func (*InstallVmGuestToolsApiResponse) SetData

func (p *InstallVmGuestToolsApiResponse) 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 *import4.IPv4Address `json:"ipAddress,omitempty"`
	/*
	  Secondary IP addresses for the NIC.
	*/
	SecondaryIpAddressList []import4.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 []import4.IPv4Address `json:"learnedIpAddresses,omitempty"`
}

The runtime IP address information of the NIC.

func NewIpv4Info

func NewIpv4Info() *Ipv4Info

type IsoType

type IsoType int

Type of ISO image inserted in CD-ROM

const (
	ISOTYPE_UNKNOWN             IsoType = 0
	ISOTYPE_REDACTED            IsoType = 1
	ISOTYPE_OTHER               IsoType = 2
	ISOTYPE_GUEST_TOOLS         IsoType = 3
	ISOTYPE_GUEST_CUSTOMIZATION IsoType = 4
)

func (IsoType) GetName

func (e IsoType) GetName() string

Returns the name of the enum

func (*IsoType) MarshalJSON

func (e *IsoType) MarshalJSON() ([]byte, error)

func (IsoType) Ref

func (e IsoType) Ref() *IsoType

func (*IsoType) UnmarshalJSON

func (e *IsoType) UnmarshalJSON(b []byte) error

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 ListCdRomsApiResponse

type ListCdRomsApiResponse 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 *OneOfListCdRomsApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{vmExtId}/cd-roms Get operation

func NewListCdRomsApiResponse

func NewListCdRomsApiResponse() *ListCdRomsApiResponse

func (*ListCdRomsApiResponse) GetData

func (p *ListCdRomsApiResponse) GetData() interface{}

func (*ListCdRomsApiResponse) SetData

func (p *ListCdRomsApiResponse) SetData(v interface{}) error

type ListDisksApiResponse

type ListDisksApiResponse 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 *OneOfListDisksApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{vmExtId}/disks Get operation

func NewListDisksApiResponse

func NewListDisksApiResponse() *ListDisksApiResponse

func (*ListDisksApiResponse) GetData

func (p *ListDisksApiResponse) GetData() interface{}

func (*ListDisksApiResponse) SetData

func (p *ListDisksApiResponse) SetData(v interface{}) error

type ListGpusApiResponse

type ListGpusApiResponse 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 *OneOfListGpusApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{vmExtId}/gpus Get operation

func NewListGpusApiResponse

func NewListGpusApiResponse() *ListGpusApiResponse

func (*ListGpusApiResponse) GetData

func (p *ListGpusApiResponse) GetData() interface{}

func (*ListGpusApiResponse) SetData

func (p *ListGpusApiResponse) SetData(v interface{}) error

type ListNicsApiResponse

type ListNicsApiResponse 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 *OneOfListNicsApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{vmExtId}/nics Get operation

func NewListNicsApiResponse

func NewListNicsApiResponse() *ListNicsApiResponse

func (*ListNicsApiResponse) GetData

func (p *ListNicsApiResponse) GetData() interface{}

func (*ListNicsApiResponse) SetData

func (p *ListNicsApiResponse) SetData(v interface{}) error

type ListSerialPortsApiResponse

type ListSerialPortsApiResponse 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 *OneOfListSerialPortsApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{vmExtId}/serial-ports Get operation

func NewListSerialPortsApiResponse

func NewListSerialPortsApiResponse() *ListSerialPortsApiResponse

func (*ListSerialPortsApiResponse) GetData

func (p *ListSerialPortsApiResponse) GetData() interface{}

func (*ListSerialPortsApiResponse) SetData

func (p *ListSerialPortsApiResponse) SetData(v interface{}) error

type ListVmsApiResponse

type ListVmsApiResponse 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 *OneOfListVmsApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms Get operation

func NewListVmsApiResponse

func NewListVmsApiResponse() *ListVmsApiResponse

func (*ListVmsApiResponse) GetData

func (p *ListVmsApiResponse) GetData() interface{}

func (*ListVmsApiResponse) SetData

func (p *ListVmsApiResponse) 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) GetName

func (e MachineType) GetName() string

Returns the name of the enum

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 MigrateDiskReference

type MigrateDiskReference struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  The globally unique identifier of a VM disk. It should be of type UUID.
	*/
	DiskExtId *string `json:"diskExtId,omitempty"`
}

Reference to an existing VM disk that needs to be migrated.

func NewMigrateDiskReference

func NewMigrateDiskReference() *MigrateDiskReference

type MigrateNicApiResponse

type MigrateNicApiResponse 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 *OneOfMigrateNicApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{vmExtId}/nics/{extId}/$actions/migrate Post operation

func NewMigrateNicApiResponse

func NewMigrateNicApiResponse() *MigrateNicApiResponse

func (*MigrateNicApiResponse) GetData

func (p *MigrateNicApiResponse) GetData() interface{}

func (*MigrateNicApiResponse) SetData

func (p *MigrateNicApiResponse) SetData(v interface{}) 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 *import4.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 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) GetName

func (e MigrateNicType) GetName() string

Returns the name of the enum

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 MigrateVmDisksApiResponse

type MigrateVmDisksApiResponse 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 *OneOfMigrateVmDisksApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{extId}/$actions/migrate-vm-disks Post operation

func NewMigrateVmDisksApiResponse

func NewMigrateVmDisksApiResponse() *MigrateVmDisksApiResponse

func (*MigrateVmDisksApiResponse) GetData

func (p *MigrateVmDisksApiResponse) GetData() interface{}

func (*MigrateVmDisksApiResponse) SetData

func (p *MigrateVmDisksApiResponse) SetData(v interface{}) error

type MigrateVmToHostApiResponse

type MigrateVmToHostApiResponse 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 *OneOfMigrateVmToHostApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{extId}/$actions/migrate-to-host Post operation

func NewMigrateVmToHostApiResponse

func NewMigrateVmToHostApiResponse() *MigrateVmToHostApiResponse

func (*MigrateVmToHostApiResponse) GetData

func (p *MigrateVmToHostApiResponse) GetData() interface{}

func (*MigrateVmToHostApiResponse) SetData

func (p *MigrateVmToHostApiResponse) SetData(v interface{}) error

type MigrationPlans

type MigrationPlans struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`

	Plans []ADSFDiskMigrationPlan `json:"plans,omitempty"`
}

List of migration plans for VM disks.

func NewMigrationPlans

func NewMigrationPlans() *MigrationPlans

type NetworkFunctionChainReference

type NetworkFunctionChainReference struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  The 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) GetName

func (e NetworkFunctionNicType) GetName() string

Returns the name of the enum

func (*NetworkFunctionNicType) MarshalJSON

func (e *NetworkFunctionNicType) MarshalJSON() ([]byte, error)

func (NetworkFunctionNicType) Ref

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

func (e NgtCapability) GetName() string

Returns the name of the enum

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 []import3.ApiLink `json:"links,omitempty"`

	NetworkInfo *NicNetworkInfo `json:"networkInfo,omitempty"`
	/*
	  A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it 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.

func NewNic

func NewNic() *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"`

	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"`
	/*
	  Indicates whether an unknown unicast traffic is forwarded to this NIC or not. This is applicable only for the NICs on the overlay subnets.
	*/
	ShouldAllowUnknownMacs *bool `json:"shouldAllowUnknownMacs,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.

const (
	NICTYPE_UNKNOWN              NicType = 0
	NICTYPE_REDACTED             NicType = 1
	NICTYPE_NORMAL_NIC           NicType = 2
	NICTYPE_DIRECT_NIC           NicType = 3
	NICTYPE_NETWORK_FUNCTION_NIC NicType = 4
	NICTYPE_SPAN_DESTINATION_NIC NicType = 5
)

func (NicType) GetName

func (e NicType) GetName() string

Returns the name of the enum

func (*NicType) MarshalJSON

func (e *NicType) MarshalJSON() ([]byte, error)

func (NicType) Ref

func (e NicType) Ref() *NicType

func (*NicType) UnmarshalJSON

func (e *NicType) UnmarshalJSON(b []byte) error

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 OneOfAssignIpApiResponseData

type OneOfAssignIpApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfAssignIpApiResponseData

func NewOneOfAssignIpApiResponseData() *OneOfAssignIpApiResponseData

func (*OneOfAssignIpApiResponseData) GetValue

func (p *OneOfAssignIpApiResponseData) GetValue() interface{}

func (*OneOfAssignIpApiResponseData) MarshalJSON

func (p *OneOfAssignIpApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfAssignIpApiResponseData) SetValue

func (p *OneOfAssignIpApiResponseData) SetValue(v interface{}) error

func (*OneOfAssignIpApiResponseData) UnmarshalJSON

func (p *OneOfAssignIpApiResponseData) UnmarshalJSON(b []byte) error

type OneOfAssignVmOwnerApiResponseData

type OneOfAssignVmOwnerApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfAssignVmOwnerApiResponseData

func NewOneOfAssignVmOwnerApiResponseData() *OneOfAssignVmOwnerApiResponseData

func (*OneOfAssignVmOwnerApiResponseData) GetValue

func (p *OneOfAssignVmOwnerApiResponseData) GetValue() interface{}

func (*OneOfAssignVmOwnerApiResponseData) MarshalJSON

func (p *OneOfAssignVmOwnerApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfAssignVmOwnerApiResponseData) SetValue

func (p *OneOfAssignVmOwnerApiResponseData) SetValue(v interface{}) error

func (*OneOfAssignVmOwnerApiResponseData) UnmarshalJSON

func (p *OneOfAssignVmOwnerApiResponseData) UnmarshalJSON(b []byte) error

type OneOfAssociateCategoriesApiResponseData

type OneOfAssociateCategoriesApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfAssociateCategoriesApiResponseData

func NewOneOfAssociateCategoriesApiResponseData() *OneOfAssociateCategoriesApiResponseData

func (*OneOfAssociateCategoriesApiResponseData) GetValue

func (p *OneOfAssociateCategoriesApiResponseData) GetValue() interface{}

func (*OneOfAssociateCategoriesApiResponseData) MarshalJSON

func (p *OneOfAssociateCategoriesApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfAssociateCategoriesApiResponseData) SetValue

func (p *OneOfAssociateCategoriesApiResponseData) SetValue(v interface{}) error

func (*OneOfAssociateCategoriesApiResponseData) UnmarshalJSON

func (p *OneOfAssociateCategoriesApiResponseData) UnmarshalJSON(b []byte) error

type OneOfCloneOverrideParamsBootConfig

type OneOfCloneOverrideParamsBootConfig struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfCloneOverrideParamsBootConfig

func NewOneOfCloneOverrideParamsBootConfig() *OneOfCloneOverrideParamsBootConfig

func (*OneOfCloneOverrideParamsBootConfig) GetValue

func (p *OneOfCloneOverrideParamsBootConfig) GetValue() interface{}

func (*OneOfCloneOverrideParamsBootConfig) MarshalJSON

func (p *OneOfCloneOverrideParamsBootConfig) MarshalJSON() ([]byte, error)

func (*OneOfCloneOverrideParamsBootConfig) SetValue

func (p *OneOfCloneOverrideParamsBootConfig) SetValue(v interface{}) error

func (*OneOfCloneOverrideParamsBootConfig) UnmarshalJSON

func (p *OneOfCloneOverrideParamsBootConfig) UnmarshalJSON(b []byte) error

type OneOfCloneVmApiResponseData

type OneOfCloneVmApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfCloneVmApiResponseData

func NewOneOfCloneVmApiResponseData() *OneOfCloneVmApiResponseData

func (*OneOfCloneVmApiResponseData) GetValue

func (p *OneOfCloneVmApiResponseData) GetValue() interface{}

func (*OneOfCloneVmApiResponseData) MarshalJSON

func (p *OneOfCloneVmApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfCloneVmApiResponseData) SetValue

func (p *OneOfCloneVmApiResponseData) SetValue(v interface{}) error

func (*OneOfCloneVmApiResponseData) UnmarshalJSON

func (p *OneOfCloneVmApiResponseData) 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 OneOfCreateCdRomApiResponseData

type OneOfCreateCdRomApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfCreateCdRomApiResponseData

func NewOneOfCreateCdRomApiResponseData() *OneOfCreateCdRomApiResponseData

func (*OneOfCreateCdRomApiResponseData) GetValue

func (p *OneOfCreateCdRomApiResponseData) GetValue() interface{}

func (*OneOfCreateCdRomApiResponseData) MarshalJSON

func (p *OneOfCreateCdRomApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfCreateCdRomApiResponseData) SetValue

func (p *OneOfCreateCdRomApiResponseData) SetValue(v interface{}) error

func (*OneOfCreateCdRomApiResponseData) UnmarshalJSON

func (p *OneOfCreateCdRomApiResponseData) UnmarshalJSON(b []byte) error

type OneOfCreateDiskApiResponseData

type OneOfCreateDiskApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfCreateDiskApiResponseData

func NewOneOfCreateDiskApiResponseData() *OneOfCreateDiskApiResponseData

func (*OneOfCreateDiskApiResponseData) GetValue

func (p *OneOfCreateDiskApiResponseData) GetValue() interface{}

func (*OneOfCreateDiskApiResponseData) MarshalJSON

func (p *OneOfCreateDiskApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfCreateDiskApiResponseData) SetValue

func (p *OneOfCreateDiskApiResponseData) SetValue(v interface{}) error

func (*OneOfCreateDiskApiResponseData) UnmarshalJSON

func (p *OneOfCreateDiskApiResponseData) UnmarshalJSON(b []byte) error

type OneOfCreateGpuApiResponseData

type OneOfCreateGpuApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfCreateGpuApiResponseData

func NewOneOfCreateGpuApiResponseData() *OneOfCreateGpuApiResponseData

func (*OneOfCreateGpuApiResponseData) GetValue

func (p *OneOfCreateGpuApiResponseData) GetValue() interface{}

func (*OneOfCreateGpuApiResponseData) MarshalJSON

func (p *OneOfCreateGpuApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfCreateGpuApiResponseData) SetValue

func (p *OneOfCreateGpuApiResponseData) SetValue(v interface{}) error

func (*OneOfCreateGpuApiResponseData) UnmarshalJSON

func (p *OneOfCreateGpuApiResponseData) UnmarshalJSON(b []byte) error

type OneOfCreateNicApiResponseData

type OneOfCreateNicApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfCreateNicApiResponseData

func NewOneOfCreateNicApiResponseData() *OneOfCreateNicApiResponseData

func (*OneOfCreateNicApiResponseData) GetValue

func (p *OneOfCreateNicApiResponseData) GetValue() interface{}

func (*OneOfCreateNicApiResponseData) MarshalJSON

func (p *OneOfCreateNicApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfCreateNicApiResponseData) SetValue

func (p *OneOfCreateNicApiResponseData) SetValue(v interface{}) error

func (*OneOfCreateNicApiResponseData) UnmarshalJSON

func (p *OneOfCreateNicApiResponseData) UnmarshalJSON(b []byte) error

type OneOfCreateSerialPortApiResponseData

type OneOfCreateSerialPortApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfCreateSerialPortApiResponseData

func NewOneOfCreateSerialPortApiResponseData() *OneOfCreateSerialPortApiResponseData

func (*OneOfCreateSerialPortApiResponseData) GetValue

func (p *OneOfCreateSerialPortApiResponseData) GetValue() interface{}

func (*OneOfCreateSerialPortApiResponseData) MarshalJSON

func (p *OneOfCreateSerialPortApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfCreateSerialPortApiResponseData) SetValue

func (p *OneOfCreateSerialPortApiResponseData) SetValue(v interface{}) error

func (*OneOfCreateSerialPortApiResponseData) UnmarshalJSON

func (p *OneOfCreateSerialPortApiResponseData) UnmarshalJSON(b []byte) error

type OneOfCreateVmApiResponseData

type OneOfCreateVmApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfCreateVmApiResponseData

func NewOneOfCreateVmApiResponseData() *OneOfCreateVmApiResponseData

func (*OneOfCreateVmApiResponseData) GetValue

func (p *OneOfCreateVmApiResponseData) GetValue() interface{}

func (*OneOfCreateVmApiResponseData) MarshalJSON

func (p *OneOfCreateVmApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfCreateVmApiResponseData) SetValue

func (p *OneOfCreateVmApiResponseData) SetValue(v interface{}) error

func (*OneOfCreateVmApiResponseData) UnmarshalJSON

func (p *OneOfCreateVmApiResponseData) UnmarshalJSON(b []byte) error

type OneOfCrossClusterMigrateVmApiResponseData

type OneOfCrossClusterMigrateVmApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfCrossClusterMigrateVmApiResponseData

func NewOneOfCrossClusterMigrateVmApiResponseData() *OneOfCrossClusterMigrateVmApiResponseData

func (*OneOfCrossClusterMigrateVmApiResponseData) GetValue

func (p *OneOfCrossClusterMigrateVmApiResponseData) GetValue() interface{}

func (*OneOfCrossClusterMigrateVmApiResponseData) MarshalJSON

func (*OneOfCrossClusterMigrateVmApiResponseData) SetValue

func (p *OneOfCrossClusterMigrateVmApiResponseData) SetValue(v interface{}) error

func (*OneOfCrossClusterMigrateVmApiResponseData) UnmarshalJSON

type OneOfCustomizeGuestVmApiResponseData

type OneOfCustomizeGuestVmApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfCustomizeGuestVmApiResponseData

func NewOneOfCustomizeGuestVmApiResponseData() *OneOfCustomizeGuestVmApiResponseData

func (*OneOfCustomizeGuestVmApiResponseData) GetValue

func (p *OneOfCustomizeGuestVmApiResponseData) GetValue() interface{}

func (*OneOfCustomizeGuestVmApiResponseData) MarshalJSON

func (p *OneOfCustomizeGuestVmApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfCustomizeGuestVmApiResponseData) SetValue

func (p *OneOfCustomizeGuestVmApiResponseData) SetValue(v interface{}) error

func (*OneOfCustomizeGuestVmApiResponseData) UnmarshalJSON

func (p *OneOfCustomizeGuestVmApiResponseData) 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 OneOfDeleteCdRomApiResponseData

type OneOfDeleteCdRomApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfDeleteCdRomApiResponseData

func NewOneOfDeleteCdRomApiResponseData() *OneOfDeleteCdRomApiResponseData

func (*OneOfDeleteCdRomApiResponseData) GetValue

func (p *OneOfDeleteCdRomApiResponseData) GetValue() interface{}

func (*OneOfDeleteCdRomApiResponseData) MarshalJSON

func (p *OneOfDeleteCdRomApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfDeleteCdRomApiResponseData) SetValue

func (p *OneOfDeleteCdRomApiResponseData) SetValue(v interface{}) error

func (*OneOfDeleteCdRomApiResponseData) UnmarshalJSON

func (p *OneOfDeleteCdRomApiResponseData) UnmarshalJSON(b []byte) error

type OneOfDeleteDiskApiResponseData

type OneOfDeleteDiskApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfDeleteDiskApiResponseData

func NewOneOfDeleteDiskApiResponseData() *OneOfDeleteDiskApiResponseData

func (*OneOfDeleteDiskApiResponseData) GetValue

func (p *OneOfDeleteDiskApiResponseData) GetValue() interface{}

func (*OneOfDeleteDiskApiResponseData) MarshalJSON

func (p *OneOfDeleteDiskApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfDeleteDiskApiResponseData) SetValue

func (p *OneOfDeleteDiskApiResponseData) SetValue(v interface{}) error

func (*OneOfDeleteDiskApiResponseData) UnmarshalJSON

func (p *OneOfDeleteDiskApiResponseData) UnmarshalJSON(b []byte) error

type OneOfDeleteGpuApiResponseData

type OneOfDeleteGpuApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfDeleteGpuApiResponseData

func NewOneOfDeleteGpuApiResponseData() *OneOfDeleteGpuApiResponseData

func (*OneOfDeleteGpuApiResponseData) GetValue

func (p *OneOfDeleteGpuApiResponseData) GetValue() interface{}

func (*OneOfDeleteGpuApiResponseData) MarshalJSON

func (p *OneOfDeleteGpuApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfDeleteGpuApiResponseData) SetValue

func (p *OneOfDeleteGpuApiResponseData) SetValue(v interface{}) error

func (*OneOfDeleteGpuApiResponseData) UnmarshalJSON

func (p *OneOfDeleteGpuApiResponseData) UnmarshalJSON(b []byte) error

type OneOfDeleteNicApiResponseData

type OneOfDeleteNicApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfDeleteNicApiResponseData

func NewOneOfDeleteNicApiResponseData() *OneOfDeleteNicApiResponseData

func (*OneOfDeleteNicApiResponseData) GetValue

func (p *OneOfDeleteNicApiResponseData) GetValue() interface{}

func (*OneOfDeleteNicApiResponseData) MarshalJSON

func (p *OneOfDeleteNicApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfDeleteNicApiResponseData) SetValue

func (p *OneOfDeleteNicApiResponseData) SetValue(v interface{}) error

func (*OneOfDeleteNicApiResponseData) UnmarshalJSON

func (p *OneOfDeleteNicApiResponseData) UnmarshalJSON(b []byte) error

type OneOfDeleteSerialPortApiResponseData

type OneOfDeleteSerialPortApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfDeleteSerialPortApiResponseData

func NewOneOfDeleteSerialPortApiResponseData() *OneOfDeleteSerialPortApiResponseData

func (*OneOfDeleteSerialPortApiResponseData) GetValue

func (p *OneOfDeleteSerialPortApiResponseData) GetValue() interface{}

func (*OneOfDeleteSerialPortApiResponseData) MarshalJSON

func (p *OneOfDeleteSerialPortApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfDeleteSerialPortApiResponseData) SetValue

func (p *OneOfDeleteSerialPortApiResponseData) SetValue(v interface{}) error

func (*OneOfDeleteSerialPortApiResponseData) UnmarshalJSON

func (p *OneOfDeleteSerialPortApiResponseData) UnmarshalJSON(b []byte) error

type OneOfDeleteVmApiResponseData

type OneOfDeleteVmApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfDeleteVmApiResponseData

func NewOneOfDeleteVmApiResponseData() *OneOfDeleteVmApiResponseData

func (*OneOfDeleteVmApiResponseData) GetValue

func (p *OneOfDeleteVmApiResponseData) GetValue() interface{}

func (*OneOfDeleteVmApiResponseData) MarshalJSON

func (p *OneOfDeleteVmApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfDeleteVmApiResponseData) SetValue

func (p *OneOfDeleteVmApiResponseData) SetValue(v interface{}) error

func (*OneOfDeleteVmApiResponseData) UnmarshalJSON

func (p *OneOfDeleteVmApiResponseData) UnmarshalJSON(b []byte) error

type OneOfDisassociateCategoriesApiResponseData

type OneOfDisassociateCategoriesApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfDisassociateCategoriesApiResponseData

func NewOneOfDisassociateCategoriesApiResponseData() *OneOfDisassociateCategoriesApiResponseData

func (*OneOfDisassociateCategoriesApiResponseData) GetValue

func (p *OneOfDisassociateCategoriesApiResponseData) GetValue() interface{}

func (*OneOfDisassociateCategoriesApiResponseData) MarshalJSON

func (*OneOfDisassociateCategoriesApiResponseData) SetValue

func (p *OneOfDisassociateCategoriesApiResponseData) SetValue(v interface{}) error

func (*OneOfDisassociateCategoriesApiResponseData) UnmarshalJSON

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 OneOfDiskMigrationParamsMigrateDisks

type OneOfDiskMigrationParamsMigrateDisks struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfDiskMigrationParamsMigrateDisks

func NewOneOfDiskMigrationParamsMigrateDisks() *OneOfDiskMigrationParamsMigrateDisks

func (*OneOfDiskMigrationParamsMigrateDisks) GetValue

func (p *OneOfDiskMigrationParamsMigrateDisks) GetValue() interface{}

func (*OneOfDiskMigrationParamsMigrateDisks) MarshalJSON

func (p *OneOfDiskMigrationParamsMigrateDisks) MarshalJSON() ([]byte, error)

func (*OneOfDiskMigrationParamsMigrateDisks) SetValue

func (p *OneOfDiskMigrationParamsMigrateDisks) SetValue(v interface{}) error

func (*OneOfDiskMigrationParamsMigrateDisks) UnmarshalJSON

func (p *OneOfDiskMigrationParamsMigrateDisks) UnmarshalJSON(b []byte) error

type OneOfEjectCdRomApiResponseData

type OneOfEjectCdRomApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfEjectCdRomApiResponseData

func NewOneOfEjectCdRomApiResponseData() *OneOfEjectCdRomApiResponseData

func (*OneOfEjectCdRomApiResponseData) GetValue

func (p *OneOfEjectCdRomApiResponseData) GetValue() interface{}

func (*OneOfEjectCdRomApiResponseData) MarshalJSON

func (p *OneOfEjectCdRomApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfEjectCdRomApiResponseData) SetValue

func (p *OneOfEjectCdRomApiResponseData) SetValue(v interface{}) error

func (*OneOfEjectCdRomApiResponseData) UnmarshalJSON

func (p *OneOfEjectCdRomApiResponseData) UnmarshalJSON(b []byte) error

type OneOfGetCdRomApiResponseData

type OneOfGetCdRomApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfGetCdRomApiResponseData

func NewOneOfGetCdRomApiResponseData() *OneOfGetCdRomApiResponseData

func (*OneOfGetCdRomApiResponseData) GetValue

func (p *OneOfGetCdRomApiResponseData) GetValue() interface{}

func (*OneOfGetCdRomApiResponseData) MarshalJSON

func (p *OneOfGetCdRomApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfGetCdRomApiResponseData) SetValue

func (p *OneOfGetCdRomApiResponseData) SetValue(v interface{}) error

func (*OneOfGetCdRomApiResponseData) UnmarshalJSON

func (p *OneOfGetCdRomApiResponseData) UnmarshalJSON(b []byte) error

type OneOfGetDiskApiResponseData

type OneOfGetDiskApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfGetDiskApiResponseData

func NewOneOfGetDiskApiResponseData() *OneOfGetDiskApiResponseData

func (*OneOfGetDiskApiResponseData) GetValue

func (p *OneOfGetDiskApiResponseData) GetValue() interface{}

func (*OneOfGetDiskApiResponseData) MarshalJSON

func (p *OneOfGetDiskApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfGetDiskApiResponseData) SetValue

func (p *OneOfGetDiskApiResponseData) SetValue(v interface{}) error

func (*OneOfGetDiskApiResponseData) UnmarshalJSON

func (p *OneOfGetDiskApiResponseData) UnmarshalJSON(b []byte) error

type OneOfGetGpuApiResponseData

type OneOfGetGpuApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfGetGpuApiResponseData

func NewOneOfGetGpuApiResponseData() *OneOfGetGpuApiResponseData

func (*OneOfGetGpuApiResponseData) GetValue

func (p *OneOfGetGpuApiResponseData) GetValue() interface{}

func (*OneOfGetGpuApiResponseData) MarshalJSON

func (p *OneOfGetGpuApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfGetGpuApiResponseData) SetValue

func (p *OneOfGetGpuApiResponseData) SetValue(v interface{}) error

func (*OneOfGetGpuApiResponseData) UnmarshalJSON

func (p *OneOfGetGpuApiResponseData) UnmarshalJSON(b []byte) error

type OneOfGetGuestToolsApiResponseData

type OneOfGetGuestToolsApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfGetGuestToolsApiResponseData

func NewOneOfGetGuestToolsApiResponseData() *OneOfGetGuestToolsApiResponseData

func (*OneOfGetGuestToolsApiResponseData) GetValue

func (p *OneOfGetGuestToolsApiResponseData) GetValue() interface{}

func (*OneOfGetGuestToolsApiResponseData) MarshalJSON

func (p *OneOfGetGuestToolsApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfGetGuestToolsApiResponseData) SetValue

func (p *OneOfGetGuestToolsApiResponseData) SetValue(v interface{}) error

func (*OneOfGetGuestToolsApiResponseData) UnmarshalJSON

func (p *OneOfGetGuestToolsApiResponseData) UnmarshalJSON(b []byte) error

type OneOfGetNicApiResponseData

type OneOfGetNicApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfGetNicApiResponseData

func NewOneOfGetNicApiResponseData() *OneOfGetNicApiResponseData

func (*OneOfGetNicApiResponseData) GetValue

func (p *OneOfGetNicApiResponseData) GetValue() interface{}

func (*OneOfGetNicApiResponseData) MarshalJSON

func (p *OneOfGetNicApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfGetNicApiResponseData) SetValue

func (p *OneOfGetNicApiResponseData) SetValue(v interface{}) error

func (*OneOfGetNicApiResponseData) UnmarshalJSON

func (p *OneOfGetNicApiResponseData) UnmarshalJSON(b []byte) error

type OneOfGetSerialPortApiResponseData

type OneOfGetSerialPortApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfGetSerialPortApiResponseData

func NewOneOfGetSerialPortApiResponseData() *OneOfGetSerialPortApiResponseData

func (*OneOfGetSerialPortApiResponseData) GetValue

func (p *OneOfGetSerialPortApiResponseData) GetValue() interface{}

func (*OneOfGetSerialPortApiResponseData) MarshalJSON

func (p *OneOfGetSerialPortApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfGetSerialPortApiResponseData) SetValue

func (p *OneOfGetSerialPortApiResponseData) SetValue(v interface{}) error

func (*OneOfGetSerialPortApiResponseData) UnmarshalJSON

func (p *OneOfGetSerialPortApiResponseData) UnmarshalJSON(b []byte) error

type OneOfGetVmApiResponseData

type OneOfGetVmApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfGetVmApiResponseData

func NewOneOfGetVmApiResponseData() *OneOfGetVmApiResponseData

func (*OneOfGetVmApiResponseData) GetValue

func (p *OneOfGetVmApiResponseData) GetValue() interface{}

func (*OneOfGetVmApiResponseData) MarshalJSON

func (p *OneOfGetVmApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfGetVmApiResponseData) SetValue

func (p *OneOfGetVmApiResponseData) SetValue(v interface{}) error

func (*OneOfGetVmApiResponseData) UnmarshalJSON

func (p *OneOfGetVmApiResponseData) UnmarshalJSON(b []byte) error

type OneOfGuestCustomizationParamsConfig

type OneOfGuestCustomizationParamsConfig struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfGuestCustomizationParamsConfig

func NewOneOfGuestCustomizationParamsConfig() *OneOfGuestCustomizationParamsConfig

func (*OneOfGuestCustomizationParamsConfig) GetValue

func (p *OneOfGuestCustomizationParamsConfig) GetValue() interface{}

func (*OneOfGuestCustomizationParamsConfig) MarshalJSON

func (p *OneOfGuestCustomizationParamsConfig) MarshalJSON() ([]byte, error)

func (*OneOfGuestCustomizationParamsConfig) SetValue

func (p *OneOfGuestCustomizationParamsConfig) SetValue(v interface{}) error

func (*OneOfGuestCustomizationParamsConfig) UnmarshalJSON

func (p *OneOfGuestCustomizationParamsConfig) UnmarshalJSON(b []byte) error

type OneOfInsertCdRomApiResponseData

type OneOfInsertCdRomApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfInsertCdRomApiResponseData

func NewOneOfInsertCdRomApiResponseData() *OneOfInsertCdRomApiResponseData

func (*OneOfInsertCdRomApiResponseData) GetValue

func (p *OneOfInsertCdRomApiResponseData) GetValue() interface{}

func (*OneOfInsertCdRomApiResponseData) MarshalJSON

func (p *OneOfInsertCdRomApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfInsertCdRomApiResponseData) SetValue

func (p *OneOfInsertCdRomApiResponseData) SetValue(v interface{}) error

func (*OneOfInsertCdRomApiResponseData) UnmarshalJSON

func (p *OneOfInsertCdRomApiResponseData) UnmarshalJSON(b []byte) error

type OneOfInsertVmGuestToolsApiResponseData

type OneOfInsertVmGuestToolsApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfInsertVmGuestToolsApiResponseData

func NewOneOfInsertVmGuestToolsApiResponseData() *OneOfInsertVmGuestToolsApiResponseData

func (*OneOfInsertVmGuestToolsApiResponseData) GetValue

func (p *OneOfInsertVmGuestToolsApiResponseData) GetValue() interface{}

func (*OneOfInsertVmGuestToolsApiResponseData) MarshalJSON

func (p *OneOfInsertVmGuestToolsApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfInsertVmGuestToolsApiResponseData) SetValue

func (p *OneOfInsertVmGuestToolsApiResponseData) SetValue(v interface{}) error

func (*OneOfInsertVmGuestToolsApiResponseData) UnmarshalJSON

func (p *OneOfInsertVmGuestToolsApiResponseData) UnmarshalJSON(b []byte) error

type OneOfInstallVmGuestToolsApiResponseData

type OneOfInstallVmGuestToolsApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfInstallVmGuestToolsApiResponseData

func NewOneOfInstallVmGuestToolsApiResponseData() *OneOfInstallVmGuestToolsApiResponseData

func (*OneOfInstallVmGuestToolsApiResponseData) GetValue

func (p *OneOfInstallVmGuestToolsApiResponseData) GetValue() interface{}

func (*OneOfInstallVmGuestToolsApiResponseData) MarshalJSON

func (p *OneOfInstallVmGuestToolsApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfInstallVmGuestToolsApiResponseData) SetValue

func (p *OneOfInstallVmGuestToolsApiResponseData) SetValue(v interface{}) error

func (*OneOfInstallVmGuestToolsApiResponseData) UnmarshalJSON

func (p *OneOfInstallVmGuestToolsApiResponseData) 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 OneOfListCdRomsApiResponseData

type OneOfListCdRomsApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfListCdRomsApiResponseData

func NewOneOfListCdRomsApiResponseData() *OneOfListCdRomsApiResponseData

func (*OneOfListCdRomsApiResponseData) GetValue

func (p *OneOfListCdRomsApiResponseData) GetValue() interface{}

func (*OneOfListCdRomsApiResponseData) MarshalJSON

func (p *OneOfListCdRomsApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfListCdRomsApiResponseData) SetValue

func (p *OneOfListCdRomsApiResponseData) SetValue(v interface{}) error

func (*OneOfListCdRomsApiResponseData) UnmarshalJSON

func (p *OneOfListCdRomsApiResponseData) UnmarshalJSON(b []byte) error

type OneOfListDisksApiResponseData

type OneOfListDisksApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfListDisksApiResponseData

func NewOneOfListDisksApiResponseData() *OneOfListDisksApiResponseData

func (*OneOfListDisksApiResponseData) GetValue

func (p *OneOfListDisksApiResponseData) GetValue() interface{}

func (*OneOfListDisksApiResponseData) MarshalJSON

func (p *OneOfListDisksApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfListDisksApiResponseData) SetValue

func (p *OneOfListDisksApiResponseData) SetValue(v interface{}) error

func (*OneOfListDisksApiResponseData) UnmarshalJSON

func (p *OneOfListDisksApiResponseData) UnmarshalJSON(b []byte) error

type OneOfListGpusApiResponseData

type OneOfListGpusApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfListGpusApiResponseData

func NewOneOfListGpusApiResponseData() *OneOfListGpusApiResponseData

func (*OneOfListGpusApiResponseData) GetValue

func (p *OneOfListGpusApiResponseData) GetValue() interface{}

func (*OneOfListGpusApiResponseData) MarshalJSON

func (p *OneOfListGpusApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfListGpusApiResponseData) SetValue

func (p *OneOfListGpusApiResponseData) SetValue(v interface{}) error

func (*OneOfListGpusApiResponseData) UnmarshalJSON

func (p *OneOfListGpusApiResponseData) UnmarshalJSON(b []byte) error

type OneOfListNicsApiResponseData

type OneOfListNicsApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfListNicsApiResponseData

func NewOneOfListNicsApiResponseData() *OneOfListNicsApiResponseData

func (*OneOfListNicsApiResponseData) GetValue

func (p *OneOfListNicsApiResponseData) GetValue() interface{}

func (*OneOfListNicsApiResponseData) MarshalJSON

func (p *OneOfListNicsApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfListNicsApiResponseData) SetValue

func (p *OneOfListNicsApiResponseData) SetValue(v interface{}) error

func (*OneOfListNicsApiResponseData) UnmarshalJSON

func (p *OneOfListNicsApiResponseData) UnmarshalJSON(b []byte) error

type OneOfListSerialPortsApiResponseData

type OneOfListSerialPortsApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfListSerialPortsApiResponseData

func NewOneOfListSerialPortsApiResponseData() *OneOfListSerialPortsApiResponseData

func (*OneOfListSerialPortsApiResponseData) GetValue

func (p *OneOfListSerialPortsApiResponseData) GetValue() interface{}

func (*OneOfListSerialPortsApiResponseData) MarshalJSON

func (p *OneOfListSerialPortsApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfListSerialPortsApiResponseData) SetValue

func (p *OneOfListSerialPortsApiResponseData) SetValue(v interface{}) error

func (*OneOfListSerialPortsApiResponseData) UnmarshalJSON

func (p *OneOfListSerialPortsApiResponseData) UnmarshalJSON(b []byte) error

type OneOfListVmsApiResponseData

type OneOfListVmsApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfListVmsApiResponseData

func NewOneOfListVmsApiResponseData() *OneOfListVmsApiResponseData

func (*OneOfListVmsApiResponseData) GetValue

func (p *OneOfListVmsApiResponseData) GetValue() interface{}

func (*OneOfListVmsApiResponseData) MarshalJSON

func (p *OneOfListVmsApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfListVmsApiResponseData) SetValue

func (p *OneOfListVmsApiResponseData) SetValue(v interface{}) error

func (*OneOfListVmsApiResponseData) UnmarshalJSON

func (p *OneOfListVmsApiResponseData) UnmarshalJSON(b []byte) error

type OneOfMigrateNicApiResponseData

type OneOfMigrateNicApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfMigrateNicApiResponseData

func NewOneOfMigrateNicApiResponseData() *OneOfMigrateNicApiResponseData

func (*OneOfMigrateNicApiResponseData) GetValue

func (p *OneOfMigrateNicApiResponseData) GetValue() interface{}

func (*OneOfMigrateNicApiResponseData) MarshalJSON

func (p *OneOfMigrateNicApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfMigrateNicApiResponseData) SetValue

func (p *OneOfMigrateNicApiResponseData) SetValue(v interface{}) error

func (*OneOfMigrateNicApiResponseData) UnmarshalJSON

func (p *OneOfMigrateNicApiResponseData) UnmarshalJSON(b []byte) error

type OneOfMigrateVmDisksApiResponseData

type OneOfMigrateVmDisksApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfMigrateVmDisksApiResponseData

func NewOneOfMigrateVmDisksApiResponseData() *OneOfMigrateVmDisksApiResponseData

func (*OneOfMigrateVmDisksApiResponseData) GetValue

func (p *OneOfMigrateVmDisksApiResponseData) GetValue() interface{}

func (*OneOfMigrateVmDisksApiResponseData) MarshalJSON

func (p *OneOfMigrateVmDisksApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfMigrateVmDisksApiResponseData) SetValue

func (p *OneOfMigrateVmDisksApiResponseData) SetValue(v interface{}) error

func (*OneOfMigrateVmDisksApiResponseData) UnmarshalJSON

func (p *OneOfMigrateVmDisksApiResponseData) UnmarshalJSON(b []byte) error

type OneOfMigrateVmToHostApiResponseData

type OneOfMigrateVmToHostApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfMigrateVmToHostApiResponseData

func NewOneOfMigrateVmToHostApiResponseData() *OneOfMigrateVmToHostApiResponseData

func (*OneOfMigrateVmToHostApiResponseData) GetValue

func (p *OneOfMigrateVmToHostApiResponseData) GetValue() interface{}

func (*OneOfMigrateVmToHostApiResponseData) MarshalJSON

func (p *OneOfMigrateVmToHostApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfMigrateVmToHostApiResponseData) SetValue

func (p *OneOfMigrateVmToHostApiResponseData) SetValue(v interface{}) error

func (*OneOfMigrateVmToHostApiResponseData) UnmarshalJSON

func (p *OneOfMigrateVmToHostApiResponseData) UnmarshalJSON(b []byte) error

type OneOfPowerCycleVmApiResponseData

type OneOfPowerCycleVmApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfPowerCycleVmApiResponseData

func NewOneOfPowerCycleVmApiResponseData() *OneOfPowerCycleVmApiResponseData

func (*OneOfPowerCycleVmApiResponseData) GetValue

func (p *OneOfPowerCycleVmApiResponseData) GetValue() interface{}

func (*OneOfPowerCycleVmApiResponseData) MarshalJSON

func (p *OneOfPowerCycleVmApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfPowerCycleVmApiResponseData) SetValue

func (p *OneOfPowerCycleVmApiResponseData) SetValue(v interface{}) error

func (*OneOfPowerCycleVmApiResponseData) UnmarshalJSON

func (p *OneOfPowerCycleVmApiResponseData) UnmarshalJSON(b []byte) error

type OneOfPowerOffVmApiResponseData

type OneOfPowerOffVmApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfPowerOffVmApiResponseData

func NewOneOfPowerOffVmApiResponseData() *OneOfPowerOffVmApiResponseData

func (*OneOfPowerOffVmApiResponseData) GetValue

func (p *OneOfPowerOffVmApiResponseData) GetValue() interface{}

func (*OneOfPowerOffVmApiResponseData) MarshalJSON

func (p *OneOfPowerOffVmApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfPowerOffVmApiResponseData) SetValue

func (p *OneOfPowerOffVmApiResponseData) SetValue(v interface{}) error

func (*OneOfPowerOffVmApiResponseData) UnmarshalJSON

func (p *OneOfPowerOffVmApiResponseData) UnmarshalJSON(b []byte) error

type OneOfPowerOnVmApiResponseData

type OneOfPowerOnVmApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfPowerOnVmApiResponseData

func NewOneOfPowerOnVmApiResponseData() *OneOfPowerOnVmApiResponseData

func (*OneOfPowerOnVmApiResponseData) GetValue

func (p *OneOfPowerOnVmApiResponseData) GetValue() interface{}

func (*OneOfPowerOnVmApiResponseData) MarshalJSON

func (p *OneOfPowerOnVmApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfPowerOnVmApiResponseData) SetValue

func (p *OneOfPowerOnVmApiResponseData) SetValue(v interface{}) error

func (*OneOfPowerOnVmApiResponseData) UnmarshalJSON

func (p *OneOfPowerOnVmApiResponseData) UnmarshalJSON(b []byte) error

type OneOfRebootVmApiResponseData

type OneOfRebootVmApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfRebootVmApiResponseData

func NewOneOfRebootVmApiResponseData() *OneOfRebootVmApiResponseData

func (*OneOfRebootVmApiResponseData) GetValue

func (p *OneOfRebootVmApiResponseData) GetValue() interface{}

func (*OneOfRebootVmApiResponseData) MarshalJSON

func (p *OneOfRebootVmApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfRebootVmApiResponseData) SetValue

func (p *OneOfRebootVmApiResponseData) SetValue(v interface{}) error

func (*OneOfRebootVmApiResponseData) UnmarshalJSON

func (p *OneOfRebootVmApiResponseData) UnmarshalJSON(b []byte) error

type OneOfReleaseIpApiResponseData

type OneOfReleaseIpApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfReleaseIpApiResponseData

func NewOneOfReleaseIpApiResponseData() *OneOfReleaseIpApiResponseData

func (*OneOfReleaseIpApiResponseData) GetValue

func (p *OneOfReleaseIpApiResponseData) GetValue() interface{}

func (*OneOfReleaseIpApiResponseData) MarshalJSON

func (p *OneOfReleaseIpApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfReleaseIpApiResponseData) SetValue

func (p *OneOfReleaseIpApiResponseData) SetValue(v interface{}) error

func (*OneOfReleaseIpApiResponseData) UnmarshalJSON

func (p *OneOfReleaseIpApiResponseData) UnmarshalJSON(b []byte) error

type OneOfResetVmApiResponseData

type OneOfResetVmApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfResetVmApiResponseData

func NewOneOfResetVmApiResponseData() *OneOfResetVmApiResponseData

func (*OneOfResetVmApiResponseData) GetValue

func (p *OneOfResetVmApiResponseData) GetValue() interface{}

func (*OneOfResetVmApiResponseData) MarshalJSON

func (p *OneOfResetVmApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfResetVmApiResponseData) SetValue

func (p *OneOfResetVmApiResponseData) SetValue(v interface{}) error

func (*OneOfResetVmApiResponseData) UnmarshalJSON

func (p *OneOfResetVmApiResponseData) UnmarshalJSON(b []byte) error

type OneOfRevertVmApiResponseData

type OneOfRevertVmApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfRevertVmApiResponseData

func NewOneOfRevertVmApiResponseData() *OneOfRevertVmApiResponseData

func (*OneOfRevertVmApiResponseData) GetValue

func (p *OneOfRevertVmApiResponseData) GetValue() interface{}

func (*OneOfRevertVmApiResponseData) MarshalJSON

func (p *OneOfRevertVmApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfRevertVmApiResponseData) SetValue

func (p *OneOfRevertVmApiResponseData) SetValue(v interface{}) error

func (*OneOfRevertVmApiResponseData) UnmarshalJSON

func (p *OneOfRevertVmApiResponseData) UnmarshalJSON(b []byte) error

type OneOfShutdownVmApiResponseData

type OneOfShutdownVmApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfShutdownVmApiResponseData

func NewOneOfShutdownVmApiResponseData() *OneOfShutdownVmApiResponseData

func (*OneOfShutdownVmApiResponseData) GetValue

func (p *OneOfShutdownVmApiResponseData) GetValue() interface{}

func (*OneOfShutdownVmApiResponseData) MarshalJSON

func (p *OneOfShutdownVmApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfShutdownVmApiResponseData) SetValue

func (p *OneOfShutdownVmApiResponseData) SetValue(v interface{}) error

func (*OneOfShutdownVmApiResponseData) UnmarshalJSON

func (p *OneOfShutdownVmApiResponseData) 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 OneOfUninstallVmGuestToolsApiResponseData

type OneOfUninstallVmGuestToolsApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfUninstallVmGuestToolsApiResponseData

func NewOneOfUninstallVmGuestToolsApiResponseData() *OneOfUninstallVmGuestToolsApiResponseData

func (*OneOfUninstallVmGuestToolsApiResponseData) GetValue

func (p *OneOfUninstallVmGuestToolsApiResponseData) GetValue() interface{}

func (*OneOfUninstallVmGuestToolsApiResponseData) MarshalJSON

func (*OneOfUninstallVmGuestToolsApiResponseData) SetValue

func (p *OneOfUninstallVmGuestToolsApiResponseData) SetValue(v interface{}) error

func (*OneOfUninstallVmGuestToolsApiResponseData) UnmarshalJSON

type OneOfUpdateDiskApiResponseData

type OneOfUpdateDiskApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfUpdateDiskApiResponseData

func NewOneOfUpdateDiskApiResponseData() *OneOfUpdateDiskApiResponseData

func (*OneOfUpdateDiskApiResponseData) GetValue

func (p *OneOfUpdateDiskApiResponseData) GetValue() interface{}

func (*OneOfUpdateDiskApiResponseData) MarshalJSON

func (p *OneOfUpdateDiskApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfUpdateDiskApiResponseData) SetValue

func (p *OneOfUpdateDiskApiResponseData) SetValue(v interface{}) error

func (*OneOfUpdateDiskApiResponseData) UnmarshalJSON

func (p *OneOfUpdateDiskApiResponseData) UnmarshalJSON(b []byte) error

type OneOfUpdateGuestToolsApiResponseData

type OneOfUpdateGuestToolsApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfUpdateGuestToolsApiResponseData

func NewOneOfUpdateGuestToolsApiResponseData() *OneOfUpdateGuestToolsApiResponseData

func (*OneOfUpdateGuestToolsApiResponseData) GetValue

func (p *OneOfUpdateGuestToolsApiResponseData) GetValue() interface{}

func (*OneOfUpdateGuestToolsApiResponseData) MarshalJSON

func (p *OneOfUpdateGuestToolsApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfUpdateGuestToolsApiResponseData) SetValue

func (p *OneOfUpdateGuestToolsApiResponseData) SetValue(v interface{}) error

func (*OneOfUpdateGuestToolsApiResponseData) UnmarshalJSON

func (p *OneOfUpdateGuestToolsApiResponseData) UnmarshalJSON(b []byte) error

type OneOfUpdateNicApiResponseData

type OneOfUpdateNicApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfUpdateNicApiResponseData

func NewOneOfUpdateNicApiResponseData() *OneOfUpdateNicApiResponseData

func (*OneOfUpdateNicApiResponseData) GetValue

func (p *OneOfUpdateNicApiResponseData) GetValue() interface{}

func (*OneOfUpdateNicApiResponseData) MarshalJSON

func (p *OneOfUpdateNicApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfUpdateNicApiResponseData) SetValue

func (p *OneOfUpdateNicApiResponseData) SetValue(v interface{}) error

func (*OneOfUpdateNicApiResponseData) UnmarshalJSON

func (p *OneOfUpdateNicApiResponseData) UnmarshalJSON(b []byte) error

type OneOfUpdateSerialPortApiResponseData

type OneOfUpdateSerialPortApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfUpdateSerialPortApiResponseData

func NewOneOfUpdateSerialPortApiResponseData() *OneOfUpdateSerialPortApiResponseData

func (*OneOfUpdateSerialPortApiResponseData) GetValue

func (p *OneOfUpdateSerialPortApiResponseData) GetValue() interface{}

func (*OneOfUpdateSerialPortApiResponseData) MarshalJSON

func (p *OneOfUpdateSerialPortApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfUpdateSerialPortApiResponseData) SetValue

func (p *OneOfUpdateSerialPortApiResponseData) SetValue(v interface{}) error

func (*OneOfUpdateSerialPortApiResponseData) UnmarshalJSON

func (p *OneOfUpdateSerialPortApiResponseData) UnmarshalJSON(b []byte) error

type OneOfUpdateVmApiResponseData

type OneOfUpdateVmApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfUpdateVmApiResponseData

func NewOneOfUpdateVmApiResponseData() *OneOfUpdateVmApiResponseData

func (*OneOfUpdateVmApiResponseData) GetValue

func (p *OneOfUpdateVmApiResponseData) GetValue() interface{}

func (*OneOfUpdateVmApiResponseData) MarshalJSON

func (p *OneOfUpdateVmApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfUpdateVmApiResponseData) SetValue

func (p *OneOfUpdateVmApiResponseData) SetValue(v interface{}) error

func (*OneOfUpdateVmApiResponseData) UnmarshalJSON

func (p *OneOfUpdateVmApiResponseData) UnmarshalJSON(b []byte) error

type OneOfUpgradeVmGuestToolsApiResponseData

type OneOfUpgradeVmGuestToolsApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfUpgradeVmGuestToolsApiResponseData

func NewOneOfUpgradeVmGuestToolsApiResponseData() *OneOfUpgradeVmGuestToolsApiResponseData

func (*OneOfUpgradeVmGuestToolsApiResponseData) GetValue

func (p *OneOfUpgradeVmGuestToolsApiResponseData) GetValue() interface{}

func (*OneOfUpgradeVmGuestToolsApiResponseData) MarshalJSON

func (p *OneOfUpgradeVmGuestToolsApiResponseData) MarshalJSON() ([]byte, error)

func (*OneOfUpgradeVmGuestToolsApiResponseData) SetValue

func (p *OneOfUpgradeVmGuestToolsApiResponseData) SetValue(v interface{}) error

func (*OneOfUpgradeVmGuestToolsApiResponseData) UnmarshalJSON

func (p *OneOfUpgradeVmGuestToolsApiResponseData) UnmarshalJSON(b []byte) error

type OneOfValidateCrossClusterMigrateVmApiResponseData

type OneOfValidateCrossClusterMigrateVmApiResponseData struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfValidateCrossClusterMigrateVmApiResponseData

func NewOneOfValidateCrossClusterMigrateVmApiResponseData() *OneOfValidateCrossClusterMigrateVmApiResponseData

func (*OneOfValidateCrossClusterMigrateVmApiResponseData) GetValue

func (p *OneOfValidateCrossClusterMigrateVmApiResponseData) GetValue() interface{}

func (*OneOfValidateCrossClusterMigrateVmApiResponseData) MarshalJSON

func (*OneOfValidateCrossClusterMigrateVmApiResponseData) SetValue

func (p *OneOfValidateCrossClusterMigrateVmApiResponseData) SetValue(v interface{}) error

func (*OneOfValidateCrossClusterMigrateVmApiResponseData) UnmarshalJSON

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 OwnerReference

type OwnerReference struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  The 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 PolicyReference

type PolicyReference struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  The 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 PowerCycleVmApiResponse

type PowerCycleVmApiResponse 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 *OneOfPowerCycleVmApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{extId}/$actions/power-cycle Post operation

func NewPowerCycleVmApiResponse

func NewPowerCycleVmApiResponse() *PowerCycleVmApiResponse

func (*PowerCycleVmApiResponse) GetData

func (p *PowerCycleVmApiResponse) GetData() interface{}

func (*PowerCycleVmApiResponse) SetData

func (p *PowerCycleVmApiResponse) SetData(v interface{}) error

type PowerOffVmApiResponse

type PowerOffVmApiResponse 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 *OneOfPowerOffVmApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{extId}/$actions/power-off Post operation

func NewPowerOffVmApiResponse

func NewPowerOffVmApiResponse() *PowerOffVmApiResponse

func (*PowerOffVmApiResponse) GetData

func (p *PowerOffVmApiResponse) GetData() interface{}

func (*PowerOffVmApiResponse) SetData

func (p *PowerOffVmApiResponse) SetData(v interface{}) error

type PowerOnVmApiResponse

type PowerOnVmApiResponse 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 *OneOfPowerOnVmApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{extId}/$actions/power-on Post operation

func NewPowerOnVmApiResponse

func NewPowerOnVmApiResponse() *PowerOnVmApiResponse

func (*PowerOnVmApiResponse) GetData

func (p *PowerOnVmApiResponse) GetData() interface{}

func (*PowerOnVmApiResponse) SetData

func (p *PowerOnVmApiResponse) 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_ON           PowerState = 2
	POWERSTATE_OFF          PowerState = 3
	POWERSTATE_PAUSED       PowerState = 4
	POWERSTATE_UNDETERMINED PowerState = 5
)

func (PowerState) GetName

func (e PowerState) GetName() string

Returns the name of the enum

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 ProtectionPolicyState

type ProtectionPolicyState struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`

	Policy *PolicyReference `json:"policy,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) GetName

func (e ProtectionType) GetName() string

Returns the name of the enum

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 or upgrading 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 RebootVmApiResponse

type RebootVmApiResponse 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 *OneOfRebootVmApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{extId}/$actions/guest-reboot Post operation

func NewRebootVmApiResponse

func NewRebootVmApiResponse() *RebootVmApiResponse

func (*RebootVmApiResponse) GetData

func (p *RebootVmApiResponse) GetData() interface{}

func (*RebootVmApiResponse) SetData

func (p *RebootVmApiResponse) SetData(v interface{}) error

type ReleaseIpApiResponse

type ReleaseIpApiResponse 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 *OneOfReleaseIpApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{vmExtId}/nics/{extId}/$actions/release-ip Post operation

func NewReleaseIpApiResponse

func NewReleaseIpApiResponse() *ReleaseIpApiResponse

func (*ReleaseIpApiResponse) GetData

func (p *ReleaseIpApiResponse) GetData() interface{}

func (*ReleaseIpApiResponse) SetData

func (p *ReleaseIpApiResponse) SetData(v interface{}) error

type ResetVmApiResponse

type ResetVmApiResponse 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 *OneOfResetVmApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{extId}/$actions/reset Post operation

func NewResetVmApiResponse

func NewResetVmApiResponse() *ResetVmApiResponse

func (*ResetVmApiResponse) GetData

func (p *ResetVmApiResponse) GetData() interface{}

func (*ResetVmApiResponse) SetData

func (p *ResetVmApiResponse) SetData(v interface{}) error

type RevertParams

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

Input for the VM revert operation. Specify the VM Recovery Point ID to which the VM would be reverted.

func NewRevertParams

func NewRevertParams() *RevertParams

func (*RevertParams) MarshalJSON

func (p *RevertParams) MarshalJSON() ([]byte, error)

type RevertVmApiResponse

type RevertVmApiResponse 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 *OneOfRevertVmApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{extId}/$actions/revert Post operation

func NewRevertVmApiResponse

func NewRevertVmApiResponse() *RevertVmApiResponse

func (*RevertVmApiResponse) GetData

func (p *RevertVmApiResponse) GetData() interface{}

func (*RevertVmApiResponse) SetData

func (p *RevertVmApiResponse) 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.

func NewSBDF

func NewSBDF() *SBDF

type ScheduleType

type ScheduleType int

Schedule type for restart.

const (
	SCHEDULETYPE_UNKNOWN   ScheduleType = 0
	SCHEDULETYPE_REDACTED  ScheduleType = 1
	SCHEDULETYPE_SKIP      ScheduleType = 2
	SCHEDULETYPE_IMMEDIATE ScheduleType = 3
	SCHEDULETYPE_LATER     ScheduleType = 4
)

func (ScheduleType) GetName

func (e ScheduleType) GetName() string

Returns the name of the enum

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 []import3.ApiLink `json:"links,omitempty"`
	/*
	  A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it 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 ShutdownVmApiResponse

type ShutdownVmApiResponse 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 *OneOfShutdownVmApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{extId}/$actions/guest-shutdown Post operation

func NewShutdownVmApiResponse

func NewShutdownVmApiResponse() *ShutdownVmApiResponse

func (*ShutdownVmApiResponse) GetData

func (p *ShutdownVmApiResponse) GetData() interface{}

func (*ShutdownVmApiResponse) SetData

func (p *ShutdownVmApiResponse) 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"`
	/*
	  The 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

func (p *Sysprep) SetSysprepScript(v interface{}) error

type UefiBoot

type UefiBoot struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  Indicate whether to enable secure boot or not.
	*/
	IsSecureBootEnabled *bool `json:"isSecureBootEnabled,omitempty"`

	NvramDevice *NvramDevice `json:"nvramDevice,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 UninstallVmGuestToolsApiResponse

type UninstallVmGuestToolsApiResponse 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 *OneOfUninstallVmGuestToolsApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{extId}/guest-tools/$actions/uninstall Post operation

func NewUninstallVmGuestToolsApiResponse

func NewUninstallVmGuestToolsApiResponse() *UninstallVmGuestToolsApiResponse

func (*UninstallVmGuestToolsApiResponse) GetData

func (p *UninstallVmGuestToolsApiResponse) GetData() interface{}

func (*UninstallVmGuestToolsApiResponse) SetData

func (p *UninstallVmGuestToolsApiResponse) SetData(v interface{}) error

type UpdateDiskApiResponse

type UpdateDiskApiResponse 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 *OneOfUpdateDiskApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{vmExtId}/disks/{extId} Put operation

func NewUpdateDiskApiResponse

func NewUpdateDiskApiResponse() *UpdateDiskApiResponse

func (*UpdateDiskApiResponse) GetData

func (p *UpdateDiskApiResponse) GetData() interface{}

func (*UpdateDiskApiResponse) SetData

func (p *UpdateDiskApiResponse) SetData(v interface{}) error

type UpdateGuestToolsApiResponse

type UpdateGuestToolsApiResponse 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 *OneOfUpdateGuestToolsApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{extId}/guest-tools Put operation

func NewUpdateGuestToolsApiResponse

func NewUpdateGuestToolsApiResponse() *UpdateGuestToolsApiResponse

func (*UpdateGuestToolsApiResponse) GetData

func (p *UpdateGuestToolsApiResponse) GetData() interface{}

func (*UpdateGuestToolsApiResponse) SetData

func (p *UpdateGuestToolsApiResponse) SetData(v interface{}) error

type UpdateNicApiResponse

type UpdateNicApiResponse 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 *OneOfUpdateNicApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{vmExtId}/nics/{extId} Put operation

func NewUpdateNicApiResponse

func NewUpdateNicApiResponse() *UpdateNicApiResponse

func (*UpdateNicApiResponse) GetData

func (p *UpdateNicApiResponse) GetData() interface{}

func (*UpdateNicApiResponse) SetData

func (p *UpdateNicApiResponse) SetData(v interface{}) error

type UpdateSerialPortApiResponse

type UpdateSerialPortApiResponse 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 *OneOfUpdateSerialPortApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{vmExtId}/serial-ports/{extId} Put operation

func NewUpdateSerialPortApiResponse

func NewUpdateSerialPortApiResponse() *UpdateSerialPortApiResponse

func (*UpdateSerialPortApiResponse) GetData

func (p *UpdateSerialPortApiResponse) GetData() interface{}

func (*UpdateSerialPortApiResponse) SetData

func (p *UpdateSerialPortApiResponse) SetData(v interface{}) error

type UpdateVmApiResponse

type UpdateVmApiResponse 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 *OneOfUpdateVmApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{extId} Put operation

func NewUpdateVmApiResponse

func NewUpdateVmApiResponse() *UpdateVmApiResponse

func (*UpdateVmApiResponse) GetData

func (p *UpdateVmApiResponse) GetData() interface{}

func (*UpdateVmApiResponse) SetData

func (p *UpdateVmApiResponse) SetData(v interface{}) error

type UpgradeVmGuestToolsApiResponse

type UpgradeVmGuestToolsApiResponse 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 *OneOfUpgradeVmGuestToolsApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{extId}/guest-tools/$actions/upgrade Post operation

func NewUpgradeVmGuestToolsApiResponse

func NewUpgradeVmGuestToolsApiResponse() *UpgradeVmGuestToolsApiResponse

func (*UpgradeVmGuestToolsApiResponse) GetData

func (p *UpgradeVmGuestToolsApiResponse) GetData() interface{}

func (*UpgradeVmGuestToolsApiResponse) SetData

func (p *UpgradeVmGuestToolsApiResponse) 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 ValidateCrossClusterMigrateVmApiResponse

type ValidateCrossClusterMigrateVmApiResponse 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 *OneOfValidateCrossClusterMigrateVmApiResponseData `json:"data,omitempty"`

	Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}

REST response for all response codes in API path /vmm/v4.0.b1/ahv/config/vms/{extId}/$actions/validate-migrate Post operation

func NewValidateCrossClusterMigrateVmApiResponse

func NewValidateCrossClusterMigrateVmApiResponse() *ValidateCrossClusterMigrateVmApiResponse

func (*ValidateCrossClusterMigrateVmApiResponse) GetData

func (p *ValidateCrossClusterMigrateVmApiResponse) GetData() interface{}

func (*ValidateCrossClusterMigrateVmApiResponse) SetData

func (p *ValidateCrossClusterMigrateVmApiResponse) SetData(v interface{}) error

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.

const (
	VLANMODE_UNKNOWN  VlanMode = 0
	VLANMODE_REDACTED VlanMode = 1
	VLANMODE_ACCESS   VlanMode = 2
	VLANMODE_TRUNK    VlanMode = 3
)

func (VlanMode) GetName

func (e VlanMode) GetName() string

Returns the name of the enum

func (*VlanMode) MarshalJSON

func (e *VlanMode) MarshalJSON() ([]byte, error)

func (VlanMode) Ref

func (e VlanMode) Ref() *VlanMode

func (*VlanMode) UnmarshalJSON

func (e *VlanMode) UnmarshalJSON(b []byte) error

type Vm

type Vm struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`

	ApcConfig *ApcConfig `json:"apcConfig,omitempty"`

	AvailabilityZone *AvailabilityZoneReference `json:"availabilityZone,omitempty"`
	/*
	  BIOS UUID of the VM. It should be of type UUID.
	*/
	BiosUuid *string `json:"biosUuid,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"`
	/*
	  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"`
	/*
	  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"`
	/*
	  Generation UUID of the VM. It should be of type UUID.
	*/
	GenerationUuid *string `json:"generationUuid,omitempty"`
	/*
	  GPUs attached to the VM.
	*/
	Gpus []Gpu `json:"gpus,omitempty"`

	GuestCustomization *GuestCustomizationParams `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"`
	/*
	  Indicates whether to remove AHV branding from VM firmware tables or not.
	*/
	IsBrandingEnabled *bool `json:"isBrandingEnabled,omitempty"`
	/*
	  Indicates whether to passthrough the host CPU features to the guest or not. Enabling this will make VM incapable of live migration.
	*/
	IsCpuPassthroughEnabled *bool `json:"isCpuPassthroughEnabled,omitempty"`
	/*
	  Indicates whether the VM is currently undergoing cross cluster migration.
	*/
	IsCrossClusterMigrationInProgress *bool `json:"isCrossClusterMigrationInProgress,omitempty"`
	/*
	  Indicates whether the vGPU console is enabled or not.
	*/
	IsGpuConsoleEnabled *bool `json:"isGpuConsoleEnabled,omitempty"`
	/*
	  Indicates whether the VM is capable of live migrating to another host or not, based on its configuration.
	*/
	IsLiveMigrateCapable *bool `json:"isLiveMigrateCapable,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.
	*/
	IsMemoryOvercommitEnabled *bool `json:"isMemoryOvercommitEnabled,omitempty"`
	/*
	  Indicates whether the vCPUs should be hard pinned to specific pCPUs or not.
	*/
	IsVcpuHardPinningEnabled *bool `json:"isVcpuHardPinningEnabled,omitempty"`
	/*
	  Indicates whether the VGA console should be disabled or not.
	*/
	IsVgaConsoleEnabled *bool `json:"isVgaConsoleEnabled,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 []import3.ApiLink `json:"links,omitempty"`

	MachineType *MachineType `json:"machineType,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 NUMA nodes. 0 means NUMA is disabled.
	*/
	NumNumaNodes *int `json:"numNumaNodes,omitempty"`
	/*
	  Number of vCPU sockets.
	*/
	NumSockets *int `json:"numSockets,omitempty"`
	/*
	  Number of threads per core.
	*/
	NumThreadsPerCore *int `json:"numThreadsPerCore,omitempty"`

	OwnershipInfo *OwnershipInfo `json:"ownershipInfo,omitempty"`

	PowerState *PowerState `json:"powerState,omitempty"`

	ProtectionPolicyState *ProtectionPolicyState `json:"protectionPolicyState,omitempty"`

	ProtectionType *ProtectionType `json:"protectionType,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. The system automatically assigns it, and it 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"`

	VtpmConfig *VtpmConfig `json:"vtpmConfig,omitempty"`
}

VM configuration.

func NewVm

func NewVm() *Vm

func (*Vm) GetBootConfig

func (p *Vm) GetBootConfig() interface{}

func (*Vm) SetBootConfig

func (p *Vm) SetBootConfig(v interface{}) error

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 target cluster when migrating a VM from the source cluster to the target cluster.
	*/
	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 clusters.

func NewVmCrossClusterMigrateParams

func NewVmCrossClusterMigrateParams() *VmCrossClusterMigrateParams

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"`
	/*
	  The 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"`
	/*
	  Indicates if the disk is undergoing migration to another container.
	*/
	IsMigrationInProgress *bool `json:"isMigrationInProgress,omitempty"`

	StorageConfig *VmDiskStorageConfig `json:"storageConfig,omitempty"`

	StorageContainer *VmDiskContainerReference `json:"storageContainer,omitempty"`
}

Storage provided by Nutanix ADSF

func NewVmDisk

func NewVmDisk() *VmDisk

type VmDiskContainerReference

type VmDiskContainerReference struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  The 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"`
	/*
	  The 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.
	*/
	IsFlashModeEnabled *bool `json:"isFlashModeEnabled,omitempty"`
}

Storage configuration for VM disks.

func NewVmDiskStorageConfig

func NewVmDiskStorageConfig() *VmDiskStorageConfig

type VmMigrateToHostParams

type VmMigrateToHostParams struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`

	Host *HostReference `json:"host,omitempty"`
}

The destination host to which the VM is migrated.

func NewVmMigrateToHostParams

func NewVmMigrateToHostParams() *VmMigrateToHostParams

type VmReference

type VmReference struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  The 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 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"`
	/*
	  The 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) GetName

func (e VmSourceReferenceEntityType) GetName() string

Returns the name of the enum

func (*VmSourceReferenceEntityType) MarshalJSON

func (e *VmSourceReferenceEntityType) MarshalJSON() ([]byte, error)

func (VmSourceReferenceEntityType) Ref

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"`
	/*
	  Indicates whether the virtual trusted platform module is enabled for the Guest OS or not.
	*/
	IsVtpmEnabled *bool `json:"isVtpmEnabled,omitempty"`
	/*
	  Virtual trusted platform module version.
	*/
	Version *string `json:"version,omitempty"`
}

Indicates how the vTPM for the VM should be configured.

func NewVtpmConfig

func NewVtpmConfig() *VtpmConfig

Jump to

Keyboard shortcuts

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