Documentation
¶
Overview ¶
Module vmm.v4.ahv.config of Nutanix Data Protection APIs
Index ¶
- type CategoryReference
- type FileDetail
- type GuestDnsConfigSpec
- type GuestStaticIpSpec
- type OneOfVmRestoreBiosSpecificationBiosSpec
- func (p *OneOfVmRestoreBiosSpecificationBiosSpec) GetValue() interface{}
- func (p *OneOfVmRestoreBiosSpecificationBiosSpec) MarshalJSON() ([]byte, error)
- func (p *OneOfVmRestoreBiosSpecificationBiosSpec) SetValue(v interface{}) error
- func (p *OneOfVmRestoreBiosSpecificationBiosSpec) UnmarshalJSON(b []byte) error
- type OneOfVmRestoreNicConfigOverrideParamsNicBackingInfo
- func (p *OneOfVmRestoreNicConfigOverrideParamsNicBackingInfo) GetValue() interface{}
- func (p *OneOfVmRestoreNicConfigOverrideParamsNicBackingInfo) MarshalJSON() ([]byte, error)
- func (p *OneOfVmRestoreNicConfigOverrideParamsNicBackingInfo) SetValue(v interface{}) error
- func (p *OneOfVmRestoreNicConfigOverrideParamsNicBackingInfo) UnmarshalJSON(b []byte) error
- type OneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo
- func (p *OneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo) GetValue() interface{}
- func (p *OneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo) MarshalJSON() ([]byte, error)
- func (p *OneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo) SetValue(v interface{}) error
- func (p *OneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo) UnmarshalJSON(b []byte) error
- type OwnerReference
- type OwnershipInfo
- type SubnetReference
- type VmConfigOverrideSpecification
- type VmRestoreBiosSpecification
- type VmRestoreGuestNicInfoOverrideSpec
- type VmRestoreGuestToolsSpecification
- type VmRestoreIpv4ConfigOverrideSpec
- type VmRestoreNicConfigOverrideParams
- func (p *VmRestoreNicConfigOverrideParams) GetNicNetworkInfo() interface{}
- func (p *VmRestoreNicConfigOverrideParams) MarshalJSON() ([]byte, error)
- func (p *VmRestoreNicConfigOverrideParams) SetNicNetworkInfo(v interface{}) error
- func (p *VmRestoreNicConfigOverrideParams) UnmarshalJSON(b []byte) error
- type VmRestoreNicConfigSpecification
- type VmRestorePreserveBios
- type VmRestoreVirtualEthernetNicNetworkInfoOverrideSpec
- type VmRestoreVirtualEthernetNicOverrideSpec
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 ¶
func NewFileDetail ¶
func NewFileDetail() *FileDetail
type GuestDnsConfigSpec ¶ added in v4.4.1
type GuestDnsConfigSpec struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
List of DNS IPv4 server addresses to override for the guest NIC. This will completely replace the existing DNS IPv4 server address list for the NIC.
*/
Ipv4ServerAddressList []string `json:"ipv4ServerAddressList,omitempty"`
/*
List of DNS suffixes to override for the guest NIC. This will completely replace the existing DNS suffix list for the NIC.
*/
SuffixList []string `json:"suffixList,omitempty"`
}
DNS configuration for the guest NIC, containing fields that can be overridden for a given VM NIC when restoring a VM.
func NewGuestDnsConfigSpec ¶ added in v4.4.1
func NewGuestDnsConfigSpec() *GuestDnsConfigSpec
func (*GuestDnsConfigSpec) MarshalJSON ¶ added in v4.4.1
func (p *GuestDnsConfigSpec) MarshalJSON() ([]byte, error)
func (*GuestDnsConfigSpec) UnmarshalJSON ¶ added in v4.4.1
func (p *GuestDnsConfigSpec) UnmarshalJSON(b []byte) error
type GuestStaticIpSpec ¶ added in v4.2.1
type GuestStaticIpSpec struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
List of gateway IPv4 addresses to override for the guest NIC's particular static IP. This will completely replace the existing gateway IPv4 address list for the NIC.
*/
GatewayIpv4AddressList []import1.IPv4Address `json:"gatewayIpv4AddressList,omitempty"`
Ipv4Address *import1.IPv4Address `json:"ipv4Address,omitempty"`
}
List of static IP addresses to override for the guest NIC.
func NewGuestStaticIpSpec ¶ added in v4.2.1
func NewGuestStaticIpSpec() *GuestStaticIpSpec
func (*GuestStaticIpSpec) MarshalJSON ¶ added in v4.2.1
func (p *GuestStaticIpSpec) MarshalJSON() ([]byte, error)
func (*GuestStaticIpSpec) UnmarshalJSON ¶ added in v4.2.1
func (p *GuestStaticIpSpec) UnmarshalJSON(b []byte) error
type OneOfVmRestoreBiosSpecificationBiosSpec ¶ added in v4.4.1
type OneOfVmRestoreBiosSpecificationBiosSpec struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// Holds data with unknown oneOf types
UnknownValue_ interface{} `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfVmRestoreBiosSpecificationBiosSpec ¶ added in v4.4.1
func NewOneOfVmRestoreBiosSpecificationBiosSpec() *OneOfVmRestoreBiosSpecificationBiosSpec
func (*OneOfVmRestoreBiosSpecificationBiosSpec) GetValue ¶ added in v4.4.1
func (p *OneOfVmRestoreBiosSpecificationBiosSpec) GetValue() interface{}
func (*OneOfVmRestoreBiosSpecificationBiosSpec) MarshalJSON ¶ added in v4.4.1
func (p *OneOfVmRestoreBiosSpecificationBiosSpec) MarshalJSON() ([]byte, error)
func (*OneOfVmRestoreBiosSpecificationBiosSpec) SetValue ¶ added in v4.4.1
func (p *OneOfVmRestoreBiosSpecificationBiosSpec) SetValue(v interface{}) error
func (*OneOfVmRestoreBiosSpecificationBiosSpec) UnmarshalJSON ¶ added in v4.4.1
func (p *OneOfVmRestoreBiosSpecificationBiosSpec) UnmarshalJSON(b []byte) error
type OneOfVmRestoreNicConfigOverrideParamsNicBackingInfo ¶
type OneOfVmRestoreNicConfigOverrideParamsNicBackingInfo struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// Holds data with unknown oneOf types
UnknownValue_ interface{} `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfVmRestoreNicConfigOverrideParamsNicBackingInfo ¶
func NewOneOfVmRestoreNicConfigOverrideParamsNicBackingInfo() *OneOfVmRestoreNicConfigOverrideParamsNicBackingInfo
func (*OneOfVmRestoreNicConfigOverrideParamsNicBackingInfo) GetValue ¶
func (p *OneOfVmRestoreNicConfigOverrideParamsNicBackingInfo) GetValue() interface{}
func (*OneOfVmRestoreNicConfigOverrideParamsNicBackingInfo) MarshalJSON ¶
func (p *OneOfVmRestoreNicConfigOverrideParamsNicBackingInfo) MarshalJSON() ([]byte, error)
func (*OneOfVmRestoreNicConfigOverrideParamsNicBackingInfo) SetValue ¶
func (p *OneOfVmRestoreNicConfigOverrideParamsNicBackingInfo) SetValue(v interface{}) error
func (*OneOfVmRestoreNicConfigOverrideParamsNicBackingInfo) UnmarshalJSON ¶
func (p *OneOfVmRestoreNicConfigOverrideParamsNicBackingInfo) UnmarshalJSON(b []byte) error
type OneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo ¶
type OneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo struct {
Discriminator *string `json:"-"`
ObjectType_ *string `json:"-"`
// Holds data with unknown oneOf types
UnknownValue_ interface{} `json:"-"`
// contains filtered or unexported fields
}
func NewOneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo ¶
func NewOneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo() *OneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo
func (*OneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo) GetValue ¶
func (p *OneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo) GetValue() interface{}
func (*OneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo) MarshalJSON ¶
func (p *OneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo) MarshalJSON() ([]byte, error)
func (*OneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo) SetValue ¶
func (p *OneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo) SetValue(v interface{}) error
func (*OneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo) UnmarshalJSON ¶
func (p *OneOfVmRestoreNicConfigOverrideParamsNicNetworkInfo) 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"`
/*
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"`
BiosSpec *VmRestoreBiosSpecification `json:"biosSpec,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"`
GuestToolsSpec *VmRestoreGuestToolsSpecification `json:"guestToolsSpec,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"`
/*
Project to be associated with the VM on successful restore. If not specified, the project from the recovery point will be preserved, falling back to the default project if unavailable
*/
ProjectExtId *string `json:"projectExtId,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 VmRestoreBiosSpecification ¶ added in v4.4.1
type VmRestoreBiosSpecification struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
*/
BiosSpecItemDiscriminator_ *string `json:"$biosSpecItemDiscriminator,omitempty"`
/*
BIOS specification for the restored VM.
*/
BiosSpec *OneOfVmRestoreBiosSpecificationBiosSpec `json:"biosSpec,omitempty"`
}
BIOS specification for the restored VM.
func NewVmRestoreBiosSpecification ¶ added in v4.4.1
func NewVmRestoreBiosSpecification() *VmRestoreBiosSpecification
func (*VmRestoreBiosSpecification) GetBiosSpec ¶ added in v4.4.1
func (p *VmRestoreBiosSpecification) GetBiosSpec() interface{}
func (*VmRestoreBiosSpecification) MarshalJSON ¶ added in v4.4.1
func (p *VmRestoreBiosSpecification) MarshalJSON() ([]byte, error)
func (*VmRestoreBiosSpecification) SetBiosSpec ¶ added in v4.4.1
func (p *VmRestoreBiosSpecification) SetBiosSpec(v interface{}) error
func (*VmRestoreBiosSpecification) UnmarshalJSON ¶ added in v4.4.1
func (p *VmRestoreBiosSpecification) UnmarshalJSON(b []byte) error
type VmRestoreGuestNicInfoOverrideSpec ¶ added in v4.2.1
type VmRestoreGuestNicInfoOverrideSpec struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
GuestDnsConfigSpec *GuestDnsConfigSpec `json:"guestDnsConfigSpec,omitempty"`
GuestStaticIpList []GuestStaticIpSpec `json:"guestStaticIpList,omitempty"`
}
Guest NIC information object containing fields that can be overridden for a given VM NIC when restoring a VM.
func NewVmRestoreGuestNicInfoOverrideSpec ¶ added in v4.2.1
func NewVmRestoreGuestNicInfoOverrideSpec() *VmRestoreGuestNicInfoOverrideSpec
func (*VmRestoreGuestNicInfoOverrideSpec) MarshalJSON ¶ added in v4.2.1
func (p *VmRestoreGuestNicInfoOverrideSpec) MarshalJSON() ([]byte, error)
func (*VmRestoreGuestNicInfoOverrideSpec) UnmarshalJSON ¶ added in v4.2.1
func (p *VmRestoreGuestNicInfoOverrideSpec) UnmarshalJSON(b []byte) error
type VmRestoreGuestToolsSpecification ¶ added in v4.2.1
type VmRestoreGuestToolsSpecification struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
If set to true, the VM will be restored with clearing all of the in-guest volume group attachments captured in the VM recovery point. Currently, this is only applicable to VMs with NGT installed.
*/
ShouldClearInGuestVolumeGroupAttachments *bool `json:"shouldClearInGuestVolumeGroupAttachments,omitempty"`
}
Guest tools parameters to override with. Currently, this is only applicable to VMs with NGT installed.
func NewVmRestoreGuestToolsSpecification ¶ added in v4.2.1
func NewVmRestoreGuestToolsSpecification() *VmRestoreGuestToolsSpecification
func (*VmRestoreGuestToolsSpecification) MarshalJSON ¶ added in v4.2.1
func (p *VmRestoreGuestToolsSpecification) MarshalJSON() ([]byte, error)
func (*VmRestoreGuestToolsSpecification) UnmarshalJSON ¶ added in v4.2.1
func (p *VmRestoreGuestToolsSpecification) 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"`
GuestNicInfo *VmRestoreGuestNicInfoOverrideSpec `json:"guestNicInfo,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 VmRestorePreserveBios ¶ added in v4.4.1
type VmRestorePreserveBios struct {
ObjectType_ *string `json:"$objectType,omitempty"`
Reserved_ map[string]interface{} `json:"$reserved,omitempty"`
UnknownFields_ map[string]interface{} `json:"$unknownFields,omitempty"`
/*
If set to true, the VM will be restored with the BIOS UUID preserved from the VM recovery point. Otherwise, a new BIOS UUID will be generated.
*/
ShouldPreserveBiosUuid *bool `json:"shouldPreserveBiosUuid,omitempty"`
}
If set to true, the VM will be restored with the BIOS UUID preserved from the VM recovery point. Otherwise, a new BIOS UUID will be generated.
func NewVmRestorePreserveBios ¶ added in v4.4.1
func NewVmRestorePreserveBios() *VmRestorePreserveBios
func (*VmRestorePreserveBios) MarshalJSON ¶ added in v4.4.1
func (p *VmRestorePreserveBios) MarshalJSON() ([]byte, error)
func (*VmRestorePreserveBios) UnmarshalJSON ¶ added in v4.4.1
func (p *VmRestorePreserveBios) 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 (p *VmRestoreVirtualEthernetNicNetworkInfoOverrideSpec) MarshalJSON() ([]byte, error)
func (*VmRestoreVirtualEthernetNicNetworkInfoOverrideSpec) UnmarshalJSON ¶
func (p *VmRestoreVirtualEthernetNicNetworkInfoOverrideSpec) UnmarshalJSON(b []byte) error
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