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