Documentation
¶
Overview ¶
Module vmm.v4.esxi.config of Nutanix Vmm Versioned APIs
Index ¶
- type AssignVmOwnerResponse
- type AssociateVmCategoriesParams
- type AssociateVmCategoriesResponse
- type CategoryReference
- type ClusterReference
- type DisassociateVmCategoriesParams
- type DisassociateVmCategoriesResponse
- type GetNutanixGuestToolsResponse
- type GetVmResponse
- type HostReference
- type InsertNutanixVmGuestToolsResponse
- type InstallNutanixVmGuestToolsResponse
- type ListVmsResponse
- type NutanixCredential
- type NutanixGuestTools
- type NutanixGuestToolsCapability
- type NutanixGuestToolsInsertConfig
- type NutanixGuestToolsInstallConfig
- type NutanixGuestToolsUpgradeConfig
- type NutanixRebootPreference
- type NutanixRebootPreferenceSchedule
- type NutanixScheduleType
- type OneOfAssignVmOwnerResponseData
- type OneOfAssociateVmCategoriesResponseData
- func (p *OneOfAssociateVmCategoriesResponseData) GetValue() interface{}
- func (p *OneOfAssociateVmCategoriesResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfAssociateVmCategoriesResponseData) SetValue(v interface{}) error
- func (p *OneOfAssociateVmCategoriesResponseData) UnmarshalJSON(b []byte) error
- type OneOfDisassociateVmCategoriesResponseData
- func (p *OneOfDisassociateVmCategoriesResponseData) GetValue() interface{}
- func (p *OneOfDisassociateVmCategoriesResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfDisassociateVmCategoriesResponseData) SetValue(v interface{}) error
- func (p *OneOfDisassociateVmCategoriesResponseData) UnmarshalJSON(b []byte) error
- type OneOfGetNutanixGuestToolsResponseData
- func (p *OneOfGetNutanixGuestToolsResponseData) GetValue() interface{}
- func (p *OneOfGetNutanixGuestToolsResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfGetNutanixGuestToolsResponseData) SetValue(v interface{}) error
- func (p *OneOfGetNutanixGuestToolsResponseData) UnmarshalJSON(b []byte) error
- type OneOfGetVmResponseData
- type OneOfInsertNutanixVmGuestToolsResponseData
- func (p *OneOfInsertNutanixVmGuestToolsResponseData) GetValue() interface{}
- func (p *OneOfInsertNutanixVmGuestToolsResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfInsertNutanixVmGuestToolsResponseData) SetValue(v interface{}) error
- func (p *OneOfInsertNutanixVmGuestToolsResponseData) UnmarshalJSON(b []byte) error
- type OneOfInstallNutanixVmGuestToolsResponseData
- func (p *OneOfInstallNutanixVmGuestToolsResponseData) GetValue() interface{}
- func (p *OneOfInstallNutanixVmGuestToolsResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfInstallNutanixVmGuestToolsResponseData) SetValue(v interface{}) error
- func (p *OneOfInstallNutanixVmGuestToolsResponseData) UnmarshalJSON(b []byte) error
- type OneOfListVmsResponseData
- type OneOfUninstallNutanixVmGuestToolsResponseData
- func (p *OneOfUninstallNutanixVmGuestToolsResponseData) GetValue() interface{}
- func (p *OneOfUninstallNutanixVmGuestToolsResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfUninstallNutanixVmGuestToolsResponseData) SetValue(v interface{}) error
- func (p *OneOfUninstallNutanixVmGuestToolsResponseData) UnmarshalJSON(b []byte) error
- type OneOfUpdateNutanixGuestToolsResponseData
- func (p *OneOfUpdateNutanixGuestToolsResponseData) GetValue() interface{}
- func (p *OneOfUpdateNutanixGuestToolsResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfUpdateNutanixGuestToolsResponseData) SetValue(v interface{}) error
- func (p *OneOfUpdateNutanixGuestToolsResponseData) UnmarshalJSON(b []byte) error
- type OneOfUpgradeNutanixVmGuestToolsResponseData
- func (p *OneOfUpgradeNutanixVmGuestToolsResponseData) GetValue() interface{}
- func (p *OneOfUpgradeNutanixVmGuestToolsResponseData) MarshalJSON() ([]byte, error)
- func (p *OneOfUpgradeNutanixVmGuestToolsResponseData) SetValue(v interface{}) error
- func (p *OneOfUpgradeNutanixVmGuestToolsResponseData) UnmarshalJSON(b []byte) error
- type OwnerReference
- type OwnerReferenceEntityType
- type OwnershipInfo
- type UninstallNutanixVmGuestToolsResponse
- type UpdateNutanixGuestToolsResponse
- type UpgradeNutanixVmGuestToolsResponse
- type Vm
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssignVmOwnerResponse ¶
type AssignVmOwnerResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfAssignVmOwnerResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /vmm/v4.0.a1/esxi/config/vms/{extId}/$actions/assign-owner Post operation
func NewAssignVmOwnerResponse ¶
func NewAssignVmOwnerResponse() *AssignVmOwnerResponse
func (*AssignVmOwnerResponse) GetData ¶
func (p *AssignVmOwnerResponse) GetData() interface{}
func (*AssignVmOwnerResponse) SetData ¶
func (p *AssignVmOwnerResponse) SetData(v interface{}) error
type AssociateVmCategoriesParams ¶
type AssociateVmCategoriesParams struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` Categories []CategoryReference `json:"categories,omitempty"` }
List of categories to be associated to the VM.
func NewAssociateVmCategoriesParams ¶
func NewAssociateVmCategoriesParams() *AssociateVmCategoriesParams
type AssociateVmCategoriesResponse ¶
type AssociateVmCategoriesResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfAssociateVmCategoriesResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /vmm/v4.0.a1/esxi/config/vms/{extId}/$actions/associate-categories Post operation
func NewAssociateVmCategoriesResponse ¶
func NewAssociateVmCategoriesResponse() *AssociateVmCategoriesResponse
func (*AssociateVmCategoriesResponse) GetData ¶
func (p *AssociateVmCategoriesResponse) GetData() interface{}
func (*AssociateVmCategoriesResponse) SetData ¶
func (p *AssociateVmCategoriesResponse) SetData(v interface{}) error
type CategoryReference ¶
type CategoryReference struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* Globally unique identifier of 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"` /* 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 DisassociateVmCategoriesParams ¶
type DisassociateVmCategoriesParams struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` Categories []CategoryReference `json:"categories,omitempty"` }
List of categories to be disassociated from the VM.
func NewDisassociateVmCategoriesParams ¶
func NewDisassociateVmCategoriesParams() *DisassociateVmCategoriesParams
type DisassociateVmCategoriesResponse ¶
type DisassociateVmCategoriesResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfDisassociateVmCategoriesResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /vmm/v4.0.a1/esxi/config/vms/{extId}/$actions/disassociate-categories Post operation
func NewDisassociateVmCategoriesResponse ¶
func NewDisassociateVmCategoriesResponse() *DisassociateVmCategoriesResponse
func (*DisassociateVmCategoriesResponse) GetData ¶
func (p *DisassociateVmCategoriesResponse) GetData() interface{}
func (*DisassociateVmCategoriesResponse) SetData ¶
func (p *DisassociateVmCategoriesResponse) SetData(v interface{}) error
type GetNutanixGuestToolsResponse ¶
type GetNutanixGuestToolsResponse 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 *OneOfGetNutanixGuestToolsResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /vmm/v4.0.a1/esxi/config/vms/{extId}/nutanix-guest-tools Get operation
func NewGetNutanixGuestToolsResponse ¶
func NewGetNutanixGuestToolsResponse() *GetNutanixGuestToolsResponse
func (*GetNutanixGuestToolsResponse) GetData ¶
func (p *GetNutanixGuestToolsResponse) GetData() interface{}
func (*GetNutanixGuestToolsResponse) SetData ¶
func (p *GetNutanixGuestToolsResponse) SetData(v interface{}) error
type GetVmResponse ¶
type GetVmResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfGetVmResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /vmm/v4.0.a1/esxi/config/vms/{extId} Get operation
func NewGetVmResponse ¶
func NewGetVmResponse() *GetVmResponse
func (*GetVmResponse) GetData ¶
func (p *GetVmResponse) GetData() interface{}
func (*GetVmResponse) SetData ¶
func (p *GetVmResponse) SetData(v interface{}) error
type HostReference ¶
type HostReference struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* Globally unique identifier of a host. It should be of type UUID. */ ExtId *string `json:"extId,omitempty"` }
Reference to the host, the VM is running on.
func NewHostReference ¶
func NewHostReference() *HostReference
type InsertNutanixVmGuestToolsResponse ¶
type InsertNutanixVmGuestToolsResponse 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 *OneOfInsertNutanixVmGuestToolsResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /vmm/v4.0.a1/esxi/config/vms/{extId}/nutanix-guest-tools/$actions/insert-iso Post operation
func NewInsertNutanixVmGuestToolsResponse ¶
func NewInsertNutanixVmGuestToolsResponse() *InsertNutanixVmGuestToolsResponse
func (*InsertNutanixVmGuestToolsResponse) GetData ¶
func (p *InsertNutanixVmGuestToolsResponse) GetData() interface{}
func (*InsertNutanixVmGuestToolsResponse) SetData ¶
func (p *InsertNutanixVmGuestToolsResponse) SetData(v interface{}) error
type InstallNutanixVmGuestToolsResponse ¶
type InstallNutanixVmGuestToolsResponse 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 *OneOfInstallNutanixVmGuestToolsResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /vmm/v4.0.a1/esxi/config/vms/{extId}/nutanix-guest-tools/$actions/install Post operation
func NewInstallNutanixVmGuestToolsResponse ¶
func NewInstallNutanixVmGuestToolsResponse() *InstallNutanixVmGuestToolsResponse
func (*InstallNutanixVmGuestToolsResponse) GetData ¶
func (p *InstallNutanixVmGuestToolsResponse) GetData() interface{}
func (*InstallNutanixVmGuestToolsResponse) SetData ¶
func (p *InstallNutanixVmGuestToolsResponse) SetData(v interface{}) error
type ListVmsResponse ¶
type ListVmsResponse struct { ObjectType_ *string `json:"$objectType,omitempty"` Reserved_ map[string]interface{} `json:"$reserved,omitempty"` UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"` /* */ DataItemDiscriminator_ *string `json:"$dataItemDiscriminator,omitempty"` Data *OneOfListVmsResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /vmm/v4.0.a1/esxi/config/vms Get operation
func NewListVmsResponse ¶
func NewListVmsResponse() *ListVmsResponse
func (*ListVmsResponse) GetData ¶
func (p *ListVmsResponse) GetData() interface{}
func (*ListVmsResponse) SetData ¶
func (p *ListVmsResponse) SetData(v interface{}) error
type 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 OneOfAssignVmOwnerResponseData ¶
type OneOfAssignVmOwnerResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfAssignVmOwnerResponseData ¶
func NewOneOfAssignVmOwnerResponseData() *OneOfAssignVmOwnerResponseData
func (*OneOfAssignVmOwnerResponseData) GetValue ¶
func (p *OneOfAssignVmOwnerResponseData) GetValue() interface{}
func (*OneOfAssignVmOwnerResponseData) MarshalJSON ¶
func (p *OneOfAssignVmOwnerResponseData) MarshalJSON() ([]byte, error)
func (*OneOfAssignVmOwnerResponseData) SetValue ¶
func (p *OneOfAssignVmOwnerResponseData) SetValue(v interface{}) error
func (*OneOfAssignVmOwnerResponseData) UnmarshalJSON ¶
func (p *OneOfAssignVmOwnerResponseData) UnmarshalJSON(b []byte) error
type OneOfAssociateVmCategoriesResponseData ¶
type OneOfAssociateVmCategoriesResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfAssociateVmCategoriesResponseData ¶
func NewOneOfAssociateVmCategoriesResponseData() *OneOfAssociateVmCategoriesResponseData
func (*OneOfAssociateVmCategoriesResponseData) GetValue ¶
func (p *OneOfAssociateVmCategoriesResponseData) GetValue() interface{}
func (*OneOfAssociateVmCategoriesResponseData) MarshalJSON ¶
func (p *OneOfAssociateVmCategoriesResponseData) MarshalJSON() ([]byte, error)
func (*OneOfAssociateVmCategoriesResponseData) SetValue ¶
func (p *OneOfAssociateVmCategoriesResponseData) SetValue(v interface{}) error
func (*OneOfAssociateVmCategoriesResponseData) UnmarshalJSON ¶
func (p *OneOfAssociateVmCategoriesResponseData) UnmarshalJSON(b []byte) error
type OneOfDisassociateVmCategoriesResponseData ¶
type OneOfDisassociateVmCategoriesResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfDisassociateVmCategoriesResponseData ¶
func NewOneOfDisassociateVmCategoriesResponseData() *OneOfDisassociateVmCategoriesResponseData
func (*OneOfDisassociateVmCategoriesResponseData) GetValue ¶
func (p *OneOfDisassociateVmCategoriesResponseData) GetValue() interface{}
func (*OneOfDisassociateVmCategoriesResponseData) MarshalJSON ¶
func (p *OneOfDisassociateVmCategoriesResponseData) MarshalJSON() ([]byte, error)
func (*OneOfDisassociateVmCategoriesResponseData) SetValue ¶
func (p *OneOfDisassociateVmCategoriesResponseData) SetValue(v interface{}) error
func (*OneOfDisassociateVmCategoriesResponseData) UnmarshalJSON ¶
func (p *OneOfDisassociateVmCategoriesResponseData) UnmarshalJSON(b []byte) error
type OneOfGetNutanixGuestToolsResponseData ¶
type OneOfGetNutanixGuestToolsResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetNutanixGuestToolsResponseData ¶
func NewOneOfGetNutanixGuestToolsResponseData() *OneOfGetNutanixGuestToolsResponseData
func (*OneOfGetNutanixGuestToolsResponseData) GetValue ¶
func (p *OneOfGetNutanixGuestToolsResponseData) GetValue() interface{}
func (*OneOfGetNutanixGuestToolsResponseData) MarshalJSON ¶
func (p *OneOfGetNutanixGuestToolsResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetNutanixGuestToolsResponseData) SetValue ¶
func (p *OneOfGetNutanixGuestToolsResponseData) SetValue(v interface{}) error
func (*OneOfGetNutanixGuestToolsResponseData) UnmarshalJSON ¶
func (p *OneOfGetNutanixGuestToolsResponseData) UnmarshalJSON(b []byte) error
type OneOfGetVmResponseData ¶
type OneOfGetVmResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfGetVmResponseData ¶
func NewOneOfGetVmResponseData() *OneOfGetVmResponseData
func (*OneOfGetVmResponseData) GetValue ¶
func (p *OneOfGetVmResponseData) GetValue() interface{}
func (*OneOfGetVmResponseData) MarshalJSON ¶
func (p *OneOfGetVmResponseData) MarshalJSON() ([]byte, error)
func (*OneOfGetVmResponseData) SetValue ¶
func (p *OneOfGetVmResponseData) SetValue(v interface{}) error
func (*OneOfGetVmResponseData) UnmarshalJSON ¶
func (p *OneOfGetVmResponseData) UnmarshalJSON(b []byte) error
type OneOfInsertNutanixVmGuestToolsResponseData ¶
type OneOfInsertNutanixVmGuestToolsResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfInsertNutanixVmGuestToolsResponseData ¶
func NewOneOfInsertNutanixVmGuestToolsResponseData() *OneOfInsertNutanixVmGuestToolsResponseData
func (*OneOfInsertNutanixVmGuestToolsResponseData) GetValue ¶
func (p *OneOfInsertNutanixVmGuestToolsResponseData) GetValue() interface{}
func (*OneOfInsertNutanixVmGuestToolsResponseData) MarshalJSON ¶
func (p *OneOfInsertNutanixVmGuestToolsResponseData) MarshalJSON() ([]byte, error)
func (*OneOfInsertNutanixVmGuestToolsResponseData) SetValue ¶
func (p *OneOfInsertNutanixVmGuestToolsResponseData) SetValue(v interface{}) error
func (*OneOfInsertNutanixVmGuestToolsResponseData) UnmarshalJSON ¶
func (p *OneOfInsertNutanixVmGuestToolsResponseData) UnmarshalJSON(b []byte) error
type OneOfInstallNutanixVmGuestToolsResponseData ¶
type OneOfInstallNutanixVmGuestToolsResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfInstallNutanixVmGuestToolsResponseData ¶
func NewOneOfInstallNutanixVmGuestToolsResponseData() *OneOfInstallNutanixVmGuestToolsResponseData
func (*OneOfInstallNutanixVmGuestToolsResponseData) GetValue ¶
func (p *OneOfInstallNutanixVmGuestToolsResponseData) GetValue() interface{}
func (*OneOfInstallNutanixVmGuestToolsResponseData) MarshalJSON ¶
func (p *OneOfInstallNutanixVmGuestToolsResponseData) MarshalJSON() ([]byte, error)
func (*OneOfInstallNutanixVmGuestToolsResponseData) SetValue ¶
func (p *OneOfInstallNutanixVmGuestToolsResponseData) SetValue(v interface{}) error
func (*OneOfInstallNutanixVmGuestToolsResponseData) UnmarshalJSON ¶
func (p *OneOfInstallNutanixVmGuestToolsResponseData) UnmarshalJSON(b []byte) error
type OneOfListVmsResponseData ¶
type OneOfListVmsResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfListVmsResponseData ¶
func NewOneOfListVmsResponseData() *OneOfListVmsResponseData
func (*OneOfListVmsResponseData) GetValue ¶
func (p *OneOfListVmsResponseData) GetValue() interface{}
func (*OneOfListVmsResponseData) MarshalJSON ¶
func (p *OneOfListVmsResponseData) MarshalJSON() ([]byte, error)
func (*OneOfListVmsResponseData) SetValue ¶
func (p *OneOfListVmsResponseData) SetValue(v interface{}) error
func (*OneOfListVmsResponseData) UnmarshalJSON ¶
func (p *OneOfListVmsResponseData) UnmarshalJSON(b []byte) error
type OneOfUninstallNutanixVmGuestToolsResponseData ¶
type OneOfUninstallNutanixVmGuestToolsResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfUninstallNutanixVmGuestToolsResponseData ¶
func NewOneOfUninstallNutanixVmGuestToolsResponseData() *OneOfUninstallNutanixVmGuestToolsResponseData
func (*OneOfUninstallNutanixVmGuestToolsResponseData) GetValue ¶
func (p *OneOfUninstallNutanixVmGuestToolsResponseData) GetValue() interface{}
func (*OneOfUninstallNutanixVmGuestToolsResponseData) MarshalJSON ¶
func (p *OneOfUninstallNutanixVmGuestToolsResponseData) MarshalJSON() ([]byte, error)
func (*OneOfUninstallNutanixVmGuestToolsResponseData) SetValue ¶
func (p *OneOfUninstallNutanixVmGuestToolsResponseData) SetValue(v interface{}) error
func (*OneOfUninstallNutanixVmGuestToolsResponseData) UnmarshalJSON ¶
func (p *OneOfUninstallNutanixVmGuestToolsResponseData) UnmarshalJSON(b []byte) error
type OneOfUpdateNutanixGuestToolsResponseData ¶
type OneOfUpdateNutanixGuestToolsResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfUpdateNutanixGuestToolsResponseData ¶
func NewOneOfUpdateNutanixGuestToolsResponseData() *OneOfUpdateNutanixGuestToolsResponseData
func (*OneOfUpdateNutanixGuestToolsResponseData) GetValue ¶
func (p *OneOfUpdateNutanixGuestToolsResponseData) GetValue() interface{}
func (*OneOfUpdateNutanixGuestToolsResponseData) MarshalJSON ¶
func (p *OneOfUpdateNutanixGuestToolsResponseData) MarshalJSON() ([]byte, error)
func (*OneOfUpdateNutanixGuestToolsResponseData) SetValue ¶
func (p *OneOfUpdateNutanixGuestToolsResponseData) SetValue(v interface{}) error
func (*OneOfUpdateNutanixGuestToolsResponseData) UnmarshalJSON ¶
func (p *OneOfUpdateNutanixGuestToolsResponseData) UnmarshalJSON(b []byte) error
type OneOfUpgradeNutanixVmGuestToolsResponseData ¶
type OneOfUpgradeNutanixVmGuestToolsResponseData struct { Discriminator *string `json:"-"` ObjectType_ *string `json:"-"` // contains filtered or unexported fields }
func NewOneOfUpgradeNutanixVmGuestToolsResponseData ¶
func NewOneOfUpgradeNutanixVmGuestToolsResponseData() *OneOfUpgradeNutanixVmGuestToolsResponseData
func (*OneOfUpgradeNutanixVmGuestToolsResponseData) GetValue ¶
func (p *OneOfUpgradeNutanixVmGuestToolsResponseData) GetValue() interface{}
func (*OneOfUpgradeNutanixVmGuestToolsResponseData) MarshalJSON ¶
func (p *OneOfUpgradeNutanixVmGuestToolsResponseData) MarshalJSON() ([]byte, error)
func (*OneOfUpgradeNutanixVmGuestToolsResponseData) SetValue ¶
func (p *OneOfUpgradeNutanixVmGuestToolsResponseData) SetValue(v interface{}) error
func (*OneOfUpgradeNutanixVmGuestToolsResponseData) UnmarshalJSON ¶
func (p *OneOfUpgradeNutanixVmGuestToolsResponseData) 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"` /* 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 UninstallNutanixVmGuestToolsResponse ¶
type UninstallNutanixVmGuestToolsResponse 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 *OneOfUninstallNutanixVmGuestToolsResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /vmm/v4.0.a1/esxi/config/vms/{extId}/nutanix-guest-tools/$actions/uninstall Post operation
func NewUninstallNutanixVmGuestToolsResponse ¶
func NewUninstallNutanixVmGuestToolsResponse() *UninstallNutanixVmGuestToolsResponse
func (*UninstallNutanixVmGuestToolsResponse) GetData ¶
func (p *UninstallNutanixVmGuestToolsResponse) GetData() interface{}
func (*UninstallNutanixVmGuestToolsResponse) SetData ¶
func (p *UninstallNutanixVmGuestToolsResponse) SetData(v interface{}) error
type UpdateNutanixGuestToolsResponse ¶
type UpdateNutanixGuestToolsResponse 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 *OneOfUpdateNutanixGuestToolsResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /vmm/v4.0.a1/esxi/config/vms/{extId}/nutanix-guest-tools Put operation
func NewUpdateNutanixGuestToolsResponse ¶
func NewUpdateNutanixGuestToolsResponse() *UpdateNutanixGuestToolsResponse
func (*UpdateNutanixGuestToolsResponse) GetData ¶
func (p *UpdateNutanixGuestToolsResponse) GetData() interface{}
func (*UpdateNutanixGuestToolsResponse) SetData ¶
func (p *UpdateNutanixGuestToolsResponse) SetData(v interface{}) error
type UpgradeNutanixVmGuestToolsResponse ¶
type UpgradeNutanixVmGuestToolsResponse 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 *OneOfUpgradeNutanixVmGuestToolsResponseData `json:"data,omitempty"` Metadata *import3.ApiResponseMetadata `json:"metadata,omitempty"` }
REST response for all response codes in API path /vmm/v4.0.a1/esxi/config/vms/{extId}/nutanix-guest-tools/$actions/upgrade Post operation
func NewUpgradeNutanixVmGuestToolsResponse ¶
func NewUpgradeNutanixVmGuestToolsResponse() *UpgradeNutanixVmGuestToolsResponse
func (*UpgradeNutanixVmGuestToolsResponse) GetData ¶
func (p *UpgradeNutanixVmGuestToolsResponse) GetData() interface{}
func (*UpgradeNutanixVmGuestToolsResponse) SetData ¶
func (p *UpgradeNutanixVmGuestToolsResponse) 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"` /* A globally unique identifier that represents the tenant that owns this entity. It is automatically assigned by the system and is immutable from an API consumer perspective (some use cases may cause this Id to change - for instance a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server). */ TenantId *string `json:"tenantId,omitempty"` }
VM configuration.