Documentation
¶
Overview ¶
Module vmm.v4.esxi.config of Nutanix Virtual Machine Management APIs
Index ¶
- type AdapterType
- type AssignVmOwnerApiResponse
- type AssociateCategoriesApiResponse
- type AssociateVmCategoriesParams
- type CategoryReference
- type CdRom
- type CdRomAddress
- type CdRomBackingInfo
- type CdRomBusType
- type ClusterReference
- type DisassociateCategoriesApiResponse
- type DisassociateVmCategoriesParams
- type Disk
- type DiskAddress
- type DiskBusType
- type FileDetail
- type GetNutanixGuestToolsApiResponse
- type GetVmApiResponse
- type HostReference
- type InsertNutanixGuestToolsApiResponse
- type InstallNutanixGuestToolsApiResponse
- type IpAddressInfo
- type ListVmsApiResponse
- type Nic
- type NicBackingInfo
- type NicNetworkInfo
- type NutanixCredential
- type NutanixGuestTools
- type NutanixGuestToolsCapability
- type NutanixGuestToolsInsertConfig
- type NutanixGuestToolsInstallConfig
- type NutanixGuestToolsUpgradeConfig
- type NutanixRebootPreference
- type NutanixRebootPreferenceSchedule
- type NutanixScheduleType
- type OneOfAssignVmOwnerApiResponseData
- type OneOfAssociateCategoriesApiResponseData
- func (p *OneOfAssociateCategoriesApiResponseData) GetValue() interface{}
- func (p *OneOfAssociateCategoriesApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfAssociateCategoriesApiResponseData) SetValue(v interface{}) error
- func (p *OneOfAssociateCategoriesApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfDisassociateCategoriesApiResponseData
- func (p *OneOfDisassociateCategoriesApiResponseData) GetValue() interface{}
- func (p *OneOfDisassociateCategoriesApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfDisassociateCategoriesApiResponseData) SetValue(v interface{}) error
- func (p *OneOfDisassociateCategoriesApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfGetNutanixGuestToolsApiResponseData
- func (p *OneOfGetNutanixGuestToolsApiResponseData) GetValue() interface{}
- func (p *OneOfGetNutanixGuestToolsApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfGetNutanixGuestToolsApiResponseData) SetValue(v interface{}) error
- func (p *OneOfGetNutanixGuestToolsApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfGetVmApiResponseData
- type OneOfInsertNutanixGuestToolsApiResponseData
- func (p *OneOfInsertNutanixGuestToolsApiResponseData) GetValue() interface{}
- func (p *OneOfInsertNutanixGuestToolsApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfInsertNutanixGuestToolsApiResponseData) SetValue(v interface{}) error
- func (p *OneOfInsertNutanixGuestToolsApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfInstallNutanixGuestToolsApiResponseData
- func (p *OneOfInstallNutanixGuestToolsApiResponseData) GetValue() interface{}
- func (p *OneOfInstallNutanixGuestToolsApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfInstallNutanixGuestToolsApiResponseData) SetValue(v interface{}) error
- func (p *OneOfInstallNutanixGuestToolsApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfListVmsApiResponseData
- type OneOfPowerOffVmApiResponseData
- type OneOfPowerOnVmApiResponseData
- type OneOfRebootGuestOSApiResponseData
- type OneOfResetVmApiResponseData
- type OneOfRevertVmApiResponseData
- type OneOfShutdownVmApiResponseData
- type OneOfSuspendVmApiResponseData
- type OneOfUninstallNutanixGuestToolsApiResponseData
- func (p *OneOfUninstallNutanixGuestToolsApiResponseData) GetValue() interface{}
- func (p *OneOfUninstallNutanixGuestToolsApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfUninstallNutanixGuestToolsApiResponseData) SetValue(v interface{}) error
- func (p *OneOfUninstallNutanixGuestToolsApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfUpdateNutanixGuestToolsApiResponseData
- func (p *OneOfUpdateNutanixGuestToolsApiResponseData) GetValue() interface{}
- func (p *OneOfUpdateNutanixGuestToolsApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfUpdateNutanixGuestToolsApiResponseData) SetValue(v interface{}) error
- func (p *OneOfUpdateNutanixGuestToolsApiResponseData) UnmarshalJSON(b []byte) error
- type OneOfUpgradeNutanixGuestToolsApiResponseData
- func (p *OneOfUpgradeNutanixGuestToolsApiResponseData) GetValue() interface{}
- func (p *OneOfUpgradeNutanixGuestToolsApiResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfUpgradeNutanixGuestToolsApiResponseData) SetValue(v interface{}) error
- func (p *OneOfUpgradeNutanixGuestToolsApiResponseData) UnmarshalJSON(b []byte) error
- type OwnerReference
- type OwnerReferenceEntityType
- type OwnershipInfo
- type PortGroupInfo
- type PowerOffVmApiResponse
- type PowerOnVmApiResponse
- type PowerState
- type RebootGuestOSApiResponse
- type ResetVmApiResponse
- type RevertParams
- type RevertVmApiResponse
- type ShutdownVmApiResponse
- type SuspendVmApiResponse
- type UninstallNutanixGuestToolsApiResponse
- type UpdateNutanixGuestToolsApiResponse
- type UpgradeNutanixGuestToolsApiResponse
- type Vm
- type VmDisk
- type VmDiskContainerReference
- type VmDiskStorageConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdapterType ¶
type AdapterType int
Adapter type for VM NIC.
const ( ADAPTERTYPE_UNKNOWN AdapterType = 0 ADAPTERTYPE_REDACTED AdapterType = 1 ADAPTERTYPE_E1000 AdapterType = 2 ADAPTERTYPE_PCNET32 AdapterType = 3 ADAPTERTYPE_VMXNET AdapterType = 4 ADAPTERTYPE_VMXNET2 AdapterType = 5 ADAPTERTYPE_VMXNET3 AdapterType = 6 ADAPTERTYPE_E1000E AdapterType = 7 ADAPTERTYPE_SRIOV AdapterType = 8 )
func (*AdapterType) MarshalJSON ¶
func (e *AdapterType) MarshalJSON() ([]byte, error)
func (AdapterType) Ref ¶
func (e AdapterType) Ref() *AdapterType
func (*AdapterType) UnmarshalJSON ¶
func (e *AdapterType) UnmarshalJSON(b []byte) error
type AssignVmOwnerApiResponse ¶
type AssignVmOwnerApiResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfAssignVmOwnerApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /vmm/v4.0/esxi/config/vms/{extId}/$actions/assign-owner Post operation
func NewAssignVmOwnerApiResponse ¶
func NewAssignVmOwnerApiResponse() *AssignVmOwnerApiResponse
func (*AssignVmOwnerApiResponse) GetData ¶
func (p *AssignVmOwnerApiResponse) GetData() interface{}
func (*AssignVmOwnerApiResponse) SetData ¶
func (p *AssignVmOwnerApiResponse) SetData(v interface{}) error
type AssociateCategoriesApiResponse ¶
type AssociateCategoriesApiResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfAssociateCategoriesApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /vmm/v4.0/esxi/config/vms/{extId}/$actions/associate-categories Post operation
func NewAssociateCategoriesApiResponse ¶
func NewAssociateCategoriesApiResponse() *AssociateCategoriesApiResponse
func (*AssociateCategoriesApiResponse) GetData ¶
func (p *AssociateCategoriesApiResponse) GetData() interface{}
func (*AssociateCategoriesApiResponse) SetData ¶
func (p *AssociateCategoriesApiResponse) SetData(v interface{}) error
type AssociateVmCategoriesParams ¶
type AssociateVmCategoriesParams struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` Categories []CategoryReference `json:"categories"` }
List of categories to be associated to the VM.
func NewAssociateVmCategoriesParams ¶
func NewAssociateVmCategoriesParams() *AssociateVmCategoriesParams
func (*AssociateVmCategoriesParams) MarshalJSON ¶
func (p *AssociateVmCategoriesParams) MarshalJSON() ([]byte, error)
type CategoryReference ¶
type CategoryReference struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* The globally unique identifier of an instance 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 *CdRomBackingInfo `json:"backingInfo,omitempty"` DiskAddress *CdRomAddress `json:"diskAddress,omitempty"` /* A globally unique identifier of an instance that is suitable for external consumption. */ ExtId *string `json:"extId,omitempty"` /* A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource. */ Links []import3.ApiLink `json:"links,omitempty"` /* A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server). */ TenantId *string `json:"tenantId,omitempty"` }
Virtual Machine CD-ROM.
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"` }
CD-ROM address.
func NewCdRomAddress ¶
func NewCdRomAddress() *CdRomAddress
type CdRomBackingInfo ¶
type CdRomBackingInfo struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* A globally unique identifier of a VM disk of type UUID. */ DiskExtId *string `json:"diskExtId,omitempty"` StorageContainer *VmDiskContainerReference `json:"storageContainer,omitempty"` }
Storage provided by Nutanix ADSF.
func NewCdRomBackingInfo ¶
func NewCdRomBackingInfo() *CdRomBackingInfo
type CdRomBusType ¶
type CdRomBusType int
Bus type for the device. The acceptable values are: IDE or SATA.
const ( CDROMBUSTYPE_UNKNOWN CdRomBusType = 0 CDROMBUSTYPE_REDACTED CdRomBusType = 1 CDROMBUSTYPE_IDE CdRomBusType = 2 CDROMBUSTYPE_SATA CdRomBusType = 3 )
func (*CdRomBusType) MarshalJSON ¶
func (e *CdRomBusType) MarshalJSON() ([]byte, error)
func (CdRomBusType) Ref ¶
func (e CdRomBusType) Ref() *CdRomBusType
func (*CdRomBusType) UnmarshalJSON ¶
func (e *CdRomBusType) UnmarshalJSON(b []byte) error
type ClusterReference ¶
type ClusterReference struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* The globally unique identifier of an instance of type UUID. */ ExtId *string `json:"extId,omitempty"` }
Reference to a cluster.
func NewClusterReference ¶
func NewClusterReference() *ClusterReference
type DisassociateCategoriesApiResponse ¶
type DisassociateCategoriesApiResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfDisassociateCategoriesApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /vmm/v4.0/esxi/config/vms/{extId}/$actions/disassociate-categories Post operation
func NewDisassociateCategoriesApiResponse ¶
func NewDisassociateCategoriesApiResponse() *DisassociateCategoriesApiResponse
func (*DisassociateCategoriesApiResponse) GetData ¶
func (p *DisassociateCategoriesApiResponse) GetData() interface{}
func (*DisassociateCategoriesApiResponse) SetData ¶
func (p *DisassociateCategoriesApiResponse) SetData(v interface{}) error
type DisassociateVmCategoriesParams ¶
type DisassociateVmCategoriesParams struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` Categories []CategoryReference `json:"categories"` }
List of categories to be disassociated from the VM.
func NewDisassociateVmCategoriesParams ¶
func NewDisassociateVmCategoriesParams() *DisassociateVmCategoriesParams
func (*DisassociateVmCategoriesParams) MarshalJSON ¶
func (p *DisassociateVmCategoriesParams) MarshalJSON() ([]byte, error)
type Disk ¶
type Disk struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` BackingInfo *VmDisk `json:"backingInfo,omitempty"` DiskAddress *DiskAddress `json:"diskAddress,omitempty"` /* A globally unique identifier of an instance that is suitable for external consumption. */ ExtId *string `json:"extId,omitempty"` /* A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource. */ Links []import3.ApiLink `json:"links,omitempty"` /* A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server). */ TenantId *string `json:"tenantId,omitempty"` }
Virtual Machine disk (VM disk).
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_SATA DiskBusType = 4 DISKBUSTYPE_NVME DiskBusType = 5 )
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 FileDetail ¶
func NewFileDetail ¶
func NewFileDetail() *FileDetail
type GetNutanixGuestToolsApiResponse ¶
type GetNutanixGuestToolsApiResponse 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 *OneOfGetNutanixGuestToolsApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /vmm/v4.0/esxi/config/vms/{extId}/nutanix-guest-tools Get operation
func NewGetNutanixGuestToolsApiResponse ¶
func NewGetNutanixGuestToolsApiResponse() *GetNutanixGuestToolsApiResponse
func (*GetNutanixGuestToolsApiResponse) GetData ¶
func (p *GetNutanixGuestToolsApiResponse) GetData() interface{}
func (*GetNutanixGuestToolsApiResponse) SetData ¶
func (p *GetNutanixGuestToolsApiResponse) SetData(v interface{}) error
type GetVmApiResponse ¶
type GetVmApiResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfGetVmApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /vmm/v4.0/esxi/config/vms/{extId} Get operation
func NewGetVmApiResponse ¶
func NewGetVmApiResponse() *GetVmApiResponse
func (*GetVmApiResponse) GetData ¶
func (p *GetVmApiResponse) GetData() interface{}
func (*GetVmApiResponse) SetData ¶
func (p *GetVmApiResponse) SetData(v interface{}) error
type HostReference ¶
type HostReference struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* The globally unique identifier of a host type UUID. */ ExtId *string `json:"extId,omitempty"` }
Reference to the host, the VM is running on.
func NewHostReference ¶
func NewHostReference() *HostReference
type InsertNutanixGuestToolsApiResponse ¶
type InsertNutanixGuestToolsApiResponse 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 *OneOfInsertNutanixGuestToolsApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /vmm/v4.0/esxi/config/vms/{extId}/nutanix-guest-tools/$actions/insert-iso Post operation
func NewInsertNutanixGuestToolsApiResponse ¶
func NewInsertNutanixGuestToolsApiResponse() *InsertNutanixGuestToolsApiResponse
func (*InsertNutanixGuestToolsApiResponse) GetData ¶
func (p *InsertNutanixGuestToolsApiResponse) GetData() interface{}
func (*InsertNutanixGuestToolsApiResponse) SetData ¶
func (p *InsertNutanixGuestToolsApiResponse) SetData(v interface{}) error
type InstallNutanixGuestToolsApiResponse ¶
type InstallNutanixGuestToolsApiResponse 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 *OneOfInstallNutanixGuestToolsApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /vmm/v4.0/esxi/config/vms/{extId}/nutanix-guest-tools/$actions/install Post operation
func NewInstallNutanixGuestToolsApiResponse ¶
func NewInstallNutanixGuestToolsApiResponse() *InstallNutanixGuestToolsApiResponse
func (*InstallNutanixGuestToolsApiResponse) GetData ¶
func (p *InstallNutanixGuestToolsApiResponse) GetData() interface{}
func (*InstallNutanixGuestToolsApiResponse) SetData ¶
func (p *InstallNutanixGuestToolsApiResponse) SetData(v interface{}) error
type IpAddressInfo ¶
type IpAddressInfo struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* IP addresses for the NIC. */ Ipv4Addresses []import4.IPv4Address `json:"ipv4Addresses,omitempty"` /* IPV6 addresses for the NIC. */ Ipv6Addresses []string `json:"ipv6Addresses,omitempty"` }
The IP address information of NIC.
func NewIpAddressInfo ¶
func NewIpAddressInfo() *IpAddressInfo
type ListVmsApiResponse ¶
type ListVmsApiResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfListVmsApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /vmm/v4.0/esxi/config/vms Get operation
func NewListVmsApiResponse ¶
func NewListVmsApiResponse() *ListVmsApiResponse
func (*ListVmsApiResponse) GetData ¶
func (p *ListVmsApiResponse) GetData() interface{}
func (*ListVmsApiResponse) SetData ¶
func (p *ListVmsApiResponse) SetData(v interface{}) error
type Nic ¶
type Nic struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` BackingInfo *NicBackingInfo `json:"backingInfo,omitempty"` /* A globally unique identifier of an instance that is suitable for external consumption. */ ExtId *string `json:"extId,omitempty"` /* A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource. */ Links []import3.ApiLink `json:"links,omitempty"` NetworkInfo *NicNetworkInfo `json:"networkInfo,omitempty"` /* A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server). */ TenantId *string `json:"tenantId,omitempty"` }
Virtual Machine NIC.
type NicBackingInfo ¶
type NicBackingInfo struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` AdapterType *AdapterType `json:"adapterType,omitempty"` /* Indicates whether the NIC is connected or not. Default is True. */ IsConnected *bool `json:"isConnected,omitempty"` /* MAC address of the NIC. */ MacAddress *string `json:"macAddress,omitempty"` }
Information about how NIC is emulated.
func NewNicBackingInfo ¶
func NewNicBackingInfo() *NicBackingInfo
type NicNetworkInfo ¶
type NicNetworkInfo struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` IpAddressInfo *IpAddressInfo `json:"ipAddressInfo,omitempty"` PortGroupInfo *PortGroupInfo `json:"portGroupInfo,omitempty"` }
Network information for a NIC.
func NewNicNetworkInfo ¶
func NewNicNetworkInfo() *NicNetworkInfo
type NutanixCredential ¶
type NutanixCredential struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* Password for the server. */ Password *string `json:"password"` /* Username for the server. */ Username *string `json:"username"` }
Sign in credentials for the server.
func NewNutanixCredential ¶
func NewNutanixCredential() *NutanixCredential
func (*NutanixCredential) MarshalJSON ¶
func (p *NutanixCredential) MarshalJSON() ([]byte, error)
type NutanixGuestTools ¶
type NutanixGuestTools 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 []NutanixGuestToolsCapability `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 NewNutanixGuestTools ¶
func NewNutanixGuestTools() *NutanixGuestTools
type NutanixGuestToolsCapability ¶
type NutanixGuestToolsCapability int
The capabilities of the Nutanix Guest Tools in the VM.
const ( NUTANIXGUESTTOOLSCAPABILITY_UNKNOWN NutanixGuestToolsCapability = 0 NUTANIXGUESTTOOLSCAPABILITY_REDACTED NutanixGuestToolsCapability = 1 NUTANIXGUESTTOOLSCAPABILITY_SELF_SERVICE_RESTORE NutanixGuestToolsCapability = 2 NUTANIXGUESTTOOLSCAPABILITY_VSS_SNAPSHOT NutanixGuestToolsCapability = 3 )
func (NutanixGuestToolsCapability) GetName ¶
func (e NutanixGuestToolsCapability) GetName() string
Returns the name of the enum
func (*NutanixGuestToolsCapability) MarshalJSON ¶
func (e *NutanixGuestToolsCapability) MarshalJSON() ([]byte, error)
func (NutanixGuestToolsCapability) Ref ¶
func (e NutanixGuestToolsCapability) Ref() *NutanixGuestToolsCapability
func (*NutanixGuestToolsCapability) UnmarshalJSON ¶
func (e *NutanixGuestToolsCapability) UnmarshalJSON(b []byte) error
type NutanixGuestToolsInsertConfig ¶
type NutanixGuestToolsInsertConfig 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 []NutanixGuestToolsCapability `json:"capabilities,omitempty"` }
Argument for inserting a Nutanix Guest Tools ISO into an available slot.
func NewNutanixGuestToolsInsertConfig ¶
func NewNutanixGuestToolsInsertConfig() *NutanixGuestToolsInsertConfig
type NutanixGuestToolsInstallConfig ¶
type NutanixGuestToolsInstallConfig 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 []NutanixGuestToolsCapability `json:"capabilities,omitempty"` Credential *NutanixCredential `json:"credential"` RebootPreference *NutanixRebootPreference `json:"rebootPreference,omitempty"` }
Arguments for installing Nutanix Guest Tools.
func NewNutanixGuestToolsInstallConfig ¶
func NewNutanixGuestToolsInstallConfig() *NutanixGuestToolsInstallConfig
func (*NutanixGuestToolsInstallConfig) MarshalJSON ¶
func (p *NutanixGuestToolsInstallConfig) MarshalJSON() ([]byte, error)
type NutanixGuestToolsUpgradeConfig ¶
type NutanixGuestToolsUpgradeConfig struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` RebootPreference *NutanixRebootPreference `json:"rebootPreference,omitempty"` }
Arguments for upgrading Nutanix Guest Tools.
func NewNutanixGuestToolsUpgradeConfig ¶
func NewNutanixGuestToolsUpgradeConfig() *NutanixGuestToolsUpgradeConfig
type NutanixRebootPreference ¶
type NutanixRebootPreference struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` Schedule *NutanixRebootPreferenceSchedule `json:"schedule,omitempty"` ScheduleType *NutanixScheduleType `json:"scheduleType,omitempty"` }
The restart schedule after installing or upgrading Nutanix Guest Tools.
func NewNutanixRebootPreference ¶
func NewNutanixRebootPreference() *NutanixRebootPreference
type NutanixRebootPreferenceSchedule ¶
type NutanixRebootPreferenceSchedule 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 NewNutanixRebootPreferenceSchedule ¶
func NewNutanixRebootPreferenceSchedule() *NutanixRebootPreferenceSchedule
type NutanixScheduleType ¶
type NutanixScheduleType int
Schedule type for restart.
const ( NUTANIXSCHEDULETYPE_UNKNOWN NutanixScheduleType = 0 NUTANIXSCHEDULETYPE_REDACTED NutanixScheduleType = 1 NUTANIXSCHEDULETYPE_SKIP NutanixScheduleType = 2 NUTANIXSCHEDULETYPE_IMMEDIATE NutanixScheduleType = 3 NUTANIXSCHEDULETYPE_LATER NutanixScheduleType = 4 )
func (NutanixScheduleType) GetName ¶
func (e NutanixScheduleType) GetName() string
Returns the name of the enum
func (*NutanixScheduleType) MarshalJSON ¶
func (e *NutanixScheduleType) MarshalJSON() ([]byte, error)
func (NutanixScheduleType) Ref ¶
func (e NutanixScheduleType) Ref() *NutanixScheduleType
func (*NutanixScheduleType) UnmarshalJSON ¶
func (e *NutanixScheduleType) UnmarshalJSON(b []byte) error
type OneOfAssignVmOwnerApiResponseData ¶
type OneOfAssignVmOwnerApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfAssignVmOwnerApiResponseData ¶
func NewOneOfAssignVmOwnerApiResponseData() *OneOfAssignVmOwnerApiResponseData
func (*OneOfAssignVmOwnerApiResponseData) GetValue ¶
func (p *OneOfAssignVmOwnerApiResponseData) GetValue() interface{}
func (*OneOfAssignVmOwnerApiResponseData) MarshalJSON ¶
func (p *OneOfAssignVmOwnerApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfAssignVmOwnerApiResponseData) SetValue ¶
func (p *OneOfAssignVmOwnerApiResponseData) SetValue(v interface{}) error
func (*OneOfAssignVmOwnerApiResponseData) UnmarshalJSON ¶
func (p *OneOfAssignVmOwnerApiResponseData) UnmarshalJSON(b []byte) error
type OneOfAssociateCategoriesApiResponseData ¶
type OneOfAssociateCategoriesApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfAssociateCategoriesApiResponseData ¶
func NewOneOfAssociateCategoriesApiResponseData() *OneOfAssociateCategoriesApiResponseData
func (*OneOfAssociateCategoriesApiResponseData) GetValue ¶
func (p *OneOfAssociateCategoriesApiResponseData) GetValue() interface{}
func (*OneOfAssociateCategoriesApiResponseData) MarshalJSON ¶
func (p *OneOfAssociateCategoriesApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfAssociateCategoriesApiResponseData) SetValue ¶
func (p *OneOfAssociateCategoriesApiResponseData) SetValue(v interface{}) error
func (*OneOfAssociateCategoriesApiResponseData) UnmarshalJSON ¶
func (p *OneOfAssociateCategoriesApiResponseData) UnmarshalJSON(b []byte) error
type OneOfDisassociateCategoriesApiResponseData ¶
type OneOfDisassociateCategoriesApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfDisassociateCategoriesApiResponseData ¶
func NewOneOfDisassociateCategoriesApiResponseData() *OneOfDisassociateCategoriesApiResponseData
func (*OneOfDisassociateCategoriesApiResponseData) GetValue ¶
func (p *OneOfDisassociateCategoriesApiResponseData) GetValue() interface{}
func (*OneOfDisassociateCategoriesApiResponseData) MarshalJSON ¶
func (p *OneOfDisassociateCategoriesApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfDisassociateCategoriesApiResponseData) SetValue ¶
func (p *OneOfDisassociateCategoriesApiResponseData) SetValue(v interface{}) error
func (*OneOfDisassociateCategoriesApiResponseData) UnmarshalJSON ¶
func (p *OneOfDisassociateCategoriesApiResponseData) UnmarshalJSON(b []byte) error
type OneOfGetNutanixGuestToolsApiResponseData ¶
type OneOfGetNutanixGuestToolsApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetNutanixGuestToolsApiResponseData ¶
func NewOneOfGetNutanixGuestToolsApiResponseData() *OneOfGetNutanixGuestToolsApiResponseData
func (*OneOfGetNutanixGuestToolsApiResponseData) GetValue ¶
func (p *OneOfGetNutanixGuestToolsApiResponseData) GetValue() interface{}
func (*OneOfGetNutanixGuestToolsApiResponseData) MarshalJSON ¶
func (p *OneOfGetNutanixGuestToolsApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetNutanixGuestToolsApiResponseData) SetValue ¶
func (p *OneOfGetNutanixGuestToolsApiResponseData) SetValue(v interface{}) error
func (*OneOfGetNutanixGuestToolsApiResponseData) UnmarshalJSON ¶
func (p *OneOfGetNutanixGuestToolsApiResponseData) UnmarshalJSON(b []byte) error
type OneOfGetVmApiResponseData ¶
type OneOfGetVmApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetVmApiResponseData ¶
func NewOneOfGetVmApiResponseData() *OneOfGetVmApiResponseData
func (*OneOfGetVmApiResponseData) GetValue ¶
func (p *OneOfGetVmApiResponseData) GetValue() interface{}
func (*OneOfGetVmApiResponseData) MarshalJSON ¶
func (p *OneOfGetVmApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetVmApiResponseData) SetValue ¶
func (p *OneOfGetVmApiResponseData) SetValue(v interface{}) error
func (*OneOfGetVmApiResponseData) UnmarshalJSON ¶
func (p *OneOfGetVmApiResponseData) UnmarshalJSON(b []byte) error
type OneOfInsertNutanixGuestToolsApiResponseData ¶
type OneOfInsertNutanixGuestToolsApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfInsertNutanixGuestToolsApiResponseData ¶
func NewOneOfInsertNutanixGuestToolsApiResponseData() *OneOfInsertNutanixGuestToolsApiResponseData
func (*OneOfInsertNutanixGuestToolsApiResponseData) GetValue ¶
func (p *OneOfInsertNutanixGuestToolsApiResponseData) GetValue() interface{}
func (*OneOfInsertNutanixGuestToolsApiResponseData) MarshalJSON ¶
func (p *OneOfInsertNutanixGuestToolsApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfInsertNutanixGuestToolsApiResponseData) SetValue ¶
func (p *OneOfInsertNutanixGuestToolsApiResponseData) SetValue(v interface{}) error
func (*OneOfInsertNutanixGuestToolsApiResponseData) UnmarshalJSON ¶
func (p *OneOfInsertNutanixGuestToolsApiResponseData) UnmarshalJSON(b []byte) error
type OneOfInstallNutanixGuestToolsApiResponseData ¶
type OneOfInstallNutanixGuestToolsApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfInstallNutanixGuestToolsApiResponseData ¶
func NewOneOfInstallNutanixGuestToolsApiResponseData() *OneOfInstallNutanixGuestToolsApiResponseData
func (*OneOfInstallNutanixGuestToolsApiResponseData) GetValue ¶
func (p *OneOfInstallNutanixGuestToolsApiResponseData) GetValue() interface{}
func (*OneOfInstallNutanixGuestToolsApiResponseData) MarshalJSON ¶
func (p *OneOfInstallNutanixGuestToolsApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfInstallNutanixGuestToolsApiResponseData) SetValue ¶
func (p *OneOfInstallNutanixGuestToolsApiResponseData) SetValue(v interface{}) error
func (*OneOfInstallNutanixGuestToolsApiResponseData) UnmarshalJSON ¶
func (p *OneOfInstallNutanixGuestToolsApiResponseData) UnmarshalJSON(b []byte) error
type OneOfListVmsApiResponseData ¶
type OneOfListVmsApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfListVmsApiResponseData ¶
func NewOneOfListVmsApiResponseData() *OneOfListVmsApiResponseData
func (*OneOfListVmsApiResponseData) GetValue ¶
func (p *OneOfListVmsApiResponseData) GetValue() interface{}
func (*OneOfListVmsApiResponseData) MarshalJSON ¶
func (p *OneOfListVmsApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfListVmsApiResponseData) SetValue ¶
func (p *OneOfListVmsApiResponseData) SetValue(v interface{}) error
func (*OneOfListVmsApiResponseData) UnmarshalJSON ¶
func (p *OneOfListVmsApiResponseData) UnmarshalJSON(b []byte) error
type OneOfPowerOffVmApiResponseData ¶
type OneOfPowerOffVmApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfPowerOffVmApiResponseData ¶
func NewOneOfPowerOffVmApiResponseData() *OneOfPowerOffVmApiResponseData
func (*OneOfPowerOffVmApiResponseData) GetValue ¶
func (p *OneOfPowerOffVmApiResponseData) GetValue() interface{}
func (*OneOfPowerOffVmApiResponseData) MarshalJSON ¶
func (p *OneOfPowerOffVmApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfPowerOffVmApiResponseData) SetValue ¶
func (p *OneOfPowerOffVmApiResponseData) SetValue(v interface{}) error
func (*OneOfPowerOffVmApiResponseData) UnmarshalJSON ¶
func (p *OneOfPowerOffVmApiResponseData) UnmarshalJSON(b []byte) error
type OneOfPowerOnVmApiResponseData ¶
type OneOfPowerOnVmApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfPowerOnVmApiResponseData ¶
func NewOneOfPowerOnVmApiResponseData() *OneOfPowerOnVmApiResponseData
func (*OneOfPowerOnVmApiResponseData) GetValue ¶
func (p *OneOfPowerOnVmApiResponseData) GetValue() interface{}
func (*OneOfPowerOnVmApiResponseData) MarshalJSON ¶
func (p *OneOfPowerOnVmApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfPowerOnVmApiResponseData) SetValue ¶
func (p *OneOfPowerOnVmApiResponseData) SetValue(v interface{}) error
func (*OneOfPowerOnVmApiResponseData) UnmarshalJSON ¶
func (p *OneOfPowerOnVmApiResponseData) UnmarshalJSON(b []byte) error
type OneOfRebootGuestOSApiResponseData ¶
type OneOfRebootGuestOSApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfRebootGuestOSApiResponseData ¶
func NewOneOfRebootGuestOSApiResponseData() *OneOfRebootGuestOSApiResponseData
func (*OneOfRebootGuestOSApiResponseData) GetValue ¶
func (p *OneOfRebootGuestOSApiResponseData) GetValue() interface{}
func (*OneOfRebootGuestOSApiResponseData) MarshalJSON ¶
func (p *OneOfRebootGuestOSApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfRebootGuestOSApiResponseData) SetValue ¶
func (p *OneOfRebootGuestOSApiResponseData) SetValue(v interface{}) error
func (*OneOfRebootGuestOSApiResponseData) UnmarshalJSON ¶
func (p *OneOfRebootGuestOSApiResponseData) UnmarshalJSON(b []byte) error
type OneOfResetVmApiResponseData ¶
type OneOfResetVmApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfResetVmApiResponseData ¶
func NewOneOfResetVmApiResponseData() *OneOfResetVmApiResponseData
func (*OneOfResetVmApiResponseData) GetValue ¶
func (p *OneOfResetVmApiResponseData) GetValue() interface{}
func (*OneOfResetVmApiResponseData) MarshalJSON ¶
func (p *OneOfResetVmApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfResetVmApiResponseData) SetValue ¶
func (p *OneOfResetVmApiResponseData) SetValue(v interface{}) error
func (*OneOfResetVmApiResponseData) UnmarshalJSON ¶
func (p *OneOfResetVmApiResponseData) UnmarshalJSON(b []byte) error
type OneOfRevertVmApiResponseData ¶
type OneOfRevertVmApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfRevertVmApiResponseData ¶
func NewOneOfRevertVmApiResponseData() *OneOfRevertVmApiResponseData
func (*OneOfRevertVmApiResponseData) GetValue ¶
func (p *OneOfRevertVmApiResponseData) GetValue() interface{}
func (*OneOfRevertVmApiResponseData) MarshalJSON ¶
func (p *OneOfRevertVmApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfRevertVmApiResponseData) SetValue ¶
func (p *OneOfRevertVmApiResponseData) SetValue(v interface{}) error
func (*OneOfRevertVmApiResponseData) UnmarshalJSON ¶
func (p *OneOfRevertVmApiResponseData) UnmarshalJSON(b []byte) error
type OneOfShutdownVmApiResponseData ¶
type OneOfShutdownVmApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfShutdownVmApiResponseData ¶
func NewOneOfShutdownVmApiResponseData() *OneOfShutdownVmApiResponseData
func (*OneOfShutdownVmApiResponseData) GetValue ¶
func (p *OneOfShutdownVmApiResponseData) GetValue() interface{}
func (*OneOfShutdownVmApiResponseData) MarshalJSON ¶
func (p *OneOfShutdownVmApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfShutdownVmApiResponseData) SetValue ¶
func (p *OneOfShutdownVmApiResponseData) SetValue(v interface{}) error
func (*OneOfShutdownVmApiResponseData) UnmarshalJSON ¶
func (p *OneOfShutdownVmApiResponseData) UnmarshalJSON(b []byte) error
type OneOfSuspendVmApiResponseData ¶
type OneOfSuspendVmApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfSuspendVmApiResponseData ¶
func NewOneOfSuspendVmApiResponseData() *OneOfSuspendVmApiResponseData
func (*OneOfSuspendVmApiResponseData) GetValue ¶
func (p *OneOfSuspendVmApiResponseData) GetValue() interface{}
func (*OneOfSuspendVmApiResponseData) MarshalJSON ¶
func (p *OneOfSuspendVmApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfSuspendVmApiResponseData) SetValue ¶
func (p *OneOfSuspendVmApiResponseData) SetValue(v interface{}) error
func (*OneOfSuspendVmApiResponseData) UnmarshalJSON ¶
func (p *OneOfSuspendVmApiResponseData) UnmarshalJSON(b []byte) error
type OneOfUninstallNutanixGuestToolsApiResponseData ¶
type OneOfUninstallNutanixGuestToolsApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfUninstallNutanixGuestToolsApiResponseData ¶
func NewOneOfUninstallNutanixGuestToolsApiResponseData() *OneOfUninstallNutanixGuestToolsApiResponseData
func (*OneOfUninstallNutanixGuestToolsApiResponseData) GetValue ¶
func (p *OneOfUninstallNutanixGuestToolsApiResponseData) GetValue() interface{}
func (*OneOfUninstallNutanixGuestToolsApiResponseData) MarshalJSON ¶
func (p *OneOfUninstallNutanixGuestToolsApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfUninstallNutanixGuestToolsApiResponseData) SetValue ¶
func (p *OneOfUninstallNutanixGuestToolsApiResponseData) SetValue(v interface{}) error
func (*OneOfUninstallNutanixGuestToolsApiResponseData) UnmarshalJSON ¶
func (p *OneOfUninstallNutanixGuestToolsApiResponseData) UnmarshalJSON(b []byte) error
type OneOfUpdateNutanixGuestToolsApiResponseData ¶
type OneOfUpdateNutanixGuestToolsApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfUpdateNutanixGuestToolsApiResponseData ¶
func NewOneOfUpdateNutanixGuestToolsApiResponseData() *OneOfUpdateNutanixGuestToolsApiResponseData
func (*OneOfUpdateNutanixGuestToolsApiResponseData) GetValue ¶
func (p *OneOfUpdateNutanixGuestToolsApiResponseData) GetValue() interface{}
func (*OneOfUpdateNutanixGuestToolsApiResponseData) MarshalJSON ¶
func (p *OneOfUpdateNutanixGuestToolsApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfUpdateNutanixGuestToolsApiResponseData) SetValue ¶
func (p *OneOfUpdateNutanixGuestToolsApiResponseData) SetValue(v interface{}) error
func (*OneOfUpdateNutanixGuestToolsApiResponseData) UnmarshalJSON ¶
func (p *OneOfUpdateNutanixGuestToolsApiResponseData) UnmarshalJSON(b []byte) error
type OneOfUpgradeNutanixGuestToolsApiResponseData ¶
type OneOfUpgradeNutanixGuestToolsApiResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfUpgradeNutanixGuestToolsApiResponseData ¶
func NewOneOfUpgradeNutanixGuestToolsApiResponseData() *OneOfUpgradeNutanixGuestToolsApiResponseData
func (*OneOfUpgradeNutanixGuestToolsApiResponseData) GetValue ¶
func (p *OneOfUpgradeNutanixGuestToolsApiResponseData) GetValue() interface{}
func (*OneOfUpgradeNutanixGuestToolsApiResponseData) MarshalJSON ¶
func (p *OneOfUpgradeNutanixGuestToolsApiResponseData) MarshalJSON() ([]byte, error)
func (*OneOfUpgradeNutanixGuestToolsApiResponseData) SetValue ¶
func (p *OneOfUpgradeNutanixGuestToolsApiResponseData) SetValue(v interface{}) error
func (*OneOfUpgradeNutanixGuestToolsApiResponseData) UnmarshalJSON ¶
func (p *OneOfUpgradeNutanixGuestToolsApiResponseData) 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"` EntityType *OwnerReferenceEntityType `json:"entityType,omitempty"` /* The globally unique identifier of an instance of type UUID. */ ExtId *string `json:"extId,omitempty"` }
Owner reference.
func NewOwnerReference ¶
func NewOwnerReference() *OwnerReference
type OwnerReferenceEntityType ¶
type OwnerReferenceEntityType int
Type of the entity that the owner reference is pointing to.
const ( OWNERREFERENCEENTITYTYPE_UNKNOWN OwnerReferenceEntityType = 0 OWNERREFERENCEENTITYTYPE_REDACTED OwnerReferenceEntityType = 1 OWNERREFERENCEENTITYTYPE_USER OwnerReferenceEntityType = 2 )
func (OwnerReferenceEntityType) GetName ¶
func (e OwnerReferenceEntityType) GetName() string
Returns the name of the enum
func (*OwnerReferenceEntityType) MarshalJSON ¶
func (e *OwnerReferenceEntityType) MarshalJSON() ([]byte, error)
func (OwnerReferenceEntityType) Ref ¶
func (e OwnerReferenceEntityType) Ref() *OwnerReferenceEntityType
func (*OwnerReferenceEntityType) UnmarshalJSON ¶
func (e *OwnerReferenceEntityType) UnmarshalJSON(b []byte) error
type OwnershipInfo ¶
type OwnershipInfo struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` Owner *OwnerReference `json:"owner"` }
Ownership information for the VM.
func NewOwnershipInfo ¶
func NewOwnershipInfo() *OwnershipInfo
func (*OwnershipInfo) MarshalJSON ¶
func (p *OwnershipInfo) MarshalJSON() ([]byte, error)
type PortGroupInfo ¶
type PortGroupInfo struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* Name of the Port Group. */ Name *string `json:"name,omitempty"` }
Information about the virtual network in the datacenter.
func NewPortGroupInfo ¶
func NewPortGroupInfo() *PortGroupInfo
type PowerOffVmApiResponse ¶
type PowerOffVmApiResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfPowerOffVmApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /vmm/v4.0/esxi/config/vms/{extId}/$actions/power-off Post operation
func NewPowerOffVmApiResponse ¶
func NewPowerOffVmApiResponse() *PowerOffVmApiResponse
func (*PowerOffVmApiResponse) GetData ¶
func (p *PowerOffVmApiResponse) GetData() interface{}
func (*PowerOffVmApiResponse) SetData ¶
func (p *PowerOffVmApiResponse) SetData(v interface{}) error
type PowerOnVmApiResponse ¶
type PowerOnVmApiResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfPowerOnVmApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /vmm/v4.0/esxi/config/vms/{extId}/$actions/power-on Post operation
func NewPowerOnVmApiResponse ¶
func NewPowerOnVmApiResponse() *PowerOnVmApiResponse
func (*PowerOnVmApiResponse) GetData ¶
func (p *PowerOnVmApiResponse) GetData() interface{}
func (*PowerOnVmApiResponse) SetData ¶
func (p *PowerOnVmApiResponse) SetData(v interface{}) error
type PowerState ¶
type PowerState int
The current power state of the VM.
const ( POWERSTATE_UNKNOWN PowerState = 0 POWERSTATE_REDACTED PowerState = 1 POWERSTATE_ON PowerState = 2 POWERSTATE_OFF PowerState = 3 POWERSTATE_SUSPENDED 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 RebootGuestOSApiResponse ¶
type RebootGuestOSApiResponse 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 *OneOfRebootGuestOSApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /vmm/v4.0/esxi/config/vms/{extId}/$actions/guest-reboot Post operation
func NewRebootGuestOSApiResponse ¶
func NewRebootGuestOSApiResponse() *RebootGuestOSApiResponse
func (*RebootGuestOSApiResponse) GetData ¶
func (p *RebootGuestOSApiResponse) GetData() interface{}
func (*RebootGuestOSApiResponse) SetData ¶
func (p *RebootGuestOSApiResponse) SetData(v interface{}) error
type ResetVmApiResponse ¶
type ResetVmApiResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfResetVmApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /vmm/v4.0/esxi/config/vms/{extId}/$actions/reset Post operation
func NewResetVmApiResponse ¶
func NewResetVmApiResponse() *ResetVmApiResponse
func (*ResetVmApiResponse) GetData ¶
func (p *ResetVmApiResponse) GetData() interface{}
func (*ResetVmApiResponse) SetData ¶
func (p *ResetVmApiResponse) SetData(v interface{}) error
type RevertParams ¶
type RevertParams struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* The external identifier of the VM Recovery Point. */ VmRecoveryPointExtId *string `json:"vmRecoveryPointExtId"` }
Input for the VM revert operation. Specify the VM Recovery Point ID to which the VM would be reverted.
func NewRevertParams ¶
func NewRevertParams() *RevertParams
func (*RevertParams) MarshalJSON ¶
func (p *RevertParams) MarshalJSON() ([]byte, error)
type RevertVmApiResponse ¶
type RevertVmApiResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfRevertVmApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /vmm/v4.0/esxi/config/vms/{extId}/$actions/revert Post operation
func NewRevertVmApiResponse ¶
func NewRevertVmApiResponse() *RevertVmApiResponse
func (*RevertVmApiResponse) GetData ¶
func (p *RevertVmApiResponse) GetData() interface{}
func (*RevertVmApiResponse) SetData ¶
func (p *RevertVmApiResponse) SetData(v interface{}) error
type ShutdownVmApiResponse ¶
type ShutdownVmApiResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfShutdownVmApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /vmm/v4.0/esxi/config/vms/{extId}/$actions/guest-shutdown Post operation
func NewShutdownVmApiResponse ¶
func NewShutdownVmApiResponse() *ShutdownVmApiResponse
func (*ShutdownVmApiResponse) GetData ¶
func (p *ShutdownVmApiResponse) GetData() interface{}
func (*ShutdownVmApiResponse) SetData ¶
func (p *ShutdownVmApiResponse) SetData(v interface{}) error
type SuspendVmApiResponse ¶
type SuspendVmApiResponse 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 *OneOfSuspendVmApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /vmm/v4.0/esxi/config/vms/{extId}/$actions/suspend Post operation
func NewSuspendVmApiResponse ¶
func NewSuspendVmApiResponse() *SuspendVmApiResponse
func (*SuspendVmApiResponse) GetData ¶
func (p *SuspendVmApiResponse) GetData() interface{}
func (*SuspendVmApiResponse) SetData ¶
func (p *SuspendVmApiResponse) SetData(v interface{}) error
type UninstallNutanixGuestToolsApiResponse ¶
type UninstallNutanixGuestToolsApiResponse 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 *OneOfUninstallNutanixGuestToolsApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /vmm/v4.0/esxi/config/vms/{extId}/nutanix-guest-tools/$actions/uninstall Post operation
func NewUninstallNutanixGuestToolsApiResponse ¶
func NewUninstallNutanixGuestToolsApiResponse() *UninstallNutanixGuestToolsApiResponse
func (*UninstallNutanixGuestToolsApiResponse) GetData ¶
func (p *UninstallNutanixGuestToolsApiResponse) GetData() interface{}
func (*UninstallNutanixGuestToolsApiResponse) SetData ¶
func (p *UninstallNutanixGuestToolsApiResponse) SetData(v interface{}) error
type UpdateNutanixGuestToolsApiResponse ¶
type UpdateNutanixGuestToolsApiResponse 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 *OneOfUpdateNutanixGuestToolsApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /vmm/v4.0/esxi/config/vms/{extId}/nutanix-guest-tools Put operation
func NewUpdateNutanixGuestToolsApiResponse ¶
func NewUpdateNutanixGuestToolsApiResponse() *UpdateNutanixGuestToolsApiResponse
func (*UpdateNutanixGuestToolsApiResponse) GetData ¶
func (p *UpdateNutanixGuestToolsApiResponse) GetData() interface{}
func (*UpdateNutanixGuestToolsApiResponse) SetData ¶
func (p *UpdateNutanixGuestToolsApiResponse) SetData(v interface{}) error
type UpgradeNutanixGuestToolsApiResponse ¶
type UpgradeNutanixGuestToolsApiResponse 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 *OneOfUpgradeNutanixGuestToolsApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /vmm/v4.0/esxi/config/vms/{extId}/nutanix-guest-tools/$actions/upgrade Post operation
func NewUpgradeNutanixGuestToolsApiResponse ¶
func NewUpgradeNutanixGuestToolsApiResponse() *UpgradeNutanixGuestToolsApiResponse
func (*UpgradeNutanixGuestToolsApiResponse) GetData ¶
func (p *UpgradeNutanixGuestToolsApiResponse) GetData() interface{}
func (*UpgradeNutanixGuestToolsApiResponse) SetData ¶
func (p *UpgradeNutanixGuestToolsApiResponse) SetData(v interface{}) error
type Vm ¶
type Vm struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* 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 description. */ Description *string `json:"description,omitempty"` /* Disks attached to the VM. */ Disks []Disk `json:"disks,omitempty"` /* A globally unique identifier of an instance that is suitable for external consumption. */ ExtId *string `json:"extId,omitempty"` /* Name of the guest OS. */ GuestOsName *string `json:"guestOsName,omitempty"` Host *HostReference `json:"host,omitempty"` /* A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource. */ Links []import3.ApiLink `json:"links,omitempty"` /* 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 *int64 `json:"numCoresPerSocket,omitempty"` /* Number of vCPUs. */ NumCpus *int64 `json:"numCpus,omitempty"` NutanixGuestTools *NutanixGuestTools `json:"nutanixGuestTools,omitempty"` OwnershipInfo *OwnershipInfo `json:"ownershipInfo,omitempty"` PowerState *PowerState `json:"powerState,omitempty"` /* A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server). */ TenantId *string `json:"tenantId,omitempty"` /* Virtual hardware version of the VM. */ VirtualHardwareVersion *int64 `json:"virtualHardwareVersion,omitempty"` }
VM configuration.
type VmDisk ¶
type VmDisk struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,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"` /* A globally unique identifier of a VM disk container. It should be of type UUID. */ ExtId *string `json:"extId,omitempty"` }
This reference is for disk level storage container preference. This preference specifies the storage container to which this disk belongs.
func NewVmDiskContainerReference ¶
func NewVmDiskContainerReference() *VmDiskContainerReference
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