config

package
v4.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Module vmm.v4.ahv.config of Nutanix Data Protection APIs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CategoryReference

type CategoryReference struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  A globally unique identifier of a VM category of type UUID.
	*/
	ExtId *string `json:"extId,omitempty"`
}

Reference to a category.

func NewCategoryReference

func NewCategoryReference() *CategoryReference

func (*CategoryReference) MarshalJSON

func (p *CategoryReference) MarshalJSON() ([]byte, error)

func (*CategoryReference) UnmarshalJSON

func (p *CategoryReference) UnmarshalJSON(b []byte) error

type FileDetail

type FileDetail struct {
	Path        *string `json:"-"`
	ObjectType_ *string `json:"-"`
}

func NewFileDetail

func NewFileDetail() *FileDetail

type OneOfVmRestoreNicConfigOverrideParamsNicBackingInfo

type OneOfVmRestoreNicConfigOverrideParamsNicBackingInfo struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfVmRestoreNicConfigOverrideParamsNicBackingInfo

func NewOneOfVmRestoreNicConfigOverrideParamsNicBackingInfo() *OneOfVmRestoreNicConfigOverrideParamsNicBackingInfo

func (*OneOfVmRestoreNicConfigOverrideParamsNicBackingInfo) GetValue

func (p *OneOfVmRestoreNicConfigOverrideParamsNicBackingInfo) GetValue() interface{}

func (*OneOfVmRestoreNicConfigOverrideParamsNicBackingInfo) MarshalJSON

func (*OneOfVmRestoreNicConfigOverrideParamsNicBackingInfo) SetValue

func (*OneOfVmRestoreNicConfigOverrideParamsNicBackingInfo) UnmarshalJSON

type OneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo

type OneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo struct {
	Discriminator *string `json:"-"`
	ObjectType_   *string `json:"-"`
	// contains filtered or unexported fields
}

func NewOneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo

func NewOneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo() *OneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo

func (*OneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo) GetValue

func (p *OneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo) GetValue() interface{}

func (*OneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo) MarshalJSON

func (*OneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo) SetValue

func (*OneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo) UnmarshalJSON

type OwnerReference

type OwnerReference struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  A globally unique identifier of a VM owner type UUID.
	*/
	ExtId *string `json:"extId,omitempty"`
}

Owner reference.

func NewOwnerReference

func NewOwnerReference() *OwnerReference

func (*OwnerReference) MarshalJSON

func (p *OwnerReference) MarshalJSON() ([]byte, error)

func (*OwnerReference) UnmarshalJSON

func (p *OwnerReference) UnmarshalJSON(b []byte) error

type OwnershipInfo

type OwnershipInfo struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`

	Owner *OwnerReference `json:"owner,omitempty"`
}

Ownership information for the VM.

func NewOwnershipInfo

func NewOwnershipInfo() *OwnershipInfo

func (*OwnershipInfo) MarshalJSON

func (p *OwnershipInfo) MarshalJSON() ([]byte, error)

func (*OwnershipInfo) UnmarshalJSON

func (p *OwnershipInfo) UnmarshalJSON(b []byte) error

type SubnetReference

type SubnetReference struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  The globally unique identifier of a subnet of type UUID.
	*/
	ExtId *string `json:"extId,omitempty"`
}

Network identifier for this adapter. Only valid if nic_type is NORMAL_NIC or DIRECT_NIC.

func NewSubnetReference

func NewSubnetReference() *SubnetReference

func (*SubnetReference) MarshalJSON

func (p *SubnetReference) MarshalJSON() ([]byte, error)

func (*SubnetReference) UnmarshalJSON

func (p *SubnetReference) UnmarshalJSON(b []byte) error

type VmConfigOverrideSpecification

type VmConfigOverrideSpecification struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  Categories to be associated with the VM on successful restore. If not specified, the VM is provisioned without any categories.
	*/
	Categories []CategoryReference `json:"categories,omitempty"`
	/*
	  VM description.
	*/
	Description *string `json:"description,omitempty"`
	/*
	  Name of the VM to override with. If not specified, a name is chosen by the system and returned to the task entities when complete.
	*/
	Name *string `json:"name,omitempty"`

	NicSpec *VmRestoreNicConfigSpecification `json:"nicSpec,omitempty"`

	OwnershipInfo *OwnershipInfo `json:"ownershipInfo,omitempty"`
}

To override the VM configuration captured in the snapshot (VM Recovery Point). Whatever values are specified in this object, will override the corresponding VM config entry from the snapshot. For example, if a new list of NICs are specified, the existing NIC details are replaced with the provided list. If the list of NICs is set to an empty list explicitly, the VM will be created with no NICs. For the case where the NICs are not set in the override spec at all, the NICs from the captured VM config will be attempted during restore.

func NewVmConfigOverrideSpecification

func NewVmConfigOverrideSpecification() *VmConfigOverrideSpecification

func (*VmConfigOverrideSpecification) MarshalJSON

func (p *VmConfigOverrideSpecification) MarshalJSON() ([]byte, error)

func (*VmConfigOverrideSpecification) UnmarshalJSON

func (p *VmConfigOverrideSpecification) UnmarshalJSON(b []byte) error

type VmRestoreIpv4ConfigOverrideSpec

type VmRestoreIpv4ConfigOverrideSpec struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`

	IpAddress *import1.IPv4Address `json:"ipAddress,omitempty"`
	/*
	  Secondary IP addresses for the NIC.
	*/
	SecondaryIpAddressList []import1.IPv4Address `json:"secondaryIpAddressList,omitempty"`
}

The IPv4 address configurations containing fields that can be overridden when restoring the VM.

func NewVmRestoreIpv4ConfigOverrideSpec

func NewVmRestoreIpv4ConfigOverrideSpec() *VmRestoreIpv4ConfigOverrideSpec

func (*VmRestoreIpv4ConfigOverrideSpec) MarshalJSON

func (p *VmRestoreIpv4ConfigOverrideSpec) MarshalJSON() ([]byte, error)

func (*VmRestoreIpv4ConfigOverrideSpec) UnmarshalJSON

func (p *VmRestoreIpv4ConfigOverrideSpec) UnmarshalJSON(b []byte) error

type VmRestoreNicConfigOverrideParams

type VmRestoreNicConfigOverrideParams struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*

	 */
	NicBackingInfoItemDiscriminator_ *string `json:"$nicBackingInfoItemDiscriminator,omitempty"`
	/*
	  Information about how NIC is associated with a VM.
	*/
	NicBackingInfo *OneOfVmRestoreNicConfigOverrideParamsNicBackingInfo `json:"nicBackingInfo,omitempty"`
	/*
	  External identifier of the NIC being overridden from the VM Recovery Point. This is not preserved but is only relevant for mapping the NIC being overridden.
	*/
	NicExtId *string `json:"nicExtId"`
	/*

	 */
	NicNetworkInfoItemDiscriminator_ *string `json:"$nicNetworkInfoItemDiscriminator,omitempty"`
	/*
	  Networking information object for a NIC.
	*/
	NicNetworkInfo *OneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo `json:"nicNetworkInfo,omitempty"`
}

NIC configuration parameters that can be overridden when restoring the VM.

func NewVmRestoreNicConfigOverrideParams

func NewVmRestoreNicConfigOverrideParams() *VmRestoreNicConfigOverrideParams

func (*VmRestoreNicConfigOverrideParams) GetNicNetworkInfo

func (p *VmRestoreNicConfigOverrideParams) GetNicNetworkInfo() interface{}

func (*VmRestoreNicConfigOverrideParams) MarshalJSON

func (p *VmRestoreNicConfigOverrideParams) MarshalJSON() ([]byte, error)

func (*VmRestoreNicConfigOverrideParams) SetNicNetworkInfo

func (p *VmRestoreNicConfigOverrideParams) SetNicNetworkInfo(v interface{}) error

func (*VmRestoreNicConfigOverrideParams) UnmarshalJSON

func (p *VmRestoreNicConfigOverrideParams) UnmarshalJSON(b []byte) error

type VmRestoreNicConfigSpecification

type VmRestoreNicConfigSpecification struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  List of NIC parameters to override the corresponding NICs captured in the VM Recovery Point. NIC external identifiers are utilized to map the NICs in this list to the NICs from the VM Recovery Point
	*/
	NicOverrideList []VmRestoreNicConfigOverrideParams `json:"nicOverrideList,omitempty"`
	/*
	  List of NIC UUIDs from the VM Recovery Point to be dropped when restoring the VM.
	*/
	NicRemoveList []string `json:"nicRemoveList,omitempty"`
}

NIC configuration input for the restored VM. If not specified, the NICs in the VM Recovery Point will be restored.

func NewVmRestoreNicConfigSpecification

func NewVmRestoreNicConfigSpecification() *VmRestoreNicConfigSpecification

func (*VmRestoreNicConfigSpecification) MarshalJSON

func (p *VmRestoreNicConfigSpecification) MarshalJSON() ([]byte, error)

func (*VmRestoreNicConfigSpecification) UnmarshalJSON

func (p *VmRestoreNicConfigSpecification) UnmarshalJSON(b []byte) error

type VmRestoreVirtualEthernetNicNetworkInfoOverrideSpec

type VmRestoreVirtualEthernetNicNetworkInfoOverrideSpec struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`

	Ipv4Config *VmRestoreIpv4ConfigOverrideSpec `json:"ipv4Config,omitempty"`

	Subnet *SubnetReference `json:"subnet,omitempty"`
}

Network information object for a Virtual Ethernet NIC, contains fields that can be overridden when restoring the VM.

func NewVmRestoreVirtualEthernetNicNetworkInfoOverrideSpec

func NewVmRestoreVirtualEthernetNicNetworkInfoOverrideSpec() *VmRestoreVirtualEthernetNicNetworkInfoOverrideSpec

func (*VmRestoreVirtualEthernetNicNetworkInfoOverrideSpec) MarshalJSON

func (*VmRestoreVirtualEthernetNicNetworkInfoOverrideSpec) UnmarshalJSON

type VmRestoreVirtualEthernetNicOverrideSpec

type VmRestoreVirtualEthernetNicOverrideSpec struct {
	ObjectType_ *string `json:"$objectType,omitempty"`

	Reserved_ map[string]interface{} `json:"$reserved,omitempty"`

	UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
	/*
	  MAC address of the NIC.
	*/
	MacAddress *string `json:"macAddress,omitempty"`
}

Defines a Virtual Ethernet NIC, contains fields that can be overridden when restoring the VM.

func NewVmRestoreVirtualEthernetNicOverrideSpec

func NewVmRestoreVirtualEthernetNicOverrideSpec() *VmRestoreVirtualEthernetNicOverrideSpec

func (*VmRestoreVirtualEthernetNicOverrideSpec) MarshalJSON

func (p *VmRestoreVirtualEthernetNicOverrideSpec) MarshalJSON() ([]byte, error)

func (*VmRestoreVirtualEthernetNicOverrideSpec) UnmarshalJSON

func (p *VmRestoreVirtualEthernetNicOverrideSpec) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL