Documentation
¶
Overview ¶
Module vmm.v4.esxi.config of Nutanix VMM APIs
Index ¶
- type AssignVmOwnerApiResponse
- type AssociateCategoriesApiResponse
- type AssociateVmCategoriesParams
- type CategoryReference
- type ClusterReference
- type DisassociateCategoriesApiResponse
- type DisassociateVmCategoriesParams
- type FileDetail
- type GetNutanixGuestToolsApiResponse
- type GetVmApiResponse
- type HostReference
- type InsertNutanixGuestToolsApiResponse
- type InstallNutanixGuestToolsApiResponse
- type ListVmsApiResponse
- 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 OneOfRevertVmApiResponseData
- 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 PowerState
- type RevertParams
- type RevertVmApiResponse
- type UninstallNutanixGuestToolsApiResponse
- type UpdateNutanixGuestToolsApiResponse
- type UpgradeNutanixGuestToolsApiResponse
- type Vm
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssignVmOwnerApiResponse ¶
type AssignVmOwnerApiResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfAssignVmOwnerApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /vmm/v4.0.b1/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.b1/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,omitempty"` }
List of categories to be associated to the VM.
func NewAssociateVmCategoriesParams ¶
func NewAssociateVmCategoriesParams() *AssociateVmCategoriesParams
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. It should be of type UUID. */ ExtId *string `json:"extId,omitempty"` }
Reference to a category.
func NewCategoryReference ¶
func NewCategoryReference() *CategoryReference
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. It should be 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.b1/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,omitempty"` }
List of categories to be disassociated from the VM.
func NewDisassociateVmCategoriesParams ¶
func NewDisassociateVmCategoriesParams() *DisassociateVmCategoriesParams
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.b1/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.b1/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. 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 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.b1/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.b1/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 ListVmsApiResponse ¶
type ListVmsApiResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfListVmsApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /vmm/v4.0.b1/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 NutanixCredential ¶
type NutanixCredential 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 NewNutanixCredential ¶
func NewNutanixCredential() *NutanixCredential
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,omitempty"` RebootPreference *NutanixRebootPreference `json:"rebootPreference,omitempty"` }
Arguments for installing Nutanix Guest Tools.
func NewNutanixGuestToolsInstallConfig ¶
func NewNutanixGuestToolsInstallConfig() *NutanixGuestToolsInstallConfig
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 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 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. It should be of type UUID. */ ExtId *string `json:"extId,omitempty"` }
Owner reference.
func NewOwnerReference ¶
func NewOwnerReference() *OwnerReference
type OwnerReferenceEntityType ¶
type OwnerReferenceEntityType int
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,omitempty"` }
Ownership information for the VM.
func NewOwnershipInfo ¶
func NewOwnershipInfo() *OwnershipInfo
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 RevertParams ¶
type RevertParams struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* The external identifier of the VM Recovery Point. */ VmRecoveryPointExtId *string `json:"vmRecoveryPointExtId"` }
Input for the VM revert operation. Specify the VM Recovery Point ID to which the VM would be reverted.
func NewRevertParams ¶
func NewRevertParams() *RevertParams
func (*RevertParams) MarshalJSON ¶
func (p *RevertParams) MarshalJSON() ([]byte, error)
type RevertVmApiResponse ¶
type RevertVmApiResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfRevertVmApiResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /vmm/v4.0.b1/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 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.b1/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.b1/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.b1/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"` Cluster *ClusterReference `json:"cluster,omitempty"` /* VM description. */ Description *string `json:"description,omitempty"` /* A globally unique identifier of an instance that is suitable for external consumption. */ ExtId *string `json:"extId,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"` /* VM name. */ Name *string `json:"name,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"` }
VM configuration.