Documentation
¶
Overview ¶
Configure Acropolis hypervisor based Virtual Machines, Disks, Nics etc
Index ¶
- type ADSFDiskMigrationPlan
- type ADSFVmStorageConfig
- type ADSFVolumeGroupReference
- type AllDisksMigrationPlan
- type ApcConfig
- type AssignIpApiResponse
- type AssignIpParams
- type AssignVmOwnerApiResponse
- type AssociateCategoriesApiResponse
- type AssociateVmCategoriesParams
- type AvailabilityZoneReference
- type BootDeviceDisk
- type BootDeviceNic
- type BootDeviceType
- type CategoryReference
- type CdRom
- type CdRomAddress
- type CdRomBusType
- type CdRomInsertParams
- type CloneOverrideParams
- type CloneVmApiResponse
- type CloudInit
- type CloudInitDataSourceType
- type ClusterReference
- type CpuFeature
- type CpuModelReference
- type CreateCdRomApiResponse
- type CreateDiskApiResponse
- type CreateGpuApiResponse
- type CreateNicApiResponse
- type CreatePcieDeviceApiResponse
- type CreateSerialPortApiResponse
- type CreateVMRecoveryPointApiResponse
- type CreateVmApiResponse
- type Credential
- type CrossClusterMigrateVmApiResponse
- type CustomKeyValues
- type CustomizeGuestVmApiResponse
- type DataSource
- type DeleteCdRomApiResponse
- type DeleteDiskApiResponse
- type DeleteGpuApiResponse
- type DeleteNicApiResponse
- type DeletePcieDeviceApiResponse
- type DeleteSerialPortApiResponse
- type DeleteVmApiResponse
- type DeleteVmRecoveryPointApiResponse
- type DisassociateCategoriesApiResponse
- type DisassociateVmCategoriesParams
- type Disk
- type DiskAddress
- type DiskBusType
- type DiskMigrationParams
- type DpOffloadNic
- type DpOffloadNicNetworkInfo
- type EjectCdRomApiResponse
- type EmulatedNic
- type EmulatedNicModel
- type FileDetail
- type GetCdRomApiResponse
- type GetDiskApiResponse
- type GetGpuApiResponse
- type GetGuestToolsApiResponse
- type GetNicApiResponse
- type GetPcieDeviceApiResponse
- type GetSerialPortApiResponse
- type GetVmApiResponse
- type GetVmRecoveryPointApiResponse
- type Gpu
- type GpuMode
- type GpuVendor
- type GuestCustomizationParams
- type GuestPowerOptions
- type GuestPowerStateTransitionConfig
- type GuestTools
- type GuestToolsInsertConfig
- type GuestToolsInstallConfig
- type GuestToolsUpgradeConfig
- type HostPcieDeviceReference
- type HostReference
- type ImageReference
- type InsertCdRomApiResponse
- type InsertVmGuestToolsApiResponse
- type InstallType
- type InstallVmGuestToolsApiResponse
- type Ipv4Config
- type Ipv4Info
- type Ipv6Info
- type IsoType
- type LegacyBoot
- type ListCdRomsApiResponse
- type ListDisksApiResponse
- type ListGpusApiResponse
- type ListNicsApiResponse
- type ListPcieDevicesApiResponse
- type ListSerialPortsApiResponse
- type ListVmRecoveryPointsApiResponse
- type ListVmsApiResponse
- type MachineType
- type MigrateDiskReference
- type MigrateNicApiResponse
- type MigrateNicConfig
- type MigrateNicType
- type MigrateVmDisksApiResponse
- type MigrateVmToHostApiResponse
- type MigrationPlans
- type NetworkFunctionChainReference
- type NetworkFunctionNicType
- type NgtCapability
- type Nic
- type NicNetworkInfo
- type NicProfileReference
- type NicType
- type NvramDevice
- type OneOfAssignIpApiResponseData
- type OneOfAssignVmOwnerApiResponseData
- type OneOfAssociateCategoriesApiResponseData
- func (p *OneOfAssociateCategoriesApiResponseData) GetValue() interface{}
- func (p *OneOfAssociateCategoriesApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfAssociateCategoriesApiResponseData) SetValue(v interface{}) error
- func (p *OneOfAssociateCategoriesApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfCloneOverrideParamsBootConfig
- type OneOfCloneVmApiResponseData
- type OneOfCloudInitCloudInitScript
- type OneOfCreateCdRomApiResponseData
- type OneOfCreateDiskApiResponseData
- type OneOfCreateGpuApiResponseData
- type OneOfCreateNicApiResponseData
- type OneOfCreatePcieDeviceApiResponseData
- func (p *OneOfCreatePcieDeviceApiResponseData) GetValue() interface{}
- func (p *OneOfCreatePcieDeviceApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfCreatePcieDeviceApiResponseData) SetValue(v interface{}) error
- func (p *OneOfCreatePcieDeviceApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfCreateSerialPortApiResponseData
- func (p *OneOfCreateSerialPortApiResponseData) GetValue() interface{}
- func (p *OneOfCreateSerialPortApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfCreateSerialPortApiResponseData) SetValue(v interface{}) error
- func (p *OneOfCreateSerialPortApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfCreateVMRecoveryPointApiResponseData
- func (p *OneOfCreateVMRecoveryPointApiResponseData) GetValue() interface{}
- func (p *OneOfCreateVMRecoveryPointApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfCreateVMRecoveryPointApiResponseData) SetValue(v interface{}) error
- func (p *OneOfCreateVMRecoveryPointApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfCreateVmApiResponseData
- type OneOfCrossClusterMigrateVmApiResponseData
- func (p *OneOfCrossClusterMigrateVmApiResponseData) GetValue() interface{}
- func (p *OneOfCrossClusterMigrateVmApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfCrossClusterMigrateVmApiResponseData) SetValue(v interface{}) error
- func (p *OneOfCrossClusterMigrateVmApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfCustomizeGuestVmApiResponseData
- func (p *OneOfCustomizeGuestVmApiResponseData) GetValue() interface{}
- func (p *OneOfCustomizeGuestVmApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfCustomizeGuestVmApiResponseData) SetValue(v interface{}) error
- func (p *OneOfCustomizeGuestVmApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfDataSourceReference
- type OneOfDeleteCdRomApiResponseData
- type OneOfDeleteDiskApiResponseData
- type OneOfDeleteGpuApiResponseData
- type OneOfDeleteNicApiResponseData
- type OneOfDeletePcieDeviceApiResponseData
- func (p *OneOfDeletePcieDeviceApiResponseData) GetValue() interface{}
- func (p *OneOfDeletePcieDeviceApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfDeletePcieDeviceApiResponseData) SetValue(v interface{}) error
- func (p *OneOfDeletePcieDeviceApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfDeleteSerialPortApiResponseData
- func (p *OneOfDeleteSerialPortApiResponseData) GetValue() interface{}
- func (p *OneOfDeleteSerialPortApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfDeleteSerialPortApiResponseData) SetValue(v interface{}) error
- func (p *OneOfDeleteSerialPortApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfDeleteVmApiResponseData
- type OneOfDeleteVmRecoveryPointApiResponseData
- func (p *OneOfDeleteVmRecoveryPointApiResponseData) GetValue() interface{}
- func (p *OneOfDeleteVmRecoveryPointApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfDeleteVmRecoveryPointApiResponseData) SetValue(v interface{}) error
- func (p *OneOfDeleteVmRecoveryPointApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfDisassociateCategoriesApiResponseData
- func (p *OneOfDisassociateCategoriesApiResponseData) GetValue() interface{}
- func (p *OneOfDisassociateCategoriesApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfDisassociateCategoriesApiResponseData) SetValue(v interface{}) error
- func (p *OneOfDisassociateCategoriesApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfDiskBackingInfo
- type OneOfDiskMigrationParamsMigrateDisks
- func (p *OneOfDiskMigrationParamsMigrateDisks) GetValue() interface{}
- func (p *OneOfDiskMigrationParamsMigrateDisks) MarshalJSON() ([]byte, error)
- func (p *OneOfDiskMigrationParamsMigrateDisks) SetValue(v interface{}) error
- func (p *OneOfDiskMigrationParamsMigrateDisks) UnmarshalJSON(b []byte) error
- type OneOfEjectCdRomApiResponseData
- type OneOfGetCdRomApiResponseData
- type OneOfGetDiskApiResponseData
- type OneOfGetGpuApiResponseData
- type OneOfGetGuestToolsApiResponseData
- type OneOfGetNicApiResponseData
- type OneOfGetPcieDeviceApiResponseData
- type OneOfGetSerialPortApiResponseData
- type OneOfGetVmApiResponseData
- type OneOfGetVmRecoveryPointApiResponseData
- func (p *OneOfGetVmRecoveryPointApiResponseData) GetValue() interface{}
- func (p *OneOfGetVmRecoveryPointApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfGetVmRecoveryPointApiResponseData) SetValue(v interface{}) error
- func (p *OneOfGetVmRecoveryPointApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfGuestCustomizationParamsConfig
- type OneOfInsertCdRomApiResponseData
- type OneOfInsertVmGuestToolsApiResponseData
- func (p *OneOfInsertVmGuestToolsApiResponseData) GetValue() interface{}
- func (p *OneOfInsertVmGuestToolsApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfInsertVmGuestToolsApiResponseData) SetValue(v interface{}) error
- func (p *OneOfInsertVmGuestToolsApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfInstallVmGuestToolsApiResponseData
- func (p *OneOfInstallVmGuestToolsApiResponseData) GetValue() interface{}
- func (p *OneOfInstallVmGuestToolsApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfInstallVmGuestToolsApiResponseData) SetValue(v interface{}) error
- func (p *OneOfInstallVmGuestToolsApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfLegacyBootBootDevice
- type OneOfListCdRomsApiResponseData
- type OneOfListDisksApiResponseData
- type OneOfListGpusApiResponseData
- type OneOfListNicsApiResponseData
- type OneOfListPcieDevicesApiResponseData
- type OneOfListSerialPortsApiResponseData
- type OneOfListVmRecoveryPointsApiResponseData
- func (p *OneOfListVmRecoveryPointsApiResponseData) GetValue() interface{}
- func (p *OneOfListVmRecoveryPointsApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfListVmRecoveryPointsApiResponseData) SetValue(v interface{}) error
- func (p *OneOfListVmRecoveryPointsApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfListVmsApiResponseData
- type OneOfMigrateNicApiResponseData
- type OneOfMigrateVmDisksApiResponseData
- type OneOfMigrateVmToHostApiResponseData
- type OneOfNicNicBackingInfo
- type OneOfNicNicNetworkInfo
- type OneOfPcieDeviceBackingInfo
- type OneOfPowerCycleVmApiResponseData
- type OneOfPowerOffVmApiResponseData
- type OneOfPowerOnVmApiResponseData
- type OneOfRebootVmApiResponseData
- type OneOfReleaseIpApiResponseData
- type OneOfResetVmApiResponseData
- type OneOfRestoreVmRecoveryPointApiResponseData
- func (p *OneOfRestoreVmRecoveryPointApiResponseData) GetValue() interface{}
- func (p *OneOfRestoreVmRecoveryPointApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfRestoreVmRecoveryPointApiResponseData) SetValue(v interface{}) error
- func (p *OneOfRestoreVmRecoveryPointApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfRevertVmApiResponseData
- type OneOfShutdownVmApiResponseData
- type OneOfSysprepSysprepScript
- type OneOfUefiBootBootDevice
- type OneOfUninstallVmGuestToolsApiResponseData
- func (p *OneOfUninstallVmGuestToolsApiResponseData) GetValue() interface{}
- func (p *OneOfUninstallVmGuestToolsApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfUninstallVmGuestToolsApiResponseData) SetValue(v interface{}) error
- func (p *OneOfUninstallVmGuestToolsApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfUpdateDiskApiResponseData
- type OneOfUpdateGuestToolsApiResponseData
- func (p *OneOfUpdateGuestToolsApiResponseData) GetValue() interface{}
- func (p *OneOfUpdateGuestToolsApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfUpdateGuestToolsApiResponseData) SetValue(v interface{}) error
- func (p *OneOfUpdateGuestToolsApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfUpdateNicApiResponseData
- type OneOfUpdateSerialPortApiResponseData
- func (p *OneOfUpdateSerialPortApiResponseData) GetValue() interface{}
- func (p *OneOfUpdateSerialPortApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfUpdateSerialPortApiResponseData) SetValue(v interface{}) error
- func (p *OneOfUpdateSerialPortApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfUpdateVmApiResponseData
- type OneOfUpgradeVmGuestToolsApiResponseData
- func (p *OneOfUpgradeVmGuestToolsApiResponseData) GetValue() interface{}
- func (p *OneOfUpgradeVmGuestToolsApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfUpgradeVmGuestToolsApiResponseData) SetValue(v interface{}) error
- func (p *OneOfUpgradeVmGuestToolsApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfVmBootConfig
- type OneOfVmRecoveryPointApplicationConsistentProperties
- func (p *OneOfVmRecoveryPointApplicationConsistentProperties) GetValue() interface{}
- func (p *OneOfVmRecoveryPointApplicationConsistentProperties) MarshalJSON() ([]byte, error)
- func (p *OneOfVmRecoveryPointApplicationConsistentProperties) SetValue(v interface{}) error
- func (p *OneOfVmRecoveryPointApplicationConsistentProperties) UnmarshalJSON(b []byte) error
- type OneOfVmRestoreNicConfigOverrideParamsNicBackingInfo
- func (p *OneOfVmRestoreNicConfigOverrideParamsNicBackingInfo) GetValue() interface{}
- func (p *OneOfVmRestoreNicConfigOverrideParamsNicBackingInfo) MarshalJSON() ([]byte, error)
- func (p *OneOfVmRestoreNicConfigOverrideParamsNicBackingInfo) SetValue(v interface{}) error
- func (p *OneOfVmRestoreNicConfigOverrideParamsNicBackingInfo) UnmarshalJSON(b []byte) error
- type OneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo
- func (p *OneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo) GetValue() interface{}
- func (p *OneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo) MarshalJSON() ([]byte, error)
- func (p *OneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo) SetValue(v interface{}) error
- func (p *OneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo) UnmarshalJSON(b []byte) error
- type OvaVmConfigOverrideSpec
- type OwnerReference
- type OwnershipInfo
- type PcieDevice
- type PcieDeviceInfo
- type PcieDeviceReference
- type PolicyReference
- type PowerCycleVmApiResponse
- type PowerOffVmApiResponse
- type PowerOnVmApiResponse
- type PowerState
- type ProjectReference
- type ProtectionPolicyState
- type ProtectionType
- type QosConfig
- type RebootPreference
- type RebootPreferenceSchedule
- type RebootVmApiResponse
- type ReleaseIpApiResponse
- type ResetVmApiResponse
- type RestoreVmRecoveryPointApiResponse
- type RestoreVmRecoveryPointParams
- type RevertParams
- type RevertVmApiResponse
- type SBDF
- type ScheduleType
- type SerialPort
- type ShutdownVmApiResponse
- type SriovNic
- type SriovNicNetworkInfo
- type SubnetReference
- type Sysprep
- type UefiBoot
- type Unattendxml
- type UninstallVmGuestToolsApiResponse
- type UpdateDiskApiResponse
- type UpdateGuestToolsApiResponse
- type UpdateNicApiResponse
- type UpdateSerialPortApiResponse
- type UpdateVmApiResponse
- type UpgradeVmGuestToolsApiResponse
- type Userdata
- type VirtualEthernetNic
- type VirtualEthernetNicModel
- type VirtualEthernetNicNetworkInfo
- type VlanMode
- type Vm
- type VmConfigOverrideSpecification
- type VmCrossClusterMigrateOverrides
- type VmCrossClusterMigrateParams
- type VmDisk
- type VmDiskContainerReference
- type VmDiskRecoveryPointReference
- type VmDiskReference
- type VmDiskStorageConfig
- type VmMigrateToHostParams
- type VmRecoveryPoint
- type VmReference
- type VmRestoreIpv4ConfigOverrideSpec
- type VmRestoreNicConfigOverrideParams
- func (p *VmRestoreNicConfigOverrideParams) GetNicNetworkInfo() interface{}
- func (p *VmRestoreNicConfigOverrideParams) MarshalJSON() ([]byte, error)
- func (p *VmRestoreNicConfigOverrideParams) SetNicNetworkInfo(v interface{}) error
- func (p *VmRestoreNicConfigOverrideParams) UnmarshalJSON(b []byte) error
- type VmRestoreNicConfigSpecification
- type VmRestoreVirtualEthernetNicNetworkInfoOverrideSpec
- type VmRestoreVirtualEthernetNicOverrideSpec
- type VmSourceReference
- type VmSourceReferenceEntityType
- type VolumeDiskRecoveryPointReference
- type VolumeDiskReference
- type VtpmConfig
- type VtpmDevice
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
func (*ADSFDiskMigrationPlan) MarshalJSON ¶ added in v4.1.1
func (p *ADSFDiskMigrationPlan) MarshalJSON() ([]byte, error)
func (*ADSFDiskMigrationPlan) UnmarshalJSON ¶ added in v4.1.1
func (p *ADSFDiskMigrationPlan) UnmarshalJSON(b []byte) error
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
func (*ADSFVmStorageConfig) MarshalJSON ¶ added in v4.1.1
func (p *ADSFVmStorageConfig) MarshalJSON() ([]byte, error)
func (*ADSFVmStorageConfig) UnmarshalJSON ¶ added in v4.1.1
func (p *ADSFVmStorageConfig) UnmarshalJSON(b []byte) error
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"`
}
Reference to an ADSF Volume Group.
func NewADSFVolumeGroupReference ¶
func NewADSFVolumeGroupReference() *ADSFVolumeGroupReference
func (*ADSFVolumeGroupReference) MarshalJSON ¶ added in v4.1.1
func (p *ADSFVolumeGroupReference) MarshalJSON() ([]byte, error)
func (*ADSFVolumeGroupReference) UnmarshalJSON ¶ added in v4.1.1
func (p *ADSFVolumeGroupReference) UnmarshalJSON(b []byte) error
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
func (*AllDisksMigrationPlan) MarshalJSON ¶ added in v4.1.1
func (p *AllDisksMigrationPlan) MarshalJSON() ([]byte, error)
func (*AllDisksMigrationPlan) UnmarshalJSON ¶ added in v4.1.1
func (p *AllDisksMigrationPlan) UnmarshalJSON(b []byte) error
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
func (*ApcConfig) MarshalJSON ¶ added in v4.1.1
func (*ApcConfig) UnmarshalJSON ¶ added in v4.1.1
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.1/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) MarshalJSON ¶ added in v4.1.1
func (p *AssignIpApiResponse) MarshalJSON() ([]byte, error)
func (*AssignIpApiResponse) SetData ¶
func (p *AssignIpApiResponse) SetData(v interface{}) error
func (*AssignIpApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *AssignIpApiResponse) UnmarshalJSON(b []byte) 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
func (*AssignIpParams) MarshalJSON ¶ added in v4.1.1
func (p *AssignIpParams) MarshalJSON() ([]byte, error)
func (*AssignIpParams) UnmarshalJSON ¶ added in v4.1.1
func (p *AssignIpParams) UnmarshalJSON(b []byte) error
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.1/ahv/config/vms/{extId}/$actions/assign-owner Post operation
func NewAssignVmOwnerApiResponse ¶
func NewAssignVmOwnerApiResponse() *AssignVmOwnerApiResponse
func (*AssignVmOwnerApiResponse) GetData ¶
func (p *AssignVmOwnerApiResponse) GetData() interface{}
func (*AssignVmOwnerApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *AssignVmOwnerApiResponse) MarshalJSON() ([]byte, error)
func (*AssignVmOwnerApiResponse) SetData ¶
func (p *AssignVmOwnerApiResponse) SetData(v interface{}) error
func (*AssignVmOwnerApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *AssignVmOwnerApiResponse) UnmarshalJSON(b []byte) 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.1/ahv/config/vms/{extId}/$actions/associate-categories Post operation
func NewAssociateCategoriesApiResponse ¶
func NewAssociateCategoriesApiResponse() *AssociateCategoriesApiResponse
func (*AssociateCategoriesApiResponse) GetData ¶
func (p *AssociateCategoriesApiResponse) GetData() interface{}
func (*AssociateCategoriesApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *AssociateCategoriesApiResponse) MarshalJSON() ([]byte, error)
func (*AssociateCategoriesApiResponse) SetData ¶
func (p *AssociateCategoriesApiResponse) SetData(v interface{}) error
func (*AssociateCategoriesApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *AssociateCategoriesApiResponse) UnmarshalJSON(b []byte) 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
func (*AssociateVmCategoriesParams) MarshalJSON ¶ added in v4.1.1
func (p *AssociateVmCategoriesParams) MarshalJSON() ([]byte, error)
func (*AssociateVmCategoriesParams) UnmarshalJSON ¶ added in v4.1.1
func (p *AssociateVmCategoriesParams) UnmarshalJSON(b []byte) error
type AvailabilityZoneReference ¶
type AvailabilityZoneReference struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
The globally unique identifier of an availability zone type UUID.
*/
ExtId *string `json:"extId,omitempty"`
}
Reference to an availability zone.
func NewAvailabilityZoneReference ¶
func NewAvailabilityZoneReference() *AvailabilityZoneReference
func (*AvailabilityZoneReference) MarshalJSON ¶ added in v4.1.1
func (p *AvailabilityZoneReference) MarshalJSON() ([]byte, error)
func (*AvailabilityZoneReference) UnmarshalJSON ¶ added in v4.1.1
func (p *AvailabilityZoneReference) UnmarshalJSON(b []byte) error
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
func (*BootDeviceDisk) MarshalJSON ¶ added in v4.1.1
func (p *BootDeviceDisk) MarshalJSON() ([]byte, error)
func (*BootDeviceDisk) UnmarshalJSON ¶ added in v4.1.1
func (p *BootDeviceDisk) UnmarshalJSON(b []byte) error
type BootDeviceNic ¶
type BootDeviceNic struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
Mac address of the NIC that will be used to boot the VM.
*/
MacAddress *string `json:"macAddress,omitempty"`
}
The NIC that will be used to boot the VM.
func NewBootDeviceNic ¶
func NewBootDeviceNic() *BootDeviceNic
func (*BootDeviceNic) MarshalJSON ¶ added in v4.1.1
func (p *BootDeviceNic) MarshalJSON() ([]byte, error)
func (*BootDeviceNic) UnmarshalJSON ¶ added in v4.1.1
func (p *BootDeviceNic) UnmarshalJSON(b []byte) error
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"`
/*
A globally unique identifier of a VM category of type UUID.
*/
ExtId *string `json:"extId,omitempty"`
}
Reference to a category.
func NewCategoryReference ¶
func NewCategoryReference() *CategoryReference
func (*CategoryReference) MarshalJSON ¶ added in v4.1.1
func (p *CategoryReference) MarshalJSON() ([]byte, error)
func (*CategoryReference) UnmarshalJSON ¶ added in v4.1.1
func (p *CategoryReference) UnmarshalJSON(b []byte) error
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 (*CdRom) MarshalJSON ¶ added in v4.1.1
func (*CdRom) UnmarshalJSON ¶ added in v4.1.1
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
func (*CdRomAddress) MarshalJSON ¶ added in v4.1.1
func (p *CdRomAddress) MarshalJSON() ([]byte, error)
func (*CdRomAddress) UnmarshalJSON ¶ added in v4.1.1
func (p *CdRomAddress) UnmarshalJSON(b []byte) error
type CdRomBusType ¶
type CdRomBusType int
Bus type for the device. The acceptable values are: IDE or SATA.
const ( CDROMBUSTYPE_UNKNOWN CdRomBusType = 0 CDROMBUSTYPE_REDACTED CdRomBusType = 1 CDROMBUSTYPE_IDE CdRomBusType = 2 CDROMBUSTYPE_SATA CdRomBusType = 3 )
func (*CdRomBusType) MarshalJSON ¶
func (e *CdRomBusType) MarshalJSON() ([]byte, error)
func (CdRomBusType) Ref ¶
func (e CdRomBusType) Ref() *CdRomBusType
func (*CdRomBusType) UnmarshalJSON ¶
func (e *CdRomBusType) UnmarshalJSON(b []byte) error
type 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
func (*CdRomInsertParams) MarshalJSON ¶ added in v4.1.1
func (p *CdRomInsertParams) MarshalJSON() ([]byte, error)
func (*CdRomInsertParams) UnmarshalJSON ¶ added in v4.1.1
func (p *CdRomInsertParams) UnmarshalJSON(b []byte) error
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) MarshalJSON ¶ added in v4.1.1
func (p *CloneOverrideParams) MarshalJSON() ([]byte, error)
func (*CloneOverrideParams) SetBootConfig ¶
func (p *CloneOverrideParams) SetBootConfig(v interface{}) error
func (*CloneOverrideParams) UnmarshalJSON ¶ added in v4.1.1
func (p *CloneOverrideParams) UnmarshalJSON(b []byte) 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.1/ahv/config/vms/{extId}/$actions/clone Post operation
func NewCloneVmApiResponse ¶
func NewCloneVmApiResponse() *CloneVmApiResponse
func (*CloneVmApiResponse) GetData ¶
func (p *CloneVmApiResponse) GetData() interface{}
func (*CloneVmApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *CloneVmApiResponse) MarshalJSON() ([]byte, error)
func (*CloneVmApiResponse) SetData ¶
func (p *CloneVmApiResponse) SetData(v interface{}) error
func (*CloneVmApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *CloneVmApiResponse) UnmarshalJSON(b []byte) 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) MarshalJSON ¶ added in v4.1.1
func (*CloudInit) SetCloudInitScript ¶
func (*CloudInit) UnmarshalJSON ¶ added in v4.1.1
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 (e CloudInitDataSourceType) Ref() *CloudInitDataSourceType
func (*CloudInitDataSourceType) UnmarshalJSON ¶
func (e *CloudInitDataSourceType) UnmarshalJSON(b []byte) error
type ClusterReference ¶
type ClusterReference struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
The globally unique identifier of a cluster type UUID.
*/
ExtId *string `json:"extId,omitempty"`
}
Reference to a cluster.
func NewClusterReference ¶
func NewClusterReference() *ClusterReference
func (*ClusterReference) MarshalJSON ¶ added in v4.1.1
func (p *ClusterReference) MarshalJSON() ([]byte, error)
func (*ClusterReference) UnmarshalJSON ¶ added in v4.1.1
func (p *ClusterReference) UnmarshalJSON(b []byte) error
type CpuFeature ¶
type CpuFeature int
The list of additional CPU features to be enabled.
const ( CPUFEATURE_UNKNOWN CpuFeature = 0 CPUFEATURE_REDACTED CpuFeature = 1 CPUFEATURE_HARDWARE_VIRTUALIZATION CpuFeature = 2 )
func (*CpuFeature) MarshalJSON ¶
func (e *CpuFeature) MarshalJSON() ([]byte, error)
func (CpuFeature) Ref ¶
func (e CpuFeature) Ref() *CpuFeature
func (*CpuFeature) UnmarshalJSON ¶
func (e *CpuFeature) UnmarshalJSON(b []byte) error
type 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
func (*CpuModelReference) MarshalJSON ¶ added in v4.1.1
func (p *CpuModelReference) MarshalJSON() ([]byte, error)
func (*CpuModelReference) UnmarshalJSON ¶ added in v4.1.1
func (p *CpuModelReference) UnmarshalJSON(b []byte) error
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.1/ahv/config/vms/{vmExtId}/cd-roms Post operation
func NewCreateCdRomApiResponse ¶
func NewCreateCdRomApiResponse() *CreateCdRomApiResponse
func (*CreateCdRomApiResponse) GetData ¶
func (p *CreateCdRomApiResponse) GetData() interface{}
func (*CreateCdRomApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *CreateCdRomApiResponse) MarshalJSON() ([]byte, error)
func (*CreateCdRomApiResponse) SetData ¶
func (p *CreateCdRomApiResponse) SetData(v interface{}) error
func (*CreateCdRomApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *CreateCdRomApiResponse) UnmarshalJSON(b []byte) 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.1/ahv/config/vms/{vmExtId}/disks Post operation
func NewCreateDiskApiResponse ¶
func NewCreateDiskApiResponse() *CreateDiskApiResponse
func (*CreateDiskApiResponse) GetData ¶
func (p *CreateDiskApiResponse) GetData() interface{}
func (*CreateDiskApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *CreateDiskApiResponse) MarshalJSON() ([]byte, error)
func (*CreateDiskApiResponse) SetData ¶
func (p *CreateDiskApiResponse) SetData(v interface{}) error
func (*CreateDiskApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *CreateDiskApiResponse) UnmarshalJSON(b []byte) 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.1/ahv/config/vms/{vmExtId}/gpus Post operation
func NewCreateGpuApiResponse ¶
func NewCreateGpuApiResponse() *CreateGpuApiResponse
func (*CreateGpuApiResponse) GetData ¶
func (p *CreateGpuApiResponse) GetData() interface{}
func (*CreateGpuApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *CreateGpuApiResponse) MarshalJSON() ([]byte, error)
func (*CreateGpuApiResponse) SetData ¶
func (p *CreateGpuApiResponse) SetData(v interface{}) error
func (*CreateGpuApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *CreateGpuApiResponse) UnmarshalJSON(b []byte) 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.1/ahv/config/vms/{vmExtId}/nics Post operation
func NewCreateNicApiResponse ¶
func NewCreateNicApiResponse() *CreateNicApiResponse
func (*CreateNicApiResponse) GetData ¶
func (p *CreateNicApiResponse) GetData() interface{}
func (*CreateNicApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *CreateNicApiResponse) MarshalJSON() ([]byte, error)
func (*CreateNicApiResponse) SetData ¶
func (p *CreateNicApiResponse) SetData(v interface{}) error
func (*CreateNicApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *CreateNicApiResponse) UnmarshalJSON(b []byte) error
type CreatePcieDeviceApiResponse ¶
type CreatePcieDeviceApiResponse 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 *OneOfCreatePcieDeviceApiResponseData `json:"data,omitempty"`
Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}
REST response for all response codes in API path /vmm/v4.1/ahv/config/vms/{vmExtId}/pcie-devices Post operation
func NewCreatePcieDeviceApiResponse ¶
func NewCreatePcieDeviceApiResponse() *CreatePcieDeviceApiResponse
func (*CreatePcieDeviceApiResponse) GetData ¶
func (p *CreatePcieDeviceApiResponse) GetData() interface{}
func (*CreatePcieDeviceApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *CreatePcieDeviceApiResponse) MarshalJSON() ([]byte, error)
func (*CreatePcieDeviceApiResponse) SetData ¶
func (p *CreatePcieDeviceApiResponse) SetData(v interface{}) error
func (*CreatePcieDeviceApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *CreatePcieDeviceApiResponse) UnmarshalJSON(b []byte) 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.1/ahv/config/vms/{vmExtId}/serial-ports Post operation
func NewCreateSerialPortApiResponse ¶
func NewCreateSerialPortApiResponse() *CreateSerialPortApiResponse
func (*CreateSerialPortApiResponse) GetData ¶
func (p *CreateSerialPortApiResponse) GetData() interface{}
func (*CreateSerialPortApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *CreateSerialPortApiResponse) MarshalJSON() ([]byte, error)
func (*CreateSerialPortApiResponse) SetData ¶
func (p *CreateSerialPortApiResponse) SetData(v interface{}) error
func (*CreateSerialPortApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *CreateSerialPortApiResponse) UnmarshalJSON(b []byte) error
type CreateVMRecoveryPointApiResponse ¶ added in v4.1.1
type CreateVMRecoveryPointApiResponse 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 *OneOfCreateVMRecoveryPointApiResponseData `json:"data,omitempty"`
Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}
REST response for all response codes in API path /vmm/v4.1/ahv/config/vm-recovery-points Post operation
func NewCreateVMRecoveryPointApiResponse ¶ added in v4.1.1
func NewCreateVMRecoveryPointApiResponse() *CreateVMRecoveryPointApiResponse
func (*CreateVMRecoveryPointApiResponse) GetData ¶ added in v4.1.1
func (p *CreateVMRecoveryPointApiResponse) GetData() interface{}
func (*CreateVMRecoveryPointApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *CreateVMRecoveryPointApiResponse) MarshalJSON() ([]byte, error)
func (*CreateVMRecoveryPointApiResponse) SetData ¶ added in v4.1.1
func (p *CreateVMRecoveryPointApiResponse) SetData(v interface{}) error
func (*CreateVMRecoveryPointApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *CreateVMRecoveryPointApiResponse) UnmarshalJSON(b []byte) 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.1/ahv/config/vms Post operation
func NewCreateVmApiResponse ¶
func NewCreateVmApiResponse() *CreateVmApiResponse
func (*CreateVmApiResponse) GetData ¶
func (p *CreateVmApiResponse) GetData() interface{}
func (*CreateVmApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *CreateVmApiResponse) MarshalJSON() ([]byte, error)
func (*CreateVmApiResponse) SetData ¶
func (p *CreateVmApiResponse) SetData(v interface{}) error
func (*CreateVmApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *CreateVmApiResponse) UnmarshalJSON(b []byte) 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 for the server.
*/
Password *string `json:"password,omitempty"`
/*
Username for the server.
*/
Username *string `json:"username,omitempty"`
}
Sign in credentials for the server.
func NewCredential ¶
func NewCredential() *Credential
func (*Credential) MarshalJSON ¶ added in v4.1.1
func (p *Credential) MarshalJSON() ([]byte, error)
func (*Credential) UnmarshalJSON ¶ added in v4.1.1
func (p *Credential) UnmarshalJSON(b []byte) error
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.1/ahv/config/vms/{extId}/$actions/migrate Post operation
func NewCrossClusterMigrateVmApiResponse ¶
func NewCrossClusterMigrateVmApiResponse() *CrossClusterMigrateVmApiResponse
func (*CrossClusterMigrateVmApiResponse) GetData ¶
func (p *CrossClusterMigrateVmApiResponse) GetData() interface{}
func (*CrossClusterMigrateVmApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *CrossClusterMigrateVmApiResponse) MarshalJSON() ([]byte, error)
func (*CrossClusterMigrateVmApiResponse) SetData ¶
func (p *CrossClusterMigrateVmApiResponse) SetData(v interface{}) error
func (*CrossClusterMigrateVmApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *CrossClusterMigrateVmApiResponse) UnmarshalJSON(b []byte) 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
func (*CustomKeyValues) MarshalJSON ¶ added in v4.1.1
func (p *CustomKeyValues) MarshalJSON() ([]byte, error)
func (*CustomKeyValues) UnmarshalJSON ¶ added in v4.1.1
func (p *CustomKeyValues) UnmarshalJSON(b []byte) error
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.1/ahv/config/vms/{extId}/$actions/customize-guest Post operation
func NewCustomizeGuestVmApiResponse ¶
func NewCustomizeGuestVmApiResponse() *CustomizeGuestVmApiResponse
func (*CustomizeGuestVmApiResponse) GetData ¶
func (p *CustomizeGuestVmApiResponse) GetData() interface{}
func (*CustomizeGuestVmApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *CustomizeGuestVmApiResponse) MarshalJSON() ([]byte, error)
func (*CustomizeGuestVmApiResponse) SetData ¶
func (p *CustomizeGuestVmApiResponse) SetData(v interface{}) error
func (*CustomizeGuestVmApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *CustomizeGuestVmApiResponse) UnmarshalJSON(b []byte) 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"`
/*
A reference to a disk or image that contains the contents of a disk.
*/
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) MarshalJSON ¶ added in v4.1.1
func (p *DataSource) MarshalJSON() ([]byte, error)
func (*DataSource) SetReference ¶
func (p *DataSource) SetReference(v interface{}) error
func (*DataSource) UnmarshalJSON ¶ added in v4.1.1
func (p *DataSource) UnmarshalJSON(b []byte) 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.1/ahv/config/vms/{vmExtId}/cd-roms/{extId} Delete operation
func NewDeleteCdRomApiResponse ¶
func NewDeleteCdRomApiResponse() *DeleteCdRomApiResponse
func (*DeleteCdRomApiResponse) GetData ¶
func (p *DeleteCdRomApiResponse) GetData() interface{}
func (*DeleteCdRomApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *DeleteCdRomApiResponse) MarshalJSON() ([]byte, error)
func (*DeleteCdRomApiResponse) SetData ¶
func (p *DeleteCdRomApiResponse) SetData(v interface{}) error
func (*DeleteCdRomApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *DeleteCdRomApiResponse) UnmarshalJSON(b []byte) 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.1/ahv/config/vms/{vmExtId}/disks/{extId} Delete operation
func NewDeleteDiskApiResponse ¶
func NewDeleteDiskApiResponse() *DeleteDiskApiResponse
func (*DeleteDiskApiResponse) GetData ¶
func (p *DeleteDiskApiResponse) GetData() interface{}
func (*DeleteDiskApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *DeleteDiskApiResponse) MarshalJSON() ([]byte, error)
func (*DeleteDiskApiResponse) SetData ¶
func (p *DeleteDiskApiResponse) SetData(v interface{}) error
func (*DeleteDiskApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *DeleteDiskApiResponse) UnmarshalJSON(b []byte) 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.1/ahv/config/vms/{vmExtId}/gpus/{extId} Delete operation
func NewDeleteGpuApiResponse ¶
func NewDeleteGpuApiResponse() *DeleteGpuApiResponse
func (*DeleteGpuApiResponse) GetData ¶
func (p *DeleteGpuApiResponse) GetData() interface{}
func (*DeleteGpuApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *DeleteGpuApiResponse) MarshalJSON() ([]byte, error)
func (*DeleteGpuApiResponse) SetData ¶
func (p *DeleteGpuApiResponse) SetData(v interface{}) error
func (*DeleteGpuApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *DeleteGpuApiResponse) UnmarshalJSON(b []byte) 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.1/ahv/config/vms/{vmExtId}/nics/{extId} Delete operation
func NewDeleteNicApiResponse ¶
func NewDeleteNicApiResponse() *DeleteNicApiResponse
func (*DeleteNicApiResponse) GetData ¶
func (p *DeleteNicApiResponse) GetData() interface{}
func (*DeleteNicApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *DeleteNicApiResponse) MarshalJSON() ([]byte, error)
func (*DeleteNicApiResponse) SetData ¶
func (p *DeleteNicApiResponse) SetData(v interface{}) error
func (*DeleteNicApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *DeleteNicApiResponse) UnmarshalJSON(b []byte) error
type DeletePcieDeviceApiResponse ¶
type DeletePcieDeviceApiResponse 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 *OneOfDeletePcieDeviceApiResponseData `json:"data,omitempty"`
Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}
REST response for all response codes in API path /vmm/v4.1/ahv/config/vms/{vmExtId}/pcie-devices/{extId} Delete operation
func NewDeletePcieDeviceApiResponse ¶
func NewDeletePcieDeviceApiResponse() *DeletePcieDeviceApiResponse
func (*DeletePcieDeviceApiResponse) GetData ¶
func (p *DeletePcieDeviceApiResponse) GetData() interface{}
func (*DeletePcieDeviceApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *DeletePcieDeviceApiResponse) MarshalJSON() ([]byte, error)
func (*DeletePcieDeviceApiResponse) SetData ¶
func (p *DeletePcieDeviceApiResponse) SetData(v interface{}) error
func (*DeletePcieDeviceApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *DeletePcieDeviceApiResponse) UnmarshalJSON(b []byte) 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.1/ahv/config/vms/{vmExtId}/serial-ports/{extId} Delete operation
func NewDeleteSerialPortApiResponse ¶
func NewDeleteSerialPortApiResponse() *DeleteSerialPortApiResponse
func (*DeleteSerialPortApiResponse) GetData ¶
func (p *DeleteSerialPortApiResponse) GetData() interface{}
func (*DeleteSerialPortApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *DeleteSerialPortApiResponse) MarshalJSON() ([]byte, error)
func (*DeleteSerialPortApiResponse) SetData ¶
func (p *DeleteSerialPortApiResponse) SetData(v interface{}) error
func (*DeleteSerialPortApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *DeleteSerialPortApiResponse) UnmarshalJSON(b []byte) 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.1/ahv/config/vms/{extId} Delete operation
func NewDeleteVmApiResponse ¶
func NewDeleteVmApiResponse() *DeleteVmApiResponse
func (*DeleteVmApiResponse) GetData ¶
func (p *DeleteVmApiResponse) GetData() interface{}
func (*DeleteVmApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *DeleteVmApiResponse) MarshalJSON() ([]byte, error)
func (*DeleteVmApiResponse) SetData ¶
func (p *DeleteVmApiResponse) SetData(v interface{}) error
func (*DeleteVmApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *DeleteVmApiResponse) UnmarshalJSON(b []byte) error
type DeleteVmRecoveryPointApiResponse ¶ added in v4.1.1
type DeleteVmRecoveryPointApiResponse 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 *OneOfDeleteVmRecoveryPointApiResponseData `json:"data,omitempty"`
Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}
REST response for all response codes in API path /vmm/v4.1/ahv/config/vm-recovery-points/{extId} Delete operation
func NewDeleteVmRecoveryPointApiResponse ¶ added in v4.1.1
func NewDeleteVmRecoveryPointApiResponse() *DeleteVmRecoveryPointApiResponse
func (*DeleteVmRecoveryPointApiResponse) GetData ¶ added in v4.1.1
func (p *DeleteVmRecoveryPointApiResponse) GetData() interface{}
func (*DeleteVmRecoveryPointApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *DeleteVmRecoveryPointApiResponse) MarshalJSON() ([]byte, error)
func (*DeleteVmRecoveryPointApiResponse) SetData ¶ added in v4.1.1
func (p *DeleteVmRecoveryPointApiResponse) SetData(v interface{}) error
func (*DeleteVmRecoveryPointApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *DeleteVmRecoveryPointApiResponse) UnmarshalJSON(b []byte) 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.1/ahv/config/vms/{extId}/$actions/disassociate-categories Post operation
func NewDisassociateCategoriesApiResponse ¶
func NewDisassociateCategoriesApiResponse() *DisassociateCategoriesApiResponse
func (*DisassociateCategoriesApiResponse) GetData ¶
func (p *DisassociateCategoriesApiResponse) GetData() interface{}
func (*DisassociateCategoriesApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *DisassociateCategoriesApiResponse) MarshalJSON() ([]byte, error)
func (*DisassociateCategoriesApiResponse) SetData ¶
func (p *DisassociateCategoriesApiResponse) SetData(v interface{}) error
func (*DisassociateCategoriesApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *DisassociateCategoriesApiResponse) UnmarshalJSON(b []byte) 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
func (*DisassociateVmCategoriesParams) MarshalJSON ¶ added in v4.1.1
func (p *DisassociateVmCategoriesParams) MarshalJSON() ([]byte, error)
func (*DisassociateVmCategoriesParams) UnmarshalJSON ¶ added in v4.1.1
func (p *DisassociateVmCategoriesParams) UnmarshalJSON(b []byte) error
type Disk ¶
type Disk struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
*/
BackingInfoItemDiscriminator_ *string `json:"$backingInfoItemDiscriminator,omitempty"`
/*
Supporting storage to create virtual disk on.
*/
BackingInfo *OneOfDiskBackingInfo `json:"backingInfo,omitempty"`
DiskAddress *DiskAddress `json:"diskAddress,omitempty"`
/*
A globally unique identifier of an instance that is suitable for external consumption.
*/
ExtId *string `json:"extId,omitempty"`
/*
A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
*/
Links []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 (*Disk) GetBackingInfo ¶
func (p *Disk) GetBackingInfo() interface{}
func (*Disk) MarshalJSON ¶ added in v4.1.1
func (*Disk) SetBackingInfo ¶
func (*Disk) UnmarshalJSON ¶ added in v4.1.1
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
func (*DiskAddress) MarshalJSON ¶ added in v4.1.1
func (p *DiskAddress) MarshalJSON() ([]byte, error)
func (*DiskAddress) UnmarshalJSON ¶ added in v4.1.1
func (p *DiskAddress) UnmarshalJSON(b []byte) error
type DiskBusType ¶
type DiskBusType int
Bus type for the device. The acceptable values are: SCSI, IDE, PCI, SATA, SPAPR (only PPC).
const ( DISKBUSTYPE_UNKNOWN DiskBusType = 0 DISKBUSTYPE_REDACTED DiskBusType = 1 DISKBUSTYPE_SCSI DiskBusType = 2 DISKBUSTYPE_IDE DiskBusType = 3 DISKBUSTYPE_PCI DiskBusType = 4 DISKBUSTYPE_SATA DiskBusType = 5 DISKBUSTYPE_SPAPR DiskBusType = 6 )
func (*DiskBusType) MarshalJSON ¶
func (e *DiskBusType) MarshalJSON() ([]byte, error)
func (DiskBusType) Ref ¶
func (e DiskBusType) Ref() *DiskBusType
func (*DiskBusType) UnmarshalJSON ¶
func (e *DiskBusType) UnmarshalJSON(b []byte) error
type 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"`
/*
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.
*/
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) MarshalJSON ¶ added in v4.1.1
func (p *DiskMigrationParams) MarshalJSON() ([]byte, error)
func (*DiskMigrationParams) SetMigrateDisks ¶
func (p *DiskMigrationParams) SetMigrateDisks(v interface{}) error
func (*DiskMigrationParams) UnmarshalJSON ¶ added in v4.1.1
func (p *DiskMigrationParams) UnmarshalJSON(b []byte) error
type DpOffloadNic ¶ added in v4.1.1
type DpOffloadNic struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
DpOffloadProfileReference *NicProfileReference `json:"dpOffloadProfileReference"`
HostPcieDeviceReference *HostPcieDeviceReference `json:"hostPcieDeviceReference,omitempty"`
/*
Indicates whether the NIC is connected or not. Default is True.
*/
IsConnected *bool `json:"isConnected,omitempty"`
/*
MAC address of the NIC.
*/
MacAddress *string `json:"macAddress,omitempty"`
}
Defines a DP Offload NIC.
func NewDpOffloadNic ¶ added in v4.1.1
func NewDpOffloadNic() *DpOffloadNic
func (*DpOffloadNic) MarshalJSON ¶ added in v4.1.1
func (p *DpOffloadNic) MarshalJSON() ([]byte, error)
func (*DpOffloadNic) UnmarshalJSON ¶ added in v4.1.1
func (p *DpOffloadNic) UnmarshalJSON(b []byte) error
type DpOffloadNicNetworkInfo ¶ added in v4.1.1
type DpOffloadNicNetworkInfo 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"`
Ipv6Info *Ipv6Info `json:"ipv6Info,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"`
}
Networking information object for a DP Offload NIC.
func NewDpOffloadNicNetworkInfo ¶ added in v4.1.1
func NewDpOffloadNicNetworkInfo() *DpOffloadNicNetworkInfo
func (*DpOffloadNicNetworkInfo) MarshalJSON ¶ added in v4.1.1
func (p *DpOffloadNicNetworkInfo) MarshalJSON() ([]byte, error)
func (*DpOffloadNicNetworkInfo) UnmarshalJSON ¶ added in v4.1.1
func (p *DpOffloadNicNetworkInfo) UnmarshalJSON(b []byte) 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.1/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) MarshalJSON ¶ added in v4.1.1
func (p *EjectCdRomApiResponse) MarshalJSON() ([]byte, error)
func (*EjectCdRomApiResponse) SetData ¶
func (p *EjectCdRomApiResponse) SetData(v interface{}) error
func (*EjectCdRomApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *EjectCdRomApiResponse) UnmarshalJSON(b []byte) 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 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. This object is now deprecated. If both deprecated and new objects are present, the new object VirtualEthernetNic takes precedence.
func NewEmulatedNic ¶
func NewEmulatedNic() *EmulatedNic
func (*EmulatedNic) MarshalJSON ¶ added in v4.1.1
func (p *EmulatedNic) MarshalJSON() ([]byte, error)
func (*EmulatedNic) UnmarshalJSON ¶ added in v4.1.1
func (p *EmulatedNic) UnmarshalJSON(b []byte) error
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 (e EmulatedNicModel) Ref() *EmulatedNicModel
func (*EmulatedNicModel) UnmarshalJSON ¶
func (e *EmulatedNicModel) UnmarshalJSON(b []byte) error
type FileDetail ¶
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.1/ahv/config/vms/{vmExtId}/cd-roms/{extId} Get operation
func NewGetCdRomApiResponse ¶
func NewGetCdRomApiResponse() *GetCdRomApiResponse
func (*GetCdRomApiResponse) GetData ¶
func (p *GetCdRomApiResponse) GetData() interface{}
func (*GetCdRomApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *GetCdRomApiResponse) MarshalJSON() ([]byte, error)
func (*GetCdRomApiResponse) SetData ¶
func (p *GetCdRomApiResponse) SetData(v interface{}) error
func (*GetCdRomApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *GetCdRomApiResponse) UnmarshalJSON(b []byte) 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.1/ahv/config/vms/{vmExtId}/disks/{extId} Get operation
func NewGetDiskApiResponse ¶
func NewGetDiskApiResponse() *GetDiskApiResponse
func (*GetDiskApiResponse) GetData ¶
func (p *GetDiskApiResponse) GetData() interface{}
func (*GetDiskApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *GetDiskApiResponse) MarshalJSON() ([]byte, error)
func (*GetDiskApiResponse) SetData ¶
func (p *GetDiskApiResponse) SetData(v interface{}) error
func (*GetDiskApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *GetDiskApiResponse) UnmarshalJSON(b []byte) 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.1/ahv/config/vms/{vmExtId}/gpus/{extId} Get operation
func NewGetGpuApiResponse ¶
func NewGetGpuApiResponse() *GetGpuApiResponse
func (*GetGpuApiResponse) GetData ¶
func (p *GetGpuApiResponse) GetData() interface{}
func (*GetGpuApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *GetGpuApiResponse) MarshalJSON() ([]byte, error)
func (*GetGpuApiResponse) SetData ¶
func (p *GetGpuApiResponse) SetData(v interface{}) error
func (*GetGpuApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *GetGpuApiResponse) UnmarshalJSON(b []byte) 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.1/ahv/config/vms/{extId}/guest-tools Get operation
func NewGetGuestToolsApiResponse ¶
func NewGetGuestToolsApiResponse() *GetGuestToolsApiResponse
func (*GetGuestToolsApiResponse) GetData ¶
func (p *GetGuestToolsApiResponse) GetData() interface{}
func (*GetGuestToolsApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *GetGuestToolsApiResponse) MarshalJSON() ([]byte, error)
func (*GetGuestToolsApiResponse) SetData ¶
func (p *GetGuestToolsApiResponse) SetData(v interface{}) error
func (*GetGuestToolsApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *GetGuestToolsApiResponse) UnmarshalJSON(b []byte) 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.1/ahv/config/vms/{vmExtId}/nics/{extId} Get operation
func NewGetNicApiResponse ¶
func NewGetNicApiResponse() *GetNicApiResponse
func (*GetNicApiResponse) GetData ¶
func (p *GetNicApiResponse) GetData() interface{}
func (*GetNicApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *GetNicApiResponse) MarshalJSON() ([]byte, error)
func (*GetNicApiResponse) SetData ¶
func (p *GetNicApiResponse) SetData(v interface{}) error
func (*GetNicApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *GetNicApiResponse) UnmarshalJSON(b []byte) error
type GetPcieDeviceApiResponse ¶
type GetPcieDeviceApiResponse 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 *OneOfGetPcieDeviceApiResponseData `json:"data,omitempty"`
Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}
REST response for all response codes in API path /vmm/v4.1/ahv/config/vms/{vmExtId}/pcie-devices/{extId} Get operation
func NewGetPcieDeviceApiResponse ¶
func NewGetPcieDeviceApiResponse() *GetPcieDeviceApiResponse
func (*GetPcieDeviceApiResponse) GetData ¶
func (p *GetPcieDeviceApiResponse) GetData() interface{}
func (*GetPcieDeviceApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *GetPcieDeviceApiResponse) MarshalJSON() ([]byte, error)
func (*GetPcieDeviceApiResponse) SetData ¶
func (p *GetPcieDeviceApiResponse) SetData(v interface{}) error
func (*GetPcieDeviceApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *GetPcieDeviceApiResponse) UnmarshalJSON(b []byte) 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.1/ahv/config/vms/{vmExtId}/serial-ports/{extId} Get operation
func NewGetSerialPortApiResponse ¶
func NewGetSerialPortApiResponse() *GetSerialPortApiResponse
func (*GetSerialPortApiResponse) GetData ¶
func (p *GetSerialPortApiResponse) GetData() interface{}
func (*GetSerialPortApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *GetSerialPortApiResponse) MarshalJSON() ([]byte, error)
func (*GetSerialPortApiResponse) SetData ¶
func (p *GetSerialPortApiResponse) SetData(v interface{}) error
func (*GetSerialPortApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *GetSerialPortApiResponse) UnmarshalJSON(b []byte) 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.1/ahv/config/vms/{extId} Get operation
func NewGetVmApiResponse ¶
func NewGetVmApiResponse() *GetVmApiResponse
func (*GetVmApiResponse) GetData ¶
func (p *GetVmApiResponse) GetData() interface{}
func (*GetVmApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *GetVmApiResponse) MarshalJSON() ([]byte, error)
func (*GetVmApiResponse) SetData ¶
func (p *GetVmApiResponse) SetData(v interface{}) error
func (*GetVmApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *GetVmApiResponse) UnmarshalJSON(b []byte) error
type GetVmRecoveryPointApiResponse ¶ added in v4.1.1
type GetVmRecoveryPointApiResponse 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 *OneOfGetVmRecoveryPointApiResponseData `json:"data,omitempty"`
Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}
REST response for all response codes in API path /vmm/v4.1/ahv/config/vm-recovery-points/{extId} Get operation
func NewGetVmRecoveryPointApiResponse ¶ added in v4.1.1
func NewGetVmRecoveryPointApiResponse() *GetVmRecoveryPointApiResponse
func (*GetVmRecoveryPointApiResponse) GetData ¶ added in v4.1.1
func (p *GetVmRecoveryPointApiResponse) GetData() interface{}
func (*GetVmRecoveryPointApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *GetVmRecoveryPointApiResponse) MarshalJSON() ([]byte, error)
func (*GetVmRecoveryPointApiResponse) SetData ¶ added in v4.1.1
func (p *GetVmRecoveryPointApiResponse) SetData(v interface{}) error
func (*GetVmRecoveryPointApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *GetVmRecoveryPointApiResponse) UnmarshalJSON(b []byte) 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 (*Gpu) MarshalJSON ¶ added in v4.1.1
func (*Gpu) UnmarshalJSON ¶ added in v4.1.1
type GpuMode ¶
type GpuMode int
The mode of this GPU.
func (*GpuMode) MarshalJSON ¶
func (*GpuMode) UnmarshalJSON ¶
type GpuVendor ¶
type GpuVendor int
The vendor of the GPU.
func (*GpuVendor) MarshalJSON ¶
func (*GpuVendor) UnmarshalJSON ¶
type 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) MarshalJSON ¶ added in v4.1.1
func (p *GuestCustomizationParams) MarshalJSON() ([]byte, error)
func (*GuestCustomizationParams) SetConfig ¶
func (p *GuestCustomizationParams) SetConfig(v interface{}) error
func (*GuestCustomizationParams) UnmarshalJSON ¶ added in v4.1.1
func (p *GuestCustomizationParams) UnmarshalJSON(b []byte) 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
func (*GuestPowerOptions) MarshalJSON ¶ added in v4.1.1
func (p *GuestPowerOptions) MarshalJSON() ([]byte, error)
func (*GuestPowerOptions) UnmarshalJSON ¶ added in v4.1.1
func (p *GuestPowerOptions) UnmarshalJSON(b []byte) error
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
func (*GuestPowerStateTransitionConfig) MarshalJSON ¶ added in v4.1.1
func (p *GuestPowerStateTransitionConfig) MarshalJSON() ([]byte, error)
func (*GuestPowerStateTransitionConfig) UnmarshalJSON ¶ added in v4.1.1
func (p *GuestPowerStateTransitionConfig) UnmarshalJSON(b []byte) error
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 the Nutanix Guest Tools communication over Serial Port is active or not.
*/
IsCommunicationActiveOverSerialPort *bool `json:"isCommunicationActiveOverSerialPort,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
func (*GuestTools) MarshalJSON ¶ added in v4.1.1
func (p *GuestTools) MarshalJSON() ([]byte, error)
func (*GuestTools) UnmarshalJSON ¶ added in v4.1.1
func (p *GuestTools) UnmarshalJSON(b []byte) error
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
func (*GuestToolsInsertConfig) MarshalJSON ¶ added in v4.1.1
func (p *GuestToolsInsertConfig) MarshalJSON() ([]byte, error)
func (*GuestToolsInsertConfig) UnmarshalJSON ¶ added in v4.1.1
func (p *GuestToolsInsertConfig) UnmarshalJSON(b []byte) error
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
func (*GuestToolsInstallConfig) MarshalJSON ¶ added in v4.1.1
func (p *GuestToolsInstallConfig) MarshalJSON() ([]byte, error)
func (*GuestToolsInstallConfig) UnmarshalJSON ¶ added in v4.1.1
func (p *GuestToolsInstallConfig) UnmarshalJSON(b []byte) error
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
func (*GuestToolsUpgradeConfig) MarshalJSON ¶ added in v4.1.1
func (p *GuestToolsUpgradeConfig) MarshalJSON() ([]byte, error)
func (*GuestToolsUpgradeConfig) UnmarshalJSON ¶ added in v4.1.1
func (p *GuestToolsUpgradeConfig) UnmarshalJSON(b []byte) error
type HostPcieDeviceReference ¶ added in v4.1.1
type HostPcieDeviceReference struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
Globally unique identifier of the host PCIe device. It should be of type UUID.
*/
ExtId *string `json:"extId,omitempty"`
}
Reference to the host PCIe device.
func NewHostPcieDeviceReference ¶ added in v4.1.1
func NewHostPcieDeviceReference() *HostPcieDeviceReference
func (*HostPcieDeviceReference) MarshalJSON ¶ added in v4.1.1
func (p *HostPcieDeviceReference) MarshalJSON() ([]byte, error)
func (*HostPcieDeviceReference) UnmarshalJSON ¶ added in v4.1.1
func (p *HostPcieDeviceReference) UnmarshalJSON(b []byte) error
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 type UUID.
*/
ExtId *string `json:"extId,omitempty"`
}
Reference to the host, the VM is running on.
func NewHostReference ¶
func NewHostReference() *HostReference
func (*HostReference) MarshalJSON ¶ added in v4.1.1
func (p *HostReference) MarshalJSON() ([]byte, error)
func (*HostReference) UnmarshalJSON ¶ added in v4.1.1
func (p *HostReference) UnmarshalJSON(b []byte) error
type ImageReference ¶
type ImageReference 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 image of type UUID.
*/
ImageExtId *string `json:"imageExtId"`
}
Clone a disk from an image.
func NewImageReference ¶
func NewImageReference() *ImageReference
func (*ImageReference) MarshalJSON ¶ added in v4.1.1
func (p *ImageReference) MarshalJSON() ([]byte, error)
func (*ImageReference) UnmarshalJSON ¶ added in v4.1.1
func (p *ImageReference) UnmarshalJSON(b []byte) error
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.1/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) MarshalJSON ¶ added in v4.1.1
func (p *InsertCdRomApiResponse) MarshalJSON() ([]byte, error)
func (*InsertCdRomApiResponse) SetData ¶
func (p *InsertCdRomApiResponse) SetData(v interface{}) error
func (*InsertCdRomApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *InsertCdRomApiResponse) UnmarshalJSON(b []byte) 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.1/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) MarshalJSON ¶ added in v4.1.1
func (p *InsertVmGuestToolsApiResponse) MarshalJSON() ([]byte, error)
func (*InsertVmGuestToolsApiResponse) SetData ¶
func (p *InsertVmGuestToolsApiResponse) SetData(v interface{}) error
func (*InsertVmGuestToolsApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *InsertVmGuestToolsApiResponse) UnmarshalJSON(b []byte) error
type InstallType ¶
type InstallType int
Indicates whether the guest will be freshly installed using this unattend configuration, or this unattend configuration will be applied to a pre-prepared image. Default is 'PREPARED'.
const ( INSTALLTYPE_UNKNOWN InstallType = 0 INSTALLTYPE_REDACTED InstallType = 1 INSTALLTYPE_FRESH InstallType = 2 INSTALLTYPE_PREPARED InstallType = 3 )
func (*InstallType) MarshalJSON ¶
func (e *InstallType) MarshalJSON() ([]byte, error)
func (InstallType) Ref ¶
func (e InstallType) Ref() *InstallType
func (*InstallType) UnmarshalJSON ¶
func (e *InstallType) UnmarshalJSON(b []byte) error
type 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.1/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) MarshalJSON ¶ added in v4.1.1
func (p *InstallVmGuestToolsApiResponse) MarshalJSON() ([]byte, error)
func (*InstallVmGuestToolsApiResponse) SetData ¶
func (p *InstallVmGuestToolsApiResponse) SetData(v interface{}) error
func (*InstallVmGuestToolsApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *InstallVmGuestToolsApiResponse) UnmarshalJSON(b []byte) 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
func (*Ipv4Config) MarshalJSON ¶ added in v4.1.1
func (p *Ipv4Config) MarshalJSON() ([]byte, error)
func (*Ipv4Config) UnmarshalJSON ¶ added in v4.1.1
func (p *Ipv4Config) UnmarshalJSON(b []byte) error
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
func (*Ipv4Info) MarshalJSON ¶ added in v4.1.1
func (*Ipv4Info) UnmarshalJSON ¶ added in v4.1.1
type Ipv6Info ¶ added in v4.1.1
type Ipv6Info struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
The IPv6 addresses as found on the guest VM for the NIC.
*/
LearnedIpv6Addresses []import4.IPv6Address `json:"learnedIpv6Addresses,omitempty"`
}
The runtime IPv6 address information of the NIC.
func NewIpv6Info ¶ added in v4.1.1
func NewIpv6Info() *Ipv6Info
func (*Ipv6Info) MarshalJSON ¶ added in v4.1.1
func (*Ipv6Info) UnmarshalJSON ¶ added in v4.1.1
type IsoType ¶
type IsoType int
Type of ISO image inserted in CD-ROM
func (*IsoType) MarshalJSON ¶
func (*IsoType) UnmarshalJSON ¶
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"`
/*
The boot device used for legacy boot of the VM.
*/
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) MarshalJSON ¶ added in v4.1.1
func (p *LegacyBoot) MarshalJSON() ([]byte, error)
func (*LegacyBoot) SetBootDevice ¶
func (p *LegacyBoot) SetBootDevice(v interface{}) error
func (*LegacyBoot) UnmarshalJSON ¶ added in v4.1.1
func (p *LegacyBoot) UnmarshalJSON(b []byte) 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.1/ahv/config/vms/{vmExtId}/cd-roms Get operation
func NewListCdRomsApiResponse ¶
func NewListCdRomsApiResponse() *ListCdRomsApiResponse
func (*ListCdRomsApiResponse) GetData ¶
func (p *ListCdRomsApiResponse) GetData() interface{}
func (*ListCdRomsApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *ListCdRomsApiResponse) MarshalJSON() ([]byte, error)
func (*ListCdRomsApiResponse) SetData ¶
func (p *ListCdRomsApiResponse) SetData(v interface{}) error
func (*ListCdRomsApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *ListCdRomsApiResponse) UnmarshalJSON(b []byte) 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.1/ahv/config/vms/{vmExtId}/disks Get operation
func NewListDisksApiResponse ¶
func NewListDisksApiResponse() *ListDisksApiResponse
func (*ListDisksApiResponse) GetData ¶
func (p *ListDisksApiResponse) GetData() interface{}
func (*ListDisksApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *ListDisksApiResponse) MarshalJSON() ([]byte, error)
func (*ListDisksApiResponse) SetData ¶
func (p *ListDisksApiResponse) SetData(v interface{}) error
func (*ListDisksApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *ListDisksApiResponse) UnmarshalJSON(b []byte) 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.1/ahv/config/vms/{vmExtId}/gpus Get operation
func NewListGpusApiResponse ¶
func NewListGpusApiResponse() *ListGpusApiResponse
func (*ListGpusApiResponse) GetData ¶
func (p *ListGpusApiResponse) GetData() interface{}
func (*ListGpusApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *ListGpusApiResponse) MarshalJSON() ([]byte, error)
func (*ListGpusApiResponse) SetData ¶
func (p *ListGpusApiResponse) SetData(v interface{}) error
func (*ListGpusApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *ListGpusApiResponse) UnmarshalJSON(b []byte) 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.1/ahv/config/vms/{vmExtId}/nics Get operation
func NewListNicsApiResponse ¶
func NewListNicsApiResponse() *ListNicsApiResponse
func (*ListNicsApiResponse) GetData ¶
func (p *ListNicsApiResponse) GetData() interface{}
func (*ListNicsApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *ListNicsApiResponse) MarshalJSON() ([]byte, error)
func (*ListNicsApiResponse) SetData ¶
func (p *ListNicsApiResponse) SetData(v interface{}) error
func (*ListNicsApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *ListNicsApiResponse) UnmarshalJSON(b []byte) error
type ListPcieDevicesApiResponse ¶
type ListPcieDevicesApiResponse 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 *OneOfListPcieDevicesApiResponseData `json:"data,omitempty"`
Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}
REST response for all response codes in API path /vmm/v4.1/ahv/config/vms/{vmExtId}/pcie-devices Get operation
func NewListPcieDevicesApiResponse ¶
func NewListPcieDevicesApiResponse() *ListPcieDevicesApiResponse
func (*ListPcieDevicesApiResponse) GetData ¶
func (p *ListPcieDevicesApiResponse) GetData() interface{}
func (*ListPcieDevicesApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *ListPcieDevicesApiResponse) MarshalJSON() ([]byte, error)
func (*ListPcieDevicesApiResponse) SetData ¶
func (p *ListPcieDevicesApiResponse) SetData(v interface{}) error
func (*ListPcieDevicesApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *ListPcieDevicesApiResponse) UnmarshalJSON(b []byte) 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.1/ahv/config/vms/{vmExtId}/serial-ports Get operation
func NewListSerialPortsApiResponse ¶
func NewListSerialPortsApiResponse() *ListSerialPortsApiResponse
func (*ListSerialPortsApiResponse) GetData ¶
func (p *ListSerialPortsApiResponse) GetData() interface{}
func (*ListSerialPortsApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *ListSerialPortsApiResponse) MarshalJSON() ([]byte, error)
func (*ListSerialPortsApiResponse) SetData ¶
func (p *ListSerialPortsApiResponse) SetData(v interface{}) error
func (*ListSerialPortsApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *ListSerialPortsApiResponse) UnmarshalJSON(b []byte) error
type ListVmRecoveryPointsApiResponse ¶ added in v4.1.1
type ListVmRecoveryPointsApiResponse 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 *OneOfListVmRecoveryPointsApiResponseData `json:"data,omitempty"`
Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}
REST response for all response codes in API path /vmm/v4.1/ahv/config/vm-recovery-points Get operation
func NewListVmRecoveryPointsApiResponse ¶ added in v4.1.1
func NewListVmRecoveryPointsApiResponse() *ListVmRecoveryPointsApiResponse
func (*ListVmRecoveryPointsApiResponse) GetData ¶ added in v4.1.1
func (p *ListVmRecoveryPointsApiResponse) GetData() interface{}
func (*ListVmRecoveryPointsApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *ListVmRecoveryPointsApiResponse) MarshalJSON() ([]byte, error)
func (*ListVmRecoveryPointsApiResponse) SetData ¶ added in v4.1.1
func (p *ListVmRecoveryPointsApiResponse) SetData(v interface{}) error
func (*ListVmRecoveryPointsApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *ListVmRecoveryPointsApiResponse) UnmarshalJSON(b []byte) 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.1/ahv/config/vms Get operation
func NewListVmsApiResponse ¶
func NewListVmsApiResponse() *ListVmsApiResponse
func (*ListVmsApiResponse) GetData ¶
func (p *ListVmsApiResponse) GetData() interface{}
func (*ListVmsApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *ListVmsApiResponse) MarshalJSON() ([]byte, error)
func (*ListVmsApiResponse) SetData ¶
func (p *ListVmsApiResponse) SetData(v interface{}) error
func (*ListVmsApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *ListVmsApiResponse) UnmarshalJSON(b []byte) error
type MachineType ¶
type MachineType int
Machine type for the VM. Machine type Q35 is required for secure boot and does not support IDE disks.
const ( MACHINETYPE_UNKNOWN MachineType = 0 MACHINETYPE_REDACTED MachineType = 1 MACHINETYPE_PC MachineType = 2 MACHINETYPE_PSERIES MachineType = 3 MACHINETYPE_Q35 MachineType = 4 )
func (*MachineType) MarshalJSON ¶
func (e *MachineType) MarshalJSON() ([]byte, error)
func (MachineType) Ref ¶
func (e MachineType) Ref() *MachineType
func (*MachineType) UnmarshalJSON ¶
func (e *MachineType) UnmarshalJSON(b []byte) error
type MigrateDiskReference ¶
type MigrateDiskReference 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 a VM disk of type UUID.
*/
DiskExtId *string `json:"diskExtId,omitempty"`
}
Reference to an existing VM disk that needs to be migrated.
func NewMigrateDiskReference ¶
func NewMigrateDiskReference() *MigrateDiskReference
func (*MigrateDiskReference) MarshalJSON ¶ added in v4.1.1
func (p *MigrateDiskReference) MarshalJSON() ([]byte, error)
func (*MigrateDiskReference) UnmarshalJSON ¶ added in v4.1.1
func (p *MigrateDiskReference) UnmarshalJSON(b []byte) error
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.1/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) MarshalJSON ¶ added in v4.1.1
func (p *MigrateNicApiResponse) MarshalJSON() ([]byte, error)
func (*MigrateNicApiResponse) SetData ¶
func (p *MigrateNicApiResponse) SetData(v interface{}) error
func (*MigrateNicApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *MigrateNicApiResponse) UnmarshalJSON(b []byte) error
type MigrateNicConfig ¶
type MigrateNicConfig struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
IpAddress *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)
func (*MigrateNicConfig) UnmarshalJSON ¶ added in v4.1.1
func (p *MigrateNicConfig) UnmarshalJSON(b []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.1/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) MarshalJSON ¶ added in v4.1.1
func (p *MigrateVmDisksApiResponse) MarshalJSON() ([]byte, error)
func (*MigrateVmDisksApiResponse) SetData ¶
func (p *MigrateVmDisksApiResponse) SetData(v interface{}) error
func (*MigrateVmDisksApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *MigrateVmDisksApiResponse) UnmarshalJSON(b []byte) 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.1/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) MarshalJSON ¶ added in v4.1.1
func (p *MigrateVmToHostApiResponse) MarshalJSON() ([]byte, error)
func (*MigrateVmToHostApiResponse) SetData ¶
func (p *MigrateVmToHostApiResponse) SetData(v interface{}) error
func (*MigrateVmToHostApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *MigrateVmToHostApiResponse) UnmarshalJSON(b []byte) 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
func (*MigrationPlans) MarshalJSON ¶ added in v4.1.1
func (p *MigrationPlans) MarshalJSON() ([]byte, error)
func (*MigrationPlans) UnmarshalJSON ¶ added in v4.1.1
func (p *MigrationPlans) UnmarshalJSON(b []byte) error
type NetworkFunctionChainReference ¶
type NetworkFunctionChainReference struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
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
func (*NetworkFunctionChainReference) MarshalJSON ¶ added in v4.1.1
func (p *NetworkFunctionChainReference) MarshalJSON() ([]byte, error)
func (*NetworkFunctionChainReference) UnmarshalJSON ¶ added in v4.1.1
func (p *NetworkFunctionChainReference) UnmarshalJSON(b []byte) error
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 (e NetworkFunctionNicType) Ref() *NetworkFunctionNicType
func (*NetworkFunctionNicType) UnmarshalJSON ¶
func (e *NetworkFunctionNicType) UnmarshalJSON(b []byte) error
type NgtCapability ¶
type NgtCapability int
The capabilities of the Nutanix Guest Tools in the VM.
const ( NGTCAPABILITY_UNKNOWN NgtCapability = 0 NGTCAPABILITY_REDACTED NgtCapability = 1 NGTCAPABILITY_SELF_SERVICE_RESTORE NgtCapability = 2 NGTCAPABILITY_VSS_SNAPSHOT NgtCapability = 3 )
func (*NgtCapability) MarshalJSON ¶
func (e *NgtCapability) MarshalJSON() ([]byte, error)
func (NgtCapability) Ref ¶
func (e NgtCapability) Ref() *NgtCapability
func (*NgtCapability) UnmarshalJSON ¶
func (e *NgtCapability) UnmarshalJSON(b []byte) error
type Nic ¶
type Nic struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
BackingInfo *EmulatedNic `json:"backingInfo,omitempty"`
/*
A globally unique identifier of an instance that is suitable for external consumption.
*/
ExtId *string `json:"extId,omitempty"`
/*
A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
*/
Links []import3.ApiLink `json:"links,omitempty"`
NetworkInfo *NicNetworkInfo `json:"networkInfo,omitempty"`
/*
*/
NicBackingInfoItemDiscriminator_ *string `json:"$nicBackingInfoItemDiscriminator,omitempty"`
/*
Information about how NIC is associated with a VM.
*/
NicBackingInfo *OneOfNicNicBackingInfo `json:"nicBackingInfo,omitempty"`
/*
*/
NicNetworkInfoItemDiscriminator_ *string `json:"$nicNetworkInfoItemDiscriminator,omitempty"`
/*
Networking information object for a NIC.
*/
NicNetworkInfo *OneOfNicNicNetworkInfo `json:"nicNetworkInfo,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 (*Nic) GetNicNetworkInfo ¶ added in v4.1.1
func (p *Nic) GetNicNetworkInfo() interface{}
func (*Nic) MarshalJSON ¶ added in v4.1.1
func (*Nic) SetNicNetworkInfo ¶ added in v4.1.1
func (*Nic) UnmarshalJSON ¶ added in v4.1.1
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"`
}
Networking information object for a NIC. This object is now deprecated. If both deprecated and new objects are present, the new object VirtualEthernetNicNetworkInfo takes precedence.
func NewNicNetworkInfo ¶
func NewNicNetworkInfo() *NicNetworkInfo
func (*NicNetworkInfo) MarshalJSON ¶ added in v4.1.1
func (p *NicNetworkInfo) MarshalJSON() ([]byte, error)
func (*NicNetworkInfo) UnmarshalJSON ¶ added in v4.1.1
func (p *NicNetworkInfo) UnmarshalJSON(b []byte) error
type NicProfileReference ¶ added in v4.1.1
type NicProfileReference struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
Globally unique identifier of a NIC profile. It should be of type UUID.
*/
ExtId *string `json:"extId,omitempty"`
}
Reference to a NIC profile.
func NewNicProfileReference ¶ added in v4.1.1
func NewNicProfileReference() *NicProfileReference
func (*NicProfileReference) MarshalJSON ¶ added in v4.1.1
func (p *NicProfileReference) MarshalJSON() ([]byte, error)
func (*NicProfileReference) UnmarshalJSON ¶ added in v4.1.1
func (p *NicProfileReference) UnmarshalJSON(b []byte) error
type NicType ¶
type NicType int
NIC type. Defaults to NORMAL_NIC.
func (*NicType) MarshalJSON ¶
func (*NicType) UnmarshalJSON ¶
type NvramDevice ¶
type NvramDevice struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
BackingStorageInfo *VmDisk `json:"backingStorageInfo,omitempty"`
}
Configuration for NVRAM to be presented to the VM.
func NewNvramDevice ¶
func NewNvramDevice() *NvramDevice
func (*NvramDevice) MarshalJSON ¶ added in v4.1.1
func (p *NvramDevice) MarshalJSON() ([]byte, error)
func (*NvramDevice) UnmarshalJSON ¶ added in v4.1.1
func (p *NvramDevice) UnmarshalJSON(b []byte) error
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 OneOfCreatePcieDeviceApiResponseData ¶
type OneOfCreatePcieDeviceApiResponseData struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfCreatePcieDeviceApiResponseData ¶
func NewOneOfCreatePcieDeviceApiResponseData() *OneOfCreatePcieDeviceApiResponseData
func (*OneOfCreatePcieDeviceApiResponseData) GetValue ¶
func (p *OneOfCreatePcieDeviceApiResponseData) GetValue() interface{}
func (*OneOfCreatePcieDeviceApiResponseData) MarshalJSON ¶
func (p *OneOfCreatePcieDeviceApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfCreatePcieDeviceApiResponseData) SetValue ¶
func (p *OneOfCreatePcieDeviceApiResponseData) SetValue(v interface{}) error
func (*OneOfCreatePcieDeviceApiResponseData) UnmarshalJSON ¶
func (p *OneOfCreatePcieDeviceApiResponseData) 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 OneOfCreateVMRecoveryPointApiResponseData ¶ added in v4.1.1
type OneOfCreateVMRecoveryPointApiResponseData struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfCreateVMRecoveryPointApiResponseData ¶ added in v4.1.1
func NewOneOfCreateVMRecoveryPointApiResponseData() *OneOfCreateVMRecoveryPointApiResponseData
func (*OneOfCreateVMRecoveryPointApiResponseData) GetValue ¶ added in v4.1.1
func (p *OneOfCreateVMRecoveryPointApiResponseData) GetValue() interface{}
func (*OneOfCreateVMRecoveryPointApiResponseData) MarshalJSON ¶ added in v4.1.1
func (p *OneOfCreateVMRecoveryPointApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfCreateVMRecoveryPointApiResponseData) SetValue ¶ added in v4.1.1
func (p *OneOfCreateVMRecoveryPointApiResponseData) SetValue(v interface{}) error
func (*OneOfCreateVMRecoveryPointApiResponseData) UnmarshalJSON ¶ added in v4.1.1
func (p *OneOfCreateVMRecoveryPointApiResponseData) 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 (p *OneOfCrossClusterMigrateVmApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfCrossClusterMigrateVmApiResponseData) SetValue ¶
func (p *OneOfCrossClusterMigrateVmApiResponseData) SetValue(v interface{}) error
func (*OneOfCrossClusterMigrateVmApiResponseData) UnmarshalJSON ¶
func (p *OneOfCrossClusterMigrateVmApiResponseData) UnmarshalJSON(b []byte) error
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 OneOfDeletePcieDeviceApiResponseData ¶
type OneOfDeletePcieDeviceApiResponseData struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfDeletePcieDeviceApiResponseData ¶
func NewOneOfDeletePcieDeviceApiResponseData() *OneOfDeletePcieDeviceApiResponseData
func (*OneOfDeletePcieDeviceApiResponseData) GetValue ¶
func (p *OneOfDeletePcieDeviceApiResponseData) GetValue() interface{}
func (*OneOfDeletePcieDeviceApiResponseData) MarshalJSON ¶
func (p *OneOfDeletePcieDeviceApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfDeletePcieDeviceApiResponseData) SetValue ¶
func (p *OneOfDeletePcieDeviceApiResponseData) SetValue(v interface{}) error
func (*OneOfDeletePcieDeviceApiResponseData) UnmarshalJSON ¶
func (p *OneOfDeletePcieDeviceApiResponseData) 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 OneOfDeleteVmRecoveryPointApiResponseData ¶ added in v4.1.1
type OneOfDeleteVmRecoveryPointApiResponseData struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfDeleteVmRecoveryPointApiResponseData ¶ added in v4.1.1
func NewOneOfDeleteVmRecoveryPointApiResponseData() *OneOfDeleteVmRecoveryPointApiResponseData
func (*OneOfDeleteVmRecoveryPointApiResponseData) GetValue ¶ added in v4.1.1
func (p *OneOfDeleteVmRecoveryPointApiResponseData) GetValue() interface{}
func (*OneOfDeleteVmRecoveryPointApiResponseData) MarshalJSON ¶ added in v4.1.1
func (p *OneOfDeleteVmRecoveryPointApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfDeleteVmRecoveryPointApiResponseData) SetValue ¶ added in v4.1.1
func (p *OneOfDeleteVmRecoveryPointApiResponseData) SetValue(v interface{}) error
func (*OneOfDeleteVmRecoveryPointApiResponseData) UnmarshalJSON ¶ added in v4.1.1
func (p *OneOfDeleteVmRecoveryPointApiResponseData) 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 (p *OneOfDisassociateCategoriesApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfDisassociateCategoriesApiResponseData) SetValue ¶
func (p *OneOfDisassociateCategoriesApiResponseData) SetValue(v interface{}) error
func (*OneOfDisassociateCategoriesApiResponseData) UnmarshalJSON ¶
func (p *OneOfDisassociateCategoriesApiResponseData) UnmarshalJSON(b []byte) error
type OneOfDiskBackingInfo ¶
type OneOfDiskBackingInfo struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfDiskBackingInfo ¶
func NewOneOfDiskBackingInfo() *OneOfDiskBackingInfo
func (*OneOfDiskBackingInfo) GetValue ¶
func (p *OneOfDiskBackingInfo) GetValue() interface{}
func (*OneOfDiskBackingInfo) MarshalJSON ¶
func (p *OneOfDiskBackingInfo) MarshalJSON() ([]byte, error)
func (*OneOfDiskBackingInfo) SetValue ¶
func (p *OneOfDiskBackingInfo) SetValue(v interface{}) error
func (*OneOfDiskBackingInfo) UnmarshalJSON ¶
func (p *OneOfDiskBackingInfo) UnmarshalJSON(b []byte) error
type 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 OneOfGetPcieDeviceApiResponseData ¶
type OneOfGetPcieDeviceApiResponseData struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfGetPcieDeviceApiResponseData ¶
func NewOneOfGetPcieDeviceApiResponseData() *OneOfGetPcieDeviceApiResponseData
func (*OneOfGetPcieDeviceApiResponseData) GetValue ¶
func (p *OneOfGetPcieDeviceApiResponseData) GetValue() interface{}
func (*OneOfGetPcieDeviceApiResponseData) MarshalJSON ¶
func (p *OneOfGetPcieDeviceApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetPcieDeviceApiResponseData) SetValue ¶
func (p *OneOfGetPcieDeviceApiResponseData) SetValue(v interface{}) error
func (*OneOfGetPcieDeviceApiResponseData) UnmarshalJSON ¶
func (p *OneOfGetPcieDeviceApiResponseData) 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 OneOfGetVmRecoveryPointApiResponseData ¶ added in v4.1.1
type OneOfGetVmRecoveryPointApiResponseData struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfGetVmRecoveryPointApiResponseData ¶ added in v4.1.1
func NewOneOfGetVmRecoveryPointApiResponseData() *OneOfGetVmRecoveryPointApiResponseData
func (*OneOfGetVmRecoveryPointApiResponseData) GetValue ¶ added in v4.1.1
func (p *OneOfGetVmRecoveryPointApiResponseData) GetValue() interface{}
func (*OneOfGetVmRecoveryPointApiResponseData) MarshalJSON ¶ added in v4.1.1
func (p *OneOfGetVmRecoveryPointApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetVmRecoveryPointApiResponseData) SetValue ¶ added in v4.1.1
func (p *OneOfGetVmRecoveryPointApiResponseData) SetValue(v interface{}) error
func (*OneOfGetVmRecoveryPointApiResponseData) UnmarshalJSON ¶ added in v4.1.1
func (p *OneOfGetVmRecoveryPointApiResponseData) 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 OneOfListPcieDevicesApiResponseData ¶
type OneOfListPcieDevicesApiResponseData struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfListPcieDevicesApiResponseData ¶
func NewOneOfListPcieDevicesApiResponseData() *OneOfListPcieDevicesApiResponseData
func (*OneOfListPcieDevicesApiResponseData) GetValue ¶
func (p *OneOfListPcieDevicesApiResponseData) GetValue() interface{}
func (*OneOfListPcieDevicesApiResponseData) MarshalJSON ¶
func (p *OneOfListPcieDevicesApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfListPcieDevicesApiResponseData) SetValue ¶
func (p *OneOfListPcieDevicesApiResponseData) SetValue(v interface{}) error
func (*OneOfListPcieDevicesApiResponseData) UnmarshalJSON ¶
func (p *OneOfListPcieDevicesApiResponseData) 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 OneOfListVmRecoveryPointsApiResponseData ¶ added in v4.1.1
type OneOfListVmRecoveryPointsApiResponseData struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfListVmRecoveryPointsApiResponseData ¶ added in v4.1.1
func NewOneOfListVmRecoveryPointsApiResponseData() *OneOfListVmRecoveryPointsApiResponseData
func (*OneOfListVmRecoveryPointsApiResponseData) GetValue ¶ added in v4.1.1
func (p *OneOfListVmRecoveryPointsApiResponseData) GetValue() interface{}
func (*OneOfListVmRecoveryPointsApiResponseData) MarshalJSON ¶ added in v4.1.1
func (p *OneOfListVmRecoveryPointsApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfListVmRecoveryPointsApiResponseData) SetValue ¶ added in v4.1.1
func (p *OneOfListVmRecoveryPointsApiResponseData) SetValue(v interface{}) error
func (*OneOfListVmRecoveryPointsApiResponseData) UnmarshalJSON ¶ added in v4.1.1
func (p *OneOfListVmRecoveryPointsApiResponseData) 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 OneOfNicNicBackingInfo ¶ added in v4.1.1
type OneOfNicNicBackingInfo struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfNicNicBackingInfo ¶ added in v4.1.1
func NewOneOfNicNicBackingInfo() *OneOfNicNicBackingInfo
func (*OneOfNicNicBackingInfo) GetValue ¶ added in v4.1.1
func (p *OneOfNicNicBackingInfo) GetValue() interface{}
func (*OneOfNicNicBackingInfo) MarshalJSON ¶ added in v4.1.1
func (p *OneOfNicNicBackingInfo) MarshalJSON() ([]byte, error)
func (*OneOfNicNicBackingInfo) SetValue ¶ added in v4.1.1
func (p *OneOfNicNicBackingInfo) SetValue(v interface{}) error
func (*OneOfNicNicBackingInfo) UnmarshalJSON ¶ added in v4.1.1
func (p *OneOfNicNicBackingInfo) UnmarshalJSON(b []byte) error
type OneOfNicNicNetworkInfo ¶ added in v4.1.1
type OneOfNicNicNetworkInfo struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfNicNicNetworkInfo ¶ added in v4.1.1
func NewOneOfNicNicNetworkInfo() *OneOfNicNicNetworkInfo
func (*OneOfNicNicNetworkInfo) GetValue ¶ added in v4.1.1
func (p *OneOfNicNicNetworkInfo) GetValue() interface{}
func (*OneOfNicNicNetworkInfo) MarshalJSON ¶ added in v4.1.1
func (p *OneOfNicNicNetworkInfo) MarshalJSON() ([]byte, error)
func (*OneOfNicNicNetworkInfo) SetValue ¶ added in v4.1.1
func (p *OneOfNicNicNetworkInfo) SetValue(v interface{}) error
func (*OneOfNicNicNetworkInfo) UnmarshalJSON ¶ added in v4.1.1
func (p *OneOfNicNicNetworkInfo) UnmarshalJSON(b []byte) error
type OneOfPcieDeviceBackingInfo ¶
type OneOfPcieDeviceBackingInfo struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfPcieDeviceBackingInfo ¶
func NewOneOfPcieDeviceBackingInfo() *OneOfPcieDeviceBackingInfo
func (*OneOfPcieDeviceBackingInfo) GetValue ¶
func (p *OneOfPcieDeviceBackingInfo) GetValue() interface{}
func (*OneOfPcieDeviceBackingInfo) MarshalJSON ¶
func (p *OneOfPcieDeviceBackingInfo) MarshalJSON() ([]byte, error)
func (*OneOfPcieDeviceBackingInfo) SetValue ¶
func (p *OneOfPcieDeviceBackingInfo) SetValue(v interface{}) error
func (*OneOfPcieDeviceBackingInfo) UnmarshalJSON ¶
func (p *OneOfPcieDeviceBackingInfo) 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 OneOfRestoreVmRecoveryPointApiResponseData ¶ added in v4.1.1
type OneOfRestoreVmRecoveryPointApiResponseData struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfRestoreVmRecoveryPointApiResponseData ¶ added in v4.1.1
func NewOneOfRestoreVmRecoveryPointApiResponseData() *OneOfRestoreVmRecoveryPointApiResponseData
func (*OneOfRestoreVmRecoveryPointApiResponseData) GetValue ¶ added in v4.1.1
func (p *OneOfRestoreVmRecoveryPointApiResponseData) GetValue() interface{}
func (*OneOfRestoreVmRecoveryPointApiResponseData) MarshalJSON ¶ added in v4.1.1
func (p *OneOfRestoreVmRecoveryPointApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfRestoreVmRecoveryPointApiResponseData) SetValue ¶ added in v4.1.1
func (p *OneOfRestoreVmRecoveryPointApiResponseData) SetValue(v interface{}) error
func (*OneOfRestoreVmRecoveryPointApiResponseData) UnmarshalJSON ¶ added in v4.1.1
func (p *OneOfRestoreVmRecoveryPointApiResponseData) 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 OneOfUefiBootBootDevice ¶
type OneOfUefiBootBootDevice struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfUefiBootBootDevice ¶
func NewOneOfUefiBootBootDevice() *OneOfUefiBootBootDevice
func (*OneOfUefiBootBootDevice) GetValue ¶
func (p *OneOfUefiBootBootDevice) GetValue() interface{}
func (*OneOfUefiBootBootDevice) MarshalJSON ¶
func (p *OneOfUefiBootBootDevice) MarshalJSON() ([]byte, error)
func (*OneOfUefiBootBootDevice) SetValue ¶
func (p *OneOfUefiBootBootDevice) SetValue(v interface{}) error
func (*OneOfUefiBootBootDevice) UnmarshalJSON ¶
func (p *OneOfUefiBootBootDevice) 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 (p *OneOfUninstallVmGuestToolsApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfUninstallVmGuestToolsApiResponseData) SetValue ¶
func (p *OneOfUninstallVmGuestToolsApiResponseData) SetValue(v interface{}) error
func (*OneOfUninstallVmGuestToolsApiResponseData) UnmarshalJSON ¶
func (p *OneOfUninstallVmGuestToolsApiResponseData) UnmarshalJSON(b []byte) error
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 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 OneOfVmRecoveryPointApplicationConsistentProperties ¶ added in v4.1.1
type OneOfVmRecoveryPointApplicationConsistentProperties struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfVmRecoveryPointApplicationConsistentProperties ¶ added in v4.1.1
func NewOneOfVmRecoveryPointApplicationConsistentProperties() *OneOfVmRecoveryPointApplicationConsistentProperties
func (*OneOfVmRecoveryPointApplicationConsistentProperties) GetValue ¶ added in v4.1.1
func (p *OneOfVmRecoveryPointApplicationConsistentProperties) GetValue() interface{}
func (*OneOfVmRecoveryPointApplicationConsistentProperties) MarshalJSON ¶ added in v4.1.1
func (p *OneOfVmRecoveryPointApplicationConsistentProperties) MarshalJSON() ([]byte, error)
func (*OneOfVmRecoveryPointApplicationConsistentProperties) SetValue ¶ added in v4.1.1
func (p *OneOfVmRecoveryPointApplicationConsistentProperties) SetValue(v interface{}) error
func (*OneOfVmRecoveryPointApplicationConsistentProperties) UnmarshalJSON ¶ added in v4.1.1
func (p *OneOfVmRecoveryPointApplicationConsistentProperties) UnmarshalJSON(b []byte) error
type OneOfVmRestoreNicConfigOverrideParamsNicBackingInfo ¶ added in v4.1.1
type OneOfVmRestoreNicConfigOverrideParamsNicBackingInfo struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfVmRestoreNicConfigOverrideParamsNicBackingInfo ¶ added in v4.1.1
func NewOneOfVmRestoreNicConfigOverrideParamsNicBackingInfo() *OneOfVmRestoreNicConfigOverrideParamsNicBackingInfo
func (*OneOfVmRestoreNicConfigOverrideParamsNicBackingInfo) GetValue ¶ added in v4.1.1
func (p *OneOfVmRestoreNicConfigOverrideParamsNicBackingInfo) GetValue() interface{}
func (*OneOfVmRestoreNicConfigOverrideParamsNicBackingInfo) MarshalJSON ¶ added in v4.1.1
func (p *OneOfVmRestoreNicConfigOverrideParamsNicBackingInfo) MarshalJSON() ([]byte, error)
func (*OneOfVmRestoreNicConfigOverrideParamsNicBackingInfo) SetValue ¶ added in v4.1.1
func (p *OneOfVmRestoreNicConfigOverrideParamsNicBackingInfo) SetValue(v interface{}) error
func (*OneOfVmRestoreNicConfigOverrideParamsNicBackingInfo) UnmarshalJSON ¶ added in v4.1.1
func (p *OneOfVmRestoreNicConfigOverrideParamsNicBackingInfo) UnmarshalJSON(b []byte) error
type OneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo ¶ added in v4.1.1
type OneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo ¶ added in v4.1.1
func NewOneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo() *OneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo
func (*OneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo) GetValue ¶ added in v4.1.1
func (p *OneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo) GetValue() interface{}
func (*OneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo) MarshalJSON ¶ added in v4.1.1
func (p *OneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo) MarshalJSON() ([]byte, error)
func (*OneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo) SetValue ¶ added in v4.1.1
func (p *OneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo) SetValue(v interface{}) error
func (*OneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo) UnmarshalJSON ¶ added in v4.1.1
func (p *OneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo) UnmarshalJSON(b []byte) error
type OvaVmConfigOverrideSpec ¶ added in v4.1.1
type OvaVmConfigOverrideSpec struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
Categories for the VM.
*/
Categories []CategoryReference `json:"categories,omitempty"`
/*
CD-ROMs attached to the VM.
*/
CdRoms []CdRom `json:"cdRoms,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"`
/*
Number of cores per socket.
*/
NumCoresPerSocket *int `json:"numCoresPerSocket,omitempty"`
/*
Number of vCPU sockets.
*/
NumSockets *int `json:"numSockets,omitempty"`
/*
Number of threads per core.
*/
NumThreadsPerCore *int `json:"numThreadsPerCore,omitempty"`
}
VM config override spec for OVA VM deploy endpoint.
func NewOvaVmConfigOverrideSpec ¶ added in v4.1.1
func NewOvaVmConfigOverrideSpec() *OvaVmConfigOverrideSpec
func (*OvaVmConfigOverrideSpec) MarshalJSON ¶ added in v4.1.1
func (p *OvaVmConfigOverrideSpec) MarshalJSON() ([]byte, error)
func (*OvaVmConfigOverrideSpec) UnmarshalJSON ¶ added in v4.1.1
func (p *OvaVmConfigOverrideSpec) 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"`
/*
A globally unique identifier of a VM owner type UUID.
*/
ExtId *string `json:"extId,omitempty"`
}
Owner reference.
func NewOwnerReference ¶
func NewOwnerReference() *OwnerReference
func (*OwnerReference) MarshalJSON ¶ added in v4.1.1
func (p *OwnerReference) MarshalJSON() ([]byte, error)
func (*OwnerReference) UnmarshalJSON ¶ added in v4.1.1
func (p *OwnerReference) UnmarshalJSON(b []byte) error
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
func (*OwnershipInfo) MarshalJSON ¶ added in v4.1.1
func (p *OwnershipInfo) MarshalJSON() ([]byte, error)
func (*OwnershipInfo) UnmarshalJSON ¶ added in v4.1.1
func (p *OwnershipInfo) UnmarshalJSON(b []byte) error
type PcieDevice ¶
type PcieDevice struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
AssignedDeviceInfo *PcieDeviceInfo `json:"assignedDeviceInfo,omitempty"`
/*
*/
BackingInfoItemDiscriminator_ *string `json:"$backingInfoItemDiscriminator,omitempty"`
/*
Indicates the way a PCIe device is associated to the VM.
*/
BackingInfo *OneOfPcieDeviceBackingInfo `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"`
/*
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 information about the PCIe device.
func NewPcieDevice ¶
func NewPcieDevice() *PcieDevice
func (*PcieDevice) GetBackingInfo ¶
func (p *PcieDevice) GetBackingInfo() interface{}
func (*PcieDevice) MarshalJSON ¶ added in v4.1.1
func (p *PcieDevice) MarshalJSON() ([]byte, error)
func (*PcieDevice) SetBackingInfo ¶
func (p *PcieDevice) SetBackingInfo(v interface{}) error
func (*PcieDevice) UnmarshalJSON ¶ added in v4.1.1
func (p *PcieDevice) UnmarshalJSON(b []byte) error
type PcieDeviceInfo ¶
type PcieDeviceInfo struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
Device *PcieDeviceReference `json:"device,omitempty"`
}
Information about the attached PCIe device to the VM.
func NewPcieDeviceInfo ¶
func NewPcieDeviceInfo() *PcieDeviceInfo
func (*PcieDeviceInfo) MarshalJSON ¶ added in v4.1.1
func (p *PcieDeviceInfo) MarshalJSON() ([]byte, error)
func (*PcieDeviceInfo) UnmarshalJSON ¶ added in v4.1.1
func (p *PcieDeviceInfo) UnmarshalJSON(b []byte) error
type PcieDeviceReference ¶
type PcieDeviceReference struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
Globally unique identifier denoting PCIe device label. It should be of type UUID.
*/
DeviceExtId *string `json:"deviceExtId,omitempty"`
}
Reference to the PCIe device.
func NewPcieDeviceReference ¶
func NewPcieDeviceReference() *PcieDeviceReference
func (*PcieDeviceReference) MarshalJSON ¶ added in v4.1.1
func (p *PcieDeviceReference) MarshalJSON() ([]byte, error)
func (*PcieDeviceReference) UnmarshalJSON ¶ added in v4.1.1
func (p *PcieDeviceReference) UnmarshalJSON(b []byte) error
type PolicyReference ¶
type PolicyReference struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
The globally unique identifier of an instance of type UUID.
*/
ExtId *string `json:"extId,omitempty"`
}
Reference to the policy object in use.
func NewPolicyReference ¶
func NewPolicyReference() *PolicyReference
func (*PolicyReference) MarshalJSON ¶ added in v4.1.1
func (p *PolicyReference) MarshalJSON() ([]byte, error)
func (*PolicyReference) UnmarshalJSON ¶ added in v4.1.1
func (p *PolicyReference) UnmarshalJSON(b []byte) error
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.1/ahv/config/vms/{extId}/$actions/power-cycle Post operation
func NewPowerCycleVmApiResponse ¶
func NewPowerCycleVmApiResponse() *PowerCycleVmApiResponse
func (*PowerCycleVmApiResponse) GetData ¶
func (p *PowerCycleVmApiResponse) GetData() interface{}
func (*PowerCycleVmApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *PowerCycleVmApiResponse) MarshalJSON() ([]byte, error)
func (*PowerCycleVmApiResponse) SetData ¶
func (p *PowerCycleVmApiResponse) SetData(v interface{}) error
func (*PowerCycleVmApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *PowerCycleVmApiResponse) UnmarshalJSON(b []byte) 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.1/ahv/config/vms/{extId}/$actions/power-off Post operation
func NewPowerOffVmApiResponse ¶
func NewPowerOffVmApiResponse() *PowerOffVmApiResponse
func (*PowerOffVmApiResponse) GetData ¶
func (p *PowerOffVmApiResponse) GetData() interface{}
func (*PowerOffVmApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *PowerOffVmApiResponse) MarshalJSON() ([]byte, error)
func (*PowerOffVmApiResponse) SetData ¶
func (p *PowerOffVmApiResponse) SetData(v interface{}) error
func (*PowerOffVmApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *PowerOffVmApiResponse) UnmarshalJSON(b []byte) 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.1/ahv/config/vms/{extId}/$actions/power-on Post operation
func NewPowerOnVmApiResponse ¶
func NewPowerOnVmApiResponse() *PowerOnVmApiResponse
func (*PowerOnVmApiResponse) GetData ¶
func (p *PowerOnVmApiResponse) GetData() interface{}
func (*PowerOnVmApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *PowerOnVmApiResponse) MarshalJSON() ([]byte, error)
func (*PowerOnVmApiResponse) SetData ¶
func (p *PowerOnVmApiResponse) SetData(v interface{}) error
func (*PowerOnVmApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *PowerOnVmApiResponse) UnmarshalJSON(b []byte) 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) 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 ProjectReference ¶ added in v4.1.1
type ProjectReference 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 of type UUID.
*/
ExtId *string `json:"extId,omitempty"`
}
Reference to a project.
func NewProjectReference ¶ added in v4.1.1
func NewProjectReference() *ProjectReference
func (*ProjectReference) MarshalJSON ¶ added in v4.1.1
func (p *ProjectReference) MarshalJSON() ([]byte, error)
func (*ProjectReference) UnmarshalJSON ¶ added in v4.1.1
func (p *ProjectReference) 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
func (*ProtectionPolicyState) MarshalJSON ¶ added in v4.1.1
func (p *ProtectionPolicyState) MarshalJSON() ([]byte, error)
func (*ProtectionPolicyState) UnmarshalJSON ¶ added in v4.1.1
func (p *ProtectionPolicyState) UnmarshalJSON(b []byte) error
type ProtectionType ¶
type ProtectionType int
The type of protection applied on a VM.
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
func (*QosConfig) MarshalJSON ¶ added in v4.1.1
func (*QosConfig) UnmarshalJSON ¶ added in v4.1.1
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
func (*RebootPreference) MarshalJSON ¶ added in v4.1.1
func (p *RebootPreference) MarshalJSON() ([]byte, error)
func (*RebootPreference) UnmarshalJSON ¶ added in v4.1.1
func (p *RebootPreference) UnmarshalJSON(b []byte) error
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
func (*RebootPreferenceSchedule) MarshalJSON ¶ added in v4.1.1
func (p *RebootPreferenceSchedule) MarshalJSON() ([]byte, error)
func (*RebootPreferenceSchedule) UnmarshalJSON ¶ added in v4.1.1
func (p *RebootPreferenceSchedule) UnmarshalJSON(b []byte) error
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.1/ahv/config/vms/{extId}/$actions/guest-reboot Post operation
func NewRebootVmApiResponse ¶
func NewRebootVmApiResponse() *RebootVmApiResponse
func (*RebootVmApiResponse) GetData ¶
func (p *RebootVmApiResponse) GetData() interface{}
func (*RebootVmApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *RebootVmApiResponse) MarshalJSON() ([]byte, error)
func (*RebootVmApiResponse) SetData ¶
func (p *RebootVmApiResponse) SetData(v interface{}) error
func (*RebootVmApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *RebootVmApiResponse) UnmarshalJSON(b []byte) 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.1/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) MarshalJSON ¶ added in v4.1.1
func (p *ReleaseIpApiResponse) MarshalJSON() ([]byte, error)
func (*ReleaseIpApiResponse) SetData ¶
func (p *ReleaseIpApiResponse) SetData(v interface{}) error
func (*ReleaseIpApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *ReleaseIpApiResponse) UnmarshalJSON(b []byte) 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.1/ahv/config/vms/{extId}/$actions/reset Post operation
func NewResetVmApiResponse ¶
func NewResetVmApiResponse() *ResetVmApiResponse
func (*ResetVmApiResponse) GetData ¶
func (p *ResetVmApiResponse) GetData() interface{}
func (*ResetVmApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *ResetVmApiResponse) MarshalJSON() ([]byte, error)
func (*ResetVmApiResponse) SetData ¶
func (p *ResetVmApiResponse) SetData(v interface{}) error
func (*ResetVmApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *ResetVmApiResponse) UnmarshalJSON(b []byte) error
type RestoreVmRecoveryPointApiResponse ¶ added in v4.1.1
type RestoreVmRecoveryPointApiResponse 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 *OneOfRestoreVmRecoveryPointApiResponseData `json:"data,omitempty"`
Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"`
}
REST response for all response codes in API path /vmm/v4.1/ahv/config/vm-recovery-points/{extId}/$actions/restore Post operation
func NewRestoreVmRecoveryPointApiResponse ¶ added in v4.1.1
func NewRestoreVmRecoveryPointApiResponse() *RestoreVmRecoveryPointApiResponse
func (*RestoreVmRecoveryPointApiResponse) GetData ¶ added in v4.1.1
func (p *RestoreVmRecoveryPointApiResponse) GetData() interface{}
func (*RestoreVmRecoveryPointApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *RestoreVmRecoveryPointApiResponse) MarshalJSON() ([]byte, error)
func (*RestoreVmRecoveryPointApiResponse) SetData ¶ added in v4.1.1
func (p *RestoreVmRecoveryPointApiResponse) SetData(v interface{}) error
func (*RestoreVmRecoveryPointApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *RestoreVmRecoveryPointApiResponse) UnmarshalJSON(b []byte) error
type RestoreVmRecoveryPointParams ¶ added in v4.1.1
type RestoreVmRecoveryPointParams struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
If set to false, any VM configuration that cannot be restored will be dropped or reset to system defaults. This currently applies to the following fields in the VM configuration: subnets, NIC profiles, project, and categories. It also handles dropping unknown features on older PEs. If set to true, the restore operation will run in normal mode, where any failures will be raised as errors, and the VM will not be restored until the issues are resolved.
*/
IsStrictMode *bool `json:"isStrictMode,omitempty"`
VmConfigOverrideSpec *VmConfigOverrideSpecification `json:"vmConfigOverrideSpec,omitempty"`
}
Input parameters for the VM recovery point restore operation.
func NewRestoreVmRecoveryPointParams ¶ added in v4.1.1
func NewRestoreVmRecoveryPointParams() *RestoreVmRecoveryPointParams
func (*RestoreVmRecoveryPointParams) MarshalJSON ¶ added in v4.1.1
func (p *RestoreVmRecoveryPointParams) MarshalJSON() ([]byte, error)
func (*RestoreVmRecoveryPointParams) UnmarshalJSON ¶ added in v4.1.1
func (p *RestoreVmRecoveryPointParams) UnmarshalJSON(b []byte) 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)
func (*RevertParams) UnmarshalJSON ¶ added in v4.1.1
func (p *RevertParams) UnmarshalJSON(b []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.1/ahv/config/vms/{extId}/$actions/revert Post operation
func NewRevertVmApiResponse ¶
func NewRevertVmApiResponse() *RevertVmApiResponse
func (*RevertVmApiResponse) GetData ¶
func (p *RevertVmApiResponse) GetData() interface{}
func (*RevertVmApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *RevertVmApiResponse) MarshalJSON() ([]byte, error)
func (*RevertVmApiResponse) SetData ¶
func (p *RevertVmApiResponse) SetData(v interface{}) error
func (*RevertVmApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *RevertVmApiResponse) UnmarshalJSON(b []byte) 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"`
/*
PCI Bus number in hexadecimal, often padded using a leading zeros to two or four digits.
*/
Bus *int `json:"bus,omitempty"`
/*
PCI Device number in hexadecimal, often padded using a leading zero to two digits . Sometimes this is also referred to as the slot number.
*/
Device *int `json:"device,omitempty"`
/*
PCI Function number in hexadecimal.
*/
Func *int `json:"func,omitempty"`
/*
PCI Segment.
*/
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 (*SBDF) MarshalJSON ¶ added in v4.1.1
func (*SBDF) UnmarshalJSON ¶ added in v4.1.1
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) 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 1 is reserved for internal usage.
*/
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
func (*SerialPort) MarshalJSON ¶ added in v4.1.1
func (p *SerialPort) MarshalJSON() ([]byte, error)
func (*SerialPort) UnmarshalJSON ¶ added in v4.1.1
func (p *SerialPort) UnmarshalJSON(b []byte) error
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.1/ahv/config/vms/{extId}/$actions/guest-shutdown Post operation
func NewShutdownVmApiResponse ¶
func NewShutdownVmApiResponse() *ShutdownVmApiResponse
func (*ShutdownVmApiResponse) GetData ¶
func (p *ShutdownVmApiResponse) GetData() interface{}
func (*ShutdownVmApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *ShutdownVmApiResponse) MarshalJSON() ([]byte, error)
func (*ShutdownVmApiResponse) SetData ¶
func (p *ShutdownVmApiResponse) SetData(v interface{}) error
func (*ShutdownVmApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *ShutdownVmApiResponse) UnmarshalJSON(b []byte) error
type SriovNic ¶ added in v4.1.1
type SriovNic struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
HostPcieDeviceReference *HostPcieDeviceReference `json:"hostPcieDeviceReference,omitempty"`
/*
Indicates whether the NIC is connected or not. Default is True.
*/
IsConnected *bool `json:"isConnected,omitempty"`
/*
MAC address of the NIC.
*/
MacAddress *string `json:"macAddress,omitempty"`
SriovProfileReference *NicProfileReference `json:"sriovProfileReference"`
}
Defines an SR-IOV NIC.
func NewSriovNic ¶ added in v4.1.1
func NewSriovNic() *SriovNic
func (*SriovNic) MarshalJSON ¶ added in v4.1.1
func (*SriovNic) UnmarshalJSON ¶ added in v4.1.1
type SriovNicNetworkInfo ¶ added in v4.1.1
type SriovNicNetworkInfo struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
VLAN ID for the SR-IOV NIC.
*/
VlanId *int `json:"vlanId,omitempty"`
}
Networking information object for an SR-IOV NIC.
func NewSriovNicNetworkInfo ¶ added in v4.1.1
func NewSriovNicNetworkInfo() *SriovNicNetworkInfo
func (*SriovNicNetworkInfo) MarshalJSON ¶ added in v4.1.1
func (p *SriovNicNetworkInfo) MarshalJSON() ([]byte, error)
func (*SriovNicNetworkInfo) UnmarshalJSON ¶ added in v4.1.1
func (p *SriovNicNetworkInfo) UnmarshalJSON(b []byte) 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 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
func (*SubnetReference) MarshalJSON ¶ added in v4.1.1
func (p *SubnetReference) MarshalJSON() ([]byte, error)
func (*SubnetReference) UnmarshalJSON ¶ added in v4.1.1
func (p *SubnetReference) UnmarshalJSON(b []byte) error
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"`
/*
The Sysprep script for guest customisation of VM.
*/
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) MarshalJSON ¶ added in v4.1.1
func (*Sysprep) SetSysprepScript ¶
func (*Sysprep) UnmarshalJSON ¶ added in v4.1.1
type UefiBoot ¶
type UefiBoot 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"`
/*
The boot device used for UEFI boot of the VM.
*/
BootDevice *OneOfUefiBootBootDevice `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"`
/*
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
func (*UefiBoot) GetBootDevice ¶
func (p *UefiBoot) GetBootDevice() interface{}
func (*UefiBoot) MarshalJSON ¶ added in v4.1.1
func (*UefiBoot) SetBootDevice ¶
func (*UefiBoot) UnmarshalJSON ¶ added in v4.1.1
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 of Sysprep unattend xml definition. The value must be base64 encoded.
*/
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
func (*Unattendxml) MarshalJSON ¶ added in v4.1.1
func (p *Unattendxml) MarshalJSON() ([]byte, error)
func (*Unattendxml) UnmarshalJSON ¶ added in v4.1.1
func (p *Unattendxml) UnmarshalJSON(b []byte) error
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.1/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) MarshalJSON ¶ added in v4.1.1
func (p *UninstallVmGuestToolsApiResponse) MarshalJSON() ([]byte, error)
func (*UninstallVmGuestToolsApiResponse) SetData ¶
func (p *UninstallVmGuestToolsApiResponse) SetData(v interface{}) error
func (*UninstallVmGuestToolsApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *UninstallVmGuestToolsApiResponse) UnmarshalJSON(b []byte) 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.1/ahv/config/vms/{vmExtId}/disks/{extId} Put operation
func NewUpdateDiskApiResponse ¶
func NewUpdateDiskApiResponse() *UpdateDiskApiResponse
func (*UpdateDiskApiResponse) GetData ¶
func (p *UpdateDiskApiResponse) GetData() interface{}
func (*UpdateDiskApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *UpdateDiskApiResponse) MarshalJSON() ([]byte, error)
func (*UpdateDiskApiResponse) SetData ¶
func (p *UpdateDiskApiResponse) SetData(v interface{}) error
func (*UpdateDiskApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *UpdateDiskApiResponse) UnmarshalJSON(b []byte) 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.1/ahv/config/vms/{extId}/guest-tools Put operation
func NewUpdateGuestToolsApiResponse ¶
func NewUpdateGuestToolsApiResponse() *UpdateGuestToolsApiResponse
func (*UpdateGuestToolsApiResponse) GetData ¶
func (p *UpdateGuestToolsApiResponse) GetData() interface{}
func (*UpdateGuestToolsApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *UpdateGuestToolsApiResponse) MarshalJSON() ([]byte, error)
func (*UpdateGuestToolsApiResponse) SetData ¶
func (p *UpdateGuestToolsApiResponse) SetData(v interface{}) error
func (*UpdateGuestToolsApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *UpdateGuestToolsApiResponse) UnmarshalJSON(b []byte) 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.1/ahv/config/vms/{vmExtId}/nics/{extId} Put operation
func NewUpdateNicApiResponse ¶
func NewUpdateNicApiResponse() *UpdateNicApiResponse
func (*UpdateNicApiResponse) GetData ¶
func (p *UpdateNicApiResponse) GetData() interface{}
func (*UpdateNicApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *UpdateNicApiResponse) MarshalJSON() ([]byte, error)
func (*UpdateNicApiResponse) SetData ¶
func (p *UpdateNicApiResponse) SetData(v interface{}) error
func (*UpdateNicApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *UpdateNicApiResponse) UnmarshalJSON(b []byte) 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.1/ahv/config/vms/{vmExtId}/serial-ports/{extId} Put operation
func NewUpdateSerialPortApiResponse ¶
func NewUpdateSerialPortApiResponse() *UpdateSerialPortApiResponse
func (*UpdateSerialPortApiResponse) GetData ¶
func (p *UpdateSerialPortApiResponse) GetData() interface{}
func (*UpdateSerialPortApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *UpdateSerialPortApiResponse) MarshalJSON() ([]byte, error)
func (*UpdateSerialPortApiResponse) SetData ¶
func (p *UpdateSerialPortApiResponse) SetData(v interface{}) error
func (*UpdateSerialPortApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *UpdateSerialPortApiResponse) UnmarshalJSON(b []byte) 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.1/ahv/config/vms/{extId} Put operation
func NewUpdateVmApiResponse ¶
func NewUpdateVmApiResponse() *UpdateVmApiResponse
func (*UpdateVmApiResponse) GetData ¶
func (p *UpdateVmApiResponse) GetData() interface{}
func (*UpdateVmApiResponse) MarshalJSON ¶ added in v4.1.1
func (p *UpdateVmApiResponse) MarshalJSON() ([]byte, error)
func (*UpdateVmApiResponse) SetData ¶
func (p *UpdateVmApiResponse) SetData(v interface{}) error
func (*UpdateVmApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *UpdateVmApiResponse) UnmarshalJSON(b []byte) 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.1/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) MarshalJSON ¶ added in v4.1.1
func (p *UpgradeVmGuestToolsApiResponse) MarshalJSON() ([]byte, error)
func (*UpgradeVmGuestToolsApiResponse) SetData ¶
func (p *UpgradeVmGuestToolsApiResponse) SetData(v interface{}) error
func (*UpgradeVmGuestToolsApiResponse) UnmarshalJSON ¶ added in v4.1.1
func (p *UpgradeVmGuestToolsApiResponse) UnmarshalJSON(b []byte) 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
func (*Userdata) MarshalJSON ¶ added in v4.1.1
func (*Userdata) UnmarshalJSON ¶ added in v4.1.1
type VirtualEthernetNic ¶ added in v4.1.1
type VirtualEthernetNic 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 NIC.
*/
MacAddress *string `json:"macAddress,omitempty"`
Model *VirtualEthernetNicModel `json:"model,omitempty"`
/*
The number of Tx/Rx queue pairs for this NIC.
*/
NumQueues *int `json:"numQueues,omitempty"`
}
Defines a Virtual Ethernet NIC.
func NewVirtualEthernetNic ¶ added in v4.1.1
func NewVirtualEthernetNic() *VirtualEthernetNic
func (*VirtualEthernetNic) MarshalJSON ¶ added in v4.1.1
func (p *VirtualEthernetNic) MarshalJSON() ([]byte, error)
func (*VirtualEthernetNic) UnmarshalJSON ¶ added in v4.1.1
func (p *VirtualEthernetNic) UnmarshalJSON(b []byte) error
type VirtualEthernetNicModel ¶ added in v4.1.1
type VirtualEthernetNicModel int
Options for the NIC emulation.
const ( VIRTUALETHERNETNICMODEL_UNKNOWN VirtualEthernetNicModel = 0 VIRTUALETHERNETNICMODEL_REDACTED VirtualEthernetNicModel = 1 VIRTUALETHERNETNICMODEL_VIRTIO VirtualEthernetNicModel = 2 VIRTUALETHERNETNICMODEL_E1000 VirtualEthernetNicModel = 3 )
func (VirtualEthernetNicModel) GetName ¶ added in v4.1.1
func (e VirtualEthernetNicModel) GetName() string
Returns the name of the enum
func (*VirtualEthernetNicModel) MarshalJSON ¶ added in v4.1.1
func (e *VirtualEthernetNicModel) MarshalJSON() ([]byte, error)
func (VirtualEthernetNicModel) Ref ¶ added in v4.1.1
func (e VirtualEthernetNicModel) Ref() *VirtualEthernetNicModel
func (*VirtualEthernetNicModel) UnmarshalJSON ¶ added in v4.1.1
func (e *VirtualEthernetNicModel) UnmarshalJSON(b []byte) error
type VirtualEthernetNicNetworkInfo ¶ added in v4.1.1
type VirtualEthernetNicNetworkInfo 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"`
Ipv6Info *Ipv6Info `json:"ipv6Info,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"`
}
Networking information object for a Virtual Ethernet NIC.
func NewVirtualEthernetNicNetworkInfo ¶ added in v4.1.1
func NewVirtualEthernetNicNetworkInfo() *VirtualEthernetNicNetworkInfo
func (*VirtualEthernetNicNetworkInfo) MarshalJSON ¶ added in v4.1.1
func (p *VirtualEthernetNicNetworkInfo) MarshalJSON() ([]byte, error)
func (*VirtualEthernetNicNetworkInfo) UnmarshalJSON ¶ added in v4.1.1
func (p *VirtualEthernetNicNetworkInfo) UnmarshalJSON(b []byte) 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.
func (*VlanMode) MarshalJSON ¶
func (*VlanMode) UnmarshalJSON ¶
type Vm ¶
type Vm struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
ApcConfig *ApcConfig `json:"apcConfig,omitempty"`
AvailabilityZone *AvailabilityZoneReference `json:"availabilityZone,omitempty"`
/*
BIOS UUID of the VM 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.
*/
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 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 the VM CPU hotplug is enabled.
*/
IsCpuHotplugEnabled *bool `json:"isCpuHotplugEnabled,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 VM SCSI controller is enabled.
*/
IsScsiControllerEnabled *bool `json:"isScsiControllerEnabled,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"`
/*
PCIe devices attached to the VM.
*/
PcieDevices []PcieDevice `json:"pcieDevices,omitempty"`
PowerState *PowerState `json:"powerState,omitempty"`
Project *ProjectReference `json:"project,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 (*Vm) GetBootConfig ¶
func (p *Vm) GetBootConfig() interface{}
func (*Vm) MarshalJSON ¶ added in v4.1.1
func (*Vm) SetBootConfig ¶
func (*Vm) UnmarshalJSON ¶ added in v4.1.1
type VmConfigOverrideSpecification ¶ added in v4.1.1
type VmConfigOverrideSpecification struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
Categories to be associated with the VM on successful restore. If not specified, the VM is provisioned without any categories.
*/
Categories []CategoryReference `json:"categories,omitempty"`
/*
VM description.
*/
Description *string `json:"description,omitempty"`
/*
Name of the VM to override with. If not specified, a name is chosen by the system and returned to the task entities when complete.
*/
Name *string `json:"name,omitempty"`
NicSpec *VmRestoreNicConfigSpecification `json:"nicSpec,omitempty"`
OwnershipInfo *OwnershipInfo `json:"ownershipInfo,omitempty"`
}
To override the VM configuration captured in the snapshot (VM Recovery Point). Whatever values are specified in this object, will override the corresponding VM config entry from the snapshot. For example, if a new list of NICs are specified, the existing NIC details are replaced with the provided list. If the list of NICs is set to an empty list explicitly, the VM will be created with no NICs. For the case where the NICs are not set in the override spec at all, the NICs from the captured VM config will be attempted during restore.
func NewVmConfigOverrideSpecification ¶ added in v4.1.1
func NewVmConfigOverrideSpecification() *VmConfigOverrideSpecification
func (*VmConfigOverrideSpecification) MarshalJSON ¶ added in v4.1.1
func (p *VmConfigOverrideSpecification) MarshalJSON() ([]byte, error)
func (*VmConfigOverrideSpecification) UnmarshalJSON ¶ added in v4.1.1
func (p *VmConfigOverrideSpecification) UnmarshalJSON(b []byte) 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
func (*VmCrossClusterMigrateOverrides) MarshalJSON ¶ added in v4.1.1
func (p *VmCrossClusterMigrateOverrides) MarshalJSON() ([]byte, error)
func (*VmCrossClusterMigrateOverrides) UnmarshalJSON ¶ added in v4.1.1
func (p *VmCrossClusterMigrateOverrides) UnmarshalJSON(b []byte) error
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"`
Overrides *VmCrossClusterMigrateOverrides `json:"overrides,omitempty"`
TargetAvailabilityZone *AvailabilityZoneReference `json:"targetAvailabilityZone"`
TargetCluster *ClusterReference `json:"targetCluster,omitempty"`
}
Input on how to migrate a VM across clusters.
func NewVmCrossClusterMigrateParams ¶
func NewVmCrossClusterMigrateParams() *VmCrossClusterMigrateParams
func (*VmCrossClusterMigrateParams) MarshalJSON ¶
func (p *VmCrossClusterMigrateParams) MarshalJSON() ([]byte, error)
func (*VmCrossClusterMigrateParams) UnmarshalJSON ¶ added in v4.1.1
func (p *VmCrossClusterMigrateParams) UnmarshalJSON(b []byte) error
type VmDisk ¶
type VmDisk struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
DataSource *DataSource `json:"dataSource,omitempty"`
/*
A globally unique identifier of a VM disk 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 (*VmDisk) MarshalJSON ¶ added in v4.1.1
func (*VmDisk) UnmarshalJSON ¶ added in v4.1.1
type VmDiskContainerReference ¶
type VmDiskContainerReference 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 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
func (*VmDiskContainerReference) MarshalJSON ¶ added in v4.1.1
func (p *VmDiskContainerReference) MarshalJSON() ([]byte, error)
func (*VmDiskContainerReference) UnmarshalJSON ¶ added in v4.1.1
func (p *VmDiskContainerReference) UnmarshalJSON(b []byte) error
type VmDiskRecoveryPointReference ¶ added in v4.1.1
type VmDiskRecoveryPointReference struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
An external identifier of the Disk Recovery Point for a VM disk. It should be of type UUID.
*/
DiskRecoveryPointExtId *string `json:"diskRecoveryPointExtId,omitempty"`
/*
A globally unique identifier of a VM recovery point. It should be of type UUID.
*/
VmRecoveryPointExtId *string `json:"vmRecoveryPointExtId,omitempty"`
}
Reference to a Disk Recovery Point of a VM disk.
func NewVmDiskRecoveryPointReference ¶ added in v4.1.1
func NewVmDiskRecoveryPointReference() *VmDiskRecoveryPointReference
func (*VmDiskRecoveryPointReference) MarshalJSON ¶ added in v4.1.1
func (p *VmDiskRecoveryPointReference) MarshalJSON() ([]byte, error)
func (*VmDiskRecoveryPointReference) UnmarshalJSON ¶ added in v4.1.1
func (p *VmDiskRecoveryPointReference) UnmarshalJSON(b []byte) error
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"`
/*
A globally unique identifier of a VM disk of type UUID.
*/
DiskExtId *string `json:"diskExtId,omitempty"`
VmReference *VmReference `json:"vmReference,omitempty"`
}
Reference to an existing VM disk.
func NewVmDiskReference ¶
func NewVmDiskReference() *VmDiskReference
func (*VmDiskReference) MarshalJSON ¶ added in v4.1.1
func (p *VmDiskReference) MarshalJSON() ([]byte, error)
func (*VmDiskReference) UnmarshalJSON ¶ added in v4.1.1
func (p *VmDiskReference) UnmarshalJSON(b []byte) error
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
func (*VmDiskStorageConfig) MarshalJSON ¶ added in v4.1.1
func (p *VmDiskStorageConfig) MarshalJSON() ([]byte, error)
func (*VmDiskStorageConfig) UnmarshalJSON ¶ added in v4.1.1
func (p *VmDiskStorageConfig) UnmarshalJSON(b []byte) error
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"`
}
The destination host to which the VM is migrated.
func NewVmMigrateToHostParams ¶
func NewVmMigrateToHostParams() *VmMigrateToHostParams
func (*VmMigrateToHostParams) MarshalJSON ¶
func (p *VmMigrateToHostParams) MarshalJSON() ([]byte, error)
func (*VmMigrateToHostParams) UnmarshalJSON ¶ added in v4.1.1
func (p *VmMigrateToHostParams) UnmarshalJSON(b []byte) error
type VmRecoveryPoint ¶
type VmRecoveryPoint struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
*/
ApplicationConsistentPropertiesItemDiscriminator_ *string `json:"$applicationConsistentPropertiesItemDiscriminator,omitempty"`
/*
User-defined application-consistent properties for the recovery point.
*/
ApplicationConsistentProperties *OneOfVmRecoveryPointApplicationConsistentProperties `json:"applicationConsistentProperties,omitempty"`
/*
External identifier of the Consistency group which the VM was part of at the time of recovery point creation.
*/
ConsistencyGroupExtId *string `json:"consistencyGroupExtId,omitempty"`
/*
The UTC date and time in ISO-8601 format when the Recovery point is created.
*/
CreationTime *time.Time `json:"creationTime,omitempty"`
DiskRecoveryPoints []import5.DiskRecoveryPoint `json:"diskRecoveryPoints,omitempty"`
/*
The UTC date and time in ISO-8601 format when the current Recovery point expires and will be garbage collected.
*/
ExpirationTime *time.Time `json:"expirationTime,omitempty"`
/*
A globally unique identifier of an instance that is suitable for external consumption.
*/
ExtId *string `json:"extId,omitempty"`
/*
A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
*/
Links []import3.ApiLink `json:"links,omitempty"`
/*
Location agnostic identifier of the Recovery point.
*/
LocationAgnosticId *string `json:"locationAgnosticId,omitempty"`
/*
The name of the Recovery point.
*/
Name *string `json:"name,omitempty"`
RecoveryPointType *import5.RecoveryPointType `json:"recoveryPointType,omitempty"`
Status *import5.RecoveryPointStatus `json:"status,omitempty"`
/*
A globally unique identifier that represents the tenant that owns this entity. 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 *Vm `json:"vm,omitempty"`
/*
Category key-value pairs associated with the VM at the time of recovery point creation. The category key and value are separated by '/'. For example, a category with key 'dept' and value 'hr' is displayed as 'dept/hr'.
*/
VmCategories []string `json:"vmCategories,omitempty"`
/*
VM external identifier which is captured as a part of this recovery point.
*/
VmExtId *string `json:"vmExtId,omitempty"`
}
A model that represents VM Recovery Point properties.
func NewVmRecoveryPoint ¶
func NewVmRecoveryPoint() *VmRecoveryPoint
func (*VmRecoveryPoint) MarshalJSON ¶ added in v4.1.1
func (p *VmRecoveryPoint) MarshalJSON() ([]byte, error)
func (*VmRecoveryPoint) UnmarshalJSON ¶ added in v4.1.1
func (p *VmRecoveryPoint) UnmarshalJSON(b []byte) error
type VmReference ¶
type VmReference 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 a VM of type UUID.
*/
ExtId *string `json:"extId,omitempty"`
}
This is a reference to a VM.
func NewVmReference ¶
func NewVmReference() *VmReference
func (*VmReference) MarshalJSON ¶ added in v4.1.1
func (p *VmReference) MarshalJSON() ([]byte, error)
func (*VmReference) UnmarshalJSON ¶ added in v4.1.1
func (p *VmReference) UnmarshalJSON(b []byte) error
type VmRestoreIpv4ConfigOverrideSpec ¶ added in v4.1.1
type VmRestoreIpv4ConfigOverrideSpec 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"`
}
The IPv4 address configurations containing fields that can be overridden when restoring the VM.
func NewVmRestoreIpv4ConfigOverrideSpec ¶ added in v4.1.1
func NewVmRestoreIpv4ConfigOverrideSpec() *VmRestoreIpv4ConfigOverrideSpec
func (*VmRestoreIpv4ConfigOverrideSpec) MarshalJSON ¶ added in v4.1.1
func (p *VmRestoreIpv4ConfigOverrideSpec) MarshalJSON() ([]byte, error)
func (*VmRestoreIpv4ConfigOverrideSpec) UnmarshalJSON ¶ added in v4.1.1
func (p *VmRestoreIpv4ConfigOverrideSpec) UnmarshalJSON(b []byte) error
type VmRestoreNicConfigOverrideParams ¶ added in v4.1.1
type VmRestoreNicConfigOverrideParams struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
*/
NicBackingInfoItemDiscriminator_ *string `json:"$nicBackingInfoItemDiscriminator,omitempty"`
/*
Information about how NIC is associated with a VM.
*/
NicBackingInfo *OneOfVmRestoreNicConfigOverrideParamsNicBackingInfo `json:"nicBackingInfo,omitempty"`
/*
External identifier of the NIC being overridden from the VM Recovery Point. This is not preserved but is only relevant for mapping the NIC being overridden.
*/
NicExtId *string `json:"nicExtId"`
/*
*/
NicNetworkInfoItemDiscriminator_ *string `json:"$nicNetworkInfoItemDiscriminator,omitempty"`
/*
Networking information object for a NIC.
*/
NicNetworkInfo *OneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo `json:"nicNetworkInfo,omitempty"`
}
NIC configuration parameters that can be overridden when restoring the VM.
func NewVmRestoreNicConfigOverrideParams ¶ added in v4.1.1
func NewVmRestoreNicConfigOverrideParams() *VmRestoreNicConfigOverrideParams
func (*VmRestoreNicConfigOverrideParams) GetNicNetworkInfo ¶ added in v4.1.1
func (p *VmRestoreNicConfigOverrideParams) GetNicNetworkInfo() interface{}
func (*VmRestoreNicConfigOverrideParams) MarshalJSON ¶ added in v4.1.1
func (p *VmRestoreNicConfigOverrideParams) MarshalJSON() ([]byte, error)
func (*VmRestoreNicConfigOverrideParams) SetNicNetworkInfo ¶ added in v4.1.1
func (p *VmRestoreNicConfigOverrideParams) SetNicNetworkInfo(v interface{}) error
func (*VmRestoreNicConfigOverrideParams) UnmarshalJSON ¶ added in v4.1.1
func (p *VmRestoreNicConfigOverrideParams) UnmarshalJSON(b []byte) error
type VmRestoreNicConfigSpecification ¶ added in v4.1.1
type VmRestoreNicConfigSpecification struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
List of NIC parameters to override the corresponding NICs captured in the VM Recovery Point. NIC external identifiers are utilized to map the NICs in this list to the NICs from the VM Recovery Point
*/
NicOverrideList []VmRestoreNicConfigOverrideParams `json:"nicOverrideList,omitempty"`
/*
List of NIC UUIDs from the VM Recovery Point to be dropped when restoring the VM.
*/
NicRemoveList []string `json:"nicRemoveList,omitempty"`
}
NIC configuration input for the restored VM. If not specified, the NICs in the VM Recovery Point will be restored.
func NewVmRestoreNicConfigSpecification ¶ added in v4.1.1
func NewVmRestoreNicConfigSpecification() *VmRestoreNicConfigSpecification
func (*VmRestoreNicConfigSpecification) MarshalJSON ¶ added in v4.1.1
func (p *VmRestoreNicConfigSpecification) MarshalJSON() ([]byte, error)
func (*VmRestoreNicConfigSpecification) UnmarshalJSON ¶ added in v4.1.1
func (p *VmRestoreNicConfigSpecification) UnmarshalJSON(b []byte) error
type VmRestoreVirtualEthernetNicNetworkInfoOverrideSpec ¶ added in v4.1.1
type VmRestoreVirtualEthernetNicNetworkInfoOverrideSpec struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
Ipv4Config *VmRestoreIpv4ConfigOverrideSpec `json:"ipv4Config,omitempty"`
Subnet *SubnetReference `json:"subnet,omitempty"`
}
Network information object for a Virtual Ethernet NIC, contains fields that can be overridden when restoring the VM.
func NewVmRestoreVirtualEthernetNicNetworkInfoOverrideSpec ¶ added in v4.1.1
func NewVmRestoreVirtualEthernetNicNetworkInfoOverrideSpec() *VmRestoreVirtualEthernetNicNetworkInfoOverrideSpec
func (*VmRestoreVirtualEthernetNicNetworkInfoOverrideSpec) MarshalJSON ¶ added in v4.1.1
func (p *VmRestoreVirtualEthernetNicNetworkInfoOverrideSpec) MarshalJSON() ([]byte, error)
func (*VmRestoreVirtualEthernetNicNetworkInfoOverrideSpec) UnmarshalJSON ¶ added in v4.1.1
func (p *VmRestoreVirtualEthernetNicNetworkInfoOverrideSpec) UnmarshalJSON(b []byte) error
type VmRestoreVirtualEthernetNicOverrideSpec ¶ added in v4.1.1
type VmRestoreVirtualEthernetNicOverrideSpec struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
MAC address of the NIC.
*/
MacAddress *string `json:"macAddress,omitempty"`
}
Defines a Virtual Ethernet NIC, contains fields that can be overridden when restoring the VM.
func NewVmRestoreVirtualEthernetNicOverrideSpec ¶ added in v4.1.1
func NewVmRestoreVirtualEthernetNicOverrideSpec() *VmRestoreVirtualEthernetNicOverrideSpec
func (*VmRestoreVirtualEthernetNicOverrideSpec) MarshalJSON ¶ added in v4.1.1
func (p *VmRestoreVirtualEthernetNicOverrideSpec) MarshalJSON() ([]byte, error)
func (*VmRestoreVirtualEthernetNicOverrideSpec) UnmarshalJSON ¶ added in v4.1.1
func (p *VmRestoreVirtualEthernetNicOverrideSpec) UnmarshalJSON(b []byte) error
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"`
/*
A globally unique identifier of a VM of type UUID.
*/
ExtId *string `json:"extId,omitempty"`
}
Reference to an entity from which the VM should be cloned or created.
func NewVmSourceReference ¶
func NewVmSourceReference() *VmSourceReference
func (*VmSourceReference) MarshalJSON ¶ added in v4.1.1
func (p *VmSourceReference) MarshalJSON() ([]byte, error)
func (*VmSourceReference) UnmarshalJSON ¶ added in v4.1.1
func (p *VmSourceReference) UnmarshalJSON(b []byte) error
type VmSourceReferenceEntityType ¶
type VmSourceReferenceEntityType int
Reference to an entity from which the VM should be cloned or created.
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 (e VmSourceReferenceEntityType) Ref() *VmSourceReferenceEntityType
func (*VmSourceReferenceEntityType) UnmarshalJSON ¶
func (e *VmSourceReferenceEntityType) UnmarshalJSON(b []byte) error
type VolumeDiskRecoveryPointReference ¶ added in v4.1.1
type VolumeDiskRecoveryPointReference struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
An external identifier of the Volume disk Recovery Point. It should be of type UUID.
*/
DiskRecoveryPointExtId *string `json:"diskRecoveryPointExtId,omitempty"`
/*
The external identifier of the Volume Group Recovery Point. It should be of type UUID.
*/
VolumeGroupRecoveryPointExtId *string `json:"volumeGroupRecoveryPointExtId,omitempty"`
}
Reference to a disk Recovery Point of a Volume disk.
func NewVolumeDiskRecoveryPointReference ¶ added in v4.1.1
func NewVolumeDiskRecoveryPointReference() *VolumeDiskRecoveryPointReference
func (*VolumeDiskRecoveryPointReference) MarshalJSON ¶ added in v4.1.1
func (p *VolumeDiskRecoveryPointReference) MarshalJSON() ([]byte, error)
func (*VolumeDiskRecoveryPointReference) UnmarshalJSON ¶ added in v4.1.1
func (p *VolumeDiskRecoveryPointReference) UnmarshalJSON(b []byte) error
type VolumeDiskReference ¶ added in v4.1.1
type VolumeDiskReference struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
An external identifier of the Volume disk. It should be of type UUID.
*/
DiskExtId *string `json:"diskExtId,omitempty"`
/*
The external identifier of the Volume Group. It should be of type UUID.
*/
VolumeGroupExtId *string `json:"volumeGroupExtId,omitempty"`
}
Reference to a Volume Disk.
func NewVolumeDiskReference ¶ added in v4.1.1
func NewVolumeDiskReference() *VolumeDiskReference
func (*VolumeDiskReference) MarshalJSON ¶ added in v4.1.1
func (p *VolumeDiskReference) MarshalJSON() ([]byte, error)
func (*VolumeDiskReference) UnmarshalJSON ¶ added in v4.1.1
func (p *VolumeDiskReference) 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"`
VtpmDevice *VtpmDevice `json:"vtpmDevice,omitempty"`
}
Indicates how the vTPM for the VM should be configured.
func NewVtpmConfig ¶
func NewVtpmConfig() *VtpmConfig
func (*VtpmConfig) MarshalJSON ¶ added in v4.1.1
func (p *VtpmConfig) MarshalJSON() ([]byte, error)
func (*VtpmConfig) UnmarshalJSON ¶ added in v4.1.1
func (p *VtpmConfig) UnmarshalJSON(b []byte) error
type VtpmDevice ¶ added in v4.1.1
type VtpmDevice 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 a VM disk of type UUID.
*/
DiskExtId *string `json:"diskExtId,omitempty"`
}
A disk for the Virtual trusted platform module.
func NewVtpmDevice ¶ added in v4.1.1
func NewVtpmDevice() *VtpmDevice
func (*VtpmDevice) MarshalJSON ¶ added in v4.1.1
func (p *VtpmDevice) MarshalJSON() ([]byte, error)
func (*VtpmDevice) UnmarshalJSON ¶ added in v4.1.1
func (p *VtpmDevice) UnmarshalJSON(b []byte) error